cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass Current Quarter value from one variable to other in WAD

Former Member
0 Kudos

Hi All,

I have requirement for WAD in IP.

By default our reports get current quarter using variable exit . if user changes and runs report for different quarter other then current qtr and navigates through different lay outs . all layout must open for quarter for which run first lay out been executed.

ex:- default value when open report is current quarter say 2.2010.

and user changes this value to 3.2010 . and runs report. and navigates through second layout he should get second layout for3.2010

Please let me know how it can be achieved by exit in step 1 or 2.

or by java script.

Thanks,

Vinod.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi.

How user change value of variable ?

If you use filter pane webitem in WAD you just have to set affected dataproviders.

Lets say in first time user enters the layout your user exit variable gets current querter.

If filter pane user change quarter to another (in condition that variable defined as input ready).

If you set in affected dataproviders another layout so this value will be passed to this layout too.

Regards.

Former Member
0 Kudos

Hi Andrey,

I think answer you have mentioned will only work for data provider with in the single template.

i need to pass variable value from one template to other.

Thanks for your help.

Former Member
0 Kudos

Hi.

Yes, I mentioned to one template and more than one layouts (I mean analysis items and/or tabs in the same template).

Passing variables values from one template to another, especially if you change value within one template, seems to be not applicable in simple way.

May be next idea will work:

1. in first template create exit variable (input ready) and when you change value just write this value to any table (Z_TABLE).

2. in second template create exit variabel that reads value from this table (Z_TABLE).

Im not sure and I dont think it is good idea, but you can try.

The better idea is not to use many templates but one template.

Regards.