KS02: Maintaining tax jurisdiction code part 3
[148] [F2] [jurisdiction] [KS02] [LKMA1F00] [maintaining] [SAPLKMA1] [scac code] [tax code] [TTXD] [TTXD-XEXTN] [TXJCD]
Symptom
After you implement Note756696or import Support Packages, it is possible again to change the tax jurisdiction code (location for tax invoice) directly in the transaction if it was determined by the external tax system.
For this, the BAdI with
definition name =TXJCD_EXTN/ methodTXJCD_CHANGE_ALLOWEDis provided in order to be able to make the changes. The ready for input status of the tax jurisdiction code is controlled by the exporting parameterE_GD_TXJCD_EXTN.
However, you want to change automatically determined tax jurisdiction codes directly in a separate program after the determination by the external tax system. This is currently not possible.
Other terms
LKMA1F00, SAPLKMA1, KS02, TXJCD, TTXD, TTXD-XEXTN, F2 148
Reason and Prerequisites
The function is missing.
Solution
1. Ensure that Note756696has already been implemented in your system.2. Using transaction SE18, you must first add the following optional parameters in the BAdI with the definition name =TXJCD_EXTNto the instance methodTXJCD_CHANGE_ALLOWED:
Parameter Type Optional Assoc.TypeC_TD_ORT01 Changing X ORT01_GPC_TD_ORT02 Changing X ORT02_GPC_TD_TXJCD Changing X TXJCD
3. After you successfully activate the BAdI, implement the attached corrections.4. You can then automatically change or adjust the tax jurisdiction (C_TD_TXJCD), city (C_TD_ORT01) and district (C_TD_ORT02) in the BAdI implementation using transaction SE19.