Ansicht
Dokumentation

BAPI_RP_RRM_OUTBOUND_DATA_GET - RRM Interface: Determine and Prepare Export Data

BAPI_RP_RRM_OUTBOUND_DATA_GET - RRM Interface: Determine and Prepare Export Data

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI is used to read the data needed for a Retail Revenue Management system (RRM system) and to transfer it to the external calling program. The BAPI belongs to the method OutboundDataGet from the SAP business object (BO) Retail Revenue Management Interface.

There are three different types of data here:

  • Purchase prices
  • Historical sales data (sales history).

Appropriate flags in the import structure BAPIRPRRMOUTBOUNDCONTROLIN control how data is read. This import structure also contains parameters needed to read data. For more information see the documentation for this import structure.

Purchase prices and historical sales data are determined for a list of materials and plants that is transferred to the BAPI using the import table PLANTSIN and MATERIALSIN.

Data that has been read is made available to the calling program in the appropriate export parameters. For purchase prices and historical sales data these are export tables PURCHPRICESOUT and SALESDATAOUT. For price points, data is made available to the price point group in the export structure PRICEPOINTGROUPDATAOUT and the price point area in the export table PRICEPOINTSOUT.

If errors occur when data is being read, the corresponding information is transferred to the calling program using the export table RETURN.

Business Add-In (BAdI) RP_RRM_BAPI_PP_READ is also used to determine customer-specific purchase prices that can be controlled using standard procedures for purchase prices. A similar control for historical sales data can be performed using BAdI RP_RRM_BAPI_SD_CHECK. Using the Import table EXTENSIONIN as part of the BAPI enhancement concept, other data can be made available to these BAPIs. In the same way, export table EXTENSIONOUT is used to export additional information that is created in the BAdIs, to the calling program.

Example

Notes

Further information

BAPIs and the aforementioned business object method are generally called by an exchange program that is called by BAdI RP_RRM_OUTBOUND. The import tables from this BAdI PI_T_SITECORE and PI_T_ARTICORE, which are used by the data export report RWRP_RRM_OUTBOUND to make selected plant and material lists available, have the same data format as the import tables PLANTSIN and MATERIALSIN. These tables make it easy to transfer plant and material lists from the BAdI, through the exchange program to the BAPI.





Parameters

EXTENSIONIN
EXTENSIONOUT
MATERIALSIN
OUTBOUNDCONTROLIN
PLANTSIN
PRICEPOINTGROUPDATAOUT
PRICEPOINTSOUT
PURCHPRICESOUT
RETURN
SALESDATAOUT

Exceptions

Function Group

WRRM4

CL_GUI_FRONTEND_SERVICES - Frontend Services   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 4530 Date: 20240523 Time: 183708     sap01-206 ( 80 ms )