cancel
Showing results for 
Search instead for 
Did you mean: 

Define Partner Determination Procedure With Filter?

Former Member
0 Kudos

Hello in SPRO you can define the partner determination procedure:

SPRO->CRM->Basic Functions->Partner Processing->Define Partner Determination Procedure

Here you can define a partner for instance for our sales team in the opportunities module I have defined some partners

and then I can go to partner functions in procedure and give the access sequence such as 1000 preceding document or 0008 Preceding Document->User.

But my question is, is it possible to have a partner appear based on the Opportunity expected value or other fields within the opportunity? For instance, I want our Vice President to be included in the assignment block of Partners "Sales Teams" if the value of the opportunity is greater then a certain amount of money.

So has anyone ever created partner determination members based on values of say the opportunity module?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You need to

1) Choose an access sequence that has source COM_PARTNER_X (i.e.. Business addin1)

2) Implement COM_PARTNER_BADI for this.

3) Within Method: DETERMINATION_ADD_IN_1, you need to put your logic.

Hope this helps.

Regds,

Raghu

Former Member
0 Kudos

Where do I select this acces sequence. Can you give more info

robert_kunstelj
Active Contributor
0 Kudos

- You define badi under SPRO>CRM>Basic Functions>Partner Processing>Business add-in for partner

- Next you access sequence under SPRO>CRM>Basic Functions>Partner Processing>Define access sequences. There you select option for step as source COM_PARTNER_X for business addind 1. If you will implement logic in badi 2 or 3 then use COM_PARTNER_Y or COM_PARTNER_Z.

- Then you define partner determination procedure and assign acces sequence to coresponding partner function under SPRO>CRM>Basic Functions>Partner Processing>Define Partner Determination Procedure

That is it.

Former Member
0 Kudos

Robert, so this will make it so that when I "Save" an opportunity with an Expected Order Value of say 5 million

it will automatically add the partners in my sales team assignment block ?

Thanks,

Jon

robert_kunstelj
Active Contributor
0 Kudos

You will of course have to write the logic to set partners according to sales volume in that badi. To trigger badi on save event, you will have to set on partner function in determination customazing, that it s triggered on "2 - When saving".

Former Member
0 Kudos

Jon,

Here is an easier approach which you can achieve your requirement thru actions.

1) Create an action "Add Partner" ( activate schedule automatically, processing time: Using selection reprot)

2) Take process type as methodcall.

3) Implement EXEC_METHODCALL_PPF badi. In the method execute, read the opportunity value. You can use CRM_ORDER_READ FM to do so.

4) Compare this value against the threshold value.

5) If step 4 is successful, call an approproiate FM to insert the partner function in the opportunity. CRM_ORDER_MAINTAIN will do. But you can search for a more performance friendly FM.

6) Include the action thus defined in the profile attached to you opportunity transaction type.

7) schedule program RSPPFPROCESS (TCode: CRMC_ACTION_JOB) with a variant in which action definition is the action defined in step 1 AND promotion status is 0 and 2.

Regds,

Raghu

Answers (2)

Answers (2)

Former Member
0 Kudos

The video helped however I had to create an OSS message as this is not working for us.

Former Member
0 Kudos

Jon,

Sorry for my ignorance. SAP CRM 7.0 offers a much much easier way of doing this using Rule policies. I was just browsing thru some stuff and came across this and thought you will be interested in this as well as this answers your question

http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/408d7bf0-32d0-2c10-8680-f880c652cc4f&overrid...

Regds,

raghu