SAP Knowledge Base Article - Public

3562938 - API Payload for Movement Type 103 / 105

Symptom

How to post a goods movement using Movement Types 103 & 105 in API

Environment

SAP S/4HANA Cloud Public Edition 

Resolution

Below is the sample payload of posting 103 & 105 goods movements for Purchase Order 45001xxxxx of materials Test-MAT1 & Test-MAT2:

/sap/opu/odata/sap/API_MATERIAL_DOCUMENT_SRV/A_MaterialDocumentHeader

{
  "PostingDate" : "2025-01-21T00:00:00",
  "GoodsMovementCode" : "01",
  "to_MaterialDocumentItem" : [
    {
      "Material" : "Test-MAT1",
      "Plant" : "1010",
      "GoodsMovementType" : "103",
      "PurchaseOrder" : "45001xxxxx",
      "PurchaseOrderItem" : "10",
      "GoodsMovementRefDocType" : "B",
      "EntryUnit" : "EA",
      "QuantityInEntryUnit" : "1"
    },
    {
      "Material" : "Test-MAT2",
      "Plant" : "1010",
      "GoodsMovementType" : "103",
      "PurchaseOrder" : "45001xxxxx",
      "PurchaseOrderItem" : "20",
      "GoodsMovementRefDocType" : "B",
      "EntryUnit" : "EA",
      "QuantityInEntryUnit" : "1"
    }
  ]
}

POST

Material Document posted with Movement Type 103


***********************************************

{
  "PostingDate" : "2025-01-21T00:00:00",
  "GoodsMovementCode" : "01",
  "to_MaterialDocumentItem" : [
    {
      "Material" : "Test-MAT1",
      "Plant" : "1010",
      "StorageLocation" : "101A",
      "GoodsMovementType" : "105",
      "PurchaseOrder" : "45001xxxxx",
      "PurchaseOrderItem" : "10",
      "GoodsMovementRefDocType" : "B",
      "EntryUnit" : "EA",
      "QuantityInEntryUnit" : "1"
    },
    {
      "Material" : "Test-MAT2",
      "Plant" : "1010",
      "StorageLocation" : "101A",
      "GoodsMovementType" : "105",
      "PurchaseOrder" : "45001xxxxx",
      "PurchaseOrderItem" : "20",
      "GoodsMovementRefDocType" : "B",
      "EntryUnit" : "EA",
      "QuantityInEntryUnit" : "1"
    }
  ]
}

POST

Material Document posted with Movement Type 105

Keywords

/sap/opu/odata/sap/API_MATERIAL_DOCUMENT_SRV/A_MaterialDocumentHeader, API, 103, 105, Release from Blocked Stock, Purchase Order , KBA , MM-IM-GF-2CL , Basic Functions (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions