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
Adds the parameters of the sap - client sap - server to the URI