Ansicht
Dokumentation

BAPI_PR_AR_GETDETAIL - SAP-PR, BAPI for BUS20200: Detail Info for a Product Association Rule

BAPI_PR_AR_GETDETAIL - SAP-PR, BAPI for BUS20200: Detail Info for a Product Association Rule

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI is used to read the detail information for a product association rule.

The rule is identified by its GUID which has to be transferred in the import parameter 'AssociationGuid'.

The rule is read from the system by means of the GUID.

If the rule is read correctly the header and item information of the rule is transferred in the export parameters 'AssocRuleHeader', 'AssocRuleSource' and 'AssocRuleResult' . In addition, a success message of message type 'S', message ID 'CRM_MKTPR' and message number '235' is created in the message log.

If no rule exists for this GUID an error message of message type 'E', mesage ID 'CRM_MKTPR' and message number '234' is created in the message log. In this case the export parameters 'AssocRuleHeader', 'AssocRuleSource' 'AssocRuleResult' are used to transfer the initial values.

Example

Notes

In the case of up/down-selling rules no entries are transferred in the export parameter 'AssocRuleSource'.

Further information





Parameters

ASSOCIATIONGUID
ASSOCRULEHEADER
ASSOCRULERESULT
ASSOCRULESOURCE
RETURN

Exceptions

Function Group

CRM_MKTPR_AR_BAPI

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1800 Date: 20240523 Time: 165050     sap01-206 ( 31 ms )