Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Error F5118 "Transaction key & & chart of accts & not defined in table &" is issued.
SAP S/4HANA Cloud
Reproducing the Issue
For example, when using Tax code P6 CAON, you get the error message F5118 “transaction key VST chart of accts YCOA not defined in table T030K”.
No tax account has been defined for this tax code for the specified account key in the chart of accounts.
Please maintain the accounts to which a tax posting is to be made using the tax code entered.
You can make the setting in SSCUI 100297 - Automatic Account Determination. To resolve above error, please follow the parameters below:
F5118, Transaction key, chart of accts, YCOA, Tax code, SSCUI 100297, Automatic Account Determination, Transaction key , KBA , FI-GL-GL-F , Value Added Tax (VAT) , How To