How To Fix GK840 - Document type &1 not defined in dimension &2 - please check


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GK - Messages for SAP Consolidation

  • Message number: 840

  • Message text: Document type &1 not defined in dimension &2 - please check

  • Show details Hide details
  • What causes this issue?

    You have used a <DS:GLOS.document_type>document type</> which is not
    defined.

    System Response

    Error message

    How to fix this error?

    Define document type &V1& in <DS:GLOS.dimension>dimension</>
    &V2& in Customizing.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GK840 - Document type &1 not defined in dimension &2 - please check ?

    The SAP error message GK840, which states "Document type &1 not defined in dimension &2 - please check," typically occurs in the context of SAP's Financial Accounting (FI) or Controlling (CO) modules, particularly when dealing with document types in the context of dimensions in the system.

    Cause:

    1. Undefined Document Type: The document type specified in the error message (&1) is not defined in the specified dimension (&2). This could happen if the document type was not set up correctly in the system or if it was deleted or modified.
    2. Configuration Issues: There may be a configuration issue in the system where the document type is not linked to the appropriate dimension.
    3. Data Entry Error: The user may have entered an incorrect document type or dimension in the transaction.

    Solution:

    1. Check Document Type Configuration:

      • Go to the configuration settings in SAP (Transaction Code: SPRO).
      • Navigate to the relevant section for document types (e.g., Financial Accounting or Controlling).
      • Verify that the document type (&1) is defined and correctly configured for the specified dimension (&2).
    2. Define Missing Document Type:

      • If the document type is not defined, you may need to create it. This can be done in the configuration settings where document types are managed.
      • Ensure that the document type is assigned to the correct dimension.
    3. Review Transaction Data:

      • Check the transaction or document that triggered the error. Ensure that the document type and dimension are correctly entered.
      • If necessary, correct the entries and try processing the transaction again.
    4. Consult Documentation:

      • Review SAP documentation or help resources for specific guidance on configuring document types and dimensions.
    5. Contact SAP Support:

      • If the issue persists after checking the configuration and entries, consider reaching out to SAP support for further assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SPRO (Customizing), OBA7 (Define Document Types), and others related to your specific module.
    • SAP Notes: Check for any SAP Notes related to this error message, as they may provide additional insights or patches.
    • User Roles and Authorizations: Ensure that the user has the necessary authorizations to access and modify document types and dimensions.

    By following these steps, you should be able to resolve the GK840 error and ensure that the document types are correctly defined in the specified dimensions.

    • 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