on 2025 Mar 14 9:29 AM
Hello
I need to use API api_warehouse_order_task_2 for cancel task, I use request
In body I add this:
HTTP request look like:
What am I doing wrong?
Request clarification before answering.
Hi @Glyba_Dmitrii ,
this should work. Based on the data you provided, it is not clear to us why it does not work. Perhaps an incident might be best in this case, so we can have a look in detail.
Best regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Glyba_Dmitrii ,
Could you please check below in WT/WO document, pass the correct resource in your SAP user and let us know any questions.
Reason for error: your assigned resource with your SAP (API)USER ID is not the same the assigned Resource of WO.
1. Check the Warehouse Order document of Warehouse Task, is there any resource assigned ?
2. Assign the above resource into your Your SAP API USER.
Kind Regards,
Ajit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ajit_Routray, Thanks for answer and I know about this way and in documentation about this API we have this recomendation:
We can use unassignment. assignment, get and then post and I think the better will be use get and post
Hi Glyba_Dmitrii,
Thank you, One more addition- perhaps APIs are different based on different Product ( S/4 HANA On Primise, S/4 HANA CLoud Private,... etc ) . Please see the link for cancellation API onS/4 HANA On Primise EWM .
Kind Regards,
Ajit
Hi Glyba_1 ,
This API is part of 3W0 (Resource Management In Warehousing)
https://me.sap.com/processnavigator/SolS/EARL_SolS-013/2502/SolP/3W0?region=US
You are trying to Cancel the task, but the user has not signed on to the resource, I guess.
This is documented in the Best Practice description and in the Help:
Are you using the IF Match (see the examples in the Help)
Thank you
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My user have resource in warehouse, but the warehouse order is not assigned to my resource.
I tried to use If-Match in this request, took it from the GET request in the ETag field and copied it into the POST request and after that received this answer:
Then I find method in Abap that check this field with value "*" and with this value it's working but I have error with resource how i wrote in first message:
Thanks for the answer.
I followed your recommendation and found a way to get the E-Tag from the Get request and use it in the POST request with parameter in body:
, but I got the same error:
Can i make something else with this situation?
User | Count |
---|---|
10 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.