MP010940 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 MP010940 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.
Title: Module Pool Infotype 0109 (Form Routines - Belgium)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = bukrs IMPORTING currency = curr EXCEPTIONS not_found = 1.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p0109-pernr infty = '0007' begda = p0109-endda endda = p0109-endda TABLES infty_tab = tab_p0007 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_BE_GE_READ_MAX_HOURS_WEEK CALL FUNCTION 'HR_BE_GE_READ_MAX_HOURS_WEEK' EXPORTING in_pmebw = pmebw IMPORTING rtn_beuwg = beuwg EXCEPTIONS feature_not_generated = 1 input_is_empty = 2 zero_output = 3 unknwon_feature = 4 OTHERS = 5.
HR_99S_READ_T511K CALL FUNCTION 'HR_99S_READ_T511K' EXPORTING molga = pbe04_c_belgium constant = pbe04_c_constant date = sy-datum IMPORTING value = l_new_design EXCEPTIONS constant_not_found = 1 OTHERS = 2.
HR_BE_READ_SUBAREAS CALL FUNCTION 'HR_BE_READ_SUBAREAS' EXPORTING im_date = sy-datum IMPORTING ex_subareas = l_tab_subarea EXCEPTIONS not_found = 1 OTHERS = 2.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = p_fnam tabname = p_tnam IMPORTING select_value = p_value TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.
HR_BE_CHECK_BEGPC_VALID CALL FUNCTION 'HR_BE_CHECK_BEGPC_VALID' EXPORTING im_pernr = p0109-pernr im_begda = p0109-begda im_begpc = p0109-begpc IMPORTING ex_returncode = returncode.
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'BLOCU' struc_content = struc_content IMPORTING back = l_locun CHANGING status = returncode EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = p_pernr infty = p_infotype begda = p_begda endda = p_endda IMPORTING subrc = ok_code TABLES infty_tab = tab_prel_db EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_99S_COPY_TABLE1_TABLE2 CALL FUNCTION 'HR_99S_COPY_TABLE1_TABLE2' EXPORTING table1 = p_tab TABLES table2 = tab_prel_db.
HR_99S_COPY_STRUC1_STRUC2 CALL FUNCTION 'HR_99S_COPY_STRUC1_STRUC2' EXPORTING p_struct1 = wa_prel_db IMPORTING p_struct2 = p_wa.
HR_99S_READ_T511K CALL FUNCTION 'HR_99S_READ_T511K' EXPORTING molga = pbe04_c_belgium constant = pbe04_c_constant date = sy-datum IMPORTING value = l_new_design EXCEPTIONS constant_not_found = 1 OTHERS = 2.
HR_BE_READ_SUBAREAS CALL FUNCTION 'HR_BE_READ_SUBAREAS' EXPORTING im_date = sy-datum IMPORTING ex_subareas = l_tab_subarea EXCEPTIONS not_found = 1 OTHERS = 2.
HR_BE_READ_INSTITUTION_CODES CALL FUNCTION 'HR_BE_READ_INSTITUTION_CODES' EXPORTING im_instgr = pbe04_c_external_workplace im_date = sy-datum im_language = sy-langu IMPORTING ex_institutions = l_tab_institutions ex_returncode = l_returncode.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act =
-top_line entry_from = 1 entry_to = -lines last_page_full = 'X' loops = ok_code = p_ok overlapping = 'X' IMPORTING entry_new = l_tc_new_top_line EXCEPTIONS * NO_ENTRY_OR_PAGE_ACT = 01 * NO_ENTRY_TO = 02 * NO_OK_CODE_OR_PAGE_GO = 03 OTHERS = 0.
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'P0109' struc_content = pme04 IMPORTING back = lv_back CHANGING status = returncode EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.