How To Fix FZ339 - Document number & & already assigned (incorrect status in no.range &)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FZ - Payment Transactions

  • Message number: 339

  • Message text: Document number & & already assigned (incorrect status in no.range &)

  • Show details Hide details
  • What causes this issue?

    The number range from which the document numbers are to be assigned
    displays an already existing document number as the next document
    number to be assigned. This combination results from incorrect changes
    to the number ranges.

    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?

    Contact your system administrator to correct number range &V3& in
    company code &V2&. Then, restart the payment run with <LS>Edit ->
    Payment -> After termination -> Continue</>. The remaining payment
    documents are now created.
    <ZH>Procedure for the system administrator</>
    Determine the next free document number in number range &V3& for
    company code &V2&. Use the <LS>List</> function for the document
    display. For the list, predefine the company code, the fiscal year and
    a document number interval. Use document number &V1& as the lower
    limit, and the highest allowed document number in the number range as
    the upper limit. If you add 1 to the highest document number which is
    shown in the list, you get the next free document number.
    <DS:TRAN.FB03>Proceed</>
    Then maintain the number range with the <LS>Change status</> function.
    <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 FZ339 - Document number & & already assigned (incorrect status in no.range &) ?

    The SAP error message FZ339 indicates that a document number has already been assigned in the specified number range, but the document is in an incorrect status. This typically occurs in the context of financial transactions, such as when dealing with document postings in SAP.

    Cause:

    1. Document Already Assigned: The document number you are trying to use has already been assigned to another transaction or document.
    2. Incorrect Status: The document may be in a status that does not allow for further processing or posting. This can happen if the document is in a state that is not compatible with the action you are trying to perform.
    3. Number Range Configuration: There may be issues with the configuration of the number range, such as gaps or overlaps in the number range settings.
    4. Document Type Restrictions: Certain document types may have restrictions on how they can be processed or posted, leading to this error.

    Solution:

    1. Check Document Status: Verify the status of the document number in question. You can do this by using transaction codes like FB03 (Display Document) to see if the document is already posted or in a blocked status.
    2. Use a Different Document Number: If the document number is already assigned, consider using a different number that is available in the number range.
    3. Review Number Range Configuration: Check the configuration of the number range for the document type you are working with. You can do this using transaction code SNRO (Number Range Objects) to ensure that the number range is correctly set up and that there are no gaps or overlaps.
    4. Consult with SAP Basis or Configuration Team: If you suspect that the issue is related to number range configuration or document type settings, consult with your SAP Basis or configuration team to review the settings and make necessary adjustments.
    5. Check for Authorizations: Ensure that you have the necessary authorizations to post or process the document in question.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as FB03 (Display Document), SNRO (Number Range Objects), and others that may help in diagnosing the issue.
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message. SAP frequently updates its knowledge base with solutions to common problems.
    • Documentation: Review SAP documentation related to document management and number range configuration for a deeper understanding of how these elements interact.

    If the problem persists after trying the above solutions, it may be beneficial to reach out to SAP support for further assistance.

    • 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