Do you have any question about this error?
Message type: E = Error
Message class: O5 - IS-Oil: MCOE message pool
Message number: 152
Message text: Unable to delete - alternative ship-to partners exist in table OIDMP.
It is not possible to delete the last ship-to partner if alternative
ship-to partners exist in table OIDMP.
The ship-to partner has not been deleted.
Choose the <ZK>Ship-to partnrs</> pushbutton (or edit table OIDMP using
transaction O5G2) and remove the alternative ship-to partner entries in
this table for the current document and item number.
Error message extract from SAP system. Copyright SAP SE.
O5152
- Unable to delete - alternative ship-to partners exist in table OIDMP. ?The SAP error message O5152 "Unable to delete - alternative ship-to partners exist in table OIDMP" typically occurs when you attempt to delete a ship-to party (customer) that is still associated with other records in the system, specifically in the OIDMP table, which stores alternative ship-to partners.
Cause:
The error arises because the ship-to partner you are trying to delete has alternative ship-to addresses linked to it. SAP prevents the deletion to maintain data integrity, as there are dependencies that need to be resolved first.
Solution:
To resolve this error, you can follow these steps:
Check for Alternative Ship-To Partners:
- Use transaction code
SE16
orSE16N
to access the OIDMP table.- Search for the ship-to partner you are trying to delete to see if there are any alternative ship-to partners associated with it.
Remove Alternative Ship-To Partners:
- If you find alternative ship-to partners linked to the ship-to party, you will need to remove or update these associations before you can delete the original ship-to partner.
- You can do this by navigating to the relevant customer master data in transaction
XD02
(Change Customer) orVD02
(Change Customer - Sales Area) and removing the alternative ship-to partners.Delete the Ship-To Partner:
- Once all alternative ship-to partners have been removed, you can attempt to delete the original ship-to partner again.
Check for Other Dependencies:
- If the issue persists, ensure that there are no other dependencies or references to the ship-to partner in other tables or transactions.
Related Information:
XD02
/ VD02
: Change CustomerSE16
/ SE16N
: Data Browser for table accessOIDMP
: Table for alternative ship-to partnersGet instant SAP help. Start your 7-day free trial now.
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...
O5150
Save this contract before specifying multiple ship-to partners.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
O5153
Ship-to partner is restricted to the values given in the contract.
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 Res...
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...
Click on this link to search all SAP messages.