SAP Knowledge Base Article - Public

2887722 - Error M7036 when posting movement type161 Returns for purchase order via API

Symptom

When calling API to post goods movement type 161, error M7036 can be found in message dashboard

Environment

  • Sourcing and Procurement
  • SAP S/4HANA Cloud Public Edition

Reproducing the Issue

1. Create a PO with indicator GR based IV checked

2. Call API to post goods movement type 161 with this PO

3. Error M7036 can be found in message dashboard

Cause

it is not possible to post direct by movement type 161 in API. You must use in HTTP request the movement type 101 and then all items with return flag in the PO are posted by movement type 161. It happen internal in function module by post.

Resolution

Please using movement type 101 before posting with 161. Or indicator GR based IV checked should be un-checked.

See Also

Fiori app

Keywords

S4, HANA, MIGO, MaterialDocumentCreateRequest_Async_In, API_MATERIAL_DOCUMENT, M7036 , KBA , MM-IM-GF , Basic Functions , MM-IM-GF-2CL , Basic Functions (Public Cloud) , Problem

Product

SAP S/4HANA Cloud 1911