SAP Reports / Programs | Payroll | Payroll: General Parts | Reuse Services for Country Development(PY-XX-RS) SAP PY

RPMUST_MESSAGE_HANDLER SAP ABAP Report - Example Program Use of Message Handler







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 see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


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 RPMUST_MESSAGE_HANDLER. "Basic submit
SUBMIT RPMUST_MESSAGE_HANDLER AND RETURN. "Return to original report after report execution complete
SUBMIT RPMUST_MESSAGE_HANDLER VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RPMUST_MESSAGE_HANDLER

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:

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'.



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 RPMUST_MESSAGE_HANDLER or its description.