on 11-16-2016 4:46 PM
Hi folks,
I have tried to extend a HCM standard Fiori App with Eclipse and the SAPUI5 toolkit, but when I try to submit the enhanced project to the SAP HR system, I get the following error:
Problems during synchronization Error when updating index for UI5 repository ZHCM_PEP_EXT Error while parsing component.js file Application component of SAPUI5 repository ZHCM_PEP_EXT could not be determined Error while parsing component.js file
I have done the following steps:
1. Create a SAPUI5 Project "HCM_PEP_PROFILE" and load the standard fiori app data from HCM_PEP_PROFILE to the WebContent folder.
2. Create another SAPUI5 Project "ZHCM_PEP_PROFILE" and create the javascript file Component.js with the following content:
JQuery.sap.declare("z.hcm.people.profile.Component");
sap.ui.component.load({
name: "hcm.people.profile",
url: JQuery.sap.getModulePath("z.hcm.people.profile") +
"/../HCM_PEP_PROFILE"
});
hcm.people.profile.Component.extend(
"z.hcm.people.profile.Component",
{
metadata: {
"customizing": {
"sap.ui.viewModifications": {
"hcm.people.profile.view.Profile" : {
"ctrlHeaderImage" : {
"visible" : false
}
}
}
}
}
}
)
3. Try to upload the data to the HR system via the backend report & also with Eclipse. Both is giving the error.
Can anyone give me an advice what´s wrong here?
Thank you & best regards
There's a semicolon (;) missing at the end, after the close-bracket ). Not sure if that's causing the issue though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nobody any idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.