cancel
Showing results for 
Search instead for 
Did you mean: 

Variables defined in Filters, apearing as Web Template selections.

Former Member
0 Kudos

Hi Experts,

I have an issues where I have created varaiables to be used for a Copy function, that are now apearing on the selection screen as I execute WEB template.

Here are the steps I went through.

1) Create user defined variables:

- orderfrom

- orderto

- versionfrom

- versionto

- fyperfrom

- fyperto

2) The I created a Copy plan function, and defined the above variables in the condition section of the Copy function.

3) Created a filter, where I also entered all of the above variables, so that I can get the right sequence in my pop-up in the web template.

4) This filter is then defined as an 'infoprovider' in my WAD template. And used with my Copy function in WAD.

5) I also tried the same thing, but instead by using a plan sequence which combines the Filter (with the variables) and the Copy function.

The problem I've noticed is, if my Filter contains variables, then ALL of those variables that are in my Filter, are apearing also on my selection screen at the time of launching my web template (queries).

WHY ?? Has anyone had similar problems?

Why does it need you to populate those variables defined in the filter for the purpose of the Copy function at the time of executing the template??

These variables should only be visible in a pop-up when you decide to execute the function, not at the start when you're only just executing the query.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I think that it is because the filter is defined as a data provider in the WT. Does it also happen when you only use the planning sequence and no data prov definition for the filter? (I have done this myself and did not face that problem)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As u have defined variables in the copy function, I think there is no need to specify them in the filter again.

Try by deleting the variables from the filter. This should ask for the variable values only once.

Regards,

Srinivas.

Former Member
0 Kudos

Hi Srinivas,

The only reason I have included the variables in the filter as well, was so I can control the sequence in which the variables appear when the funciton is executed within WAD.

Unless you know of a way to control the sequence within WAD, so that I don't have to enter the variable in the filter!!

Former Member
0 Kudos

Thanks Mayank, and Srinivas.

It solved my issue for now.