Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Issues about CREATE_ENTITY method in OData Channel service

$
0
0

Hi Colleagues,

 

I redefined one method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CREATE_ENTITY in the following Gateway Service Class, and use the following URL to test activity create operation via t-code /IWFND/GW_CLIENT(Gateway Client) in Gateway Service system, e.g. PGX system. But get one error message 'CSRF token validation failed' as shown below, please tell me how to solve this issue?

 

  • /sap/opu/odata/sap/ZS_ESCALATIONS/ActivityList

 

And there is no problem to do Query operation, e.g., search for activities using the following first URL. But unable to do Create operation using the following second URL, if I set breakpoint in the CREATE_ENTITY method, system cannot jump to there, instead jump to the GET_ENTITYSET method. Could you please tell me how to solve this issue?

 

https://pgxmain.wdf.sap.corp/sap/opu/odata/sap/ZS_ESCALATIONS/ActivityList?$filter=activity_id%20eq%20'0000203012'

 

https://pgxmain.wdf.sap.corp/sap/opu/odata/sap/ZS_ESCALATIONS/ActivityList

 

 

screenshot.png

screenshot.png

 

Kind Regards

Andie


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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