on 2025 Jan 15 7:10 AM
Hi,
I am using the Physical Inventory API in my BTP Application and want to perform the COUNT as described in the link. Unfortunately, I am having some troubles with it, therefore I want to understand how it is supposed to work.
To be able to perform an Inventory COUNT I have to have a Inventory Document, which I created in my SAP EWM System as we can see below.
I notice that there exists a Physical Inventory Item ( Header Item ) for this document, but no Count Item ( since I did not perform the count yet ).
To perform the COUNT I implemented the BATCH call as mentioned in the Dokumentation and when I am executing it, I get following error:
"This physical inventory item doesn't exist."
This lead to my question:
Since the BATCH call requires this two PUT calls in it.
How can the BATCH call require a PUT request of the Physical Inventory Count Item, if the Item does not exists yet?
Request clarification before answering.
First, ensure the Physical Inventory Item is created successfully by performing a GET request for the WhsePhysicalInventoryItem entity:
/sap/opu/odata/sap/API_PHYS_INV_DOCUMENT_SRV/WhsePhysicalInventoryItem
Verify its existence using filters (e.g., PhysicalInventoryDocument and Item).
After confirming its existence, proceed with the PUT request for the WhsePhysicalInventoryCountItem.
Split the batch process into two steps:
Step 1: Send a batch with the PUT request for WhsePhysicalInventoryItem.
Step 2: After confirming creation, send a batch with the PUT request for WhsePhysicalInventoryCountItem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
58 | |
10 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.