on 12-23-2010 9:56 AM
Hi Experts,
we are using the Interaction Record in the IC Scenario (SAP CRM 7.0). As we only can use one transaction type to fulfill so that the IC Agents can fullfill their daily work we need to call different kind of partner determination procedures depending on the field Conc-Key ubicated in Context Node BTSUBJETF.
Example:
If Value of Field Conc-Key is '1' the partner determination procedure Z0000001 should be called.
If Value of Field Conc-Key is '2' the partner determination procedure Z0000002 should be called.
Any ideas where to start?
Best Regards
Oliver
Hi Oliver,
Where exactly do you want to call the partner determination?
Is it in some event handler? if yes, then you can use the following code template:
DATA : lr_current TYPE REF TO if_bol_bo_property_access,
lv_value type string.
lr_current ?= typed_context->BTSUBJETF->collection_wrapper->get_current( ).
lv_value = lr_current->get_property_as_string( iv_attr_name = 'CONC_KEY' ).
"Logic for PDP
if lv_value = '1'
call PDP Z0000001
else call PDP Z0000002
Regards,
Nisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nisha,
yes it must be in some event-handler because everything I am changing the value it is doing 'something behind'. Do you know how I can find the eventhandler or method where to change the coding? Can I use a trace or do I have to look into the transaction SWO1 to find the avaible events of the Interaction Record (Business Activity)?
Hi Oliver,
PDP has access seq. maintained for each partner func. inside it. This access seq. inform system which partners to look for depending on source partner. PDP is triggered only Once and when the document of particular transaction type is created . Hence I don't think we can call PDP dynamically and have them executed depending on some value conditions...this is my personal opinion.
I think in your scenario, You must add the partners programatically on your value condition. However, in this case, You will need to have your partner data with you..i mean system will not find a partner on it own as defined in PDP.
I would be very much interested to know if we can achieve PDP functionality dynmically..so keep posted if you succeed in that approach
Wish you all the best.
Regards,
Suchita
Hi Oliver,
PDP has access seq. maintained for each partner func. inside it. This access seq. inform system which partners to look for depending on source partner. PDP is triggered only Once and when the document of particular transaction type is created . Hence I don't think we can call PDP dynamically and have them executed depending on some value conditions...this is my personal opinion.
I think in your scenario, You must add the partners programatically on your value condition. However, in this case, You will need to have your partner data with you..i mean system will not find a partner on it own as defined in PDP.
I would be very much interested to know if we can achieve PDP functionality dynmically..so keep posted if you succeed in that approach
Wish you all the best.
Regards,
Suchita
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.