Skip to Content
0
Former Member
Feb 15, 2011 at 09:02 AM

Partner Functions in Follow Up orders

94 Views

Hi,

I have this business scenario where an activity or a lead can be created as a follow-up of a lead.

When an activity is created as follow up, a certain partner function should not be copied.

However, when a lead is created as follow up, that partner function should be copied.

So I created an access sequence in such a way that, the method DETERMINATION_ADD_IN_1 of the BAdI COM_PARTNER_BADI is used, and modified the partner determination procedure accordingly.

Now my implementation of DETERMINATION_ADD_IN_1 get called correctly. But my problem is, the parameters of this method give no information on the lead from which the current activity/lead is being created. If I can get the GUID of the lead for which the current activity/lead is being created, I can get the partner functions using CRM_ORDER_READ.

So, how do I get the GUID/ID of the current lead, for which a follow up is being created?

Thanks,

Rohan.