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

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

1. Create a PO with indicator GR based IV and return flag 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. The movement type 101 should be used in HTTP request  and then all items with return flag in the PO are posted by movement type 161.

Resolution

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

See Also

Fiori app

Keywords

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

Product

SAP S/4HANA Cloud Public Edition all versions