var sRootPath = jQuery.sap.getModulePath("ZPreEntryPeopleInfo"); var oPath = sRootPath + "/img/PersonImage.png"; oPersonInfo.PhotoUrl = oPath;