Quantcast
Channel: SCN: Message List - SAP CRM: Interaction Center
Viewing all articles
Browse latest Browse all 3700

Re: Interaction history : list only limited number of BUS items in dropdown list?

$
0
0

Hi Finn,

 

Sorry , but I could not understood your requirement correctly. The above given steps are for limiting the search of interaction history to specific Types when we confirmed any account.

 

For your caseyou need to Enhance component 'ICCMP_BT_INR' and then view 'ICCMP_BT_INR/InrHistSearch'

Here under context node 'BTQUERY' you need to redefine method GET_V_OBJECT_TYPE

Here you need to change the logic to include only the specific object types .

Add below code :-

 

DATA: gt_obj_type TYPE SWO_TOBJTYP.

  APPEND 'BUS2000126' to gt_obj_type.

     APPEND 'BUS2000125' to gt_obj_type.  "Object Types

      CASE iv_mode.

    WHEN  designtime_mode.

      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_iccmp_bt_objecttypes_pl EXPORTING im_swo_tobjtyp = gt_obj_type.

 

    WHEN  runtime_mode.

      IF gr_descriptor IS NOT BOUND.

        CREATE OBJECT lr_descr EXPORTING im_swo_tobjtyp = gt_obj_type.

        gr_descriptor = lr_descr.

      ENDIF.

 

      gr_descriptor->set_selection_table( ).

      rv_valuehelp_descriptor = gr_descriptor.

  ENDCASE.

 

This will definitely solve your problem.

 

Thanks

Kumar.


Viewing all articles
Browse latest Browse all 3700

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>