2007 Nov 04 3:31 PM
Hello,
im having trouble clearing the select options in a selection screen.
i dont really know why, but if i run the program, and add REFRESH TABLE_RANGE[] (which was declared as a select-options) , it does clear the table in the debug, but shows it again on the screen.
i've tried CLEAR too, but it didnt really help.
is there a know solution?
thanks.
2007 Nov 05 8:32 AM
Hi,
TABLE_RANGE[] isn't your select-options.
Select-options name must be max 8 characters.
Find your select-options and refresh it in the Initialization event.
Rgs
Hello,
im having trouble clearing the select options in a selection screen.
i dont really know why, but if i run the program, and add REFRESH TABLE_RANGE[] (which was declared as a select-options) , it does clear the table in the debug, but shows it again on the screen.
i've tried CLEAR too, but it didnt really help.
is there a know solution?
thanks.
2007 Nov 04 3:37 PM
Hi,
There are two things associated with select-option one is header and other table
Try
CLEAR: TABLE_RANGE[] .
CLEAR TABLE_RANGE.
And are you sure your select-option name is TABLE_RANGE as I think only 8 character are allowed to name the selection screen field.
Regards,
Atish
2007 Nov 04 3:54 PM
Where have you put your code for clearing the select-option? put in at selection-screen output. It will get cleared whenever your screen is going to be displayed.
What is your requirement?
2007 Nov 04 4:20 PM
Hi Eli,
Create a Push Button on the Selection Screen (code for it in the selection screen logic); check for sy-ucomm (checking for the button being pressed by the user) and then refresh the table_range in the at selection-screen event.
Regards,
George
2007 Nov 05 8:14 AM
'ive tried putting the refersh / clear in the initalization proccess, that way it is called again after the user has pressed a button, i see in the debug data that the table is initialized , but the numbers appear again on the screen!
i am helpless...
2007 Nov 05 8:32 AM
Hi,
TABLE_RANGE[] isn't your select-options.
Select-options name must be max 8 characters.
Find your select-options and refresh it in the Initialization event.
Rgs
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |