cancel
Showing results for 
Search instead for 
Did you mean: 

CIC0: change Business partner in our workspace.

Former Member
0 Kudos

Hi everybody.

is it possible to set BP of CIC0 , from some custom workspace?.

Thanks.

Message was edited by: Gustavo Navas Sánchez

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Johnnie

We have an workspace in which we are going to make "patients" in R/3-ISH, and then we´ll copy in CRM, so we want to change the active bussines partners* in CIC0 to the new one - In the case when we don´t have a valid bussines partners -.

So we want to pass to the BP Search component a BP when we "are" proceeding with any businees and don´t end it.

Of-chance could be end bussines and then confirm the new one.

Thanks.

*For us, a patient in ISH have the same number than a Bussines partners in CRM.

Message was edited by: Gustavo Navas Sánchez

Message was edited by: Gustavo Navas Sánchez

Message was edited by: Gustavo Navas Sánchez

Message was edited by: Gustavo Navas Sánchez

Former Member
0 Kudos

Hi Gustavo,

Try the CIC event 'CSEARCH_REQ_CONF'. The BP Search component subscribes to this. You can find example code in Call List in FUNCTION CRM_TM_UI_WSP_INIT_ACTIVITY (and several other places).

FUNCTION CCM_CS_EV_REQUEST_CONFIRMATION processes this event.

Although you need to pass all parameters when raising the event, you can leave P2 at initial value.

Hint: P1 helps set defaults in the Activity.

I hope this can help get you a little closer to what you want to do.

Regards, Johnnie

Message was edited by: Johnnie Wilkenschildt

Former Member
0 Kudos

Hi, Johnnie

Thanks in advance,

I couldn´t see this function

Could you tell me, in which events are subscriber the BP Search component. I only could find in the class 'CL_CRM_CIC_BP_SEARCH'->CREATE 2 subscriptions in events:

  • register for CIC events

CALL METHOD cic_event_gate->add_listener

EXPORTING

event = 'PHONE_PARTY_DROPPED'

listener = me.

CALL METHOD cic_event_gate->add_listener

EXPORTING

event = 'BP_FOUND_MULTIPLE_HIT'

listener = me.

And I didn´t find any component in which launch an Event and change BP of The BP Search component. Many Thanks.

Former Member
0 Kudos

Hi Gustavo,

Please have a look at FUNCTION CRM_TM_UI_WSP_INIT_ACTIVITY, this is the one I meant (and I now updated my previous post).

Also, to see which events the BP Search component subscribes to please see FUNCTION CCM_SUBSCRN_CSEARCH_SUBSCRIBE.

Regards, Johnnie

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gustavo,

Usually the Business Partner Search component is filled manually by the user specifying search criteria and then initiating a search. Or, in case of an incoming phone call, the system automatically tries to look up the caller's phone number (ANI) in the BP data base and then fills the BP Search. (There are also other scenarios, starting with a Call List or with an incoming email). In any case, usually the next step is for the agent to Confirm the Business Partner data before proceeding with any business.

In your situation, do you have a custom workspace component that has a Business Partner which you would like to pass to the BP Search component so the user can Confirm, before proceeding with any business?

Regards, Johnnie