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_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:
Hi, I have never used the "*" - looking at the date code on your IF MATCH , it is from March 12. Usually you do the get and then immediately call the POST so it doesn't expire. According to the error, it is stale and the system did not find the match. I would recommend to call the GET and POST right after and see if it helps.
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 |
---|---|
4 | |
2 | |
2 | |
2 | |
2 | |
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.