Symptom
- Unable to find a link between Material Document, Warehouse Task, and Handling Unit using the APIs.
- Issue occurs when posting a Material Document for transferring stock from storage location to storage location within the same plant, movement type 311.
- Warehouse Task and Handling Unit are created and visible in the Warehouse tab within Material Document display but cannot be retrieved through API.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- In the application Post Good Movement, enter Material, Quantity, source, and destination Storage location.
- Post Material Document for transferring stock from storage location to storage location within the same plant, movement type 311.
- Observe that a Warehouse Task and Handling Unit are created and visible in the Warehouse tab within Material Document display.
- Attempt to retrieve the Warehouse Task and Handling Unit through API.
Cause
The CDS view that provides the link between Material Document, Warehouse Task, and Handling Unit (I_EWM_WhseDocumentItem) is not commonly known, which leads to the perception that this data cannot be retrieved via API.
Resolution
Use the CDS view I_EWM_WhseDocumentItem, which provides the necessary information to link Material Documents with Warehouse Tasks.
Keywords
to link Material Documents with Warehouse Tasks, CDS view, Post Good Movement, warehouse task, API, Material, warehouse task, Handling Unit, movement type 311, API or CDS view provides the link between Material Document, Warehouse Task, and Handling Unit based on the Material Document , KBA , SCM-EWM-ANA-2CL , Analytics (Public Cloud) , Problem
SAP Knowledge Base Article - Public