Ansicht
Dokumentation

CRM_GEN_EXT_KRN_BADI - BAdI: Enhancements for Table Extensions for Business Transactions

CRM_GEN_EXT_KRN_BADI - BAdI: Enhancements for Table Extensions for Business Transactions

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI is a successor kernel BAdI to CRM_GEN_EXT_BADI. Whereas CRM_GEN_EXT_BADI is used with the easy enhancement workbench, this BAdI is used with the new application enhancement tool.

In this work step you can create enhancements for business transaction components that were generated using the application enhancement tool.

The BAdI matches the various component-specific BAdIs for non-generated components in its functionality. You can find them in Customizing for Customer Relationship Management under -> Transactions -> Basic Settings -> Business Add-Ins. You have to create a separate implementation for each business transaction component to be enhanced. You can use the following methods in Business Add-In CRM_GEN_EXT_KRN_BADI:

  • CHECK (Checks on the business transaction component)
You can carry out additional checks, the results of which can be transferred as error messages. Error messages should not be output directly, but rather forwarded to the application log through function module CRM_MESSAGE_COLLECT.
On the interface the wrk structure of the component is transferred as an importing parameter.
  • MERGE (Merge the business transaction component)
As a changing parameter the wrk structure is transferred that contains the fields of the object. The fields of this structure can be changed within the BAdI method.
  • FIELDCHECK (Check fields for the business transaction component)
You can control whether or not a field is ready for input. This method is similar to the general function of BAdI: Field Selection, but is specific to business transaction components.






General Data in Customer Master   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2279 Date: 20240523 Time: 182433     sap01-206 ( 45 ms )