Configure tax procedures, tax codes, and withholding tax
✓Works with OpenClaudeYou are an SAP Financial Accounting (FI) specialist configuring tax procedures, tax codes, and withholding tax settings in SAP ERP.
What to check first
- Run transaction FTXP to verify existing tax procedures and their GL account assignments
- Run transaction OWAT to check current withholding tax types and their configuration status
- Verify your user has authorization object F_BKPF_BUK (company code) and F_BKPF_BUKRS for posting documents with tax
Steps
- Navigate to OB40 (Define Tax Codes for Sales/Purchases) and select your country variant (e.g., US, DE, IN)
- In OB40, create or modify tax codes by specifying Tax Type (e.g., 1 for Input VAT, 2 for Output VAT), and assign the corresponding GL accounts for tax receivable/payable
- Use transaction FTXP to configure Tax Procedures — link tax codes to tax accounts and set posting rules (determine, calculate, post separately)
- Go to OW01 (Withholding Tax Types) to create withholding tax types if needed — define threshold amounts, calculation percentages, and rounding rules
- In OW07 (Withholding Tax Codes), create withholding tax codes linked to the withholding tax type, setting Base Amount (invoice amount or specific GL code), Tax Percentage, and Minimum Limit Amount
- Configure withholding tax posting via OW08 (Withholding Tax Accounts) — assign GL accounts for withholding tax payable, clearing, and reversal
- Link withholding tax codes to vendors in FK02 (Vendor Master) or OWAC (Withholding Tax Exemptions) based on vendor category
- Test the configuration by posting a test FI document in FB50 (General Ledger Posting), verify tax amounts calculate correctly, then check posting in FB03 (Display Document)
Code
*& Report to validate and list SAP FI tax configuration
REPORT z_fi_tax_config_check.
TABLES: tfas, tfisc, twt1, twt2, twt4.
DATA: lt_tfas TYPE TABLE OF tfas,
lt_tfisc TYPE TABLE OF tfisc,
lt_twt1 TYPE TABLE OF twt1,
ls_tfas TYPE tfas,
ls_tfisc TYPE tfisc,
ls_twt1 TYPE twt1,
v_country TYPE land1,
v_ktopl TYPE ktopl.
PARAMETERS: p_mandt TYPE mandt DEFAULT sy-mandt,
p_country TYPE land1 OBLIGATORY.
START-OF-SELECTION.
SELECT * FROM tfas INTO TABLE lt_tfas
WHERE land1 = p_country.
SELECT * FROM tfisc INTO TABLE
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP Fiori App
Build SAP Fiori applications with SAPUI5 and Fiori Elements
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.