on ‎2019 Dec 17 12:17 PM
Hello Team,
Kindly help me with resolving this technical error that i am facing.
I am working on SAP UI5 app development using the the List report template. I have managed to successfully deploy it and it is running perfectly when we run as SAP Fiori Launchpad Sandbox from Webide.
However, after configuring it as a tile in SAP fiori launchpad it gives the below error.

I am using UI annotations in SAP Webide and my backend is Odata service and not CDS.
Regards,
Mradul S
Request clarification before answering.
I was able to resolve this issue by maintaining correct ID in target mapping . It should be same as namespace of component.js file
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem and this answer brought the solution for my problem:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have the same issue. I was able to solve it by putting my annotations.xml file under webapp folder.
and I fix manifest.json
"type": "ODataAnnotation",
"uri": "annotations.xml",
"settings": {
"localUri": "annotations.xml"
}
}Before I have it under path: localService/annotations.xml
In this case I get 404 on request for annotations.xml file, but only on deployed application.
Locally it runs normally.
It is very very strange that it cant resolve path ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am also facing the same issue with application using annotation in ui5 app and not from backend. The app works fine from web ide but does not work from fiori launchpad after deploying in gateway.
Please reply if it was resolved.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mradul,
I hope you were able to solve your issue.
I was also facing a similar issue when deploying my Fiori App in Launchpad. My App is also using Local Annotations. My annotation file and i18n properties were not being read. On closer investigation by reading the console, I realized my app was not able to locate the Component File and giving error - No descriptor found,
I traced it back to SAP configurations in LPD_CUST and found out that there in the Additional Properties my Component Name was incorrect. I had entered SAP.UI5.Component = <appid>.Component. It should just be SAP.UI5.Component = <appid>
I have also noticed this during my research with Fiori Elements that the Component.js file is responsible for loading annotations and i18n settings. Please check this setting from your end if you are facing the same.
Happy Coding 🙂
Sauranil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunil,
I am also facing the same issue, I could not load the annotation file created in webide. this file exist in BSP application in system. but its not found in the path in network tab:
File ui2/ushell/resources/~20180316143600~/z<bsp_proj_name>/annotations/annotation_po.xml NOT found!
please help me. how to get it loaded? does it need to be configured anywhere?
Regards,
Soumya
Hi Soumya,
Firstly please check if your Fiori app is able to read your Component file in Network Tab. If it is able to do so it will be able to read your annotations and i18n file as well. If it is not able to locate your Component file like as in my case, please check Component name in LPD_CUST settings. If it is able to read Component file but still not able to load annotations we need to check other settings.
Also as @Pavol Cina mentioned in his latest answer please check hierarchy. It should be webapp/annotations/annotation_po.xml
Regards,
Sauranil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raquel,
My BSP application in SE80 shows me the annotation.xml file.
Also the notes i have gone through:-
2826598- This one seems not relevant as i have not created the annotations in metadata from SEGW but those are created in SAP Webide through annotation modeler.
2489939- This one cannot be implemented.
Thanks for your inputs but unfortunately the approach i have used is not the same.
Hi
Another points to check
1.Run the ABAP report REGENERATE_DDLX_RT_STATUS again and choose "Fix inconsistency"
2.Clear the DDIC annotation cache for the CDS view:
2.1.Start the ABAP transaction SDDLAR
2.2.Press the button "Annotation Cache Tools" > "Check Cache State"
2.3.Press the button "Cleanup Cache Entries" > "Execute Cleanup"
Saludos
Raquel
Hi Raqueel,
Thanks for your suggestion .Unfortunately, the approach i have used for annotation creation is not through CDS but only Odata service in the backend and UI annotations in the Webide.
However, for annotations i have managed to implement through MPC_EXT class and Define method.But still i am not able to get the data in my Fiori launchpad due to below errors:-

Try the following steps :
Delete the "dist" folder from your application.
Rebuild and Deploy the project. ("It will generate a new "dist" folder again)
Then refresh your browser and try accessing the app on launchpad.
It should resolve your issue.
Thanks,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/UI5/APP_INDEX_CALCULATE
Specif the name of your app and execute the report.
Then try accessing the app
If the file is not getting deployed, try deleting the contents of BSP application by doing an empty deployment with an empty project. And then re-deploy your actual project with the content.
Thanks,
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raqueel,
Thanks, but I had gone through this note 2482699.
However, even after maintaining this in the tcode it doesn't work.

Actually the annotation Url for me is different so i guess the steps in the note might not be relevant.
will it involve change of the annotations path in the webapp and other folders in Webide as well?
what the error in network tab? how you configure your tile and target mapping?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 7 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.