Question:
hi,
we have to fill a variable by user exit.
in some cases we want to assign the variable nothing,
not a blank, not unassigned (#), just nothing.
the variable just should behave like a input variable, for that
no value has been selected by the user.
the query then returns ALL values for this characteristic of course. this is exactly what we want from our user exit variable.
but we did'nt succeed yet. we had no success with #, ' ' (blank)
and clearing the variable. the result of the query is not the
same, we just want to have the full result set.
does anyone know how to achieve that?
thank you very much!
Answer:
What happen if you just don't fill it?
Leandro
Answer:
if we don't fill it, it's like clearin it.
we get now results instead of all.
Answer:
Are you sure the problem is not somewhere else? Try adding a User Entry variable for the same characteristic, selecting nothing in the selection screen and see if it brings all data. If it does, run it again debugging in step 3. There you can see what is the value inside the variable that is passed to the query and you can try to replicate that in the exit.
Leandro