src/sap.ui.core/src/sap/ui/model/odata/v4/ODataListBinding.js
function replaceLambdaVariables(sPath, mLambdaVariableToPath) {
			var aSegments = sPath.split("/");

			aSegments[0] = mLambdaVariableToPath[aSegments[0]];
			return aSegments[0] ? aSegments.join("/") : sPath;
		}
function replaceLambdaVariables(sPath, mLambdaVariableToPath) {
			var aSegments = sPath.split("/");

			aSegments[0] = mLambdaVariableToPath[aSegments[0]];
			return aSegments[0] ? aSegments.join("/") : sPath;
		}
function replaceLambdaVariables ( sPath , mLambdaVariableToPath ) { var aSegments = sPath . split ( "/" ) ; aSegments [ 0 ] = mLambdaVariableToPath [ aSegments [ 0 ] ] ; return aSegments [ 0 ] ? aSegments . join ( "/" ) : sPath ; }
Replaces an optional lambda variable in the first segment of the given path by the
correct path.

@param {string} sPath The path with an optional lambda variable at the beginning
@param {object} mLambdaVariableToPath The map from lambda variable to full path
@returns {string} The path with replaced lambda variable
Replaces an optional lambda variable in the first segment of the given path by the correct path .