Skip to Content
author's profile photo
Former Member

Contacts in Result List

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 02:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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