Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix VL158 - Delivery does not allow the required change


SAP Error Message - Details

  • Message type: E = Error

  • Message class: VL -

  • Message number: 158

  • Message text: Delivery does not allow the required change

  • Show details Hide details
  • What causes this issue?

    As the quantity of the inbound delivery was being checked against the
    corresponding <DS:GLOS.purchase_order>purchase order</>, one of the
    following errors occurred:
    The purchase orders could not be found
    An invalid purchase order was entered
    Confirmation is not possible
    The conversion is not allowed

    How to fix this error?

    Check the possible error sources.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message VL158 - Delivery does not allow the required change ?

    The SAP error message VL158 ("Delivery does not allow the required change") typically occurs when you attempt to make changes to a delivery document that are not permitted due to the current status of the delivery or the nature of the changes being made. This can happen in various scenarios, such as when trying to change the delivery quantity, shipping point, or other critical fields after the delivery has been processed or confirmed.

    Causes:

    1. Delivery Status: The delivery may be in a status that does not allow changes (e.g., it has been fully picked, packed, or shipped).
    2. Document Flow: If the delivery is linked to subsequent documents (like billing documents), changes may be restricted.
    3. Custom Settings: Custom configurations in the SAP system may restrict certain changes based on business rules.
    4. Incomplete Data: Required fields may not be filled out correctly, leading to restrictions on changes.

    Solutions:

    1. Check Delivery Status: Review the status of the delivery. If it is already completed or has been processed, you may need to reverse or cancel the delivery before making changes.
    2. Use Change Delivery Functionality: If the delivery is still editable, use the appropriate transaction (e.g., VL02N) to make changes. Ensure you are following the correct process for the type of change you want to make.
    3. Review Document Flow: Check if there are any subsequent documents that are preventing changes. If there are, you may need to reverse or adjust those documents first.
    4. Consult with Configuration Team: If the issue persists, consult with your SAP configuration team to understand if there are any custom settings that are causing the restriction.
    5. Error Logs: Check the error logs for more detailed information about why the change is not allowed. This can provide insights into specific fields or conditions that are causing the issue.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as VL02N (Change Outbound Delivery), VL03N (Display Outbound Delivery), and VL01N (Create Outbound Delivery).
    • SAP Notes: Search for SAP Notes related to VL158 for any known issues or patches that may address the problem.
    • User Authorization: Ensure that you have the necessary authorizations to make changes to the delivery document.
    • Training and Documentation: Review SAP training materials or documentation related to delivery processing to understand the limitations and processes involved.

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

    • 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