on 2019 Jul 25 12:17 PM
I have a DEEP INSERT set up in ABAP + SAP Gateway Client.
The issue is I can only run this through SAP GATEWAY CLIENT, not through Postman (externally).
E.g. I've setup my service in SCP oData provisioning...
First Call gets my auth-token for the client.
https://oauthasservices-xxxxxx.hana.ondemand.com/oauth2/api/v1/token?grant_type=client_credentials
Second Call performs a GET to FETCH the X-CSRF-TOKEN (This is done automatically through SAP Gateway Client)
https://gwaas-xxxxxx.hana.ondemand.com/odata/SAP/ZGW_XXX_SRV/orderSet?FromOrder
Lastly I run a POST Call using the Authentication + X-CSRF-TOKEN, and exactly the same payload as my call in SAP Gateway Client.
https://gwaas-adddcbbb0.hana.ondemand.com/odata/SAP/ZGW_JUSTEAT_SRV/orderSet?FromOrder
This returns
INTERNAL_SERVER_ERRORCould not perform the operation, contact your System Administrator: Transaction ID :4d237684-b708-4b8a-9b88-xxxxxxxxxx
I have a breakpoint in my DEEP_INSERT method which is triggered when ran through the SAP Gateway Client, but not through postman.
Any ideas?
Request clarification before answering.
Hi Adam, I am not sure the issue comes from the TOCKEN or the DEEP INSERT request itself. Could you successfully send a flat entity (not Deep Insert) POST by postmann?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.