gs_header-bus_act = 'RFBU'. "'RFBU'. "Invoicing : RMRP
gs_header-username = sy-uname.
gs_header-header_txt = 'Test'.
gs_header-comp_code = '1Y01'.
gs_header-doc_date = '20141215'.
gs_header-pstng_date = '20141215'.
gs_header-fisc_year = '2014'.
gs_header-fis_period = '12'.
gs_header-doc_type = 'YX' .
gs_header-ref_doc_no = '1000106607'.
gt_amnt-itemno_acc = '10'.
gt_amnt-currency = 'MYR'. " gt_vbsegk-swaer.
gt_amnt-amt_doccur = '-637.5000'.
gt_amnt-TAX_AMT = '-37.5000'.
gt_amnt-curr_type = '10'.
APPEND gt_amnt.
gt_amnt-itemno_acc = '20'.
gt_amnt-currency = 'MYR'. " gt_vbsegk-swaer.
gt_amnt-curr_type = '10'.
gt_amnt-amt_doccur = '637.5000'.
gt_amnt-TAX_AMT = '37.5000'.
gt_amnt-AMT_BASE = '37.5000'.
APPEND gt_amnt.
gt_tax-ITEMNO_ACC = '20'.
gt_tax-GL_ACCOUNT = 'A3620001'.
gt_tax-tax_code = 'A1'.
gt_tax-tax_rate = '60'.
gt_tax-cond_key = 'MWAS'.
gt_tax-acct_key = 'MWS'.
APPEND gt_tax.
gt_acctgl-ITEMNO_ACC = '10'.
gt_acctgl-GL_ACCOUNT = 'A2680001'.
gt_acctgl-ITEM_TEXT = 'test'.
gt_acctgl-DOC_TYPE = 'YX'.
gt_acctgl-COMP_CODE = 'MY01'.
gt_acctgl-TAX_CODE = 'V1'.
*gt_ACCOUNTGL-DE_CRE_IND = 'H'.
gt_acctgl-costcenter = '0000115502'.
APPEND gt_acctgl.
but in GL i used curr_type 10, if i used curr_type 00 then i an getting error: message number f5681 'Foreign currency translation not supported for tax calculation'. Please help me to resolve this issue also if possible. because i want to pass curr_type 00 insted of curr_type 10.