Solution : https://service.sap.com/sap/support/notes/1042117 (SAP Service marketplace login required)
Summary :
When posting an FI document in SAP, normally taxes are calculated by the document, not by line. However, using BAdI BADI_TAX1_XTXIT_SET, it is possible to calculate and save tax by line, provided within the corrections and business add-in (BAdI) instructions in the note. Especially significant for organizations using jurisdiction codes, this functionality aids detailed tax recording and compliance. Issues like overflow errors due to the 999 lines limit in BSEG and BSET tables may arise, with suggested workarounds to summarize tax lines. The note also covers the creation steps for BAdI and necessary data types in systems without default implementation.
Key words :
typei_t_bkpf importing type bkpf_ti_t_bseg importing type bseg_tc_flg_xtxit changing type xtxit_txdthe reference types, line tax update'- enter 'fbas', parameter type typing assoc, data type bkpf_t exists, bset tables permit 999 lines, - call transaction se18- enter, bset tax appendix table, enhancement spot element definitions, 'standard table type, bkpf_t data type
Related Notes :
1482786 | Using enhanced BAdI BADI_TAX1_XTXIT_SET |
1477287 | BADI_TAX1_XTXIT_SET: Summarizing tax items |
1465054 | BAPI:Tax line-by-line/tax bypass inactive: BSEG-TXGRP incorr |
1418082 | VAT 2010: Double Taxation in FI and MM |
1223773 | IDoc BAPI BADI_TAX1_XTXIT_SET line by line tax does not work |
1158279 | Line-by-line tax: No tax items in clearing document |
1105150 | Accounting Data for Calculate_tax_from_net_amount |
976780 | Error during line-by-line tax calc without tax jur cde |
973525 | No summarization of BSET in the Indian Company Code |
886203 | Meaning of:"Determine taxes line-by-line" |
832940 | No jurisdiction codes in Indian company code |
692884 | FF755: no external tax system, but tax line-by-line |