cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

Hi forum,

I would like to limit the list of BUS in the following dropdown list in IC_AGENT role :


Is this possible ?

Many thanks,

Eli

Accepted Solutions (1)

Accepted Solutions (1)

kumar5
Active Contributor
0 Kudos

Hi Finn,

Yes its possible.

This can be achieved by customization in SPRO.

Go to SPRO->CRM->IC Web Client->Master Data->Define Interaction History Profiles.

Here you can define Interaction history profile and assign it to your business role.

In your BRole you should assign Function Profile ID 'INTERACTION_HISTORY'  the above created profile ID.

Thanks

Kumar.

Former Member
0 Kudos

Hi Kumar,

Thank you for you answer.

When in spro in the interaction history profile linked to my business role, there are only 4 types of transactions listed even though the screen above shows many more BUS types :

business role profile :

Should there be something else activated ?

Eli

kumar5
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Thanks Kumar

Answers (0)