RPCURLA1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Using this report you can calculate the valid accruals for remaining days of leave on the basis of a key date...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RPCURLA1 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_M03_CURL - Leave Reserves 03
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: PA_SIMU = Simulation Result Permitted
Selection Text: PA_VARI = Simulation Name
Selection Text: P_ALV_VA = Layout
Selection Text: P_DIV = D .
Selection Text: P_FUPER = Key Date for Reserve
Selection Text: P_INPER = Period for Basis Determination
Selection Text: P_KTART = Time Quota: Entitled Leave
Selection Text: P_LAMON = Monthly Pay
Selection Text: P_LAVDU = Past Averages
Selection Text: P_RNARU = Rounding Type for Leave Days
Selection Text: P_SZLAA = Proportional Special Payments
Selection Text: P_URLAN = Leave Entitlement in Weeks
Selection Text: P_URLAR = Leave Type for Entitled Leave
Selection Text: P_URWKT = Leave Mgmt in Working Days
Title: Reserves for Remaining Days of Leave
Text Symbol: L01 = Key Date:
Text Symbol: L02 = Date Created:
Text Symbol: L04 = Total leave entitlement for
Text Symbol: L05 = equals zero
Text Symbol: L06 = Result
Text Symbol: L07 = Leave Deductions
Text Symbol: L08 = Quota Deductions
Text Symbol: L09 = Display Leave Deduction
Text Symbol: L10 = Display Quota Deduction
Text Symbol: LT1 = Leave Reserve
Text Symbol: R99 = Rejection
Text Symbol: S01 = @10@ Leave Deduction
Text Symbol: S02 = @10@ Time Quota Deduction
Text Symbol: S07 = Use of Simulation Data
Text Symbol: S08 = Simulation Name
Text Symbol: T01 = 2001
Text Symbol: T02 = 0083
Text Symbol: U01 = Leave year
Text Symbol: U02 = Date
Text Symbol: U03 = Leave type
Text Symbol: U04 = Number
Text Symbol: U05 = Inftyp.
Text Symbol: L00 = Leave Reserve -
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' "HEGM003827488+ EXPORTING EXIT_NAME = 'HRPAYAT_RPCURLA' CHANGING INSTANCE = gr_badi_rpcurla1. "HEGM003827488+
RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' "MBUAHRK058968 EXPORTING repid = repid IMPORTING format = $$format.
HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'. "YRPK052971
HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'. "YRPK052971
HR_F4_FOR_ALV_VARIANT CALL FUNCTION 'HR_F4_FOR_ALV_VARIANT' EXPORTING current_report = g_repid IMPORTING variant = p_alv_va.
HR_REFRESH_STAT_LIST * CALL FUNCTION 'HR_REFRESH_STAT_LIST'. "YRPK052971
HR_REFRESH_ERROR_LIST * CALL FUNCTION 'HR_REFRESH_ERROR_LIST'. "YRPK052971
HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' "--YRPK005789"! EXPORTING "! selected = g_select "! processed = g_proces "! rejected = g_reject "! EXCEPTIONS "! OTHERS = 4. "!
HR_AT_GET_PART_APPL CALL FUNCTION 'HR_AT_GET_PART_APPL' "! EXPORTING "! reportname = reportname "! IMPORTING "! appl = appl "! EXCEPTIONS "! part_application_not_found = 1 "! OTHERS = 2. "!
HR_GET_VACATION * CALL FUNCTION 'HR_GET_VACATION' * EXPORTING * gev_date = p_fuper "Für welches Datum * gev_type = space "Über alle Urlaubsarten * gev_pernr = pernr-pernr "Betreffende Personalnummer ** IMPORTING ** GEV_ENTITLE = "Urlaubsanspruch ohne Abzug ** GEV_ACCOUNT = "Abgerechneter Urlaub (beantragt u ** GEV_ORDERED = "Aufgrund Abw. beantragter Urlaub
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = bukrs IMPORTING comp_name = i001-comp_name city = i001-city country = i001-country currency = i001-currency langu = i001-langu chrt_accts = i001-chrt_accts fy_variant = i001-fy_variant EXCEPTIONS not_found = 1.
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = p_fuper "Stichtag end = p_fuper IMPORTING hire_date = hiredate fire_date = firedate TABLES pp0000 = p0000 "input pp0001 = p0001 "input pphifi = phifi. "output
HR_ALV_LIST_DISPLAY CALL FUNCTION 'HR_ALV_LIST_DISPLAY' EXPORTING data_structure = struct current_report = g_repid * list_title = sy-title "YRPK012495 * LIST_TITLE = LIST_TITLE "YRPK038070"YRPK012495 list_title = sy-title "YRPK038070 list_title2 = list_title "YRPK038070 * GUI_STATUS = 'URLAUB' "YRPK052971"YRPK019123 * CALLBACK_USER_COMMAND = 'URLAUBS_ABTRA"YRPK052971"YRPK019123 callback_button1 = callback_button1 "YRPK052971 callback_button2 = callback_button2 "XYMK064403 text_button1 = buttontext "YRPK052971 text_button2 = buttontext2 "XYMK064403 * CALLBACK_END_OF_LIST = END_OF_LIST_CALLBACK "YRPK005789 variant = p_alv_va hr_display_error_list = 'X' "YRPK005789 hr_display_stat_list = 'X' "YRPK005789 TABLES data_tab = results_body EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = alv_variant_save CHANGING cs_variant = alv_variant EXCEPTIONS not_found = 2.
HR_FILL_XCLVA CALL FUNCTION 'HR_FILL_XCLVA' "+ EXPORTING "+ pernr = pernr-pernr "+ ubegd = hiredate "+ uendd = p_fuper "+ TABLES "+ xclva = iclva "+ urart_sel = selop_url "+ EXCEPTIONS "+ old_ne_new_pc_version_nr = 1 "+ OTHERS = 2. "+
HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING org_in = org_data IMPORTING btrtl_data = btrtl_data lohnb_data = lohnb_data EXCEPTIONS t5a0p_data_not_found = 1 t5a0a_data_not_found = 2 t5a0p_lohnb_not_specified = 3 OTHERS = 4.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.
HR_DE_GET_HOLIDAY CALL FUNCTION 'HR_DE_GET_HOLIDAY' EXPORTING pernr = pernr-pernr cdatum = p_fuper begda = hiredate endda = p_fuper IMPORTING abwko_redu = i_abwko_redu[] EXCEPTIONS infty_not_found = 1 missing_authority = 2 wrong_parameter = 3 old_ne_new_pc_version_nr = 4 different_units = 5 OTHERS = 6.
HR_DISPLAY_DEDUCTION CALL FUNCTION 'HR_DISPLAY_DEDUCTION' EXPORTING * W2006 = TMP_P2006 pernum = results_body-pernr pbegda = l_begda pendda = l_endda infotype = '2006' dmode = 'P' quotype = relev_ktarts EXCEPTIONS wrong_personal_number = 1 wrong_start_date = 2 wrong_end_date = 3 wrong_navigation_mode = 4 OTHERS = 5.
HR_DE_GET_HOLIDAY CALL FUNCTION 'HR_DE_GET_HOLIDAY' EXPORTING pernr = p_pernr cdatum = p_fuper begda = l_next_year endda = '99991231' IMPORTING abwko_redu = l_abwko_redu[] EXCEPTIONS infty_not_found = 1 missing_authority = 2 wrong_parameter = 3 old_ne_new_pc_version_nr = 4 different_units = 5 OTHERS = 6.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr rclas = p_rclas "YRAM297827 * BEGDA = '18000101' endda = p_ref_date "Last ENTRY LE REF_DATE IMPORTING entrydate = l_entry_date TABLES entry_dates = l_i_entries EXCEPTIONS OTHERS = 99.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING RETFIELD = 'ID' DYNPPROG = 'RPCURLA1' DYNPNR = '1000' DYNPROFIELD = 'P_DIV' VALUE_ORG = 'S' TABLES VALUE_TAB = lt_divisor.
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 RPCURLA1 or its description.