Skip to Content
0
Former Member
Oct 23, 2007 at 02:00 PM

Partner Redetermination using Order_SAVE Badi

37 Views

Hi All,

working on CRM 5.0 For Utility customer.My Requirement is

First time when Bill Account is entered system automatically finding the customer for the BA, this is done through Configuration.once the BA is changed before save, for the second time also its should populate the corresponding customer for the changed BA.

i am trying to achieve this using ORDER_SAVE badi.

and i am using FM CRM_PARTNER_DETERMINATION_OW in the Badi method.

My issue is this FM is not re-determining .

here is code .

CALL FUNCTION 'CRM_PARTNER_DETERMINATION_OW'

EXPORTING

iv_ref_guid = iv_guid " Tnx GUID

iv_ref_kind = 'A'

iv_point_of_determ = 2

IS_PARTNER_CONTROL = ls_IS_PARTNER_CONTROL

IV_PARTNER_FCT_ONLY = '00000001' " Partner Function

IMPORTING

ET_PARTNER_COM = lT_PARTNER_COM

ET_INPUT_FIELDS = ls_IT_INPUT_FIELDS

Import parameter is 'EMPTY'. only if i get values in the Import parameter 'IT_PARTNER_CONTROL' i can pass this to FM ' CRM_ORDER_MAINTAIN' to chnage the TNX.

i also tried this FM in 'COM_PARTNER_BADI' its not Re determining partners.

Have any one Tried Partner Re-Determination Using this FM?.

Please Help me on this issue.

Thanks,

vels