SAP ABAP IMG Activity BADI_CCM_MESG_TYPE (BAdI: Adjust Message Type According to Configuration Check Types)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM-EQM-CC (Application Component) Configuration Control
     DI_CCM (Package) Configuration Control
IMG Activity
ID BADI_CCM_MESG_TYPE BAdI: Adjust Message Type According to Configuration Check Types  
Transaction Code S_KA5_12001286   (empty) 
Created on 20021122    
Customizing Attributes BADI_CCM_MESG_TYPE   BAdI: Adjust Message Type According to Configuration Check Types 
Customizing Activity BADI_CCM_MESG_TYPE   BAdI: Adjust Message Type According to Configuration Check Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_CCM_MESG_TYPE    

Use

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.

Requirements

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.

Standard settings

No standard setup. Empty BAdI is provided.

Activities

Example

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.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_CCM_MESG_TYPE 0 PLN0000023 Configuration Control 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20030625 
SAP Release Created in 471