Skip to Content
0
Former Member
Apr 20, 2011 at 05:13 PM

Replace an existing Ship-To with another!

39 Views

Hi Experts,

We have a requirement in CRM E-Commerce Webshop, where if a user selects a ship-to-party other than Sold-to-Party, we need to default it back to Sold-To-Party.

To Acheive this, coding has been done in 'ORDER_SAVE' badi where in the we are adding the correct ship-to-party first and then deleting the worng sold-to-party in 2 CRM_ORDER_MAINTAIN calls.

When this piece of code is triggered, the bdoc goes into error stating the following message

'You cannot delete partner function Ship-to party (mandatory function in Standard order-procedTA)'...

Any pointers or suggestions in this regard would be of great help!

Regards,

Chaitanya.