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

PCTAXTH0 SAP ABAP INCLUDE - Tax Calculation for Payroll Accounting (Thailand)







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


Text pool values


Title: Tax Calculation for Payroll Accounting (Thailand)


INCLUDES used within this REPORT PCTAXTH0

No INCLUDES are used within this REPORT code!


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:

HR_PL_D_TH_ITHTAX CALL FUNCTION 'HR_PL_D_TH_ITHTAX' EXPORTING IMP_INTCA = CALCINTCA * IMP_MARKTAB = SPACE "Unicode IMP_CURRENCY = CALC_CURRENCY IMP_TABLE = IMP_LOOK = SPACE IMP_DETAIL = 'X' IMP_PROCESS = 'X' IMP_LEVEL = '1' TABLES IMP_PTEXT = PTEXT EXCEPTIONS OTHERS = 0.

HR_PL_D_TH_I511K CALL FUNCTION 'HR_PL_D_TH_I511K' EXPORTING IMP_INTCA = CALCINTCA * IMP_MARKTAB = SPACE "Unicode IMP_CURRENCY = CALC_CURRENCY IMP_TABLE = IMP_LOOK = SPACE IMP_DETAIL = 'X' IMP_PROCESS = 'X' IMP_LEVEL = '1' TABLES IMP_PTEXT = PTEXT EXCEPTIONS OTHERS = 0.

HR_PL_D_TH_I511P CALL FUNCTION 'HR_PL_D_TH_I511P' EXPORTING IMP_INTCA = CALCINTCA * IMP_MARKTAB = SPACE "Unicode IMP_CURRENCY = CALC_CURRENCY IMP_TABLE = IMP_LOOK = SPACE IMP_DETAIL = 'X' IMP_PROCESS = 'X' IMP_LEVEL = '1' TABLES IMP_PTEXT = PTEXT EXCEPTIONS OTHERS = 0.

RP_HIRE+FIRE

RP_HIRE_FIRE * call function 'RP_HIRE+FIRE' call function 'RP_HIRE_FIRE' exporting beg = pvd_period_start_date end = pvd_period_end_date importing fire_date = pvd_fire_date hire_date = pvd_hire_date tables pphifi = phifi pp0000 = p0000 *EDEAHRK057015 15091999 No need for exceptions since we don't check them * pp0001 = p0001 * exceptions * others = 1.

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING first_date = p0002-gbdat * MODIFY_INTERVAL = ' ' second_date = end_date IMPORTING years_between_dates = age EXCEPTIONS SEQUENCE_OF_DATES_NOT_VALID = 1.

HRCCE_GET_REPORTNAME CALL FUNCTION 'HRCCE_GET_REPORTNAME' EXPORTING smodn = $sname date = $datum IMPORTING i596f = t596f EXCEPTIONS OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING FEATURE = lc_feature STRUC_CONTENT = p_pme04 KIND_OF_ERROR = space IMPORTING BACK = p_rethtcc CHANGING STATUS = lv_subrc EXCEPTIONS OTHERS = 1.



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