Ansicht
Dokumentation

LCM_BOINT_CHECK_DUPL - Check Duplicate Rule for Context Determination

LCM_BOINT_CHECK_DUPL - Check Duplicate Rule for Context Determination

BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Use this Business Add-In in CM-CTX component to introduce any custom checks on the attributes that are available in the Context Determination facet of the Manage Contextsapp.

To create a BAdI implementation, you can use the transactions SE18 or SE19, or you can use the Custom Logic app in the front-end system. If you use the Custom Logic app, the following applies:

  • The app provides a special ABAP language version ABAP for Key Users. This makes the implementation of BAdIs for business experts and implementation consultants easier.
  • The app ensures that you can use only released interfaces.

If you use the transactions SE19 or SE18 to create a BAdI implementation, the implementation is not visible in the Custom Logic app.

If several BAdI implementations exist, the system runs through the implementations in the following order:

  1. Implementations created in the transactions SE18 or SE19.
  2. Implementation created in the Custom Logic app.

You have a valid user with the required authorizations.

  • In the standard system, the BAdI is not active.
  • The BAdI is filter-independent.
  • With the app Custom Fields and Logic, you can create exactly one active implementation.

BAdI method implementation:

Use this method to introduce any custom check on the attributes that are available in the Context Determinationfacet of the Manage Contextsapp.

Importing Parameters: LEGALCONTEXT (Type - LCM_CONTEXT_ID) - You can use this parameter to check the context ID.

Importing Parameters: LGLCNTNTMINTEGRATIONVARIANT (Type - LCM_INTEGRATION_TYPE) - You can use this parameter to check the integration variant.

Importing Parameters: LGLCNTNTMCNTXTIDFGATTRIB (Type - IF_LCM_BOINT_CHECK_DUPL_RULE=>TT_LCM_CTX_CHECK_DETN_RULES) - You can use this parameter to check the context identifying attributes.

Changing Parameters: LGLCNTNTDPLRULEISEXISTS (Type - ABAP_BOOLEAN) - Value is 'X' if duplicate rules exist.

Changing Parameters: MESSAGES (Type - TT_LCM_MESSAGE_RULE_GROUP) - You can use this parameter to add any kind of messages (success or error) that might occur during the execution of check.

Please refer to the example class implementation CL_LCM_BOINT_EX_CHK_DUPL_RULE

related to this BAdI.

related to this BAdI.






BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.

Length: 2885 Date: 20240523 Time: 200829     sap01-206 ( 43 ms )