Ansicht
Dokumentation
RPC_PSPYBR_CALC_ACJ - Payroll accounting program - Brazil - Job Accumulation
General Material Data SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Purpose
You use this program to run payroll in the Brazilian public sector, when you have public servants with multiple jobs.
A public servant with multiple jobs (job accumulation) is identified by a unique Person ID in your system. This program has the business logic to read the information from all Personnel Numbers under the same Person ID.
The program performs iterative calculation steps. Each step has a specific goal (calculate gross amount, calculate social insurance contributions, and so on). You make the settings for these steps in Customizing (see the Prerequisites section below).
Integration
Integration with Job Accumulation(3419) infotype
- This program saves the calculation results in the Job Accumulation(3419) infotype.
Integration with Payroll accounting program - Brazil(HBRCALC0)
- This program calls the HBRCALC0 program via a SUBMIT statement.
- To be able to export results from HBRCALC0 and imported results back into it, the program temporarily records these results in a shared memory area, for each of the "modules".
- The cluster result is still saved by HBRCALC0, at the final calculation step.
Prerequisites
You have activated the Concurrent Employmentsolution in your system and generated the Person IDinfotype (0709) for all your public servants, as described in the following Customizing activities:
You have made the settings for this program, as described in the following Customizing activities:
To activate retrocalculation in your system, you must execute the following Customizing activity:
Features
The execution of the program is divided into "modules", that is, a group of calculation steps that result in one of the following subtypes of infotype 3419:
Regular payroll subtypes
- REMU: Remunerations and Basis for following calculation
- TETO: Maximum wage basis and result
- INSS: Social Insurance Basis and results for INSS calculation
- RPPS: Social Insurance basis and result for RPPS calculation
- IRRF: Withholding Income tax
,,
Christmas allowance (Advance payment)
- 131E: Remuneration and Basis for following calculation
- 131S: Social Insurance Basis and results for INSS calculation
- 131P: Social Insurance basis and result for RPPS calculation
- 131R: Withholding Income tax
,,
Christmas allowance
- 13RE: Remunerations and Basis for following calculation
- 13SS: Social Insurance Basis and results for INSS calculation
- 13PS: Social Insurance basis and result for RPPS calculation
- 13IR: Withholding Income tax
Each calculation step can be iterated according to customer needs, to produce more accurate amounts.
These steps are executed within the Job Accumulation(BRAJU) payroll function.
SAP delivers the standard steps as follows:
- Step 00 (Initial step)
- Step 10 (Reading remuneration and compose principal basis)
- Step 30 (Calculate maximum wage limit)
- Step 40 (Calculate Social Insurance and Withholding income tax)
- Step 99 (Final step)
IMPORTANT
- The steps 00 and 99 are mandatory and must not be modified, otherwise the calculation will not work.
- These steps have Step Mode(HRPSPYBR_STEPM) 'Single', which means that the step only takes into account the results from one job.
- The Initial step only reads the results from the job currently being calculated, while the Final step groups all steps calculated before it and exports the results to the BR payroll cluster.
Selection
Standard Variants
Output
Activities
Example
General Data in Customer Master BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 6396 Date: 20240601 Time: 060056 sap01-206 ( 69 ms )