Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix F5804 - Internal document no.in G/L acct table not in document header table


F5804 - Overview

  • Message type: E = Error

  • Message class: F5 - Document Editing

  • Message number: 804

  • Message text: Internal document no.in G/L acct table not in document header table

  • Show details Hide details
  • What causes this issue?

    While scanning the FI interface table for G/L accounts, the system
    found (in an item) an internal document number which is not in the
    document header.

    System Response

    Data cannot be processed.

    How to fix this error?

    This is a system error in the calling application.

    Error message extract from SAP system. Copyright SAP SE.


F5804 - Details

  • The SAP error message F5804, which states "Internal document no. in G/L acct table not in document header table," typically occurs when there is a mismatch between the General Ledger (G/L) account entries and the document header entries in the SAP system. This can happen due to various reasons, such as data inconsistencies, incomplete postings, or issues during data migration.
    Causes:
    
    Data Inconsistency: The internal document number exists in the G/L account table (e.g., BSEG) but does not have a corresponding entry in the document header table (e.g., BKPF).
    Incomplete Postings: A transaction may have been partially posted, leading to missing entries in the document header.
    Data Migration Issues: If data was migrated from another system, there may have been errors in the migration process that resulted in missing or inconsistent data.
    Database Corruption: In rare cases, database corruption can lead to missing entries.
    
    Solutions:
    
    Check Document Existence: Use transaction codes like SE16 or SE11 to check

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


F5804 - Related SAP Errors

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