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

Error with the annotation modeler

0 Likes
2,075

I have a problem when I want to extend the standard 'Manage Purchase Orders' app, I import it to the local Web IDE (using orion) and I see that it doesn't show me the Annotation Modeler due to this error:

I have read other posts related to this topic but I did not come up with the solution.

I would really appreciate your help please!!

Accepted Solutions (1)

Accepted Solutions (1)

junwu
SAP Champion
SAP Champion
0 Likes

you should abandon the ship(web ide)

0 Likes

That doesn't solve my question... but while we're at it, what IDE do you recommend? VScode or BAS?

junwu
SAP Champion
SAP Champion
0 Likes

vsc or bas either should work.

for your current issue, can you download your odata meta file and put it in your project based on your setting in manifest.

in this example, it is saved in localService folder.

"type": "OData", "settings": { "odataVersion": "2.0", "localUri": "localService/metadata.xml", "annotations": [ "annotation" ] }

Answers (2)

Answers (2)

0 Likes

I wanted to let you know that I was able to fix it. just like Jun Wo said my manifest was pointing wrong to the oData. I was pointing the uri to the principal oData ('"uri": "/sap/opu/odata/sap/MM_PUR_PO_MAINT_V2_SRV/",') and not to the Annotations oData ('"uri": "/sap/opu/odata/sap/MM_PUR_PO_MAINTAIN_V2_ANNO_MDL/",'), I changed that to it and it worked

Thank you Jun Wo and Mariana NAboka!

maryana_naboka
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sebastian,

could you please check if there is a local metadata copy in your project and if not, add it following the advice of Jun Wu above.

If it does not help, we would need to see your project to investigate. Please feel free to open the ticket for the component CA-WDE-PI-AM and attach your project there.

Best Regards

Mariana