SAP Reports / Programs | Payroll | Taiwan(PY-TW) SAP PY

HTWCAWS0 SAP ABAP Report - Bonus calculation







HTWCAWS0 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 HTWCAWS0 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_M42_CAWS - Process Year End Bonus


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 HTWCAWS0. "Basic submit
SUBMIT HTWCAWS0 AND RETURN. "Return to original report after report execution complete
SUBMIT HTWCAWS0 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: PAYDT4 =
Selection Text: PAYDT3 =
Selection Text: PAYDT2 =
Selection Text: PAYDT1 =
Selection Text: OFFPY6 =
Selection Text: OFFPY5 =
Selection Text: OFFPY4 =
Selection Text: OFFPY3 =
Selection Text: OFFPY2 =
Selection Text: OFFPY1 =
Selection Text: MONT_AWS =
Selection Text: MAPPNAME = Batch input/queue
Selection Text: LLIM_AWS = Low Limit
Selection Text: LGAWS = Wage type for IT0015/IT0267
Selection Text: KIAWS = Confession
Selection Text: HLIM_AWS = High limit
Selection Text: FIX_AWS = Paid as a fix amount
Selection Text: EX_TUNIT =
Selection Text: EX_STICH = Based on a qualifying date
Selection Text: EX_RATE =
Selection Text: EX_LASTD = Based on termination date
Selection Text: EX_EMPLD =
Selection Text: EX_EMPEE = Calculate for Ex-Employee
Selection Text: DTYP_AWS = Type of part month runding
Selection Text: DTYPTEXT =
Selection Text: BASIC =
Selection Text: AWSENDDA =
Selection Text: AWSBEGDA =
Selection Text: AVWAGE =
Selection Text: AVER_AWS =
Selection Text: YEAR_AWS =
Selection Text: UNIT_AWS =
Selection Text: TEST = Test on
Selection Text: STICHDAY =
Selection Text: SDAY_AWS =
Selection Text: REGPY6 =
Selection Text: REGPY5 =
Selection Text: REGPY4 =





Selection Text: REGPY3 =
Selection Text: REGPY2 =
Selection Text: REGPY1 =
Selection Text: RATE_AWS = Factor to calculate AWS
Selection Text: RAAWS = Race
Selection Text: PRORATEW = Proration by working days
Selection Text: PRORATEP = Proration by no. of month
Selection Text: PRORATEC = Proration by calendar days
Selection Text: PROBNPAY =
Selection Text: PROBMPAY =
Selection Text: PROBLPAY =
Selection Text: PROBHIRE =
Selection Text: PROBCFRM =
Selection Text: PAYRT6 =
Selection Text: PAYRT5 =
Selection Text: PAYRT4 =
Selection Text: PAYRT3 =
Selection Text: PAYRT2 =
Selection Text: PAYRT1 =
Selection Text: PAYRSN =
Selection Text: PAYDT6 =
Selection Text: PAYDT5 =
Title: Bonus calculation
Text Symbol: T02 = to
Text Symbol: T01 = Bonus to be taken account from
Text Symbol: STA = Emp. Status
Text Symbol: PER = Pers.no.
Text Symbol: FB4 = Possible absence types
Text Symbol: FB3 = Possible reasons
Text Symbol: FB2 = selected
Text Symbol: ENM = Employee Name
Text Symbol: E03 = Type
Text Symbol: AAA = Key
Text Symbol: 095 = 100NT
Text Symbol: 094 = 10NT
Text Symbol: 093 = NT
Text Symbol: 092 = Rounding
Text Symbol: 087 = does not currently belong to CC/EG/ESG--
Text Symbol: 086 = Reason for bonus





Text Symbol: 042 = from confirmation date
Text Symbol: 041 = from hire date
Text Symbol: 040 = Prorated bonus will be calculated
Text Symbol: 039 = Probation period
Text Symbol: 038 = during bonus period
Text Symbol: 037 = Bonus for employee terminated
Text Symbol: 036 = Pay Rate
Text Symbol: 035 = Bonus after adjusting with Limitation
Text Symbol: 034 = Bonus before adjusting with Limitation
Text Symbol: 033 = Factor of active period to bonus period
Text Symbol: 032 = Number of month/days/hours of bonus
Text Symbol: 030 = Bonus amount
Text Symbol: 029 = General proration rule
Text Symbol: 028 = Types of absence excluded
Text Symbol: 027 = Date of Basic Salary
Text Symbol: 026 = Proration by calendar days
Text Symbol: 025 = Proration by working days
Text Symbol: 024 = No prorated for Ex-employee if ...
Text Symbol: 023 = Based on termination date
Text Symbol: 022 = PSP not generated
Text Symbol: 021 = Number of personnel numbers has bonus
Text Symbol: 020 = Number of personnel numbers selected
Text Symbol: 019 = error at indirect evaluation
Text Symbol: 018 = check infotype
Text Symbol: 017 = don't belong to
Text Symbol: 016 = am last day of bonus period
Text Symbol: 015 = Employee is not active
Text Symbol: 014 = Factor for Ex-Employee
Text Symbol: 012 = Proration by no. of month
Text Symbol: 011 = Paid in period
Text Symbol: 010 = Based on a qualifying date
Text Symbol: 009 = No entry in table :
Text Symbol: 008 = Proration Rule
Text Symbol: 006 = Race / Religion
Text Symbol: 005 = Limit on bonus
Text Symbol: 003 = Factor to calculate bonus
Text Symbol: 002 = Bonus calculation parameters
Text Symbol: 001 = Payment Information
Text Symbol: 085 = Part-month rounding or Factor is zero



Text Symbol: 084 = Base Salary for bonus
Text Symbol: 083 = Inactive
Text Symbol: 082 = Active
Text Symbol: 081 = Country Grouping
Text Symbol: 080 = Rec. in Infotype
Text Symbol: 078 = Infotype
Text Symbol: 077 = Generation Type
Text Symbol: 076 = Leave Screen
Text Symbol: 075 = Do you want to save?
Text Symbol: 074 = for pay period
Text Symbol: 073 = not found
Text Symbol: 072 = No Payroll result found
Text Symbol: 071 = Wage Type
Text Symbol: 070 = Average in Pay period
Text Symbol: 069 = Offcycle
Text Symbol: 068 = Reg.Payroll
Text Symbol: 067 = Average of Basic Salary
Text Symbol: 066 = Basic Salary
Text Symbol: 065 = Part Month pro-rate in detail
Text Symbol: 064 = To
Text Symbol: 063 = From
Text Symbol: 059 = bonus for Ex-Employee
Text Symbol: 058 = ist not hourly-rated.
Text Symbol: 057 = Payment Date
Text Symbol: 056 = Time Unit
Text Symbol: 054 = is monthly-rated.
Text Symbol: 053 = bonus calculated, but paid upon confirmation
Text Symbol: 052 = bonus calculated and paid as usual
Text Symbol: 051 = no bonus calculated now
Text Symbol: 050 = If probation period has not completed by bonus period,
Text Symbol: 049 = Terminated by employer on grounds of dismissal.
Text Symbol: 048 = Probation period not finished.
Text Symbol: 047 = Calculation rule for Ex-employee
Text Symbol: 046 = " is created.
Text Symbol: 045 = Batch Input "
Text Symbol: 044 = Bonus Overview
Text Symbol: 043 = Total Amount to be Paid


INCLUDES used within this REPORT HTWCAWS0

INCLUDE PCAWSTWD_ALV. "DATA DEFINITION
INCLUDE PCAWSTWM_ALV. "MAIN ROUTINE


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