Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: FB - Batch Programs
Message number: 397
Message text: Enter account type D (customer) or K (vendor)
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
FB397
- Enter account type D (customer) or K (vendor) ?The SAP error message FB397 indicates that when trying to post a transaction, the system requires you to specify an account type, specifically either a customer account (D) or a vendor account (K). This error typically occurs in the context of financial postings where the system expects a specific type of account to be referenced.
Cause:
- Missing Account Type: The account you are trying to post to does not have an associated account type (D for customer or K for vendor).
- Incorrect Account: The account number entered may not correspond to a customer or vendor account.
- Configuration Issues: There may be configuration issues in the SAP system that prevent the correct identification of account types.
Solution:
- Check Account Number: Verify that the account number you are using is correct and corresponds to either a customer or vendor account. You can do this by checking the master data for the account.
- Specify Account Type: When entering the account in the transaction, ensure that you specify the correct account type (D for customer or K for vendor).
- Review Transaction Type: Ensure that the transaction you are trying to post is appropriate for the account type you are using. For example, if you are trying to post a payment to a vendor, ensure you are using a vendor account.
- Consult Configuration: If the issue persists, consult with your SAP administrator or financial team to review the configuration settings related to account types and ensure they are set up correctly.
- Use Transaction Codes: Use transaction codes like
FD03
(Display Customer) orFK03
(Display Vendor) to check the details of the account and confirm its type.Related Information:
If the problem continues after following these steps, it may be beneficial to reach out to your SAP support team for further assistance.
Get instant SAP help. Sign up for our Free Essentials Plan.
FB396
Error in internal table for branches
What causes this issue? The company code is missing in an entry in the internal table for brances. The entry is: company code: &V1& branch: ...
FB395
Error in internal table for head offices
What causes this issue? The company code is missing in an entry in the internal table for head offices. The entry is: Company code: &V1& Head...
FB398
Select only tables KNA1, KNB1 and BSEC
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FB399
Select only tables LFA1, LFB1 and BSEC
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.