SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

MP50AF20 SAP ABAP INCLUDE - documentation and ABAP source code







MP50AF20 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 MP50AF20 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 MP50AF20. "Basic submit
SUBMIT MP50AF20 AND RETURN. "Return to original report after report execution complete
SUBMIT MP50AF20 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 MP50AF20

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_COUNTRYGROUPING_GET * CALL FUNCTION 'HR_COUNTRYGROUPING_GET' "XYLAHRK044768 "XYLN320605 * EXPORTING "XYLAHRK044768 "XYLN320605 * pernr = rp50g-pernr "XYLAHRK044768 "XYLN320605 * tclas = pspar-tclas "XYLAHRK044768 "XYLN320605 * IMPORTING "XYLAHRK044768 "XYLN320605 * molga = h_molga "XYLAHRK044768 "XYLN320605 * EXCEPTIONS "XYLAHRK044768 "XYLN320605 * not_found = 1 "XYLAHRK044768 "XYLN320605 * OTHERS = 2. "XYLAHRK044768 "XYLN320605

HR_CHECK_MOLGA_INFTY_PERM CALL FUNCTION 'HR_CHECK_MOLGA_INFTY_PERM' "XYLAHRK011784 EXPORTING molga = h_molga "XYLAHRK011784 infty = t582s-infty "XYLAHRK011784 subty = '*' "XYLAHRK011784 IMPORTING allowed = allowed. "XYLAHRK011784

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE'"QICP30K087709 EXPORTING "QICP30K087709 tcode = ctr_tcode "QICP30K087709 EXCEPTIONS "QICP30K087709 ok = 0 "QICP30K087709 not_ok = 1 "QICP30K087709 OTHERS = 2. "QICP30K087709

SUSR_AUTHORITY_CHECK_S_TCODE CALL FUNCTION 'SUSR_AUTHORITY_CHECK_S_TCODE' "QICP30K087709 EXPORTING "QICP30K087709 tcode = ctr_tcode "QICP30K087709 IMPORTING "QICP30K087709 rc = l_subrc "QICP30K087709 EXCEPTIONS "QICP30K087709 OTHERS = 1. "QICP30K087709

DEQUEUE_ALL * call function 'DEQUEUE_ALL'.

DEQUEUE_ALL * CALL FUNCTION 'DEQUEUE_ALL'. "QNUK110803

RFC_SYSTEM_INFO * call function 'RFC_SYSTEM_INFO' * destination 'SAPGUI' * importing * rfcsi_export = rfcsi_export * exceptions * others = 1.

GUI_IS_AVAILABLE CALL FUNCTION 'GUI_IS_AVAILABLE' "XPVPL0K031817 IMPORTING "XPVPL0K031817 return = gui_available. "XPVPL0K031817

RFC_SYSTEM_INFO CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION 'SAPGUI' IMPORTING rfcsi_export = l_rfcsi.

CAT_IS_ACTIVE CALL FUNCTION 'CAT_IS_ACTIVE' IMPORTING active = is_cat_active.

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' IMPORTING act_plvar = l_plvar EXCEPTIONS no_active_plvar = 01.



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