Hello!
I have a sapgui command, which selects a key from dropdown list. But this command is optional. This means that in some variants this command receives empty input parameter. This results in error, because empty key has ' ' (space) value and there is no '' (empty) keys in list.
Currently Im using this code.
--------------------
if (i_parameter = '').
v_parameter = ' '.
else.
v_parameter = i_parameter.
endif.
--------------------
Is there any way to do it simpler?
Thanks!