‎2007 Mar 06 6:33 AM
hi,
may i know how to initialize the selection screen parameter, select-option value?
do i need to refresh or clear every variable? i have many parameter/select-option defined. or is there a shorter way to do so.
thanks
‎2007 Mar 06 6:38 AM
Hi,
Check this example of how to initialize the select-options field.
SELECT-OPTIONS: SO_DATE FOR SY-DATUM.
INITIALIZATION.
SO_DATE-SIGN = 'I'.
SO_DATE-OPTION = 'EQ'.
SO_DATE-LOW = SY-DATUM.
APPEND SO_DATE.
Thanks
Naren
‎2007 Mar 06 6:40 AM
Hi,
if you need to specify any default value then append the select options.
s_var1-low = X..
s_var1-high= Y.
append s_var1.
This will give the low value as x and high value as y.
No need to clear all the select options.
It will be initial.
Regards
Rusidar.
‎2007 Mar 06 6:41 AM
Hi,
When u press back button in PF-status, write code to refresh the parameters.
http://www.sapdevelopment.co.uk/reporting/selscr/but_buttons.htm
‎2007 Mar 06 6:43 AM
Hi,
If you want to clear the values..
Try using
END-OF-SELECTION.
FREE MEMORY. "at the end-of-selection..
Thanks,
Naren
‎2007 Mar 06 6:44 AM