cancel
Showing results for 
Search instead for 
Did you mean: 

replace a partner with another one when the user changes the category

Former Member
0 Kudos

Hi! All,

I have a unique requirement to replace a partner with another one when the user changes the category of the service order.

Please suggest a FM that will be appropriate for this functionality. I've tried to use FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'. It didn't work. Instead of replacing it, it is adding a new partner with same partner function.

Or may be there is a way to delete it.

Please provide your suggetions how can I proceed further.

Thanks and regards,

Nazli

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

if you only need to update the partner check function module CRM_ORDER_MAINTAIN

also have a look at [https://wiki.sdn.sap.com/wiki/display/Snippets/CRM-Headerpartnervalueupdatethrough+code]

Regards

Claudia

Former Member
0 Kudos

Hi,

I can't use CRM_ORDER_MAINTAIN, when i used it, it ends with a short dump, (recursive call).

I tried to use your code. But I got a short dump again. (recursive call).

Actually all i need is, change the partner number.

thanks