cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error in loading Annotations file in SAP UI5 application using launchapd

11,308

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

View Entire Topic
former_member501093
Participant
0 Likes

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

0 Likes

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

former_member501093
Participant
0 Likes

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