SAP Reports / Programs

RPCABFA2 SAP ABAP Report - Reserves for Severance Pay Entitlements







RPCABFA2 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 (RPCABFA2) to calculate the reserve amount for entitlements to (old) severance pay according to the passive obligation stipulated in the Income Tax Law (EStG) or Austrian Accounting Act (RLG)...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 RPCABFA2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M03_CABF - Reserves for Severance Pay/Pension03


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


Text pool values


Selection Text: P_ALV_VA = Layout
Selection Text: P_DADIE = Date Type - Seniority Determ.
Selection Text: P_FUPER = Key Date for Reserve
Selection Text: P_INPER = Period for Basis Determination
Selection Text: P_LAAFM = Amount Spec. Sec. 14 EStG
Selection Text: P_LAMON = Monthly Pay
Selection Text: P_LARLM = Amount Spec. Acc Sec 211/2 RLG
Selection Text: P_LAVDU = Average Payments
Selection Text: P_MAAFP = From Age 50
Selection Text: P_MBAFP = Percentage: Up to Age 50
Selection Text: P_MODRS = Special Payment Modifier
Selection Text: P_MONRL = Employ. Period in Months (RLG)
Selection Text: P_RNART = Rnd. Type for Employment Years
Selection Text: P_RZASP = Interest Rate for RLG Sev. Pay
Selection Text: P_SZALA = Legal Severance Pay
Selection Text: P_SZLAA = Proportional Special Payments
Selection Text: SO_LRNK = Employee Subgroup Apprentices
Title: Reserves for Severance Pay Entitlements
Text Symbol: S08 = Simulation Name
Text Symbol: S07 = Use of Simulation Data
Text Symbol: S06 = Other Entries
Text Symbol: S05 = RLG Calc. Additions
Text Symbol: S04 = Seniority
Text Symbol: S03 = Factor Determin.
Text Symbol: S02 = Amount Override
Text Symbol: S01 = Valuation Bases
Text Symbol: S00 = Analysis Times
Text Symbol: MON = Months
Text Symbol: L02 = Date Created:
Text Symbol: L01 = Key Date:
Text Symbol: AFP = Acc. to Sec. 14 (1) EStG
Text Symbol: E01 = Maximum percentage up to age of 50
Text Symbol: E02 = Maximum percentage as of age of 50
Text Symbol: E03 = allowed.
Text Symbol: E04 = Negative percentage is not permitted.
Text Symbol: F00 = Personnel Number &1:
Text Symbol: F01 = Variant
Text Symbol: F02 = does not exit for program





Text Symbol: F03 = Missing variant details for program
Text Symbol: F06 = Payroll $1.$2 for $3 has not completed
Text Symbol: F07 = Name format incomplete
Text Symbol: F08 = No Payroll Results Exist
Text Symbol: F09 = Employee already left on:
Text Symbol: F10 = Employee does not start until:
Text Symbol: F11 = Entry date
Text Symbol: F12 = is within BMV period from Jan. 1, 2003.
Text Symbol: F13 = No valid data found in infotype 0751
Text Symbol: F14 = Data in infotype 0751 not found until after entry
Text Symbol: F15 = Entry into BMV not possible before Jan. 1, 2003
Text Symbol: F16 = Missing record in infotype
Text Symbol: F17 = at the time
Text Symbol: F18 = for period
Text Symbol: F19 = Control record has been deleted for payroll area
Text Symbol: F20 = Not a resettable period according to infotype 0751
Text Symbol: F21 = in view clust. VC_T5A9D for
Text Symbol: F22 = Applic. &1
Text Symbol: F23 = Grouping &1
Text Symbol: F24 = No valid interval on &1
Text Symbol: F25 = Not retirement age for birth date &1
Text Symbol: JHR = Years


INCLUDES used within this REPORT RPCABFA2

INCLUDE RPUMKC00.


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_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

HR_F4_FOR_ALV_VARIANT CALL FUNCTION 'HR_F4_FOR_ALV_VARIANT' EXPORTING current_report = g_repid IMPORTING variant = p_alv_va.

HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' EXPORTING selected = g_select processed = g_proces rejected = g_reject EXCEPTIONS OTHERS = 4.

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' EXPORTING repid = g_repid IMPORTING format = g_name_format.

HR_AT_GET_PART_APPL CALL FUNCTION 'HR_AT_GET_PART_APPL' EXPORTING reportname = g_repid IMPORTING appl = g_appl EXCEPTIONS part_application_not_found = 1 OTHERS = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = l_c_alv_variant_save CHANGING cs_variant = l_alv_variant EXCEPTIONS not_found = 2.






RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = p_ref_date end = p_ref_date IMPORTING fire_date = p_fire_date hire_date = p_hire_date TABLES pphifi = l_phifi[] pp0000 = p_p0000[] pp0001 = p_p0001[].

HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING org_in = l_org_data IMPORTING lohnb_data = l_lohnb_data EXCEPTIONS t5a0p_data_not_found = 1 t5a0a_data_not_found = 2 t5a0p_lohnb_not_specified = 3 OTHERS = 4.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = l_w0002 molga = t001p-molga langu = sy-langu format = g_name_format IMPORTING edit_name = p_result-name retcode = l_subrc.

HR_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = p_pernr * permo = pn-permo pabrj = -pabrj pabrp = -pabrp pabrj_end = -pabrj pabrp_end = -pabrp * actual = space * waers = p_waers TABLES result_tab = l_i_payroll_results[] EXCEPTIONS no_results = 4 wrong_structure_of_result_tab = 6 OTHERS = 8.

HR_AT_GET_SENIORITY_EVENT CALL FUNCTION 'HR_AT_GET_SENIORITY_EVENT' EXPORTING p_molga = '03' p_appl = g_appl p_agegr = l_agegr p_eval_date = p_ref_date p_reference_date = p_w0002-gbdat IMPORTING p_result_date = p_pens_date EXCEPTIONS t5a9d_not_found = 1 t5a9e_not_found = 2 cexit_not_found = 3 error_in_cexit = 4 result_date_overflow = 5 OTHERS = 99.

HR_ALV_LIST_DISPLAY CALL FUNCTION 'HR_ALV_LIST_DISPLAY' EXPORTING data_structure = l_c_structure current_report = g_repid list_title = sy-title list_title2 = l_list_title2 variant = p_alv_va hr_display_error_list = 'X' hr_display_stat_list = 'X' TABLES data_tab = i_results EXCEPTIONS program_error = 1 OTHERS = 2.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p_bukrs IMPORTING comp_name = p_w001-comp_name city = p_w001-city country = p_w001-country currency = p_w001-currency langu = p_w001-langu chrt_accts = p_w001-chrt_accts fy_variant = p_w001-fy_variant EXCEPTIONS not_found = 1.

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.

RS_SUPPORT_SELECTIONS CALL FUNCTION 'RS_SUPPORT_SELECTIONS' EXPORTING report = l_repid variant = p_variant EXCEPTIONS variant_not_existent = 1 variant_obsolete = 2 OTHERS = 3.

RS_VARIANT_CATALOG CALL FUNCTION 'RS_VARIANT_CATALOG' EXPORTING report = l_repid * NEW_TITLE = ' ' * DYNNR = * INTERNAL_CALL = ' ' * MASKED = 'X' * VARIANT = ' ' IMPORTING sel_variant = l_abf_variant sel_variant_text = l_abf_variant_txt * TABLES * BELONGING_DYNNR = EXCEPTIONS no_report = 1 report_not_existent = 2 report_not_supplied = 3 no_variants = 4 OTHERS = 5.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = l_repid variant = p_abf_va IMPORTING r_c = l_subrc EXCEPTIONS * NOT_AUTHORIZED = 1 * NO_REPORT = 2 * REPORT_NOT_EXISTENT = 3 * REPORT_NOT_SUPPLIED = 4 OTHERS = 5.

RS_VARIANT_TEXT CALL FUNCTION 'RS_VARIANT_TEXT' EXPORTING curr_report = l_repid langu = sy-langu variant = p_abf_va * ALL_VARIANTS = ' ' IMPORTING v_text = l_abf_variant_txt * TABLES * VARTEXT = EXCEPTIONS * NO_TEXT = 1 OTHERS = 2.



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