PCTAXTH3 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 PCTAXTH3 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Local Routines for Income Tax 1 - Monthly Tax Report Thailand
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CD_READ_LAST * CALL FUNCTION 'CD_READ_LAST' * EXPORTING ** Use the start dt of 1st and end dt of last prd in month ** begin_date = pn/begda ** end_date = pn/endda * BEGIN_DATE = P_PVD_BEGDA * END_DATE = P_PVD_ENDDA * * IMPORTING * OUT_SEQNR = LCP_SEQNR * TABLES * RGDIR = RGDIR * EXCEPTIONS * NO_RECORD_FOUND = 1 * OTHERS = 2.
CD_SELECT_VOID *CALL FUNCTION 'CD_SELECT_VOID' * EXPORTING * VOID_INDICATOR = CD_C-VOID_FALSE * TABLES * IN_RGDIR = RGDIR * OUT_RGDIR = H01_RGDIR * EXCEPTIONS * OTHERS = 1.
CD_SELECT_SRTZA *CALL FUNCTION 'CD_SELECT_SRTZA' * EXPORTING * RECORD_TYPE = CD_C-ACTUAL * TABLES * IN_RGDIR = H01_RGDIR * OUT_RGDIR = H02_RGDIR * EXCEPTIONS * OTHERS = 1.
RP_CHECK_PAYROLL_PERIOD_TH CALL FUNCTION 'RP_CHECK_PAYROLL_PERIOD_TH' EXPORTING ABKRS = P0001-ABKRS PABRJ = PNPPABRJ PABRP = PNPPABRP CUMTY = 'M' IMPORTING PAYROLL_MONTH = MONTH RESULT = RESULT EXCEPTIONS TABLE_ENTRY_NOT_FOUND = 1 OTHERS = 2.
RP_CHECK_PAYROLL_PERIOD_TH CALL FUNCTION 'RP_CHECK_PAYROLL_PERIOD_TH' EXPORTING ABKRS = RGDIR-ABKRS PABRJ = YEAR PABRP = PAYPERIOD CUMTY = 'M' IMPORTING RESULT = RESULT PAYROLL_MONTH = TERM_MONTH.
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING COMPANYCODE = P_P0001-BUKRS LANGUAGE = SY-LANGU IMPORTING COMP_NAME = HRCA_COMPANY-COMP_NAME * CITY = * COUNTRY = * CURRENCY = * LANGU = * CHRT_ACCTS = * FY_VARIANT = * FI_MANAGEMENTAREA = * JURISDICTION = * RATE_DEVIATION = * ADDRESS = * TABLES * APPENDIX = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING * AMOUNT = TAX_SUM-TOT_TAX "AAPL0K010985 AMOUNT = TAX_SUM-TOT_TAX_C "AAPL0K010985 CURRENCY = 'THB' FILLER = SPACE LANGUAGE = SY-LANGU IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.
ADDR_GET call function 'ADDR_GET' exporting address_selection = selection address_group = 'CA01' importing address_value = address_value * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = * sadr = sadr * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = exceptions parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 others = 5.
HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING EXIT_NAME = 'HRPAYTH_TAXFORM' * FLT_VAL = IMPORTING IS_IMPLEMENTED = CHECK_IMPL * TABLES * ACTIVE_IMPS = CHANGING INSTANCE = CUST_EXIT.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PCTAXTH3 - Local Routines for Income Tax 1 - Monthly Tax Report Thailand PCTAXTH2_ALV - Data definitions for Income Tax Form 1/1A (Thailand) PCTAXTH2 - Data definitions for Income Tax Form 1/1A (Thailand) PCTAXTH1 - Table and Infotype Definitions for Income Tax Forms 1 and 1A Thailand PCTAXTH0 - Tax Calculation for Payroll Accounting (Thailand) PCTAXNZF_ALV - Taxation Calculation Forms New Zealand