Do you have any question about this error?
Message type: E = Error
Message class: F7 - Program Error Messages
Message number: 138
Message text: Account & is not defined in company code &. Change your entry.
You want to carry out cash pooling. To do this, you have specified a
header account which does not exist in the specified company code.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Enter the appropriate header company code for the header
account.
Error message extract from SAP system. Copyright SAP SE.
F7138
- Account & is not defined in company code &. Change your entry. ?The SAP error message F7138 indicates that a specific account is not defined in the specified company code. This error typically occurs during financial transactions, such as posting a journal entry or executing a financial report, where the system expects to find a valid account in the specified company code.
Cause:
- Account Not Defined: The account you are trying to use has not been created or activated in the specified company code.
- Incorrect Company Code: The company code you are using may not be the one where the account is defined.
- Account Type Issues: The account may not be of the correct type (e.g., it may be a balance sheet account when a profit and loss account is expected).
- Master Data Issues: There may be issues with the master data setup for the account in the Financial Accounting (FI) module.
Solution:
Check Account Definition:
- Go to the transaction code FS00 (G/L Account Master Record) and check if the account is defined for the specified company code.
- If it is not defined, you will need to create it.
Create/Modify Account:
- If the account does not exist, create it by entering the necessary details (account number, account type, company code, etc.).
- If it exists but is not active, you may need to modify it to ensure it is active for the company code.
Verify Company Code:
- Ensure that you are using the correct company code in your transaction. If you are working in multiple company codes, double-check that you are in the right one.
Check Account Type:
- Ensure that the account type is appropriate for the transaction you are trying to perform. For example, if you are trying to post a revenue transaction, ensure that the account is a revenue account.
Consult with Your SAP Administrator:
- If you do not have the necessary permissions to create or modify accounts, consult with your SAP administrator or finance team to resolve the issue.
Related Information:
By following these steps, you should be able to resolve the F7138 error and successfully process your financial transactions.
Get instant SAP help. Start your 7-day free trial now.
F7137
Specify header account's company code for cash pooling
What causes this issue? You want to carry out cash pooling. To do this, you have specified a header account but not the header company code.System Re...
F7136
Enter the header account within the G/L account selection as well
What causes this issue? You want to carry out cash pooling. To do this, you have specified a header which has not been specified within the G/L accou...
F7139
Specify header company code in general selections
What causes this issue? You want to carry out cash pooling. To do this, you have specified a header company code for the header account. The header c...
F7140
Acct & in comp.code & does not have the header acct's currency
What causes this issue? You want to carry out cash pooling. To do this, all accounts involved must have the same currency. You have, however, specifi...
Click on this link to search all SAP messages.