SAP Reports / Programs | Payroll | Switzerland(PY-CH) SAP PY

RPLLAWC0 SAP ABAP Report - HR-CH: Wage Statement for Tax Return







RPLLAWC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Note: This report is obsolete...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 RPLLAWC0 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_LLAW0 - Wage Statement for Tax Declaration


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 RPLLAWC0. "Basic submit
SUBMIT RPLLAWC0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLLAWC0 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: VERSION = Retro.accounting F/FO/FR/I
Selection Text: SORTFLDS = Output sorted by
Selection Text: PERSGR = Employee group
Selection Text: PAR_PRIW = Printer
Selection Text: KANTON = Canton
Selection Text: JURPER = Legal person
Selection Text: FORMULAR = Form
Selection Text: E-DATUM = Issue date
Selection Text: DSN01 = Name of buffer file
Selection Text: DATEI = Store in buffer file
Selection Text: ANZ-TEST = Number of test forms
Title: HR-CH: Wage Statement for Tax Return
Text Symbol: F07 = ERROR MESSAGE:
Text Symbol: F06 = Correct
Text Symbol: F05 = FROM TO periods incorrect
Text Symbol: F04 = ERROR MESSAGE:
Text Symbol: F03 = Correct
Text Symbol: F02 = Period missing in table 549A/549Q
Text Symbol: F01 = ERROR MESSAGE:
Text Symbol: 912 = The data in the concerned forms contains errors
Text Symbol: 904 = In the form &FORM the window &WINDOW is missing
Text Symbol: 903 = &TEXT &ELEMENT missing in &WINDOW in &FORM
Text Symbol: 511 = (Back payment)
Text Symbol: 510 = (Activity)
Text Symbol: 501 = (Pension data)
Text Symbol: 500 = (Wage data)
Text Symbol: 087 = Payroll Unit Administrator
Text Symbol: 086 = HR Administrator
Text Symbol: 085 = Time Recording Administrator
Text Symbol: 084 = Payroll Administrator
Text Symbol: 083 = acc. IN period
Text Symbol: F08 = VERSION must be F, FR, FO or I
Text Symbol: F09 = Correct
Text Symbol: F20 = Error messages
Text Symbol: F21 = Wage statement
Text Symbol: OBS = Report is obsolete. See documentation.
Text Symbol: P13 = No entry in table $ key $
Text Symbol: R50 = No current result for





Text Symbol: S00 = Output in buffer file
Text Symbol: S10 = Output
Text Symbol: S11 = Other selections
Text Symbol: S13 = Create copy for
Text Symbol: S14 = Tax admin.
Text Symbol: S15 = Employees
Text Symbol: S16 = Employer
Text Symbol: S21 = Output language
Text Symbol: S22 = Employees
Text Symbol: S23 = Logon language
Text Symbol: S24 = PersonnelAr
Text Symbol: T01 = Wage statement
Text Symbol: 052 = Payroll area
Text Symbol: 051 = Department
Text Symbol: 050 = Number of test forms
Text Symbol: 049 = CREATION DATE
Text Symbol: 048 = Language indicator
Text Symbol: 047 = Sequence of the sort terms :
Text Symbol: 046 = Number of assessment year
Text Symbol: 045 = Wage period: highest payroll acc. year
Text Symbol: 044 = Payroll acc. period UNTIL
Text Symbol: 043 = Payroll acc. period FROM
Text Symbol: 042 = you have chosen the following parameter.
Text Symbol: 041 = For the report : RPLLAWC0 - wage statmnt Switz.
Text Symbol: 040 = Information for the payer
Text Symbol: 023 = Parameter SORTFLDS is not recognised
Text Symbol: 021 = in table 512W
Text Symbol: 020 = Wage type missing for date
Text Symbol: 012 = Cross-border commuter tax deduction: $PER1 SwFr. $BET1
Text Symbol: 011 = Cross-border commuter tax deduction: $PER1 SwFr $BET1/$PER2 SwFr. $BET2
Text Symbol: 010 = EE per.no. is missing or not valid
Text Symbol: 006 = Correct
Text Symbol: 004 = Error message :
Text Symbol: 003 = *Incl. family allowance benefits $BET1 SwFr.
Text Symbol: 002 = Withholding tax ded.($PER1:) SwFr.$BET1
Text Symbol: 001 = Withholding tax ded.($PER1:) SwFr.$BET1 / ($PER2:) SwFr.$BET2
Text Symbol: 000 = Page XXX of YYY
Text Symbol: 082 = acc. FOR period with delimitation
Text Symbol: 081 = acc. FOR period with delimitation





Text Symbol: 080 = acc. FOR period
Text Symbol: 074 = w/out select options: canton
Text Symbol: 073 = with select options: canton
Text Symbol: 072 = Administrator's language
Text Symbol: 071 = Employee's language
Text Symbol: 070 = Company code language
Text Symbol: 069 = Legal person
Text Symbol: 068 = Canton
Text Symbol: 067 = AHV number
Text Symbol: 066 = Payment office 3
Text Symbol: 065 = Payment office 2
Text Symbol: 064 = Payment office 1
Text Symbol: 063 = PArea
Text Symbol: 062 = Employee group
Text Symbol: 061 = NO MATRICULE
Text Symbol: 060 = Employee subgroup
Text Symbol: 059 = Person group
Text Symbol: 058 = Org. key
Text Symbol: 057 = Name, 1st name
Text Symbol: 056 = Name
Text Symbol: 055 = Cost center
Text Symbol: 054 = Company code
Text Symbol: 053 = Pers.subarea


INCLUDES used within this REPORT RPLLAWC0

INCLUDE RPLLAWCD. "XQTPH4K007274
INCLUDE RPLPERC1.
INCLUDE RPLLAWCP. "XQTPH4K007274


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_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' " EXPORTING " exit_name = 'HRPAYCHLAW0' " IMPORTING " IS_IMPLEMENTED = _is_implemented " CHANGING " instance = _cexit. "

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

HR_CH_DIENSTALTER * CALL FUNCTION 'HR_CH_DIENSTALTER' * EXPORTING * PPERNR = pernr-PERNR * PBEG = t549q-begda * PEND = t549q-endda * IMPORTING * DAUER = P_JAHRE * TABLES * PP0000 = P0000 * PP0001 = P0001 * PP0041 = P0041 * EXCEPTIONS * OTHERS = 1.



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