Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Not able to delete entity using a navigation path

$
0
0

Hi,

 

When I try to delete an entity I get this error in chrome dev tools:

 

Request url:

https://webwsd.aps.kuleuven.be/sap/opu/odata/sap/ZC_CI_UPLOAD_SRV/thesises('1')/attachments('ZCATTACHLO7EAE1BA4330B1EE4BDFD5F751838DF86')



Response:

{"error":{"code":"005056A509B11EE1B9A8FBE8A101378B","message":{"lang":"nl","value":"ResourcePath with NavigationPath is not supported for this Request Type"},"innererror":{"transactionid":"55501BCC560A1100E1008000863A0E3A","timestamp":"20150511143834.9402400","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"}}}}

 

It seems like you cannot use a parent entity in your url for a delete operation. I don't get this because in the backend, the DELETE method has the import parameter IT_NAVIGATION_PATH...

 

I can fix this by using an extra id of the super entity in the sub entity, but I prefer a cleaner solution (navigation path).

 

Can someone explain me what I'm doing wrong, and how I should do it?

 

Thanks,

 

RW


Viewing all articles
Browse latest Browse all 1657

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>