SAP Reports / Programs | Personnel Management | Personnel Administration | Kingdom of Saudi Arabia(PA-PA-SA) SAP PA

HSACALC0 SAP ABAP Report - Payroll driver (Kingdom of Saudi Arabia)







HSACALC0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter HSACALC0 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 HSACALC0. "Basic submit
SUBMIT HSACALC0 AND RETURN. "Return to original report after report execution complete
SUBMIT HSACALC0 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: TST_ON = Test run (no update)
Selection Text: SW_INTIM = Integration with Time Managemt
Selection Text: SCHEMA = Payroll schema
Selection Text: RUECK-AB = Forced retro.accounting as of
Selection Text: P_VANAM = Layout for Log
Selection Text: PRT_PROT = Display Log
Selection Text: PAYTY =
Selection Text: PAYID =
Selection Text: OCRSN =
Selection Text: EDT_VARI =
Selection Text: BONDT =
Title: Payroll driver (Kingdom of Saudi Arabia)
Text Symbol: TC1 = No Pay. CC PAr Cost ctr Order ActTy Send CC PAr Cost ctr
Text Symbol: S20 = WT &1 amended to minimal amount &2 due to leave &3
Text Symbol: S19 = Wage type &1 copied to RT
Text Symbol: S18 = WT &1 amount &2 deducted from net salary
Text Symbol: S17 = Wage type &1 collected to &2 as wage type &3
Text Symbol: S16 = Retrieve and collect remaining deduction amount &1 from last payroll period
Text Symbol: S15 = Retrieve deduction discipline records
Text Symbol: S14 = Total of splits :
Text Symbol: S13 = Split: :
Text Symbol: S12 = Only one SI split exist :
Text Symbol: S11 = Existing split used :
Text Symbol: S10 = Create splits for GOSI calculation
Text Symbol: S01 = Social Insurance Calculation
Text Symbol: X01 = General program control
Text Symbol: X02 = Details for reporting
Text Symbol: X03 = Log
Text Symbol: X04 = Test options
Text Symbol: X05 = Remuneration statement parameters
Text Symbol: X06 = Layout for remun.statement
Text Symbol: X07 = Layout for Log
Text Symbol: X08 = Also display time data processing log
Text Symbol: X09 = Name of the HR Form
Text Symbol: X11 = No Remuneration Statement
Text Symbol: X16 = Display Variant Salary Statement
Text Symbol: X19 = Name of HR Form
Text Symbol: X98 = Payroll reason





Text Symbol: X99 = Off-cycle payroll
Text Symbol: R62 = Table $ not supported in operation TABLE
Text Symbol: 009 = No entry in table:
Text Symbol: AAA = Key
Text Symbol: ER1 = Aper not correctly created
Text Symbol: ER3 = Customizing Settings Missing
Text Symbol: ES0 = Necessary Customizing not available
Text Symbol: G01 = GOSI Contribution Calculations
Text Symbol: G02 = Nationality :
Text Symbol: G03 = GOSI Earnings :
Text Symbol: G04 = Minimum Earnings :
Text Symbol: G05 = Maximum Earnings :
Text Symbol: G06 = Adjusted GOSI Earnings :
Text Symbol: G07 = Annuity Branch EE :
Text Symbol: G08 = Annuity Branch ER :
Text Symbol: G09 = Occupational Hazard ER :
Text Symbol: G10 = Total GOSI Contribution :
Text Symbol: G11 = Annuity Branch EE Percentage :
Text Symbol: G12 = Annuity Branch ER Percentage :
Text Symbol: G13 = Occupational Hazard ER Percentage :
Text Symbol: G14 = Threshold for splits (WPBP/SV) :
Text Symbol: G15 = Rounding correction after split loop :
Text Symbol: G16 = Annuity Branch EE correction :
Text Symbol: G17 = Annuity Branch ER correction :
Text Symbol: G18 = Occupational Hazard ER correction :
Text Symbol: G19 = Total GOSI Contribution (Corrected) :
Text Symbol: G20 = Zero GOSI earnings. No calculation.
Text Symbol: G21 = Social Insurance Grouping :
Text Symbol: G22 = No calculation performed - zero earnings
Text Symbol: OH1 = Occupational Hazard Compensation Calculation
Text Symbol: OH2 = Payment Method: Daily Allowance
Text Symbol: OH3 = Payment Method: Monthly Benefit
Text Symbol: OH4 = Payment Method: Lump Sum Compensation
Text Symbol: OH5 = No Payment. Pay only via Regular Payroll
Text Symbol: OH6 = No Payment. Pay only via Offcycle Payroll with Pay Date :
Text Symbol: OH7 = No Payment. Pay only via Regular Payroll Period where Stop Pay Date Falls in
Text Symbol: OHA = Additional Compensation:
Text Symbol: OT1 = Overtime Compensation Calculation
Text Symbol: P01 = Pension Contribution Calculations





Text Symbol: P02 = Create Splits for Pension Calculation
Text Symbol: R48 = Invalid field $ in line :


INCLUDES used within this REPORT HSACALC0

INCLUDE RPCPLOG0. "XDOALRK054017
INCLUDE PCEXTLA1_DIVISOR_30.
INCLUDE RPC2PS00. " CLUSTER OF GENERATED SCHEMAS
INCLUDE RPC2PT00. " CLUSTER OF GENERATED SCHEMAS TEXTS
INCLUDE UP50QDAT. " COMMON PART PSOPER FOR UPDATE TASK
INCLUDE UP50QDAT. " COMMON PART PSOPER FOR UPDATE TASK

INCLUDE RPC2CD09.
INCLUDE RPCFOP00.
INCLUDE RPC2B201.
INCLUDE RPTDAT00. " COMMON PART OTABLES, ADDITIONAL FIELDS
INCLUDE RPTDAT00. " COMMON PART OTABLES, ADDITIONAL FIELDS

INCLUDE RPC4F_0C. " CONSTANTS "VKIK028654
INCLUDE RPC4F100.
INCLUDE RPCFVP09.
INCLUDE RPCFPABS.
INCLUDE RPCPR500.
INCLUDE RPUMKC00.
INCLUDE RPCLG000. "XDOALRK009801
INCLUDE RPCHRT09_UNIT_APER.
INCLUDE RHCISLAMIC_OPF01.
INCLUDE PCEXTLA1_SA.
INCLUDE PCDIV99L.


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:

No SAP FUNCTION MODULES are executed within this report code!



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