Ansicht
Dokumentation

BADI_CCM_MESG_TYPE - BAdI: Adjust Message Type According to Configuration Check Types

BADI_CCM_MESG_TYPE - BAdI: Adjust Message Type According to Configuration Check Types

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

You use this BAdI to change the message type of system messages displayed in the application log for configuration checks. This is necessary because particular messages can have different meanings for the different checks types (for a partial check, a message could mean an error, whereas the same message could merely be a warning for an extended check). In this case, the Customizing settings are not sufficient. Customizing does not distinguish between the different check types, but it determines the importance of the message for the customer (for some customers a structure gap signifies an error, but not for others).

SAP provides the following method:

  • CHANGE_MESSAGE_TYPE
Based on the input CS_MESSAGE the type of any customizeable message CS_MESSAGE (changing parameter) can be changed within this method.

For partial configuration checks you use this BAdI together with BAdI BADI_CCM_EXPL_ALWD. BAdI BADI_CCM_EXPL_ALWD contains the parameter GV_BYPASS_BADI which carries the information whether a partial (parameter is blank) or complete configuration check (parameter is set to 'X') has been executed.

No standard setup. Empty BAdI is provided.

If you want to change the message type for messages that are raised during the partial configuration check, use the following code in front of your own code:

method IF_EX_BADI_CCM_EXPL_ALWD~CONFIG_CHECK_FILTER_ELEMENTS .
class cl_ex_badi_ccm_expl_alwd definition load.
check cl_ex_badi_ccm_expl_alwd=>if_ex_badi_ccm_expl_alwd~gv_bypass_badi is initial.
endmethod.

Consequently, the method is only executed when the user has reqested the partial configuration check.






Vendor Master (General Section)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 2003 Date: 20240524 Time: 005242     sap01-206 ( 48 ms )