How To Fix FB042 - No G/L account was selected


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FB - Batch Programs

  • Message number: 042

  • Message text: No G/L account was selected

  • 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 FB042 - No G/L account was selected ?

    The SAP error message FB042 ("No G/L account was selected") typically occurs when you are trying to post a financial transaction in SAP, but the system cannot find a valid General Ledger (G/L) account for the transaction. This can happen in various scenarios, such as during the posting of invoices, payments, or journal entries.

    Causes of FB042 Error

    1. Missing G/L Account: The G/L account you are trying to use may not be defined in the system or may not be available for the specific transaction type.

    2. Account Group Settings: The account group associated with the G/L account may not allow postings for the type of transaction you are attempting.

    3. Transaction Type Restrictions: Certain transaction types may have restrictions on which G/L accounts can be used.

    4. Company Code Issues: The G/L account may not be assigned to the company code you are working with.

    5. Inactive G/L Account: The G/L account may be inactive or blocked for postings.

    6. Missing Master Data: The necessary master data for the G/L account may not be set up correctly.

    Solutions to FB042 Error

    1. Check G/L Account: Verify that the G/L account you are trying to use exists in the system. You can do this by navigating to the G/L account master data (transaction code FS00) and checking its status.

    2. Review Account Group Settings: Ensure that the account group associated with the G/L account allows postings for the type of transaction you are attempting.

    3. Verify Transaction Type: Check if the transaction type you are using is compatible with the G/L account. You may need to consult your financial configuration settings.

    4. Company Code Assignment: Make sure that the G/L account is assigned to the correct company code. You can check this in the G/L account master data.

    5. Activate G/L Account: If the G/L account is inactive, you may need to activate it or change its status to allow postings.

    6. Check Master Data: Ensure that all necessary master data related to the G/L account is correctly set up and complete.

    7. Consult with Finance Team: If you are unsure about the correct G/L account to use, consult with your finance or accounting team for guidance.

    Related Information

    • Transaction Codes:

      • FS00: G/L Account Master Data
      • FB50: G/L Account Document Entry
      • FBL3N: G/L Account Line Item Display
    • SAP Notes: Check SAP Notes for any specific issues or patches related to the FB042 error.

    • Documentation: Review SAP documentation or help files for more detailed information on G/L account postings and configurations.

    By following these steps, you should be able to identify the cause of the FB042 error and implement the necessary solutions 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
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author