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


SAP Error Message - Details

  • 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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message F5804 - Internal document no.in G/L acct table not in document header table ?
    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.


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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker