2010 Jul 06 7:46 AM
Hi.
can anyone say Function module which clears the contents of Subscreen when navigated from subscreen to subscreen.
MY Problem:
i have 6 subscreen.(A,B,C,D,E,F) each subscreen has 100 checkboxes.
i checked some checkboxes of subscreen A. And navigated to subscreen B. And again navigated back to subscreen A.
I found all the checkboxes what i checked before are checked. I want them to be unchecked(screen not refreshed), when i come back to that subscreen.
Any Function module avaliable to refresh screen contents.
Help me.
Hi.
can anyone say Function module which clears the contents of Subscreen when navigated from subscreen to subscreen.
MY Problem:
i have 6 subscreen.(A,B,C,D,E,F) each subscreen has 100 checkboxes.
i checked some checkboxes of subscreen A. And navigated to subscreen B. And again navigated back to subscreen A.
I found all the checkboxes what i checked before are checked. I want them to be unchecked(screen not refreshed), when i come back to that subscreen.
Any Function module avaliable to refresh screen contents.
Help me.
2010 Jul 06 8:09 AM
Don't think so. I am affraid you will have to clear all checkboxes one by one. Anyhow you can use field symbols to address them dynamically and clear their content.
"suppose you have checkboxes ch_01, ch_02 ... ch99
field-symbols <checkbox> type any.
data: g_checkbox_name type string.
data: n_index(2) type n.
do 99 times.
n_index = sy-index.
concatenate 'CH_' n_index into g_checkbox_name.
assign (g_checkbox_name) to <checkbox>.
check sy-subrc = 0.
"cleat the content of subsequent checkboxes
clear <checkbox>.
enddo.
Regards
Marcin
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |