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

Close

How To Fix GI166 - Document header had errors in company code &, transaction &


GI166 - Overview

  • Message type: E = Error

  • Message class: GI - FI-SL update

  • Message number: 166

  • Message text: Document header had errors in company code &, transaction &

  • Show details Hide details
  • What causes this issue?

    The document header contained errors. However, processing was continued
    and the entire document (from the accessing application) was
    transferred for the check/update.

    System Response

    Posting is terminated.

    How to fix this error?

    This problem indicates a program error. Contact the SAP Hotline.

    Error message extract from SAP system. Copyright SAP SE.


GI166 - Details

  • The SAP error message GI166, which states "Document header had errors in company code &, transaction &," typically indicates that there are issues with the document header in a financial transaction. This error can occur in various SAP modules, particularly in Financial Accounting (FI) and Controlling (CO), when trying to post a document.
    Causes:
    
    Missing or Incorrect Data: The document header may be missing required fields or contain incorrect data, such as an invalid company code, transaction type, or posting date.
    
    Configuration Issues: There may be configuration issues in the company code settings, such as missing account assignments or incorrect settings for the transaction type. Authorization Issues: The user may not have the necessary authorizations to post the document in the specified company code or transaction. Document Type Restrictions: The document type being used may not be allowed for the specified company code or transaction. Currency Issues: If the document involves multiple currencies, there may be

    Already have an account? Login here!




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


GI166 - Related SAP Errors

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