How To Fix FB027 - Session & header record &: head.rec.does not contain a G/L acct no.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FB - Batch Programs

  • Message number: 027

  • Message text: Session & header record &: head.rec.does not contain a G/L acct no.

  • 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 FB027 - Session & header record &: head.rec.does not contain a G/L acct no. ?

    The SAP error message FB027 ("Session & header record &: head.rec.does not contain a G/L acct no.") typically occurs during the processing of a batch input session for financial transactions, particularly when using transaction codes like FB01 (Post Document) or FB50 (Enter G/L Account Document). This error indicates that the header record of the session does not contain a valid General Ledger (G/L) account number, which is essential for posting financial documents.

    Cause:

    1. Missing G/L Account Number: The header record of the session is expected to contain a G/L account number, but it is either missing or incorrectly formatted.
    2. Incorrect Session Data: The data being uploaded may not be structured correctly, leading to the absence of the required G/L account number.
    3. Data Mapping Issues: If you are using a custom program or a third-party tool to create the session, there may be issues with how the data is being mapped to the session fields.
    4. Incorrect Configuration: The configuration settings for the batch input session may not be set up correctly, leading to missing mandatory fields.

    Solution:

    1. Check the Input Data: Review the data file or input data being used to create the session. Ensure that the G/L account number is present in the header record.
    2. Correct Mapping: If you are using a custom program or tool, verify that the mapping of fields is correct and that the G/L account number is being populated in the header record.
    3. Review Session Logs: Check the session logs for any additional error messages or warnings that may provide more context about the issue.
    4. Manual Entry: If the batch input session is not critical, consider entering the data manually to bypass the error temporarily.
    5. Consult Documentation: Refer to SAP documentation or help resources for specific details on the required format and structure of the input data for the transaction you are using.
    6. Test with Sample Data: Create a test session with a small set of data that includes a valid G/L account number to see if the error persists.

    Related Information:

    • Transaction Codes: FB01, FB50, and other related financial posting transactions.
    • Batch Input Sessions: Understanding how batch input sessions work in SAP and the required structure for header and item records.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • User Authorization: Ensure that the user executing the transaction has the necessary authorizations to post to the specified G/L accounts.

    If the issue persists after checking the above points, it may be beneficial to consult with your SAP support team or a technical consultant who can analyze the session data and provide 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
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