src/sap.ui.core/src/sap/ui/core/Component.js
function addSapParams(oUri) {
		['sap-client', 'sap-server'].forEach(function(sName) {
			if (!oUri.hasSearch(sName)) {
				var sValue = sap.ui.getCore().getConfiguration().getSAPParam(sName);
				if (sValue) {
					oUri.addSearch(sName, sValue);
				}
			}
		});
	}
function addSapParams(oUri) {
		['sap-client', 'sap-server'].forEach(function(sName) {
			if (!oUri.hasSearch(sName)) {
				var sValue = sap.ui.getCore().getConfiguration().getSAPParam(sName);
				if (sValue) {
					oUri.addSearch(sName, sValue);
				}
			}
		});
	}
function addSapParams ( oUri ) { [ 'sap-client' , 'sap-server' ] . forEach ( function ( sName ) { if ( ! oUri . hasSearch ( sName ) ) { var sValue = sap . ui . getCore ( ) . getConfiguration ( ) . getSAPParam ( sName ) ; if ( sValue ) { oUri . addSearch ( sName , sValue ) ; } } } ) ; }
Utility function which adds SAP-specific parameters to a URI instance

@param {URI} oUri URI.js instance
@private
Utility function which adds SAP - specific parameters to a URI instance