SAP Reports / Programs | Payroll | Austria(PY-AT) SAP PY

RPCABFA1 SAP ABAP Report - Reserves for Severance Pay Entitlements







RPCABFA1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report you can calculate the reserve amounts for severance pay claims according to the liability for potential claims as set out in the Income Tax Law [EStG] and the 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 RPCABFA1 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 RPCABFA1. "Basic submit
SUBMIT RPCABFA1 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCABFA1 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_PENSM = Retirement Age for Males
Selection Text: P_PENSW = Retirement Age for Females
Selection Text: P_PMONM = D Male Retirement Age
Selection Text: P_PMONW = D Female Retirement Age
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: S05 = Other Entries
Text Symbol: S04 = Seniority Determ.
Text Symbol: S03 = Factor Determination
Text Symbol: S02 = Manual Amount Specif.
Text Symbol: S01 = Valuation Bases
Text Symbol: S00 = @49@Call New Program Version RPCABFA2 with Transfer of Input Fields
Text Symbol: MON = Months
Text Symbol: 000 = employee(s)
Text Symbol: 010 = Reconcil.tots
Text Symbol: 011 = Reporting
Text Symbol: 012 = incls.
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: ER0 = Error Number:
Text Symbol: ER1 = Personnel no. $ is missing entry $ in table T503T
Text Symbol: ER2 = Personnel no. $ is missing entry $ in table T511K
Text Symbol: ER3 = Personnel no. $ is missing entry $ in table T530C
Text Symbol: ER4 = No payroll results for personnel number
Text Symbol: ER5 = Error list
Text Symbol: ER6 = RP name format incomplete for personnel number
Text Symbol: ER7 = Personnel no. $ is missing entry $ in table T001P
Text Symbol: ER8 = Personnel no. $ is missing entry $ in table T527X
Text Symbol: ER9 = Pers. no. $ rejected because IT 0002 is missing
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: JHR = Years
Text Symbol: L01 = Key date:
Text Symbol: L02 = Creation Date:
Text Symbol: LT1 = Severance Pay Reserve
Text Symbol: M01 = Use Program 'RPCABFA2'
Text Symbol: M02 = Evaluation with program RPCABFA1 only with variant


INCLUDES used within this REPORT RPCABFA1

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

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'. "YRPK052971

RP_SET_NAME_FORMAT CALL FUNCTION 'RP_SET_NAME_FORMAT' "MBUAHRK058968 EXPORTING repid = repid IMPORTING FORMAT = $$FORMAT.

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' "--YRPK052971"! 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. "!

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = P_FUPER IMPORTING LAST_DAY_OF_MONTH = HLP_STULT.

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

RP_HIRE_FIRE * CALL FUNCTION 'RP_HIRE_FIRE' "-YRPK011511"! * 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 "YRPK038070"YRPK012495 LIST_TITLE = sy-title "YRPK038070 LIST_TITLE2 = LIST_TITLE "YRPK038070 * CALLBACK_END_OF_LIST = END_OF_LIST_CALLBACK "YRPK052971 VARIANT = P_ALV_VA HR_DISPLAY_ERROR_LIST = 'X' "YRPK052971 HR_DISPLAY_STAT_LIST = 'X' "YRPK052971 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.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = ALV_VARIANT I_SAVE = ALV_VARIANT_SAVE IMPORTING E_EXIT = G_EXIT ES_VARIANT = ALV_VARIANT EXCEPTIONS OTHERS = 1.

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.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = g_c_bbmvg end = g_c_bbmvg IMPORTING fire_date = p_fire_date hire_date = p_hire_date TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = l_repid * IMPORTING * sp = TABLES selection_table = l_i_seltab EXCEPTIONS * NOT_FOUND = 1 * NO_REPORT = 2 OTHERS = 3 .



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