cancel
Showing results for 
Search instead for 
Did you mean: 

Clues about query's - Search for date type at INBOX

BGarcia
Active Contributor
0 Kudos

Hello Everyone,

At IC Webclient, does anyone experiment to add a new search date type at INBOX, at "search for date" search parameter?

I added a new date type at Date Management, ZDATA_PR.

When I try to assemble the query parts, I use something like this:

CL CL_CRM_QUERYAUI_RUN_BTIL

METH READ_BUSINESS_TRANSACTIONS

...

CALL METHOD cl_crm_report_qupart=>get_qupart_by_token

EXPORTING

iv_token = 'DAT'

iv_date_type = 'ZDATA_PAR'

iv_from = ls_query_aui-from

iv_to = ls_query_aui-to

IMPORTING

ev_qupart = ls_qupart_range-querypart.

APPEND ls_qupart_and TO lt_query.

APPEND ls_qupart_range TO lt_query.

...

However, I'm rewarded with an error message telling me that I have problems with the query.

Does anyone can give me clues how to perform this action? I'm clueless and there's not almost no information about this...

Thanks and Kind Regards

Bruno Garcia

Accepted Solutions (0)

Answers (1)

Answers (1)

BGarcia
Active Contributor
0 Kudos

Just to solve a mistake at example code:

...

CALL METHOD cl_crm_report_qupart=>get_qupart_by_token

EXPORTING

iv_token = 'DAT'

iv_date_type = 'ZDATA_PR'

iv_from = ls_query_aui-from

iv_to = ls_query_aui-to

IMPORTING

ev_qupart = ls_qupart_range-querypart.

APPEND ls_qupart_and TO lt_query.

APPEND ls_qupart_range TO lt_query.

...

does anyone has a suggestion or a clue to give?

Thanks

Bruno