Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
I_ACCOUNT | BSEG-HKONT | C | 10 | Vendor/Customer Nr. | ||
I_BUKRS | BSEG-BUKRS | C | 4 | Company Code | ||
I_POSTING_KEY | BSEG-BSCHL | C | 2 | Posting Key | ||
I_SEI | BSEG-UMSKZ | C | 1 | SPACE | X | Special Entry Indicator |
Parameter | Reference | Type | Length | Text |
---|---|---|---|---|
E_TAX_CODE | SKB1-MWSKZ | C | 2 | Tax Code from Reconciliation Account |
E_TXJCD | BSEG-TXJCD | C | 15 | Jurisdiction Code (from T8JZ or 'M' - mandatory) |
Exception | Text |
---|---|
NO_ACCOUNT | No Reconciliation Account found |
NO_MASTER_DATA | No Master Data found |
NO_POSTING_KEY | No posting key found |
NO_T001_ENTRY | No entry in T001 found |
NO_T074_ENTRY | No entry in T074 found |
This function reads all necessary data to get the tax code for the forthe required vendor/customer, depending on the SEI and the alternativereconciliation account. The jurisdiction code is filled with the valuefrom T8JZ if JVA is active, or with 'M' if jurisdiction code ismandatory and JVA is not active. |