SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_1HCOMM SAP ABAP Report - General routine for Thailand







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


Text pool values


Title: General routine for Thailand
Text Symbol: TUB = USER_FIELD_B-B,User field B,User defined field B
Text Symbol: TUA = USER_FIELD_A-A,User field A,User defined field A
Text Symbol: TU6 = USERFIELDNUM2-Tax amount,Claimed tax Amt,Claimed tax amount
Text Symbol: TU5 = USERFIELDNUM1-Tax base,Deduct tax base,Claimed tax base
Text Symbol: TU4 = USER_FIELD_4-Remark,Remark,Remark
Text Symbol: TU3 = USER_FIELD_3-X3,User field 3,User defined field 3
Text Symbol: TU2 = USER_FIELD_2-Input tax,Claimed tax amount,Claimed tax amount
Text Symbol: TU1 = USER_FIELD_1-Claimed,Claimed base amount,Claimed tax base amount
Text Symbol: TL2 = (Addtional) as of
Text Symbol: TL1 = as of
Text Symbol: T08 = NAME4- , ,
Text Symbol: T07 = NAME3- , ,
Text Symbol: T06 = NAME2- , ,
Text Symbol: T05 = NAME1-Name,Name and address,Vendor/Customer name and address
Text Symbol: T04 = BLDAT-Date,Tax invoice date,Tax invoice date
Text Symbol: T03 = BKTXT-Run no.,Running no.,Tax Invoice running number
Text Symbol: T02 = XBLNR-Number,Tax invoice,Tax invoice no.
Text Symbol: T01 = PSATZ-Rate,VAT rate,VAT percentage rate
Text Symbol: STG = SATANG
Text Symbol: R_O = O U T P U T T A X R E P O R T
Text Symbol: R_I = I N P U T T A X R E P O R T
Text Symbol: REG = VAT registration no.
Text Symbol: OLY = ONLY
Text Symbol: BUK = Company
Text Symbol: BRN = Branch
Text Symbol: BNO = Branch No.
Text Symbol: BHT = BAHT


INCLUDES used within this REPORT J_1HCOMM

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:

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = D_SAP_WAERS IMPORTING ISO_CODE = D_ISO_WAERS * NOT_ALLOWED = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2 .

SPELL_AMOUNT CALL FUNCTION 'SPELL_AMOUNT' EXPORTING AMOUNT = DMBTR CURRENCY = WAERS * FILLER = ' ' LANGUAGE = LANGU IMPORTING IN_WORDS = SPELL EXCEPTIONS NOT_FOUND = 1 TOO_LARGE = 2 OTHERS = 3.

J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING BRANCH = BUPLA BUKRS = BUKRS IMPORTING ADDRESS = T_SADR BRANCH_DATA = T_BRANCH EXCEPTIONS BRANCH_NOT_FOUND = 1 ADDRESS_NOT_FOUND = 2 COMPANY_NOT_FOUND = 3 OTHERS = 4.

ADDR_GET_COMPLETE CALL FUNCTION 'ADDR_GET_COMPLETE' EXPORTING ADDRNUMBER = T_LFA1-ADRNR * ADDRHANDLE = ADDRHANDLE * ARCHIVE_HANDLE = ARCHIVE_HANDLE IMPORTING ADDR1_COMPLETE = ADDR1_COMPLETE EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 INTERNAL_ERROR = 3 WRONG_ACCESS_TO_ARCHIVE = 4 OTHERS = 5.



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