Ansicht
Dokumentation

CRM_IU_DSM_BRF_CONTE - BAdI: Context Filler for BRFplus Functions in DSM

CRM_IU_DSM_BRF_CONTE - BAdI: Context Filler for BRFplus Functions in DSM

General Material Data   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Application (CRM_IU_DSM_APL) and Agreement (CRM_IU_DSM_AGR) components. You can use this BAdI to retrieve and send the data (fill out the context data) of the BRFplus function for the following BRFplus functions:

  • Eligibility check
This BAdI is optional for the eligibility check, since you can choose to send data in another way. For example, you can send data to the BRFplus function directly without calling this BAdI.
  • Goal contribution calculation
This BAdI is required for the goal contribution calculation, as you must use the standard methods available when you define your action.
  • Incentive calculation
This BAdI is required for the incentive calculation, as you must use the standard methods available when you define your action.
  • Billing request item (BRI) calculation for payment limit
This BAdI is required, as you must use the standard methods available when you define your action.

Since each BRFplus function may require different data, the context filling operation is very likely to change depending on the function. Therefore, you create a new implementation of this BAdI for each new BRFplus function to determine which data to transfer.

This BAdI is called when the action to call the BRFplus function is executed. It uses method FILL_OUT_CONTEXT to transfer the data using the following parameters:

  • IT_CONTEXT_PARAMETERS
This importing parameter is a table containing business object type - object GUID pairs that are necessary to fill out the context of a BRFplus function.
  • CR_CONTEXT
This changing parameter represents the actual context of a BRFplus function. By invoking the method SET_VALUE() on this object, the BAdI sends the data to the BRFplus function.
  • CT_LOG
This changing parameter is a table containing the messages that occur during the processing of this BAdI. These messages are available in the Action Framework log following processing.

See the documentation for the example implementations.

For each implementation of this BAdI, you must use the name of the corresponding BRFplus function as the filter value.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitionstab in the BAdI Builder (transaction se18).

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

You can find example implementations in the BAdI Builder on the Enhancement Implementations tab. The following example implementations are available:






BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 4922 Date: 20240523 Time: 182126     sap01-206 ( 123 ms )