cancel
Showing results for 
Search instead for 
Did you mean: 

how to clear variable?

Former Member
0 Kudos

Hi all,

Im using variable (customer) which is influencing my plannning layout as filter. When I run planning application variable is empty and all customers are showing in planning layout. Then I select one customer as filter and it works fine as I expected - but when I need to delete this filter to see all customers again it is not working - system doesn't allow me to have "empty" selection again.

do you know how to overcome this to have same behavior like in standard reporting, where empty condition means all records?

Accepted Solutions (0)

Answers (2)

Answers (2)

ravikanth_indurthi
Active Contributor
0 Kudos

Hi David,

If you want to show all the customers without giving any value then, I think you can use User Entry/Default variable with multiple selection and choose the option variable entry as optional.And do not specify any default values.

Then if you give the empty declaration also, it will generate all the customer's data.

Correct me if my assumption about Ur query is wrong.

Rgs,

I.R.K

Former Member
0 Kudos

Hi David,

When you use your variable first time you have not set only it that's why your variable is empty. And when you start use it the variable will be always set in something.

If you want to use this variable in cases that you describe you should make one of the following:

1. To define a new row (if your variable is fixed value) that will contain arange of values

2. To check out restriction of Values Required by user (I don't know will it work correctly or not)

3. To write user-exit that will clear your variable.

Regards,

Veronika.

Edited by: Veronika Vnukova on May 29, 2008 8:01 AM

Former Member
0 Kudos

The best will be to create function exit I think. Another cool BPS functionality...

Former Member
0 Kudos

I think the best way is to use arange of values (1). It is more correctly from bps' point of view.