How To Fix O5152 - Unable to delete - alternative ship-to partners exist in table OIDMP.


O5152 - Overview

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

  • Show details Hide details
  • 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

    The ship-to partner has not been deleted.

    How to fix this error?

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

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

    Already have an account? Login here!




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


O5152 - Related SAP Errors

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