How To Fix V5058 - The validity of the item is outside that of the header ->


SAP Error Message - Details

  • Message type: E = Error

  • Message class: V5 - Contract processing

  • Message number: 058

  • Message text: The validity of the item is outside that of the header ->

  • Show details Hide details
  • What causes this issue?

    You have changed the contract start or end dates at header level.

    System Response

    The contract start or end dates for item &V1& are beyond the validity
    specified in the header.

    How to fix this error?

    Please check your entry.

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message V5058 - The validity of the item is outside that of the header -> ?

    The SAP error message V5058, "The validity of the item is outside that of the header," typically occurs in the context of sales documents, such as sales orders or quotations. This error indicates that the validity period of one or more line items (items in the order) does not align with the validity period of the header (the overall document).

    Cause:

    1. Validity Dates Mismatch: Each item in a sales document can have its own validity dates (start and end dates). If the validity dates of an item fall outside the validity dates of the header, this error will be triggered.
    2. Document Type Settings: The document type settings may impose certain validity constraints that are not being met by the items.
    3. Manual Entry Errors: If items are manually entered or modified, it’s possible that the validity dates were incorrectly set.

    Solution:

    1. Check Validity Dates: Review the validity dates of both the header and the line items. Ensure that the validity period of each item falls within the validity period of the header.

      • Go to the sales order or quotation and check the header validity dates.
      • Check each line item for its validity dates.
    2. Adjust Dates: If you find that the item validity dates are incorrect, adjust them to ensure they fall within the header's validity period.

      • You can do this by editing the line item in the sales document and updating the validity dates accordingly.
    3. Review Document Type Configuration: If the issue persists, check the configuration of the document type in the SAP system to ensure that it allows for the intended validity periods.

      • This may require access to the configuration settings in the SAP system (transaction code SPRO).
    4. Consult with SAP Support: If you are unable to resolve the issue through the above steps, consider reaching out to your SAP support team or consulting SAP documentation for further assistance.

    Related Information:

    • Transaction Codes: You may use transaction codes like VA01 (Create Sales Order), VA02 (Change Sales Order), and VA03 (Display Sales Order) to access and modify sales documents.
    • SAP Notes: Check for any relevant SAP Notes that may address this specific error or provide additional troubleshooting steps.
    • User Documentation: Refer to SAP user manuals or help documentation for more detailed guidance on managing sales documents and their validity periods.

    By following these steps, you should be able to identify and resolve the cause of the V5058 error in your SAP system.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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