How To Fix KD517 - CO document: The last document number was assigned for bus. transaction &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: KD - CO Settlement

  • Message number: 517

  • Message text: CO document: The last document number was assigned for bus. transaction &

  • Show details Hide details
  • What causes this issue?

    The last cost accounting document number was allocated in this
    settlement.

    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?

    Reset document number range &V1&.
    Extend document number range &V1&.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message KD517 - CO document: The last document number was assigned for bus. transaction & ?

    The SAP error message KD517 indicates that the last document number has been assigned for a business transaction in the Controlling (CO) module. This typically occurs when the number range for a specific document type has been exhausted, meaning that all available document numbers have been used up.

    Cause:

    1. Exhausted Number Range: The most common cause of this error is that the number range for the specific business transaction (e.g., internal orders, cost centers, etc.) has been fully utilized.
    2. Configuration Issues: There may be a misconfiguration in the number range settings for the relevant document type.
    3. System Settings: The system may not be set up to allow for automatic number assignment or may have restrictions on the number range.

    Solution:

    1. Check Number Range Configuration:

      • Go to the transaction code SNRO (Number Range Objects).
      • Find the relevant number range object for the business transaction that is causing the error (e.g., CO document types).
      • Check the current status of the number range and see if it has been exhausted.
    2. Extend the Number Range:

      • If the number range is exhausted, you can extend it by adding more numbers.
      • This can be done in the transaction code OANR (for internal orders) or OKN1 (for cost centers), depending on the specific document type.
      • Ensure that you have the necessary authorizations to make changes to number ranges.
    3. Adjust Number Range Settings:

      • If the number range is set to a limited size, consider adjusting the settings to allow for a larger range.
      • Ensure that the number range is set to "external" if you want to manually assign numbers or "internal" for automatic assignment.
    4. Check for Document Deletion:

      • If applicable, check if there are any documents that can be deleted to free up numbers in the range.
    5. Consult with SAP Basis or Functional Team:

      • If you are unsure about making changes to the number range, consult with your SAP Basis or functional team for assistance.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as SNRO, OANR, OKN1, and others related to number range management.
    • Documentation: Refer to SAP documentation or help files for detailed instructions on managing number ranges in the CO module.
    • User Authorizations: Ensure that you have the necessary authorizations to view and modify number range settings.

    By following these steps, you should be able to resolve the KD517 error and continue processing your CO 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
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