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
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.