How To Fix FB504 - Only enter account type D (customers) or K (vendors)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FB - Batch Programs

  • Message number: 504

  • Message text: Only enter account type D (customers) or K (vendors)

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FB504 - Only enter account type D (customers) or K (vendors) ?

    The SAP error message FB504 indicates that there is an issue with the account type being used in a transaction. Specifically, it states that only account types "D" (for customers) or "K" (for vendors) are allowed in the context of the transaction you are trying to perform.

    Cause:

    This error typically occurs when:

    1. You are trying to post a transaction that requires a specific account type, but you have entered an account type that is not allowed (e.g., "S" for G/L accounts or "A" for asset accounts).
    2. The account number you are using does not correspond to a customer or vendor account.
    3. There may be a configuration issue in the system that is not allowing the correct account types to be recognized.

    Solution:

    To resolve the FB504 error, you can take the following steps:

    1. Check Account Type: Ensure that the account you are trying to use is indeed a customer (D) or vendor (K) account. You can do this by checking the account master data in the SAP system.

    2. Correct Account Entry: If you have mistakenly entered an incorrect account type, correct it to either a customer or vendor account.

    3. Review Transaction Type: Make sure that the transaction you are trying to perform 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.

    4. Consult Configuration: If you believe the account should be valid but still receive the error, consult with your SAP configuration team to ensure that the account types are set up correctly in the system.

    5. Use Transaction Codes: If you are using a specific transaction code (like FB60 for vendor invoices or FB70 for customer invoices), ensure that you are using the correct transaction for the type of account you are dealing with.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes for customer and vendor postings, such as FB01 (General Journal), FB60 (Vendor Invoice), FB70 (Customer Invoice), etc.
    • Account Master Data: Review the account master data for customers and vendors to ensure they are set up correctly.
    • SAP Documentation: Refer to SAP Help documentation for more details on account types and their usage in financial transactions.

    If the issue persists after following these steps, it may be beneficial to reach out to your SAP support team for further assistance.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant