cancel
Showing results for 
Search instead for 
Did you mean: 

Display Options - Interaction History

Former Member
0 Kudos

Hello,

We need to configure the display option for business transaction in order to display all the activities of 2012 and 2013 (last year and this year).

Since we are in CRM 7.0 we have implemented the note 1531660 to make visible the option "Specify Display Options for Business Transactions".

Now we need to include a time frame that englobe last year and current year. How can we do this?

Thanks & Regards,

Susana

Accepted Solutions (1)

Accepted Solutions (1)

VishnAndr
Active Contributor
0 Kudos

Hello, Susana.

Probably this message from other discussion will be useful for you:

Re: Limit Values in Open/closed Activities of BP Page

In few words, the logic behind timeframes is in include LSSC_RULESF03 in form compute_dates_f. There are pretty good comments in the code. You can test it with FM CALCULATE_TIMEFRAME.

But there is no stadard logic for your needs.

We created timeframe as W*52 when we got the same requirement. Which gave us timeframe as 52 weeks (1 year) before and 52 weeks after current date.

Alternatively, you can implement BAdI CRM_BP_UIU_BT from Enhancement Spot CRM_UIU_BP_ENHANCEMENT and adjust search criteria according to your needs.BAdI filter for Interaction History in account details should be BPQINTHISTORY.

Hope this will help you.

Former Member
0 Kudos

Hello Andrei,

Thank you for your answer. My problem is resolved now.

Thank you and Regards

Susana

Former Member
0 Kudos

Hi Andrei,

Just curious, how did you figure out the BPQINTHISTORY was the correct filter value?

Thanks,

Clint

VishnAndr
Active Contributor
0 Kudos

Hello Clint.

In most cases it's enough to look at the BAdI call coding. Like here it's called as (the code below is from method READ of the class CL_BUPA_IL_INT_HISTORY):


*     call badi

       TRY.

           GET BADI lr_badi

             FILTERS

               object_type_il = gc_query_name. "BPQINTHISTORY

         CATCH cx_badi.                                  "#EC NO_HANDLER

       ENDTRY.

       IF lr_badi IS BOUND.

         CALL BADI lr_badi->change_selection

           CHANGING

             cv_max_hits        = lv_max_hits

             ct_selection_param = lt_search.

ENDIF.

The filter name is already in comments but you can check the same value double-clicking on the constant name gc_query_name.

Answers (0)