I am presently working in a scenario where I need to delete partners of a specific partner function (for eg 'Sold To Party') from the order record. In place of the deleted partners I would add new partners. My questions are as follows:-
1)What particular function module should I use?
2) I need to do this coding from the 'Order_save ' Badi. So can I use 'CRM_MAINTAIN_ORDER' function? I have heard that this function module gives some problem of recursion.
3) Even if I use 'CRM_MAINTAIN_ORDER' how should it be done? I think 'CRM_ORDER_MAINTAIN' can be used for both 'CHANGE' and 'DELETE' .Then how this can be achieved?
4)Is there any other function module other than this? There is a function module called 'CRM_PARTNER_DELETE_OB' but I have not understood its functionality.
I am currently working in SAP CRM. This is very urgent for me. So please help me to get a solution.
Thanks & Regards ,