SAP Reports / Programs | Payroll | Thailand(PY-TH) SAP PY

H26PLOG0 SAP ABAP INCLUDE - Subroutine pool for Payroll Log - TH







H26PLOG0 is a standard ABAP INCLUDE 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 H26PLOG0 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 H26PLOG0. "Basic submit
SUBMIT H26PLOG0 AND RETURN. "Return to original report after report execution complete
SUBMIT H26PLOG0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutine pool for Payroll Log - TH
Text Symbol: T93 = Sports Allowance- Total
Text Symbol: T92 = Sports Allowance- Regular
Text Symbol: T91 = Parents' Ins Allowance
Text Symbol: T89 = Spouse Mother's Allowance
Text Symbol: T88 = Spouse Father's Allowance
Text Symbol: T87 = Mother's Allowance
Text Symbol: T86 = Father's Allowance
Text Symbol: T85 = Charity for Education (Regular and Irregular)
Text Symbol: T84 = Charity for Education
Text Symbol: T83 = Long Term Equity Fund (Regular)
Text Symbol: T82 = Pension Fund Allowance (Regular)
Text Symbol: T81 = Long Term Equity Fund
Text Symbol: T80 = Pension Fund Allowance
Text Symbol: T7T = Tourism Exemption(Domestic Travel)
Text Symbol: T7P = Life Insurance Pension Exemption
Text Symbol: T7M = Immovable Property Expenses
Text Symbol: T79 = Mutual Fund Allowance (Regular)
Text Symbol: T78 = Provident Fund Allowance (Regular)
Text Symbol: T77 = Charitable payments
Text Symbol: T76 = Charitable payments (Regular and Irregular)
Text Symbol: T75 = Housing allowance - Cash purchase (Prev. Yr.)
Text Symbol: T74 = Housing allowance - Cash purchase (Curr. Yr.)
Text Symbol: T73 = Housing allowance - Hire purchase
Text Symbol: T72 = Mutual Fund allowance
Text Symbol: T71 = Spouse Insurance Premium
Text Symbol: T67 = Charitable Payments (Regular)
Text Symbol: T66 = Mortgage Interest payments
Text Symbol: T65 = Life Insurance Premium
Text Symbol: T64 = Education Allowance
Text Symbol: T63 = Child Allowance
Text Symbol: T62 = Spouse Allowance
Text Symbol: T94 = Disabled Allowance <65 yrs
Text Symbol: TXT = Retro inflow in Irregular income
Text Symbol: TXS = Retro inflow in Regular income
Text Symbol: TXR = Read Tax Rates from T7THTR
Text Symbol: TXP = Tax Period
Text Symbol: TXK = Read Tax Constants from T511K and T511P





Text Symbol: TXH = Tax Calculation
Text Symbol: TXD = Tax Constants and Tax rates
Text Symbol: TXC = Irregular Income
Text Symbol: TXB = Regular Income
Text Symbol: TXA = Tax Calc Method
Text Symbol: TX0 = Old age exemption
Text Symbol: TRM = Average Salary must be maintained in P0015 to Calculate Term. Tax
Text Symbol: TRC = Salary & Years of Employment
Text Symbol: TRB = Severence/Leave/Misc. Income
Text Symbol: TRA = Gratuity/Provident Fund Income
Text Symbol: TM4 = Annualization factor :
Text Symbol: TM3 = Read T549R to get Payroll periods
Text Symbol: TM2 = Read table T7THTM to get Calculation method
Text Symbol: TM1 = Read table T7TH0P to find Employee grouping
Text Symbol: TM0 = Tax Parameters
Text Symbol: TH9 = Only one among 40(1), 40(2) Stay in Thailand & 40(2) Not stay in Thailand can be processed at a time
Text Symbol: TH8 = Missing Entries &1
Text Symbol: TH7 = Termination tax
Text Symbol: TH6 = Taxable termination income
Text Symbol: TH5 = Income value
Text Symbol: TH4 = Total Expenses
Text Symbol: TH3 = Further Expenses at 50% of balance
Text Symbol: TH2 = Expenses & Years of Employment
Text Symbol: TH1 = Termination basis
Text Symbol: T96 = Movable Repair Exemption
Text Symbol: T95 = Immovable Prop Repair Exemption
Text Symbol: T61 = Self Allowance
Text Symbol: SS7 = Legal Max. Contribution
Text Symbol: SS6 = Legal Min. Contribution
Text Symbol: SS5 = Employer Contribution as of date in this period
Text Symbol: SS4 = Employee Contribution as of date in this period
Text Symbol: SS3 = Computation Basis for Social Security
Text Symbol: SS2 = Category
Text Symbol: SS1 = Social Security Calculation
Text Symbol: PT1 = Infotype data for Housing allow. - Cash moved into table TAX
Text Symbol: PT0 = Infotype data for Tax moved into table TAX
Text Symbol: PS0 = Infotype data for Social Security moved into table SOCSE
Text Symbol: PP6 = Read Provident Fund Company rates(V_T7THPC) to get contribution rate
Text Symbol: PP5 = THPFD-01, Read Date Specification(Technical Entry date) for Seniority





Text Symbol: PP4 = THPFD-00, Read Organizational Assignment to obtain Seniority
Text Symbol: PP3 = Read feature THPFD and process rates
Text Symbol: PP2 = Use Company Rates for contribution to PF
Text Symbol: PP1 = Use Rates for contribution as entered in Infotype
Text Symbol: PP0 = Read Infotype data for Provident Fund
Text Symbol: PFI = Employee Not Contributing to Provident Fund
Text Symbol: PF6 = Employer Contribution
Text Symbol: PF5 = Employee Contribution
Text Symbol: PF4 = Employee Rate
Text Symbol: PF3 = Employer Rate
Text Symbol: PF2 = Salary Basis for Provident fund
Text Symbol: PF1 = Provident Fund Calculation
Text Symbol: HA1 = Housing allow - Cash and Housing allow - Hire cannot exist together
Text Symbol: GE7 = Wagetype &1 not found in IT
Text Symbol: GE6 = Maintain the Tax Calculation Methods
Text Symbol: GE5 = Tax Rates - Missing entries
Text Symbol: GE4 = Maintan the PA/Subarea Groupings for SS PF and Tax
Text Symbol: GE3 = Maintain the Tax Modifier
Text Symbol: GE2 = &1: Table entries missing for key &2 &3 &4 &5
Text Symbol: GE1 = Payroll not Possible, Data is Missing for: &1
Text Symbol: T60 = Disabled Dependent Allowance
Text Symbol: T59 = YTD Regular Tax Paid
Text Symbol: T58 = YTD Tax Paid
Text Symbol: T55 = YTD Regular
Text Symbol: T54 = Tax paid Irr. + Tax Reg.
Text Symbol: T53 = YTD Irregular Tax paid
Text Symbol: T51 = YTD Irregular Income
Text Symbol: T24 = Taxable Income regular
Text Symbol: T23 = Taxable Income Irregular
Text Symbol: T22 = Adjusted Income Regular
Text Symbol: T21 = Adjusted Income Irregular
Text Symbol: T19 = Provident Fund Allowance
Text Symbol: T18 = Social Security Allowance
Text Symbol: T17 = Total Tax Allowance Irregular
Text Symbol: T16 = Total Tax Allowance Regular
Text Symbol: T15 = Standard deduction Reg & Irreg.
Text Symbol: T14 = Standard Deduction Regular
Text Symbol: T12 = Regular Income Annualized
Text Symbol: T11 = Total Annual Income



Text Symbol: T05 = Tax Irregular This Period
Text Symbol: T04 = Tax Regular This Period
Text Symbol: T03 = Tax with Irregular Annual
Text Symbol: T02 = Tax Regular Annual
Text Symbol: T01 = Tax This Period
Text Symbol: SSS = Employee Not Contributing to Social Security
Text Symbol: SSR = For Processing Employer contributions used
Text Symbol: SSI = If table has valid entries for Company rates.
Text Symbol: SSE = For Processing Employee contributions used
Text Symbol: SSB = IF there are no entries maintained [Company does not have special rates]
Text Symbol: SSA = Use Company rates for calculatin Social Security Contributions
Text Symbol: SS9 = Use Social Security Statutory rates (V_T7THSS) for calculating
Text Symbol: SS8 = Read Social Security Contribution rates Company (V_T7THSR)


INCLUDES used within this REPORT H26PLOG0

INCLUDE H26PLOG1. " INFOTYPE READS.
INCLUDE H26PLOG2. " TAX CALC. LOG
INCLUDE H26PLOG3. " SSEC. & PF CALC. LOG
INCLUDE H26PLOG4. " ERROR ROUTINES


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