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
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: 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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.