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.

| Item | Value in This Example |
|---|---|
| Message text | Error in account determination: table T030R key LNER JOC |
| Table | T030R |
| Transaction key | LNER |
| Account key | JOC (Central GST OP) |
| Modules | SAP FI and MM integration (tax postings) |
| Where to fix it | OB40 and FS00 |
The key in your own message may differ from this example. The same method applies with your own values.
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.
Before changing anything, it helps to read each part of the message. Each one tells you where to look.
| Field | Meaning | What It Tells You |
|---|---|---|
| T030R | This table holds the configuration of automatic account determination. | The configuration that is missing is stored here. |
| LNER | Refers to the transaction type for which account determination is configured. | The business process that needs the account. |
| JOC | Automatic 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.
| Cause | What Is Wrong |
|---|---|
| No G/L account for key JOC | Key JOC was selected, but no account is assigned. |
| G/L accounts not created | The CGST and SGST payable accounts do not exist yet in FS00. |
| Posting keys missing | The account is assigned but the debit and credit posting keys are blank. |
| New tax rate added | A new rate was introduced, but its account was not added to the configuration. |
| Wrong chart of accounts | The account was created in another chart of accounts than the one used by the company code. |
| Transport missing | The 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.
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.
Read the message. Note the table T030R, the transaction LNER and the key JOC.
Open OB40 and select JOC – Central GST OP. Check whether a G/L code is assigned or not.
Check the accounts in FS00. Confirm that the CGST and SGST payable accounts exist in the chart of accounts of the company code.
Check the posting keys. Look at whether debit and credit posting keys are filled.
Plan the assignment. Write down the accounts and posting keys before you configure anything.
Verify if the account key JOC is correctly assigned to a G/L account.
SOLUTION – OB40 (Configure Automatic Posting).

Go to Tcode OB40. Select JOC – Central GST OP and check whether the G/L code is assigned or not.
Create the G/L codes in FS00. Create the following accounts:


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%.


Save. Assign a customizing request if the system asks for one.
The table below summarizes every value from the steps above, so you can compare it with your own screen before saving.
| G/L Code | Example Description | Used in OB40 Step |
|---|---|---|
| 360056 | CGST&SGST Payable 0% | Yes, with debit key 40 and credit key 50 |
| 360057 | CGST&SGST Payable 5% | Created in FS00 |
| 360058 | CGST&SGST Payable 12% | Created in FS00 |
| 360072 | CGST&SGST Payable 18% | Created in FS00 |
| 360073 | CGST&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.
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.
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.
| Symptom | Likely Cause | What 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. |
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.
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.
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.
| Check | Done When |
|---|---|
| Accounts created | The CGST and SGST payable accounts exist in FS00 in the correct chart of accounts. |
| Company code extension | The accounts are available in the company code that posts the document. |
| OB40 assignment | Key JOC has the account and both posting keys assigned. |
| Test posting | A posting of the affected kind was tested and the tax line is correct. |
| Transport | The request is released and imported in the right order. |
| Documentation | The 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.
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.
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.