How To Fix FB398 - Select only tables KNA1, KNB1 and BSEC


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FB - Batch Programs

  • Message number: 398

  • Message text: Select only tables KNA1, KNB1 and BSEC

  • 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 FB398 - Select only tables KNA1, KNB1 and BSEC ?

    The SAP error message FB398, which states "Select only tables KNA1, KNB1 and BSEC," typically occurs when you are trying to execute a transaction or report that involves financial data, and the system is enforcing a restriction on the tables that can be accessed or modified in that context.

    Cause:

    This error is usually triggered when:

    1. You are attempting to access or manipulate data from tables other than KNA1 (General Data in Customer Master), KNB1 (Customer Master Company Code Data), and BSEC (Document Segment: Accounting Document) in a transaction that is specifically designed to work with these tables.
    2. The transaction or report you are using has been programmed to only allow these specific tables for data integrity and consistency reasons.

    Solution:

    To resolve this error, consider the following steps:

    1. Check Your Query/Transaction: Ensure that you are only selecting or working with the specified tables (KNA1, KNB1, and BSEC). If you are using a custom report or query, modify it to restrict the selection to these tables.

    2. Review Custom Code: If you are using custom ABAP code, check the logic to ensure that it adheres to the restrictions imposed by the system. You may need to adjust the code to only reference the allowed tables.

    3. Consult Documentation: Review the documentation for the transaction or report you are using to understand its limitations and requirements.

    4. Contact Support: If you are unsure why you are encountering this error or if you believe it is occurring inappropriately, consider reaching out to your SAP support team or consulting SAP Notes for any known issues or patches related to this error.

    Related Information:

    • Transaction Codes: This error may occur in various financial transaction codes, such as FB01 (Post Document), FB50 (G/L Account Document), etc.
    • SAP Notes: Check SAP Notes for any updates or patches that may address this issue. You can search for FB398 in the SAP Support Portal.
    • Data Integrity: The restriction to these tables is likely in place to maintain data integrity within the financial modules of SAP.

    By following these steps, you should be able to identify the cause of the error and implement a solution to resolve it.

    • 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