Skip to Content
0

Annotation File - Reading incorrect/truncated url $metadata from backend

Dec 01, 2017 at 06:29 PM

71

avatar image
Former Member

The Data Source in my manifest file is as follows

However when I try to open the annotation1.xml I get the following error.

In debug I can see that the code is trying to read the following URL to fetch the metadata

I am wondering why is it dropping the /sap/ZEMP_SERVICE_SRV/ from the complete url /sap/opu/odata/sap/ZEMP_SERVICE_SRV/

I have indicated

1. WebIDEAdditionalData = full_url

2. WebIDEUsage = odata_gen,odata_abap,

when I set up my destination.

Any ideas, what could I be missing ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Dec 03, 2017 at 04:13 PM
1

When I try to pull up the Annotation Modeler I get the error

The destination path in the manifest.json file is

"dataSources": {
			"mainService": {
				"uri": "/sap/opu/odata/sap/ZEMP_SERVICE_SRV/",
				"type": "OData",
				"settings": {
					"localUri": "localService/metadata.xml",
					"annotations": [
						"annotation1"
					]
				}
			},

But when I check the Network tab I see that the $metadata file URI is dropping the /sap/ZEMP_SERVICE_SRV/

Any Ideas why this could be happening ?


capture.jpg (33.6 kB)
debug.jpg (48.9 kB)
Share
10 |10000 characters needed characters left characters exceeded
Mariana Naboka
Dec 04, 2017 at 10:30 AM
0

Hello,

could you please remove the property WebIDEAdditionalData = full_url, refresh your Web IDE and check if it works for you?

Best Regards,

Mariana

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Please note that it takes about 5 min for the changes to take effect.

0