cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance Agent Inbox search with Z field

Former Member
0 Kudos

Hi All,

I have a requirement to enhance the agent inbox search criteria with the Z field ( added through EEWB).

I have added the custom field in the structure :CRMST_AUINBOX_SEARCH for the Query Object BTQueryAUI and did design layer customizing to add the field on the UI.

Further I have copied the class CL_CRM_QUERYAUI_RUN_BTIL and redefined method READ_BUSINESS_TRANSACTIONS to add the parameter range for the custom field.

        CALL METHOD cl_crm_report_qupart=>get_qupart_by_token

          EXPORTING

            iv_entityname = '     '

            iv_fieldname  = 'ZZXXX'

            iv_token      = 'RAN'

            it_rangetab   = lt_range

          IMPORTING

            ev_qupart     = ls_qupart_range-querypart.

        IF lt_query IS NOT INITIAL.

          APPEND ls_qupart_and   TO lt_query.

        ENDIF.

        APPEND ls_qupart_range TO lt_query.

Please let me know which entity name should be passed in the above code .

Thanks,

Abhishek

Accepted Solutions (0)

Answers (1)

Answers (1)

krishnendu_laha
Active Contributor
0 Kudos

Here is a nice document which can help you:

http://scn.sap.com/docs/DOC-39532

Please check.

~Krish