Symptom
Movement type 262 is supported by API API_MATERIAL_DOCUMENT_SRV since SAP S/4HANA Cloud Public Edition 2102.
You can reverse a reservation in movement type 262 or 262 equivalent.
Environment
- Sourcing and Procurement
- SAP S/4HANA Cloud Public Edition 2102
Cause
The field MaterialDocumentPostingType has been added in order to reverse a reservation. It is only supported for movement type 262 or 262 equivalent and only when the value is set to "1".
Resolution
Here is the sample payload:
{
"PostingDate": "2021-02-23T00:00:00",
"GoodsMovementCode": "06",
"to_MaterialDocumentItem":
[{
"Material": "xxx",
"StorageLocation": "xxx",
"Plant": "xxx",
"GoodsMovementType": "262",
"ManufacturingOrder": "xxx",
"EntryUnit": "xx",
"QuantityInEntryUnit": "x",
"MaterialDocumentPostingType": "1" <--NEW
} ]
}
See Also
Keywords
S4, HANA, 262, API API_MATERIAL_DOCUMENT_SRV, Production Order , KBA , MM-IM-GR , Goods Receipt , MM-IM-GR-2CL , Goods Receipt (Public Cloud) , How To