How To Fix GJ877 - Document Type & Does not Allow Customer Lines or G/L Lines.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GJ - Joint Venture Accounting

  • Message number: 877

  • Message text: Document Type & Does not Allow Customer Lines or G/L Lines.

  • Show details Hide details
  • What causes this issue?

    Cutback tries to create postings with customer lines and with G/L
    lines.
    The document type &V1& which is selected for the company code &V2&, JV
    function &V3&, and posting method &V4& does not allow customer or
    G/L lines.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    <DS:TRAN.OBA7>Maintain</> the document type.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GJ877 - Document Type & Does not Allow Customer Lines or G/L Lines. ?

    The SAP error message GJ877 ("Document Type & does not allow Customer Lines or G/L Lines") typically occurs when you are trying to post a document (such as an invoice or a journal entry) that includes customer line items or general ledger (G/L) line items, but the document type you are using does not permit these types of entries.

    Cause:

    1. Document Type Configuration: The document type you are using is configured in such a way that it does not allow customer or G/L line items. This is often a result of settings in the configuration of the document type in the SAP system.
    2. Transaction Type Restrictions: Certain transaction types are restricted from including customer or G/L lines based on business rules or specific configurations.
    3. Incorrect Document Type Selection: The user may have selected an incorrect document type that is not intended for the type of transaction being processed.

    Solution:

    1. Check Document Type Configuration:

      • Go to the SAP Customizing Implementation Guide (IMG) by using transaction code SPRO.
      • Navigate to Financial Accounting (New) > Financial Accounting Global Settings (New) > Document > Document Types > Define Document Types.
      • Find the document type that is causing the error and check its settings. Ensure that it is configured to allow customer lines or G/L lines if that is necessary for your transaction.
    2. Use the Correct Document Type:

      • If the document type is not meant to allow customer or G/L lines, you may need to select a different document type that is appropriate for your transaction.
    3. Consult with Your SAP Administrator:

      • If you are unsure about the configuration or which document type to use, consult with your SAP administrator or a functional consultant who can provide guidance based on your organization's specific requirements.
    4. Review Transaction Type:

      • Ensure that the transaction type you are using is appropriate for the type of entries you are trying to post. Some transaction types may have restrictions on the types of line items they can include.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or additional guidance related to this error message.
    • Documentation: Review SAP documentation related to document types and their configurations to understand the implications of different settings.
    • Testing: If changes are made to the document type configuration, it is advisable to test the changes in a development or quality assurance environment before applying them to the production system.

    By following these steps, you should be able to resolve the GJ877 error and successfully post your document in SAP.

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