cancel
Showing results for 
Search instead for 
Did you mean: 

Contacts in Result List

Former Member
0 Kudos

Hi All,

In the Identify Account I search for an Account, the Account is displayed along with Contact Persons in the Result List. When I click on one of the Contact Persons in the Result List and hit Confirm, all the other Contact Pesons are removed from the Result List.

Now, I would like to retain the Contact Persons in the Result List after Confirming a Contact Person in the Result List.

Can anybody inform the procedure to achieve this?

Any Suggestions/help will be rewarded accordingly.

Krish

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

You should take a look to the controller class of the BuPaDetailB2B. This is the view where the confirm button is located. When you press the confirm button the EH_ONCONFIRM method of the BuPaDetailB2B.do controller is called.

At the end of the method you see a method call CALL METHOD ME->PROCESS_AFTER_CONFIRM, go into that method and check one of the last lines there should be something like:

view_manager->navigate(

SOURCE_REP_VIEW = rep_view

OUTBOUND_PLUG = 'showEmpty' )

This tells the IC to navigate to the empty results screen of the business partner search. Comment this piece of code and the IC will leave the screen with the contact person search results.

Be aware that selecting another contact person from the list will lead to inconsistent navigation (when you select another result it might be that the confirm button becomes available again while there is already a business partner confirmed...)

Of course, before changing the class you should copy it to your Z CRM_IC bsp application and tell the system in the customizing that you replaced that controller.

For more information on how to copy standard views and controllers, see the IC WebClient Cookbook.

Hope this helps!

Kind regards,

Joost

Former Member
0 Kudos

Hi Joost,

Thanks for the reply. I changed the code as per your suggestion. No luck.

My Steps:

1. Copied view BupaDetailsB2B to my custom BSP application

2. Copied the Class CL_CRM_IC_BUPADETAILB2B_IMPL to ZL_CRM_IC_BUPADETAILB2B_IMPL3 & activated it.

3. Insert ZL_CRM_IC_BUPADETAILB2B_IMPL3 this class to BupaDetailsB2B.do & BupaDetailsB2B.htm in SE80 and activated it.

4. In the IMG, I added BupaDetailsB2B to my BSP application

5. In the Class ZL_CRM_IC_BUPADETAILB2B_IMPL3 , in the Method 'PROCESS_AFTER_CONFIRM',

i comment the following code:

  • view_manager->navigate(

  • SOURCE_REP_VIEW = rep_view

  • OUTBOUND_PLUG = 'showEmpty' ).

6. Activated the Method

I dont see the expected results. Plz suggest me if i am missing any steps or any other changes.

Regards,

Krish

Former Member
0 Kudos

Hi,

I saw that there are multiple view_manager->navigate calls in the method process_after_confirm. Place a breakpoint in the method and see in debug which call is executed. It's for sure that the 'showEmpty' navigational link clears the current search results.

If you don't know how to debug, simply comment all

view_manager->navigate(

SOURCE_REP_VIEW = rep_view

OUTBOUND_PLUG = 'showEmpty' ).

method calls in the process_after_confirm method.

Hope this helps,

Regards,

Joost