SAP Program RPLQSTC0_OLD - HR-CH: Withholding tax calculation (old version)

Description
This report helps to calculate withholding tax for the tax authorities.
It creates three lists: (List format A4Q)
- Detail list of the persons with withholding tax, sorted by
----------- company code/payroll number/Canton/
WTax liability/Municapality/AHV-No.
- Recapitulation of the municipality within the canton and
-------------- the cantons within the company code
- Control of the employment periods per employee
--------- (this list is optional),
sorted by company code/personnel number
Tables
--------
- T001 Company code: Company address
- T502T Text Family status
- T5C1O Text for the cantons and municipalities
- T5C1Y Payment fee per canton
- T5C2A WTax-liability text
- T5C2B WTax Bases
- T5C2C WTax liability
- T5C2D WTax calculation
- T5C2I WTax payroll number
Processing:
-------------
All payroll account records are read for each person that are withinthe specified time period. Retroactive calculations are consideredusing the VERSION parameters.
The values of the withholding tax-liable income and the withholding taxamount are cumulated.
If there are several payroll periods within a reporting period (forexample, for an entire quarter), separate lines are displayed and atotal for this person.
The FROM-TO dates show the employee's effective employment periodsaccording to the work center records.
If several personnel numbers exist for one person within a companycode, then income and withholding tax are summarized (but only if theAHV number is fully entered - that is, with check digit).
The personal entries always refer to the end of the reporting period.Place of residence and canton refer to the start of the payroll period.
The payment fee is calculated for each municipality and canton,depending on the entries in table T5C2D.
The percentage is different in each canton and comes from table T5C1Y.
When recapitulating per canton and company code, the total tax, paymentfee and costs are displayed.

Output
Sorting of the lists:
Company code
Payroll number from table T5C2I
Canton
Withholding tax liabil (differs for cross-border employees, secondjobs)
Municipality
AHV Number
Person (= Personnel number, if AHV Number is incomplete)
Personnel number
Employment period

209937HR-CH:W/tax accnting shows incorrect tax liability