SAP Reports / Programs | Payroll | Germany | Public Sector(PY-DE-PS) SAP PY

MP20014D SAP ABAP INCLUDE - Absence Routines for Civil Service







MP20014D 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 MP20014D 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 MP20014D. "Basic submit
SUBMIT MP20014D AND RETURN. "Return to original report after report execution complete
SUBMIT MP20014D VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Absence Routines for Civil Service


INCLUDES used within this REPORT MP20014D

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_READ_INFOTYPE call function 'HR_READ_INFOTYPE' " exporting " pernr = pspar-pernr " infty = '0016' " tables " infty_tab = lt_p0016[] " exceptions " others = 0. "

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' "YMLN1115161b exporting "YMLN1115161b pernr = pspar-pernr "YMLN1115161b infty = '2001' "YMLN1115161b tables "YMLN1115161b infty_tab = lt_p2001[] "YMLN1115161b exceptions "YMLN1115161b others = 0. "YMLN1115161b

HR_OED_FRISTEN call function 'HR_OED_FRISTEN' exporting imp_pernr = p2001-pernr * imp_stitg = endda "KREPH4K012287 imp_stitg = begda "KREPH4K012287 imp_frart = '02' imp_awart = p2001-awart importing exp_fszah = kgzfr exp_fstzh = kgzzh * EXP_KDGAG = tables pp0001 = i0001.

HR_OED_FRISTEN call function 'HR_OED_FRISTEN' exporting imp_pernr = p2001-pernr * imp_stitg = endda "KREPH4K012287 imp_stitg = begda "KREPH4K012287 imp_frart = '01' imp_awart = p2001-awart importing exp_fszah = lfzfr exp_fstzh = lfzzh tables pp0001 = i0001.

COMPUTE_YEARS_BETWEEN_DATES call function 'COMPUTE_YEARS_BETWEEN_DATES' exporting first_date = eintritt second_date = begda modify_interval = '+' importing years_between_dates = dienstjahre exceptions sequence_of_dates_not_valid = 4.

HR_GET_VALIDITY_OF_APPLICATION call function 'HR_GET_VALIDITY_OF_APPLICATION' "SVCN816705 exporting i_molga = t001p-molga i_appl = 'KGVA' i_date = $begda importing e_valid = l_sw_appl_kgva. "SVCN816705

HR_DE_PBS_CALCULATE_PERIODS CALL FUNCTION 'HR_DE_PBS_CALCULATE_PERIODS' EXPORTING IT_P0001 = lt_p0001 IT_P0008 = lt_p0008 IT_P0016 = lt_p0016 IT_P0041 = lt_p0041 IT_P2001 = lt_p2001 I_MOLGA = $molga CHANGING CS_P2001 = ls_p2001 EXCEPTIONS RMDDA_OR_KRGED_MISSING = 1 ERROR_OF_OTHER_FUNCTIONS = 2 OTHERS = 3 .

HR_GET_VALIDITY_OF_APPLICATION call function 'HR_GET_VALIDITY_OF_APPLICATION' exporting i_molga = t001p-molga i_appl = 'D12M' i_date = p_begda importing e_valid = l_valid.



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