SAP Knowledge Base Article - Public

3042017 - Which API can be used to get all Goods Receipt Material Documents from a Purchase Order

Symptom

  • Which API can be used to get all Goods Receipt Material Documents which were posted for a Purchase Order.

Environment

  • S/4HANA Cloud

Resolution

Within the API for Inventory - there is the option to 'Retrieve Material Documents'. Within Document Items - the field PurchaseOrder is available to use in the http method GET in order to retrieve the MM Documents for the Purchase Order

PurchaseOrder > Purchase order number related to the goods movement

API for Inventory

Retrieve Material Documents

 

For more information about the parameters that you can include in the URL of the request, within Document Items - the field Purchase Order is available to use in the http method GET in order to retrieve the MM Documents for the Purchase Order.

Please see the Document Items

PurchaseOrder > Purchase order number related to the goods movement

Keywords

API, Material Document, MM, Goods Receipt., GR, Purchase Order, PO, Retrieve, Get, A_MaterialDocumentItem, Public Cloud, S4_PC , KBA , MM-IM-GR-MIGO , Goods Receipt from External Procurement (MIGO) , MM-IM-GR-MIGO-2CL , Goods Receipt from External Procurement (MIGO) (Public Cld) , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions