cancel
Showing results for 
Search instead for 
Did you mean: 

BEx WAD - Issue with transfer of filters across tabs

anirudhv
Explorer
0 Kudos

Hi Experts,

I am facing an issue related to transfer of filters during navigation between tabs. I have 3 tabs with 3 different data providers.

The first tab should be accessible from both the 2nd and 3rd tabs. In both the 2nd and 3rd tabs, the user may select a row and jump to the first tab.

ISSUE:

CASE 1:

Navigation sequence A: Tab 1- Tab2(row selected)-Tab 3(row selected)

Only selection from Tab 3 must be transferred to Tab 1.

Navigation sequence B: Tab 1- Tab 3(row selected)- Tab2(row selected)

Only selection from Tab 2 must be transferred to Tab 1.

I currently use the following command sequence on Tab strip 1.

CLEAR_ALL_SELECTION_STATES - Tab 2

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2

CLEAR_ALL_SELECTION_STATES - Tab 3

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3

But as it should be, this sequence works for the navigation sequence A and not for B as it always does the last binding with tab 3.

It would be great if any of you could advise on the command sequence or new commands to achieve this functionality!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182470
Active Contributor
0 Kudos

Are these three DP's identical? I mean the infoobject on which you apply filter in 2nd and 3rd tabs is available in DP1?

Any user can select a row in any one tab at a time, right? He cannot apply filters in two tabs parallel.

I feel your command sequences are contradicting with each other when first sequence works and vice versa.


anirudhv
Explorer
0 Kudos

Hi Suman,

Thanks for the reply.

1. The three DPs are not identical. Different queries in each DP.

2. The infoobject that I apply filter on in the 2nd and 3rd tabs is available in DP1

3. Although an user will select a row in any one tab at a time, if he does the following naviagation sequence:

DP1(No selection)-DP2(select a row)-DP3(select a row)-jump to DP1 from DP3, the selection he does in DP2 is also passed to DP1 according to my command sequence.(Only DP3 must be passed here).

Could you advise where I am making a mistake in my command sequence?

former_member182470
Active Contributor
0 Kudos

Can you try this sequence?

CLEAR_ALL_SELECTION_STATES - Tab 2

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3

anirudhv
Explorer
0 Kudos

Hi Suman,

This would work ONLY for a jump from Tab3 to tab1. But I also need to take the case of jump from Tab 2 to tab 1 into consideration. With this command sequence, we would always delete the selections done in Tab 2.

I hope I was able to convey my navigation requirement clearly.

former_member182470
Active Contributor
0 Kudos

Ok. What about these?

CLEAR_ALL_SELECTION_STATES - Tab 2

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3

CLEAR_ALL_SELECTION_STATES - Tab 3

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2

                              (OR)

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2

anirudhv
Explorer
0 Kudos

Hi Suman,

Even these wont work.

Issue: When user select a row in both tab2 and Tab3.

Requirement: Only filters from the tab from which user jumps to tab 1 should be transferred.(Although rows in both tabs are selected)

With your proposed solution, when rows are selected in both tabs, only Tab 3 will be transferred.

Is there any sequence/command by which we can determine the tab from which the

user jumps to Tab 1. In short, can we implement the below IF condition in WAD?

IF (jump_source = Tab3)

CLEAR_ALL_SELECTION_STATES - Tab 2

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 3

ELSEIF (jump_source = Tab2)

CLEAR_ALL_SELECTION_STATES - Tab 3

SET_SELECTION_STATE_BY_BINDING - Binding with Tab 2

ENDIF

former_member182470
Active Contributor
0 Kudos

Did you try my second solution without clearing filter entries?

I think we can try your If ..else. But not sure how to do that. Need to investigate further..

anirudhv
Explorer
0 Kudos

Yes, i did try the second solution. It always passes filters from both tabs and does not take into account the Tab from which the user actually jumps to Tab 1.