RPMUST_MESSAGE_HANDLER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report is used to show how to use the HCM Message Handler (Class
If you would like to execute this report or see the full code listing simply enter RPMUST_MESSAGE_HANDLER into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_PAL = HCM Application Log
Selection Text: P_PAYLOG = Payroll Log
Selection Text: P_TREE = ALV Tree
Title: Example Program Use of Message Handler
Text Symbol: 001 = Selected Employees
Text Symbol: 002 = Test Function Log Output
Text Symbol: B01 = Maintain Employee Data (PA30)
Text Symbol: B02 = Detailed Log Personnel No.
Text Symbol: B03 = Payroll Log Personnel Number
Text Symbol: TIT = Example Program Use of Message Handler
Text Symbol: X01 = Log Output
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_PL_REFRESH_LOG_TABLES CALL FUNCTION 'HR_PL_REFRESH_LOG_TABLES'.
HR_PL_MOVE_SCHEMA_TO_PLOG CALL FUNCTION 'HR_PL_MOVE_SCHEMA_TO_PLOG' EXPORTING imp_schema = l_schema imp_fields = lt_fields[] imp_sw_prot = 'X' * imp_vanam = p_vanam TABLES imp_as = lt_as[] imp_as_text = lt_as_text EXCEPTIONS OTHERS = 0.
HR_PL_MOVE_LOG_BASIC_KEY CALL FUNCTION 'HR_PL_MOVE_LOG_BASIC_KEY' EXPORTING imp_log_basic_key = ls_log_basic_key EXCEPTIONS OTHERS = 0.
HR_PL_MOVE_SEL_SCREEN_TO_PLOG CALL FUNCTION 'HR_PL_MOVE_SEL_SCREEN_TO_PLOG' EXPORTING imp_report = 'RPMUST_MESSAGE_HANDLER' EXCEPTIONS OTHERS = 0.
HR_PL_MOVE_APER_TO_PLOG CALL FUNCTION 'HR_PL_MOVE_APER_TO_PLOG' EXPORTING imp_aper_wa = ls_aper imp_pernr = i_pernr imp_ename = i_ename imp_schema = l_schema imp_srtza = 'A' imp_in_recall = space CHANGING p_aper_numb = l_aper_numb p_asnum = l_asnum EXCEPTIONS OTHERS = 0.
HR_PL_TRANSPORT_KEY CALL FUNCTION 'HR_PL_TRANSPORT_KEY' EXPORTING imp_log_ref_key = ls_log_ref_key imp_asnum = l_asnum imp_aspos = l_aspos imp_type = 'A' EXCEPTIONS OTHERS = 0.
HR_PL_APPEND_PLOG_TEXT CALL FUNCTION 'HR_PL_APPEND_PLOG_TEXT' TABLES text = lt_ptext.
HR_PL_DISPLAY_LOG CALL FUNCTION 'HR_PL_DISPLAY_LOG'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPMUST_MESSAGE_HANDLER - Example Program Use of Message Handler RPMUST_MESSAGE_HANDLER - Example Program Use of Message Handler RPMUST_APPEND_ALV - Report RPMUST_APPEND_ALV RPMUST_APPEND_ALV - Report RPMUST_APPEND_ALV RPMUSTD1 - Model report for calling up HR ALV RPMUSTD1 - Model report for calling up HR ALV