MP005940 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 MP005940 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 for Infotype 0059 - Form Routines
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = $dtel * STATE = 'A' langu = sy-langu IMPORTING * GOTSTATE = dd04v_wa = header * TPARA_WA = EXCEPTIONS illegal_input = 1 OTHERS = 2 .
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'PKLAS' * PVALKEY = ' ' dynpprog = l_syrepid dynpnr = l_sydynnr dynprofield = 'P0059-PKLAS' * STEPL = 0 window_title = text-f41 * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = value_tab * FIELD_TAB = * RETURN_TAB = * DYNPFLD_MAPPING = * EXCEPTIONS * PARAMETER_ERROR = 1 * NO_VALUES_FOUND = 2 * OTHERS = 3 .
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'NVERZ' * PVALKEY = ' ' dynpprog = l_syrepid dynpnr = l_sydynnr dynprofield = 'P0059-NVERZ' * STEPL = 0 window_title = text-f42 * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = value_tab * FIELD_TAB = * RETURN_TAB = * DYNPFLD_MAPPING = * EXCEPTIONS * PARAMETER_ERROR = 1 * NO_VALUES_FOUND = 2 * OTHERS = 3 .
HR_NL_GET_VALIDITY_OF_APPL CALL FUNCTION 'HR_NL_GET_VALIDITY_OF_APPL' EXPORTING imp_application = 'LA06' imp_datum = l_begda imp_molga = '05' IMPORTING exp_valid = la06_valid.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' pernr = p0059-pernr infty = '0001' begda = l_begda endda = l_endda bypass_buffer = ' ' legacy_mode = ' ' IMPORTING subrc = l_subrc TABLES infty_tab = l_p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_FEATURE_BACKFIELD * CALL FUNCTION 'HR_FEATURE_BACKFIELD' " * EXPORTING " * feature = 'NLR02' " * struc_content = l_pmen2 " * IMPORTING " * BACK = l_juper " * 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_NL_CHECK_SRG_DATUM CALL FUNCTION 'HR_NL_CHECK_SRG_DATUM' EXPORTING imp_juper = l_juper imp_svgrp = p0059-svgrp imp_datum = l_begda IMPORTING exp_sector = srg_begda-sector exp_risicogroep = srg_begda-risicogroep exp_correct = l_subrc EXCEPTIONS sector_not_customized = 1 risicogroep_not_customized = 2 juper_not_in_t5n14 = 3 svgrp_not_in_t5n12 = 4 sectorrisicogroep_not_valid = 5 OTHERS = 6.
HR_NL_CHECK_SRG_DATUM CALL FUNCTION 'HR_NL_CHECK_SRG_DATUM' EXPORTING imp_juper = l_juper imp_svgrp = p0059-svgrp imp_datum = l_endda IMPORTING exp_sector = srg_endda-sector exp_risicogroep = srg_endda-risicogroep EXCEPTIONS sector_not_customized = 1 risicogroep_not_customized = 2 juper_not_in_t5n14 = 3 svgrp_not_in_t5n12 = 4 sectorrisicogroep_not_valid = 5 OTHERS = 6.
HR_NL_LEEFTIJD_BEPALEN CALL FUNCTION 'HR_NL_LEEFTIJD_BEPALEN' EXPORTING geboortedatum = p0059-sibeg bepalingsdatum = p0059-siend IMPORTING leeftijd = l_duration EXCEPTIONS nog_niet_geboren = 1 OTHERS = 2.
ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 0 input = l_sirhy sign = '-' IMPORTING output = l_duration_max_p_0 EXCEPTIONS input_invalid = 1 overflow = 2 type_invalid = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MP005940 - Module pool for Infotype 0059 - Form Routines MP005930 - Module pool for Infotype 0059 - PAI Modules MP005920 - Module pool for Infotype 0059 - PBO Modules MP005910 - Module pool for Infotype 0059 - Data Descriptions MP005900 - Module Pool for Infotype 0059 (Social Insurance) MP005900 - Module Pool for Infotype 0059 (Social Insurance)