SAP Reports / Programs | Cross-Application Components | Master Data Governance | Application Framework(CA-MDG-AF) SAP CA

MDG_MSG_HANDLING_LCLIMP002 SAP ABAP INCLUDE - Include Implementierung der lokalen Klasse LCL_MSG_HANDLER







MDG_MSG_HANDLING_LCLIMP002 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MDG_MSG_HANDLING_LCLIMP002 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MDG_MSG_HANDLING_LCLIMP002. "Basic submit
SUBMIT MDG_MSG_HANDLING_LCLIMP002 AND RETURN. "Return to original report after report execution complete
SUBMIT MDG_MSG_HANDLING_LCLIMP002 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MDG_MSG_HANDLING_LCLIMP002

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

GUID_CREATE * CALL FUNCTION 'GUID_CREATE' * IMPORTING * ev_guid_22 = me->a_guid.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = i_t_log_handle = t_log_handle * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_MSG_HANDLE = IMPORTING * E_T_LOG_HANDLE = e_t_msg_handle = t_msg_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = i_t_log_handle = t_log_handle * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_MSG_HANDLE = IMPORTING * E_T_LOG_HANDLE = e_t_msg_handle = t_msg_handle EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = s_msg_handle * I_LANGU = SY-LANGU IMPORTING e_s_msg = s_msg * E_EXISTS_ON_DB = * E_TXT_MSGTY = * E_TXT_MSGID = * E_TXT_DETLEVEL = * E_TXT_PROBCLASS = * E_TXT_MSG = * E_WARNING_TEXT_NOT_FOUND = EXCEPTIONS log_not_found = 1 msg_not_found = 2 OTHERS = 3.

MDG_REGISTER_MSG_CONTEXT CALL FUNCTION 'MDG_REGISTER_MSG_CONTEXT' EXPORTING io_msg_context = c_message-complex_context.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = x_log_handle i_s_msg = c_message-msg * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = x_log_handle i_msgty = c_message-msg-msgty * I_PROBCLASS = '4' i_text = c_message-free_text * I_S_CONTEXT = * I_S_PARAMS = * IMPORTING * E_S_MSG_HANDLE = * E_MSG_WAS_LOGGED = * E_MSG_WAS_DISPLAYED = EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4 .

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = i_t_log_handle = t_log_handle * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_MSG_HANDLE = IMPORTING * E_T_LOG_HANDLE = e_t_msg_handle = t_msg_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = s_msg_handle * I_LANGU = SY-LANGU IMPORTING e_s_msg = s_msg * E_EXISTS_ON_DB = * E_TXT_MSGTY = * E_TXT_MSGID = * E_TXT_DETLEVEL = * E_TXT_PROBCLASS = e_txt_msg = s_msg_mdg-free_text * E_WARNING_TEXT_NOT_FOUND = EXCEPTIONS log_not_found = 1 msg_not_found = 2 OTHERS = 3.

BAL_LOG_HDR_READ CALL FUNCTION 'BAL_LOG_HDR_READ' EXPORTING i_log_handle = x_log_handle * I_LANGU = SY-LANGU IMPORTING * E_S_LOG = * E_EXISTS_ON_DB = * E_CREATED_IN_CLIENT = * E_SAVED_IN_CLIENT = * E_IS_MODIFIED = * E_LOGNUMBER = e_statistics = log_statistics * E_TXT_OBJECT = * E_TXT_SUBOBJECT = * E_TXT_ALTCODE = * E_TXT_ALMODE = * E_TXT_ALSTATE = * E_TXT_PROBCLASS = * E_TXT_DEL_BEFORE = * E_WARNING_TEXT_NOT_FOUND = EXCEPTIONS log_not_found = 1 OTHERS = 2.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING * I_S_LOG_FILTER = * I_T_LOG_CONTEXT_FILTER = i_t_log_handle = t_log_handles * I_S_MSG_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_T_MSG_HANDLE = IMPORTING * E_T_LOG_HANDLE = e_t_msg_handle = t_msg_handles EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = s_msg_handle * I_LANGU = SY-LANGU IMPORTING e_txt_msg = l_text EXCEPTIONS log_not_found = 1 msg_not_found = 2 OTHERS = 3.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = s_display_profile i_t_log_handle = t_log_handles * I_T_MSG_HANDLE = * I_S_LOG_FILTER = * I_S_MSG_FILTER = * I_T_LOG_CONTEXT_FILTER = * I_T_MSG_CONTEXT_FILTER = * I_AMODAL = ' ' IMPORTING e_s_exit_command = es_exit_command EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_client = i_client * I_IN_UPDATE_TASK = ' ' * I_SAVE_ALL = ' ' i_t_log_handle = t_log_handles IMPORTING e_new_lognumbers = t_log_numbers EXCEPTIONS log_not_found = 1 save_not_allowed = 2 numbering_error = 3 OTHERS = 4.

BAL_LOG_MSG_DELETE_ALL * CALL FUNCTION 'BAL_LOG_MSG_DELETE_ALL' * EXPORTING * i_log_handle = x_log_handle.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = x_log_handle.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = l_program curr_variant = l_var_name vari_desc = ls_desc TABLES vari_contents = lt_contents vari_text = lt_text * VSCREENS = EXCEPTIONS variant_exists = 2 OTHERS = 8.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = l_program curr_variant = l_var_name vari_desc = ls_desc * ONLY_CONTENTS = TABLES vari_contents = lt_contents vari_text = lt_text * VARI_SEL_DESC = * OBJECTS = EXCEPTIONS OTHERS = 8.

BAL_FILTER_CREATE





CALL FUNCTION 'BAL_FILTER_CREATE' EXPORTING i_object = i_object i_subobject = i_subobject * I_EXTNUMBER = * I_ALDATE_FROM = * I_ALDATE_TO = * I_ALTIME_FROM = * I_ALTIME_TO = i_probclass_from = i_probclass i_probclass_to = i_probclass * I_ALPROG = * I_ALTCODE = * I_ALUSER = * I_ALMODE = * I_T_LOGNUMBER = IMPORTING e_s_log_filter = s_filter.

BAL_GLB_SEARCH_MSG CALL FUNCTION 'BAL_GLB_SEARCH_MSG' EXPORTING i_s_log_filter = s_filter * I_T_LOG_CONTEXT_FILTER = i_t_log_handle = t_log_handle * i_s_msg_filter = * I_T_MSG_CONTEXT_FILTER = * I_T_MSG_HANDLE = IMPORTING * E_T_LOG_HANDLE = e_t_msg_handle = t_msg_handle EXCEPTIONS msg_not_found = 1 OTHERS = 2.

BAL_LOG_MSG_READ CALL FUNCTION 'BAL_LOG_MSG_READ' EXPORTING i_s_msg_handle = s_msg_handle * I_LANGU = SY-LANGU IMPORTING e_s_msg = s_msg * E_EXISTS_ON_DB = * E_TXT_MSGTY = * E_TXT_MSGID = * E_TXT_DETLEVEL = * E_TXT_PROBCLASS = * E_TXT_MSG = * E_WARNING_TEXT_NOT_FOUND = EXCEPTIONS log_not_found = 1 msg_not_found = 2 OTHERS = 3.

BAL_DSP_TXT_MSG_READ CALL FUNCTION 'BAL_DSP_TXT_MSG_READ' EXPORTING * I_LANGU = SY-LANGU i_msgid = ls_msg-msg-msgid i_msgno = ls_msg-msg-msgno i_msgv1 = ls_msg-msg-msgv1 i_msgv2 = ls_msg-msg-msgv2 i_msgv3 = ls_msg-msg-msgv3 i_msgv4 = ls_msg-msg-msgv4 IMPORTING e_message_text = s_bapiret2-message.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = me->xs_log IMPORTING e_log_handle = x_log_handle.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MDG_MSG_HANDLING_LCLIMP002 or its description.