SAP Knowledge Base Article - Public

3583076 - Inability to Post Goods Receipt with Actual Quantities via OData API in Inbound Delivery Processing

Symptom

  • A custom OData has been created in the Inbound Delivery Business Object with the aim of posting Actual Quantities using the Post Goods Receipt action via the OData API.
  • There is a need to understand if it is possible to pass actual product quantities via the PGR Background Action and if not, what would be the recommended approach.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Navigate to the Application and User Management work center.
  2. Go to the OData Services view.
  3. Show Custom OData Services.
  4. Find and select Custom relevant OData Service.
  5. Click Edit.
  6. Go to the Function Imports tab.
  7. It can be observed that Action PostGoodsReceipt (PGRBackground) has been added.
  8. The process works as expected, but there is uncertainty on how to post Actual Quantity with the Action Post Goods Receipt.

Cause

The functionality to pass actual product quantities via the PGR Background Action is not available.

Resolution

  1. It is understood that the OData is used to create an Inbound Delivery which on the UI side is referred to as Inbound Delivery Notification. Therefore, the "Actual quantity" cannot be found since it does not belong to Inbound Delivery Notification, but Confirmed Inbound Delivery (Inbound Delivery on UI side).
  2. It should be noted that there is no web service/API to create Inbound Delivery through Post Goods Receipt(PGR).
  3. However, it is possible to build your own logic to consume the action PGR Ground which PSM released. Further information can be found in the Documentation of the Business Object.

See Also

Keywords

OData, Post Goods Receipt, Actual Quantity, Inbound Delivery, PGR Background Action, PGR Ground, PSM, Business Object, Custom OData Service. , KBA , AP-IDP , Inbound Delivery Processing , Problem

Product

SAP Business ByDesign all versions