SAP Reports / Programs

SAPMP50C SAP ABAP dialog Program - Module Pool for New Payroll Menu







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


Text pool values


Title: Module Pool for New Payroll Menu
Text Symbol: T01 = Display structure: Personnel administration
Text Symbol: M97 = Payroll Area Group &1: Release Periods &2.&3 for Payroll?
Text Symbol: M96 = Payroll Area Group &1: Check Payroll Results?
Text Symbol: M95 = Payroll Area Group &1: End Payroll?
Text Symbol: M94 = Payroll Area Group &1: Make Corrections?
Text Symbol: M93 = Payroll area &1: Do you want to release the period &2.&3 for payroll?
Text Symbol: M92 = Payroll area &1: Do you want to check the payroll results?
Text Symbol: M91 = Payroll area &1: Do you want to exit payroll?
Text Symbol: M90 = Payroll area &1: Do you want to make corrections?
Text Symbol: M53 = area &1?
Text Symbol: M52 = payroll results for payroll
Text Symbol: M51 = Do you want to check the
Text Symbol: M50 = Check payroll results
Text Symbol: M43 = area &1?
Text Symbol: M42 = payroll for payroll
Text Symbol: M41 = Do you wish to exit
Text Symbol: M40 = Exit payroll
Text Symbol: M33 = area &1?
Text Symbol: M32 = corrections for payroll
Text Symbol: M31 = Do you want to make
Text Symbol: M30 = Corrections
Text Symbol: M26 = international version?
Text Symbol: M25 = Do you wish to use the
Text Symbol: M24 = implemented
Text Symbol: M23 = payroll menu has yet to be
Text Symbol: M22 = Country version &1 of the
Text Symbol: M21 = Set country grouping
Text Symbol: M13 = schedlng for this job?
Text Symbol: M12 = Do you wish to exit
Text Symbol: M11 = Exit scheduling of batch job
Text Symbol: M04 = for payroll?
Text Symbol: M03 = payroll area &1 for period &2.&3
Text Symbol: M02 = Do you want to release
Text Symbol: M01 = Release for payroll
Text Symbol: E01 = The following IMG structure does not exist:


INCLUDES used within this REPORT SAPMP50C

INCLUDE RPUMKC00. "VUUP30K070842


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:

GENERATE_REPORT_NAMES CALL FUNCTION 'GENERATE_REPORT_NAMES' "! EXPORTING "! molga = molga "! procl = procl "! short_name = short_name "! * HR_PROCL = 'C' "! IMPORTING "! name = repid "! EXCEPTIONS "! molga_not_exists = 1 "! procl_not_exists = 2 "! molga_cannot_used_with_procl_t = 3 "! short_name_not_accepted = 4 "! OTHERS = 5. "XDOP30K121368

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = repid mode = 'BATCH' IMPORTING out_archive_parameters = arc_params out_parameters = pri_params valid = sw_ok.

GENERATE_REPORT_NAMES CALL FUNCTION 'GENERATE_REPORT_NAMES' "! EXPORTING "! molga = molga "! procl = procl "! short_name = short_name "! * HR_PROCL = 'C' "! IMPORTING "! name = repid "! EXCEPTIONS "! molga_not_exists = 1 "! procl_not_exists = 2 "! molga_cannot_used_with_procl_t = 3 "! short_name_not_accepted = 4 "! OTHERS = 5. "!

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = repid IMPORTING out_archive_parameters = arc_params out_parameters = pri_params valid = sw_ok.

GENERATE_REPORT_NAMES CALL FUNCTION 'GENERATE_REPORT_NAMES' "! EXPORTING "! molga = molga "! procl = procl "! short_name = short_name "! * HR_PROCL = 'C' "! IMPORTING "! name = repid "! EXCEPTIONS "! molga_not_exists = 1 "! procl_not_exists = 2 "! molga_cannot_used_with_procl_t = 3 "! short_name_not_accepted = 4 "! OTHERS = 5. "!

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = repid IMPORTING out_archive_parameters = arc_params out_parameters = pri_params valid = sw_ok.

RP_POPUP_TO_GET_MOLGA CALL FUNCTION 'RP_POPUP_TO_GET_MOLGA' IMPORTING answer = answer molga = molga.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'J' titel = text-m21 diagnosetext1 = text1 diagnosetext2 = text-m23 diagnosetext3 = text-m24 textline1 = text-m25 textline2 = text-m26 IMPORTING answer = answer.

RP_POPUP_TO_GET_ABKRS CALL FUNCTION 'RP_POPUP_TO_GET_ABKRS' IMPORTING answer = answer abkrs = abkrs.

GENERATE_REPORT_NAMES CALL FUNCTION 'GENERATE_REPORT_NAMES' "XDOP30K121368 EXPORTING "XDOP30K121368 molga = molga "XDOP30K121368 procl = procl "XDOP30K121368 short_name = short_name "XDOP30K121368 * HR_PROCL = 'C' "XDOP30K121368 IMPORTING "XDOP30K121368 name = repid "XDOP30K121368 EXCEPTIONS "XDOP30K121368 molga_not_exists = 1 "XDOP30K121368 procl_not_exists = 2 "XDOP30K121368 molga_cannot_used_with_procl_t = 3 "XDOP30K121368 short_name_not_accepted = 4 "XDOP30K121368 OTHERS = 5. "XDOP30K121368

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = repid IMPORTING out_archive_parameters = arc_params out_parameters = pri_params valid = sw_ok.

GENERATE_REPORT_NAMES CALL FUNCTION 'GENERATE_REPORT_NAMES' "XDOP30K121368 EXPORTING "XDOP30K121368 molga = molga "XDOP30K121368 procl = procl "XDOP30K121368 short_name = short_name "XDOP30K121368 * HR_PROCL = 'C' "XDOP30K121368 IMPORTING "XDOP30K121368 name = repid "XDOP30K121368 EXCEPTIONS "XDOP30K121368 molga_not_exists = 1 "XDOP30K121368 procl_not_exists = 2 "XDOP30K121368 molga_cannot_used_with_procl_t = 3 "XDOP30K121368 short_name_not_accepted = 4 "XDOP30K121368 OTHERS = 5. "XDOP30K121368

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' "! EXPORTING report = repid "! IMPORTING out_archive_parameters = arc_params "! out_parameters = pri_params "! valid = sw_ok. "!

HRDSYS_CONVERT_OLD_ONAME CALL FUNCTION 'HRDSYS_CONVERT_OLD_ONAME' " ! EXPORTING " ! rpdsys00_oname = dname " ! rpdsys00_otype = dtype " ! IMPORTING " ! molga = i_molga " ! oname = i_oname. " !

HRDSYS_SHOW_DOCU CALL FUNCTION 'HRDSYS_SHOW_DOCU' " ! EXPORTING " ! molga = i_molga " ! oname = i_oname " ! otype = dtype " ! EXCEPTIONS " ! wrong_otype = 1 " ! loio_not_found = 2 " ! internal_error = 3 " ! OTHERS = 4. " !

RP_POPUP_TO_GET_BATCH CALL FUNCTION 'RP_POPUP_TO_GET_BATCH' IMPORTING answer = answer jobname = jobname.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname IMPORTING jobcount = jobcount.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' objectvalue = jobname text_before = text-m12 text_after = text-m13 titel = text-m11 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.

AUTHORITY_CHECK_TCODE





CALL FUNCTION 'AUTHORITY_CHECK_TCODE' "! EXPORTING "! * TCODE = CTR_TCODE "WVQALRK005924 "! tcode = tstc_tcode "WVQALRK005924 "! EXCEPTIONS "! ok = 0 "! not_ok = 1 "! OTHERS = 2. "!

SUSR_AUTHORITY_CHECK_S_TCODE CALL FUNCTION 'SUSR_AUTHORITY_CHECK_S_TCODE' "! EXPORTING "! * TCODE = CTR_TCODE "WVQALRK005924 "! tcode = tstc_tcode "WVQALRK005924 "! IMPORTING "! rc = l_subrc "! EXCEPTIONS "! OTHERS = 1. "!

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' objectvalue = '' text_after = '' text_before = text titel = text-m01 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' objectvalue = '' text_after = '' text_before = text titel = text-m01 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' objectvalue = '' text_after = '' text_before = text titel = text-m30 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' objectvalue = '' text_after = '' text_before = text titel = text-m40 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.

POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING defaultoption = 'J' objectvalue = '' text_after = '' text_before = text titel = text-m50 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.

TA_START_FOR_MENU CALL FUNCTION 'TA_START_FOR_MENU' EXPORTING menu_name = menu_name EXCEPTIONS no_activities = 1 OTHERS = 2.



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