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

Close

How To Fix O5153 - Ship-to partner is restricted to the values given in the contract.


SAP Error Message - Details

  • Message type: E = Error

  • Message class: O5 - IS-Oil: MCOE message pool

  • Message number: 153

  • Message text: Ship-to partner is restricted to the values given in the contract.

  • Show details Hide details
  • What causes this issue?

    The ship-to partner on the document was changed while there is a
    restriction in force with reference to a contract.

    System Response

    On a sales document header: the system will not accept a value other
    than the original one specified in the contract (or in table OIDMP for
    that contract number - if multiple ship-to partners are specified).

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

    On a sales document item: the possible values include the ones valid in
    the header, but also includes any line item specific to the ship-to
    partner given in the referencing contract line item.

    How to fix this error?

    Remove your entry and restore the original value as specified in the
    contract.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message O5153 - Ship-to partner is restricted to the values given in the contract. ?

    The SAP error message O5153, which states "Ship-to partner is restricted to the values given in the contract," typically occurs in the context of sales and distribution processes when there are restrictions on the ship-to party defined in a sales contract. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause:

    1. Contract Restrictions: The ship-to party specified in the sales order or delivery does not match the allowed ship-to parties defined in the associated sales contract. This is often due to contractual agreements that limit where goods can be shipped.
    2. Master Data Issues: The ship-to party may not be correctly set up in the master data, or it may not be linked to the contract.
    3. Sales Document Configuration: The sales document type or item category may have specific settings that enforce these restrictions.

    Solution:

    1. Check the Sales Contract: Review the sales contract associated with the sales order. Ensure that the ship-to party you are trying to use is included in the list of allowed ship-to parties.

      • Navigate to the contract in SAP and check the "Ship-to" tab or section to see the allowed partners.
    2. Modify the Sales Order: If the ship-to party is not allowed, you may need to change the ship-to party in the sales order to one that is permitted under the contract.

      • You can do this by editing the sales order and selecting a valid ship-to partner.
    3. Update Master Data: If the ship-to partner needs to be added to the contract, you may need to update the contract to include the new ship-to partner.

      • This may require appropriate permissions and should be done in accordance with your organization's policies.
    4. Consult with Contract Management: If you are unsure about the restrictions or need to make changes to the contract, consult with the team responsible for contract management or sales operations.

    5. Review Configuration Settings: If this issue occurs frequently, it may be worth reviewing the configuration settings for sales documents and item categories to ensure they align with business requirements.

    Related Information:

    • Transaction Codes: You may use transaction codes like VA02 (Change Sales Order) or VA03 (Display Sales Order) to view and modify sales orders.
    • Master Data Maintenance: Use transaction codes like BP (Business Partner) to maintain ship-to party details.
    • Documentation: Refer to SAP documentation or your organization's internal guidelines for managing sales contracts and partner data.
    • User Roles and Permissions: Ensure that you have the necessary permissions to make changes to contracts and sales orders.

    If the issue persists after following these steps, it may be beneficial to involve your SAP support team or consult SAP Notes for any known issues or patches related to this error message.

    • 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
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