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

MP005940 SAP ABAP INCLUDE - Module pool for Infotype 0059 - Form Routines







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


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 MP005940. "Basic submit
SUBMIT MP005940 AND RETURN. "Return to original report after report execution complete
SUBMIT MP005940 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 Infotype 0059 - Form Routines


INCLUDES used within this REPORT MP005940

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:

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.



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