Tax management migration failed with incomplete tax code mapping in LTMC

Our tax management data migration to S/4HANA 1909 using LTMC is failing with incomplete tax code mappings. We have 47 legacy tax codes from our ECC system that need to be mapped to the new S/4HANA tax structure, but the standard LTMC migration template only recognizes 31 of them.

The main issue is that our legacy tax codes include country-specific VAT variations that don’t have direct equivalents in S/4HANA’s simplified tax code structure. For example, our ECC code “V7_DE_RED” (7% reduced VAT Germany) doesn’t map cleanly because S/4HANA’s VAT calculation logic changed how reduced rates are handled.

Error log shows:


Tax code V7_DE_RED: No target mapping found
Tax calculation procedure TAXDE: Incompatible with S/4HANA
VAT determination: Field TAX_RATE_TYPE missing in template

This is blocking our financial reporting go-live and we need to close books next month. The LTMC template seems incomplete for complex tax scenarios. Anyone dealt with tax code migration issues where the new structure doesn’t align with legacy codes?

Your VAT calculation logic issue is separate from the mapping problem. S/4HANA changed the underlying tax determination engine to use condition-based processing instead of the old procedure-based approach. The tax calculation procedure TAXDE you mentioned was replaced by tax condition types in S/4HANA. You can’t do a direct 1:1 mapping - you need to redesign your tax determination logic using the new condition technique. Check configuration in SPRO under Financial Accounting > Tax on Sales/Purchases > Basic Settings > Tax Determination.

The standard LTMC template for tax codes is indeed limited. You need to extend it with custom fields. Go to LTMC transaction, select your migration object, and use “Extend Template” function. Add fields for TAX_RATE_TYPE and TAX_JURISDICTION_CODE. These fields are mandatory in S/4HANA but weren’t in the standard template for 1909 version.

I’ll provide a comprehensive solution addressing all three aspects of your tax migration challenge.

Legacy Tax Code Mapping Issue: The core problem is that your 47 ECC tax codes were designed for a procedure-based calculation system, while S/4HANA uses a condition-based tax determination framework. The 31 codes that LTMC recognizes are those with direct structural equivalents in the new system. The remaining 16 codes (including your V7_DE_RED) require transformation, not just mapping.

S/4HANA’s new tax structure eliminated redundant country-specific code variations by introducing a hierarchical tax determination model:

  • Tax Type (VAT, Sales Tax, Withholding)
  • Tax Rate Category (Standard, Reduced, Zero)
  • Tax Jurisdiction (Country/Region)
  • Tax Calculation Rule (Condition Type)

Your legacy code “V7_DE_RED” embedded all four elements in a single identifier. In S/4HANA, this must be decomposed:

  • Tax Type: MWST (VAT)
  • Rate Category: REDUCED
  • Jurisdiction: DE (Germany)
  • Rate: 7%
  • Calculation Rule: Condition type MWVS

VAT Calculation Logic Changes: The VAT calculation logic changed fundamentally in three ways:

  1. Condition-Based Processing: Instead of tax procedures (TAXDE), S/4HANA uses condition types with access sequences. Your reduced VAT rate must be configured as a condition record in table A003 (tax condition records) rather than as a procedural step.

  2. Real-Time Tax Determination: S/4HANA performs tax calculation at document entry time using the new Tax Calculation Engine. This engine requires explicit tax jurisdiction codes, which your legacy codes didn’t maintain separately.

  3. Digital Compliance Support: The new logic supports real-time VAT reporting formats (SAF-T, SII, MTD). Your reduced rate codes need additional attributes like tax exemption reason codes and digital reporting category identifiers.

LTMC Template Field Gaps: The missing TAX_RATE_TYPE field and other gaps exist because:

  1. Template Version: The initial LTMC template for tax codes in 1909 was released before SAP finalized the VAT reporting enhancements. You need Support Package 05 or higher, which includes template version 2.3.

  2. Missing Fields in Standard Template:

  • TAX_RATE_TYPE (Standard/Reduced/Zero classification)
  • TAX_JURISDICTION_CODE (Required for multi-jurisdictional entities)
  • DIGITAL_REPORT_CATEGORY (For electronic VAT filing)
  • TAX_EXEMPTION_REASON (Mandatory for reduced rates in some countries)
  • REVERSE_CHARGE_INDICATOR (For B2B transactions)

Complete Solution:

Step 1: Update LTMC Template Download the latest template from SAP Note 2873022 (Tax Code Migration Template Updates). This template version includes:


LTMC Template Fields (v2.3):
LEGACY_TAX_CODE -> SOURCE_TAX_CODE
TARGET_TAX_TYPE -> KALSM_NEW
TAX_RATE_TYPE -> KTOSL_NEW
TAX_JURISDICTION -> TXJCD

Step 2: Create Tax Code Mapping Table Build a custom mapping table to handle the 16 unmapped codes:

  • Table: ZTAX_LEGACY_MAP
  • Fields: LEGACY_CODE, NEW_TAX_TYPE, RATE_CATEGORY, JURISDICTION, CONDITION_TYPE, RATE_PERCENT
  • Populate with your specific mappings

For V7_DE_RED:

  • LEGACY_CODE: V7_DE_RED
  • NEW_TAX_TYPE: MWST
  • RATE_CATEGORY: REDUCED
  • JURISDICTION: DE
  • CONDITION_TYPE: MWVS
  • RATE_PERCENT: 7.00

Step 3: Implement LTMC Transformation Rules Use LTMC user exit LTMC_CUST_MAP_VALUES to apply custom mapping logic:

  • Read from ZTAX_LEGACY_MAP for unmapped codes
  • Construct S/4HANA tax code using the hierarchical format
  • Validate against tax determination configuration (FTXP)
  • Create condition records automatically if missing

Step 4: Reconfigure Tax Determination Before migration, set up the new condition-based tax logic:

  • Transaction FTXP: Define tax determination rules
  • Create condition types for each rate category (standard, reduced, zero)
  • Set up access sequences for country/region/customer combinations
  • Define tax calculation procedures using condition types instead of steps

Step 5: Validate VAT Compliance Ensure migrated tax codes support digital reporting:

  • Assign digital reporting categories to each code
  • Configure tax exemption reason codes for reduced rates
  • Set up reverse charge indicators for B2B transactions
  • Test with real-time VAT reporting transactions (MIRO, FB60)

Step 6: Execute Migration with Validation Run LTMC migration in phases:

  • Phase 1: Migrate the 31 directly mapped codes
  • Phase 2: Migrate the 16 custom-mapped codes using transformation rules
  • Phase 3: Validate all tax codes with test transactions
  • Phase 4: Run tax calculation test cases comparing ECC vs S/4HANA results

Financial Reporting Impact Mitigation: To avoid blocking your month-end close:

  • Create temporary bridge tax codes for immediate use
  • Run parallel tax calculations in ECC and S/4HANA for validation
  • Use FI document splitting to separate tax reporting from operational postings
  • Schedule full migration for a non-critical period

The key insight is that this isn’t just a data migration - it’s a process transformation. Your tax determination logic must be redesigned for the condition-based framework before the data migration can succeed.

Critical SAP Notes: 2873022 (template updates), 2706245 (VAT calculation changes), 2815472 (digital tax reporting setup).