How to Perform a Manual Basket Item Acceptance

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

Context

  • Given the order ORD00561-Common the acceptance 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 receipt within S4Hana. Depending on the type of article, you may have to provide serial numbers.

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