How To Fix FZ340 - In company code &, document number range & is missing for &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FZ - Payment Transactions

  • Message number: 340

  • Message text: In company code &, document number range & is missing for &

  • Show details Hide details
  • What causes this issue?

    The number range from which the document numbers are to be assigned has
    not been created.

    System Response

    The payment document cannot be created. Since further documents can no
    longer be created with the same document type, this error results in
    the termination of the program.

    How to fix this error?

    Ask your system administrator to create the missing number range. If,
    in the payment run, documents have already been created for other
    number ranges, restart the payment run by choosing: <LS>Edit ->
    Payments -> After termination -> Draw up again</>. The remaining
    documents are now posted.
    If no documents have yet been posted, delete the payment run by
    choosing <LS>Edit - > Payment -> Delete output</>. Now reschedule the
    payment run.
    <ZH>Procedure for the system administrator</>
    Create number range &V2& for company code &V1& and fiscal year &V3&.
    <DS:TRAN.FBN1>Proceed</>

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FZ340 - In company code &, document number range & is missing for & ?

    The SAP error message FZ340 indicates that there is a missing document number range for a specific company code and document type. This error typically occurs when you attempt to post a financial document, but the system cannot find a valid number range for the specified parameters.

    Cause:

    1. Missing Number Range: The primary cause of this error is that the number range for the specified document type in the given company code has not been defined or has been deleted.
    2. Incorrect Configuration: The configuration for the document type or company code may not be set up correctly.
    3. Number Range Interval Not Assigned: The number range interval may not be assigned to the document type for the company code.

    Solution:

    To resolve the FZ340 error, follow these steps:

    1. Check Number Range Configuration:

      • Go to the transaction code SNRO (Number Range Objects).
      • Enter the object name related to the document type you are trying to post (e.g., F_BKPF for accounting documents).
      • Check if the number range intervals are defined for the relevant company code and document type.
    2. Define Number Ranges:

      • If the number range is missing, you can define it using transaction code OBA7 (for financial accounting).
      • Select the appropriate company code and document type, and create a new number range interval if necessary.
    3. Assign Number Range to Document Type:

      • Use transaction code OBA1 to assign the number range to the document type for the specific company code.
      • Ensure that the number range is active and properly configured.
    4. Check for Authorizations:

      • Ensure that you have the necessary authorizations to create or modify number ranges.
    5. Test the Configuration:

      • After making the necessary changes, try posting the document again to see if the error persists.

    Related Information:

    • Transaction Codes:
      • SNRO: Number Range Objects
      • OBA1: Document Type Configuration
      • OBA7: Number Range Maintenance
    • Documentation: Refer to SAP Help documentation for detailed steps on configuring number ranges and document types.
    • Support: If you are unable to resolve the issue, consider reaching out to your SAP support team or consulting the SAP community for further assistance.

    By following these steps, you should be able to resolve the FZ340 error and successfully post your financial documents.

    • 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