SAP FI ERROR SOLUTION  |  Account Determination (OB40)

SAP FI Error: "Error in Account Determination: Table T030R Key LNER JOC" – Causes and Step-by-Step Fix

A user posts a document with tax and SAP stops because it cannot find a G/L account for account key JOC. The fix is to create the CGST and SGST payable accounts and assign them with posting keys in OB40. This guide explains the message, the key fields, the exact OB40 and FS00 steps with the original screenshots, how to verify the result and how to avoid the error in future. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.

❌ The Error Message at a Glance

SAP error in account determination table T030R key LNER JOC
ItemValue in This Example
Message textError in account determination: table T030R key LNER JOC
TableT030R
Transaction keyLNER
Account keyJOC (Central GST OP)
ModulesSAP FI and MM integration (tax postings)
Where to fix itOB40 and FS00

The key in your own message may differ from this example. The same method applies with your own values.

📑 What You Will Learn in This Guide

  1. What the message means
  2. The key fields explained
  3. Why the error appears
  4. Where you meet the error
  5. Diagnose the problem
  6. Solution: assign the account in OB40
  7. G/L accounts and posting keys
  8. Notes before you save
  9. Verify the fix
  10. Real-world scenario
  11. Common mistakes
  12. Troubleshooting
  13. Prevent the error
  14. Frequently asked questions

✅ What Does "Error in Account Determination: Table T030R Key LNER JOC" Mean?

The error message indicates an issue with account determination in SAP, specifically related to table T030R and the key LNER JOC.

In simple words, SAP posts many amounts automatically. When a vendor invoice or a goods movement carries tax, the system does not ask the user which account the tax goes to. It reads the configuration and finds the account on its own. If the configuration has no entry for the key that the posting needs, SAP cannot continue and shows this message. The posting is stopped because the amount would otherwise have no place in the ledger.

The first thing to do is to verify whether the account key JOC is correctly assigned to a G/L account. The message is therefore not a data entry mistake. It is a gap in configuration, and it is solved once, in the account determination settings.

📝 Understand the Configuration Key Fields

Before changing anything, it helps to read each part of the message. Each one tells you where to look.

FieldMeaningWhat It Tells You
T030RThis table holds the configuration of automatic account determination.The configuration that is missing is stored here.
LNERRefers to the transaction type for which account determination is configured.The business process that needs the account.
JOCAutomatic account determination in the SAP system to the relevant G/L account.In this example it is Central GST OP, so the accounts for this key must be maintained.

Together, the message says: for transaction LNER and key JOC, no G/L account could be found in the account determination settings. Exact table behaviour can differ between releases, so confirm what you see in your own system.

Path: SPRO → Financial Accounting (New) → Financial Accounting Global Settings (New) → Tax on Sales/Purchases → Account Determination. The same screen opens with OB40.

💡 Why Does This Error Appear? Common Causes

CauseWhat Is Wrong
No G/L account for key JOCKey JOC was selected, but no account is assigned.
G/L accounts not createdThe CGST and SGST payable accounts do not exist yet in FS00.
Posting keys missingThe account is assigned but the debit and credit posting keys are blank.
New tax rate addedA new rate was introduced, but its account was not added to the configuration.
Wrong chart of accountsThe account was created in another chart of accounts than the one used by the company code.
Transport missingThe setting exists in development but has not reached this client.

In daily work the first and third causes are the most common. A tax setup is activated, a user posts on the same day, and the first posting stops with this message.

📋 Where You Meet This Error in Daily Work

The message can appear in any posting that creates a tax line:

Because these postings use automatic determination, the user may never have typed the account. That is why the message sometimes surprises people: the account comes from configuration, not from the screen.

🔧 Step-by-Step: Diagnose the Problem

1

Read the message. Note the table T030R, the transaction LNER and the key JOC.

2

Open OB40 and select JOC – Central GST OP. Check whether a G/L code is assigned or not.

3

Check the accounts in FS00. Confirm that the CGST and SGST payable accounts exist in the chart of accounts of the company code.

4

Check the posting keys. Look at whether debit and credit posting keys are filled.

5

Plan the assignment. Write down the accounts and posting keys before you configure anything.

✅ Solution: OB40 (Configure Automatic Posting)

Verify if the account key JOC is correctly assigned to a G/L account.

SOLUTION – OB40 (Configure Automatic Posting).

1) JOC – Central GST OP

SAP OB40 configure automatic posting select key JOC Central GST OP

Follow Steps

1

Go to Tcode OB40. Select JOC – Central GST OP and check whether the G/L code is assigned or not.

2

Create the G/L codes in FS00. Create the following accounts:

  • G/L code 360056 – example CGST&SGST Payable 0%
  • G/L code 360057 – example CGST&SGST Payable 5%
  • G/L code 360058 – example CGST&SGST Payable 12%
  • G/L code 360072 – example CGST&SGST Payable 18%
  • G/L code 360073 – example CGST&SGST Payable 28%
SAP FS00 create G/L codes 360056 360057 360058 CGST SGST payableSAP FS00 create G/L codes 360072 360073 CGST SGST payable
3

Then assign the G/L code in OB40 (Configure Automatic Posting) for JOC – Central GST OP. Assign the posting keys with the G/L code: Debit 40, Credit 50, 360056 – example CGST&SGST Payable 0%.

SAP OB40 JOC posting key debit 40 credit 50 with G/L 360056SAP OB40 JOC assignment of posting keys and G/L code before saving
4

Save. Assign a customizing request if the system asks for one.

📋 G/L Accounts and Posting Keys Used in This Guide

The table below summarizes every value from the steps above, so you can compare it with your own screen before saving.

G/L CodeExample DescriptionUsed in OB40 Step
360056CGST&SGST Payable 0%Yes, with debit key 40 and credit key 50
360057CGST&SGST Payable 5%Created in FS00
360058CGST&SGST Payable 12%Created in FS00
360072CGST&SGST Payable 18%Created in FS00
360073CGST&SGST Payable 28%Created in FS00

The account numbers are examples. Use the numbers that follow your own chart of accounts and numbering standard. If your own design needs the other rates assigned as well, repeat the same assignment pattern for them and keep it identical in every client.

📝 Notes Before You Save

✅ Verify the Fix

After saving, repeat the posting that caused the message. The error should be gone. Display the accounting document and confirm that the tax line went to the correct payable account with the expected posting key. Then test a posting for each rate your business uses, so that you do not meet the same message again for a different case. Reopen OB40 and compare the entry with the table above to make sure nothing was left blank.

💼 Real-World Scenario: Fixing Central GST Posting at Learn Pharma, Pune

At Learn Pharma in Pune, accounts payable clerk Pooja Patil tried to post an invoice that carried central GST. SAP stopped her with the message that there was an error in account determination for table T030R, key LNER JOC. She raised it with functional consultant Neha Deshmukh.

Neha opened OB40, selected JOC and saw that no G/L account was assigned. With finance lead Sameer Joshi she created the CGST and SGST payable accounts in FS00, then assigned account 360056 in OB40 with debit posting key 40 and credit posting key 50, and saved the change on a customizing request.

After testing in the quality system, the transport moved to production. Pooja posted the invoice again, the tax line went to the right account and the document was saved. Neha recorded the assignment in the configuration workbook so the next tax change would not cause the same problem.

❗ Common Mistakes When Fixing This Error

🔧 Troubleshooting: When the Message Still Appears

SymptomLikely CauseWhat to Check
Same message after saving.The transport has not reached this client.Check the request status and import it.
Message mentions another key.A different tax key is also missing.Check all keys in OB40 for the process.
Account not found in OB40.The account was not created or extended to the company code.Check the account in FS00.
Wrong account in the document.The key was assigned to the wrong account.Compare the entry with the table in this guide.
Cannot save the setting.No open customizing request or missing authorization.Create or choose an open request or ask for the right role.
Remember: Most repeat messages come from a posting key that was left blank, or from a transport that has not arrived.

✅ Best Practices for Tax Account Determination

🛡 How to Prevent This Error in Future

💡 Understanding CGST and SGST Payable Accounts

The example accounts in this guide are called CGST and SGST payable. Central GST and State GST are the two parts of the tax charged on sales within one state in the Indian tax system. For a seller, the tax collected from customers is a liability, so it is recorded in payable accounts until it is paid to the authorities. That is why this guide creates separate payable accounts for each rate.

Keeping one account per rate has practical benefits. The tax team can reconcile each rate on its own, returns can be prepared faster, and an error in one rate does not hide inside a large total. It also makes the OB40 table easy to read. If your company uses different account structures, follow your own standard, but keep the principle of one clear assignment for every key in use.

Tax rules change over time, so always confirm the current rates and account requirements with your tax advisor before configuring. The configuration shown here explains the SAP mechanics, not tax advice.

When you present the final setup to the business, show the tax team a simple table of each rate, its account and its posting keys. A one-page summary like this is easy to review, easy to approve, and easy to keep in the project documentation for future audits and handovers.

📱 This Message in SAP S/4HANA

Automatic account determination and tax postings remain part of SAP S/4HANA, although menu paths, Fiori apps and transaction names can differ from the classic examples used here. The old path shows Financial Accounting (New), which belongs to a specific generation of SAP ERP. Confirm the exact path and the behaviour of the message in your own release before you plan the work. The principle does not change: every key the system needs must have a G/L account and posting keys assigned.

🔄 What to Do After the Fix

Once the message is gone, finish the job. Test the process again, review the postings with the finance team and confirm that reports show the amounts in the right accounts. Update your configuration documentation with the final assignment and the transport number.

If your company later introduces a new tax setup, repeat the same pattern: create the account, assign it in OB40, test a posting and record the result. Treating account determination as a standard checklist item keeps this message from returning.

If another key later shows the same kind of message, do not guess. Read the key from the error text, open OB40, find that key and follow the same four moves: check, create, assign, save. The pattern works for every key that needs an account.

Finally, share the finished assignment with the accounts payable team and the tax team. When everyone knows which key posts to which account, month-end questions are answered in minutes, and new colleagues can learn the setup from one simple table instead of searching through old emails and screenshots.

✅ Checklist Before Moving the Fix to Production

CheckDone When
Accounts createdThe CGST and SGST payable accounts exist in FS00 in the correct chart of accounts.
Company code extensionThe accounts are available in the company code that posts the document.
OB40 assignmentKey JOC has the account and both posting keys assigned.
Test postingA posting of the affected kind was tested and the tax line is correct.
TransportThe request is released and imported in the right order.
DocumentationThe assignment, owner and transport number are recorded.

Walking through this list takes only a few minutes, and it often catches a second missing assignment that would have caused the same message again after go-live.

🎓 Interview-Style Questions and Answers

Q: What does table T030R key LNER JOC mean?
No G/L account could be found for transaction LNER with account key JOC, so the posting stops.

Q: Which transaction fixes it?
OB40, configure automatic posting.

Q: What do you create first?
The G/L accounts in FS00, then assign them with the posting keys in OB40.

Q: Which posting keys are used in this example?
Debit 40 and credit 50.

Q: Is a transport needed?
Yes. The assignment is customizing and moves through the landscape.

📚 Quick Glossary of Terms Used in This Guide

🎯 Conclusion

The error "Error in account determination: table T030R key LNER JOC" has a simple cause: the key has no account assignment. Open OB40, select JOC – Central GST OP, check the assignment, create the CGST and SGST payable accounts in FS00, assign the account with debit key 40 and credit key 50 and save. Then test a posting and record the setting. If you run into any errors while following along, feel free to send a screenshot to pramod@learntosap.com for help.

❓ Frequently Asked Questions

SAP cannot find a G/L account for transaction LNER with account key JOC (Central GST OP in this example). The assignment is missing in automatic account determination, so the posting stops.
Transaction OB40, configure automatic posting. Select JOC, check whether a G/L account is assigned and assign one with the posting keys if it is missing.
SPRO > Financial Accounting (New) > Financial Accounting Global Settings (New) > Tax on Sales/Purchases > Account Determination.
Accounts 360056 (CGST and SGST payable 0%), 360057 (5%), 360058 (12%), 360072 (18%) and 360073 (28%), all created in FS00. Use your own numbers in your system.
Debit posting key 40 and credit posting key 50, with G/L account 360056 (CGST and SGST payable 0%) in this example.
Yes in a normal landscape. The OB40 assignment is customizing and should be tested in quality before production.