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
- Navigate to the Application and User Management work center.
- Go to the OData Services view.
- Show Custom OData Services.
- Find and select Custom relevant OData Service.
- Click Edit.
- Go to the Function Imports tab.
- It can be observed that Action PostGoodsReceipt (PGRBackground) has been added.
- 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
- 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).
- It should be noted that there is no web service/API to create Inbound Delivery through Post Goods Receipt(PGR).
- 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
SAP Knowledge Base Article - Public