SAP Reports / Programs | Personnel Management | Personnel Administration | Switzerland(PA-PA-CH) SAP PA

RPLFAKC1 SAP ABAP Report - HR-CH: Accounting of Family-Related Bonuses







RPLFAKC1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report supports the payroll run with the Family Equalization Fund (FAK) for the various cantons...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 RPLFAKC1 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_M02_LFAK1 - Accounting of Family-Related Bonuses


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


Text pool values


Accounting of Family-Related Bonuses
Selection Text: FAM-KAS = Choose fam. equalization fund
Selection Text: L-AHVPFL = FAK basis
Selection Text: L-AUSB = Training allowance
Selection Text: L-FZUL = Family-related bonus
Selection Text: L-GZUL = Childbirth Bonus
Selection Text: L-HAUS = Household allowance
Selection Text: L-INVA = Invalidity allowance
Selection Text: L-KZUL = Child allowance
Selection Text: P_CLGRID = Display Control List
Selection Text: P_VARI_C = Layout Control List
Selection Text: VERSION = Display retroactive accounting
Title: HR-CH: Accounting of Family-Related Bonuses
Text Symbol: SO2 = Insured Person's No.
Text Symbol: SO1 = Personnel no.
Text Symbol: R50 = No up-to-date result for
Text Symbol: F04 = Error when reading payroll unit
Text Symbol: F03 = Correct
Text Symbol: F02 = Period is missing from table 549A/549Q basis AHV wage total
Text Symbol: F01 = ERROR MESSAGE: AHV acc-laible ALV wage
Text Symbol: AL1 = Control List
Text Symbol: 071 = Wages Subject to AHV
Text Symbol: 070 = Training Bonuses
Text Symbol: 069 = Household/Birth Allowances
Text Symbol: 009 = Total wages subject to AHV
Text Symbol: 011 = Review periods of employment
Text Symbol: 022 = List variants
Text Symbol: 023 = Payroll
Text Symbol: 024 = Payment
Text Symbol: 025 = Control
Text Symbol: 026 = Total wages
Text Symbol: 027 = List version
Text Symbol: 028 = must
Text Symbol: 029 = be selectd
Text Symbol: 030 = .
Text Symbol: 031 = Sorting Control Periods of Employment
Text Symbol: 041 = Accntg of Fam-Rel. Bonuses
Text Symbol: 042 = Frm





Text Symbol: 043 = To
Text Symbol: 044 = -------- P a y m e n t --------
Text Symbol: 046 = Date
Text Symbol: 063 = Total Equaliz. Fund
Text Symbol: 064 = Total Company Code
Text Symbol: 065 = Total FEF Bonuses
Text Symbol: 066 = Total Payments
Text Symbol: 067 = Child Benfts
Text Symbol: 068 = Invalid. Allowances


INCLUDES used within this REPORT RPLFAKC1

INCLUDE RPLPERC1.


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:

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' " EXPORTING " is_variant = g_variant_ctrl " i_save = 'X' " IMPORTING " es_variant = g_variant_ctrl " EXCEPTIONS " OTHERS = 0. "

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

HR_CH_READ_ABREINHEIT CALL FUNCTION 'HR_CH_READ_ABREINHEIT' EXPORTING * P02_ABKRS = p02_stichtag = pn-endda p02_anwschlch = 'FAK' TABLES * P02_WPBP = p02_p0001 = p0001 p02_t_abreinheit = li_abreinheit EXCEPTIONS table_access_error = 1 abreinheit_not_found = 2 OTHERS = 3.

HR_CH_GET_VNR_OUT CALL FUNCTION 'HR_CH_GET_VNR_OUT' " EXPORTING " iv_svnr = p0036-nahvn " iv_ahvnr = p0036-ahvnr " iv_gebdat = p0002-gbdat " IMPORTING " ev_vnr_out = zwrec-vnout " EXCEPTIONS " OTHERS = 0. "SAFKM0736234

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' fieldname = 'LGART' tabname = 'T512W' * NO_MARKING_OF_CHECKVALUE = ' ' * TITLE_IN_VALUES_LIST = ' ' * TITEL = ' ' * SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' IMPORTING select_value = feld TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 OTHERS = 4.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P02RPLFAKC1_ALV2' CHANGING ct_fieldcat = l_it_fieldcatalog.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P02RPLFAKC1_ALV3' CHANGING ct_fieldcat = l_it_fieldcatalog.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P02RPLFAKC1_ALV2' CHANGING ct_fieldcat = l_it_fieldcatalog.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'P02RPLFAKC1_ALV5' CHANGING ct_fieldcat = l_it_fieldcatalog.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = l_wa_tab-bukrs IMPORTING comp_name = text city = ort EXCEPTIONS not_found = 1.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = l_bukrs IMPORTING comp_name = text city = ort EXCEPTIONS not_found = 1.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = l_bukrs IMPORTING comp_name = text city = ort EXCEPTIONS not_found = 1.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = l_wa_tab-bukrs IMPORTING comp_name = text city = ort EXCEPTIONS not_found = 1.

HR_CH_APPEND_ALV_CHECKDIALOG





CALL FUNCTION 'HR_CH_APPEND_ALV_CHECKDIALOG' IMPORTING no_dialog = g_no_dialog.

HR_CH_APPEND_ALV CALL FUNCTION 'HR_CH_APPEND_ALV' EXPORTING tables_and_infos = tableref_and_info clist_variant_repid = sy-repid clist_tableref = g_ctrl_list_ref clist_strucname = c_ctrl_list_grid is_variant_ctrl = g_variant_ctrl. "XAWKM03882264



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