Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
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.
The ship-to partner on the document was changed while there is a
restriction in force with reference to a contract.
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 inRemove your entry and restore the original value as specified in the
contract.
Error message extract from SAP system. Copyright SAP SE.
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:
- 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.
- 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.
- Sales Document Configuration: The sales document type or item category may have specific settings that enforce these restrictions.
Solution:
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.
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.
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.
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.
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:
VA02
(Change Sales Order) or VA03
(Display Sales Order) to view and modify sales orders.BP
(Business Partner) to maintain ship-to party details.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.
Get instant SAP help. Sign up for our Free Essentials Plan.
O5152
Unable to delete - alternative ship-to partners exist in table OIDMP.
What causes this issue? It is not possible to delete the last ship-to partner if alternative ship-to partners exist in table OIDMP.System Response T...
O5151
This customer number is already defined as an alternative ship-to partner
What causes this issue? This customer number exists as an alternative ship-to partner in table OIDMP. The system issues an error message and will not...
O5154
Error reading table VBPA using Key & & &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
O5155
Customer & is not 'SP' or 'SH' in sales area & & &
What causes this issue? The customer entered is not defined as a sold-to or ship-to party in the sales area specified.System Response The customer m...
Click on this link to search all SAP messages.