Ansicht
Dokumentation
RFM_XRP_ORDERPLAN_TO_PURCHDOC - Create purchasing documents from order plan data
General Material Data General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
You can use this function module to create purchasing documents out of inbound order plan data. The function module is provided as part of the integration with the application component CA-RT-XRP (SAP Store Replenishment), which is based on SAP Customer Activity Repository. It is assigned to the function group RFM_XRP_ORDERPLAN, which resides in the component S4CORE, in the package RFM_XRP.
The function module has the following input values:
- Order Plan Items (Table)
The function module transforms the order plan data in such a way that it can be consumed by the function for grouping order list items into purchase orders. Depending on the Customizing settings defined for this function, the data is either written to a buffer table or directly used to create purchase orders.
The function module has the following exporting parameters:
- ET_ORDERPLANITEM_TRANSFERRED: List of Order Plan Item UUIDs which have been successfully posted
- ET_ORDERPLANITEM_TRANSFERFAILD: List of Order Plan Item UUIDs which could not be posted
- Further details on errors during processing are available in application log object RFM_XRP_ORDERPLAN.
Example
Notes
This function module can only be used in the context of SAP Store Replenishment integration.
Further information
For more information about grouping order list items into purchase orders, see the product assistance for SAP S/4HANA on SAP Help Portal at https://help.sap.com. Choose a release.
In the product assistance, choose Industries -> Consumer -> Retail -> Retail for Merchandise Management -> Sourcing, Buying, and Private Label -> Merchandise Buying -> Purchase Order Optimizing -> Grouping Order List Items.
Parameters
ET_ORDERPLANITEM_TRANSFERFAILDET_ORDERPLANITEM_TRANSFERRED
IT_ORDERITEM
Exceptions
Function Group
RFM_XRP_ORDERPLANTXBHW - Original Tax Base Amount in Local Currency TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2612 Date: 20240523 Time: 170433 sap01-206 ( 37 ms )