How to Perform a Manual Basket Item Delivery

Within this guide you are going to learn how to perform manually perform a delivery for the Order Management service.

Context

  • Given the order ORD00561-Common the delivery for the basket item BOO0000718 failed
  • You already obtained the BProc Context Id 31e810e3-7081-ee11-2fa3-00505685d9fb (e.g. from the BProc Error Incident, BProc - Reference History, Order Management Registration Entry)
  • The failure reason could include
    • temporary networking issues
    • a faulty deliver basket item call
    • etc.

Fix

  1. It is crucial that the manual delivery is performed against the BProc Gateway and not directly the Order Management service. The reason for this is, that the BProc Gateway introduces the Command and Event pattern, required for the Matrix42 workflows.
  2. Open Postman or a similiar program within which you have configured the authorization required for the BProc gateway.
  3. Perform the following call which essentially creates a goods issue within S4Hana and is therefore only required for stock items. Depending on the type of article, you may have to provide serial numbers.

    POST {{baseUrl}}/Orders/ORD00561-Common/deliver
{    "Context": {        "Id": "31e810e3-7081-ee11-2fa3-00505685d9fb"    },    "Id": "BOO0000718",    "SerialNumbers": []}