cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GET ENITITY Error 404

menamedhat
Explorer
0 Kudos
463

Hello Experts,

I am facing error 404 by execute this URL ( Kunnr and KKber is key)

while this Kunnr number is already exist in our system

please help

View Entire Topic
Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

I would suggest to run the request to your entity without using $format=json.

This way XML would be used.

When running a request such as

/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/SalesOrderLineItemSet

you will get a XML response that contains links to the single items

<entry>

<id>https://host:port/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/SalesOrderLineItemSet(SalesOrderID='0500000000',ItemPosition='0000000010')</id>

Also make sure that you have implemented the corresponding get_entity method in your DPC_EXT.

menamedhat
Explorer
0 Kudos

Hi Andre,

I try XML format and the result is Resource not found for segment 'knkk'

my implementation for get entity method

thankyou .

best regards .