RPTFERV0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to display the following information: Number of vacation quota days: The number of vacation entitlement days deductible in the year of the reference date The number of taken and deducted days (leave accounted) in the year of the reference date, prior to the reference date The number of compensated days The number of remaining days as of the reference date Amount of vacation allowance The amount of vacation allowance accrued in the year of the reference date over the payroll periods preceding the reference date The amount of vacation allowance carried over from the preceding year and not yet paid out
If you would like to execute this report or see the full code listing simply enter RPTFERV0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M20_TFER - Check list vacation 20
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.
Selection Text: P_UNPDL = D .
Selection Text: P_REFDA = D .
Selection Text: FERIEP = D .
Title: Overview of Leave Quotas and Vacation Allowances (Norway)
Text Symbol: YES = Year
Text Symbol: YEM = Year
Text Symbol: YEL = Leave Year
Text Symbol: YED = Year
Text Symbol: VTS = To
Text Symbol: VTM = Valid to
Text Symbol: VTL = Valid to
Text Symbol: VTD = Valid to
Text Symbol: VFS = From
Text Symbol: VFM = Valid fr
Text Symbol: VFL = Valid from
Text Symbol: VFD = Valid from
Text Symbol: UNK = Unknown message type in subroutine 'error handling'
Text Symbol: N01 = Name
Text Symbol: HPS = HolPay Prev
Text Symbol: HPM = HolPay prev year
Text Symbol: HPL = Holiday pay previous year
Text Symbol: HPD = HP prev
Text Symbol: HAS = HolPay Act
Text Symbol: HAM = HolPay act year
Text Symbol: HAL = Holiday pay actual year
Text Symbol: HAD = HP Act
Text Symbol: FDS = Fødslesnr.
Text Symbol: FDM = Fødselsnummer
Text Symbol: FDL = Fødselsnummer
Text Symbol: FDD = FødNr.
003 Leave year start Leave year end (days) (days) (days) (days) reserve last year res. this yr.
002 Year ID Leave type Entitlement Deducted Compensated Remaining
001
INCLUDE MPZDAT03.
INCLUDE RPC1PC00.
No SAP DATABASE tables are accessed within this REPORT code!
HR_GET_ABSENCE_QUOTA_DATA CALL FUNCTION 'HR_GET_ABSENCE_QUOTA_DATA' EXPORTING pernr = pernr-pernr * [hp]_0113 #1810978 >> start dedu_datum = p_refda * [hp]_0113 #1810978 << end TABLES abwko = t_kansp i2006 = p2006 i0001 = p0001 EXCEPTIONS infty_not_found = 1 missing_authority = 2 wrong_parameter = 3 OTHERS = 4.
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING format = p0002-knznm langu = space molga = c_molga pp0002 = p0002 IMPORTING edit_name = edit_name retcode = ret_code.
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = pernr-pernr TABLES in_rgdir = lt_rgdir[] EXCEPTIONS no_record_found = 1 OTHERS = 2.
HR_NO_EVALUATION_PERIODS CALL FUNCTION 'HR_NO_EVALUATION_PERIODS' EXPORTING rep_pernr = pernr-pernr inper_modif = wa_t549a-permo rep_begda = start_date rep_endda = end_date TABLES evpdir = evpdir * IABKRS = EXCEPTIONS no_record_found = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING is_layout = layout it_fieldcat = fieldcat[] i_tabname_header = 'PERNR_INFO' i_tabname_item = 'ENTITLEMENT' is_keyinfo = keyinfo TABLES t_outtab_header = pernr_info t_outtab_item = entitlement.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space TABLES error = error_tab.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = error_tab.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0005' TABLES infty_tab = p0005 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0083' TABLES infty_tab = p0083 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '2006' TABLES infty_tab = p2006 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPTFERV0 - Overview of Leave Quotas and Vacation Allowances (Norway) RPTFERV0 - Overview of Leave Quotas and Vacation Allowances (Norway) RPTFBKNS - documentation and ABAP source code RPTFBKNF - documentation and ABAP source code RPTFBKND - documentation and ABAP source code RPTFBKN0 - Individual Overview of Choices