09-02-2009 3:44 PM
Experts,
I have two radio buttons and two relative checkboxes ( one checkbox related to other ).
Now when user selects one radio button and executes teh program, there is a summary page. When user presses back button from there, I return to the selection screen, however the selections are still there.
Ideally I want a blank screen, as in nothing selected( similar screen when program is executed first ). Is it possible ?
Kindly advise,
Gols
09-02-2009 4:51 PM
try this..
put this lines of code at the end of the report . .i.e. at the end of END-OF-SELECTION
FIELD-SYMBOLS : <fs> .
ASSIGN ('(RSDBRUNT)MEMKEY-INT_MODE') TO <fs> .
IF sy-subrc = 0 .
<FS> = '01' .
ENDIF.
09-02-2009 4:33 PM
Hi,
Try clearing radio buttons and check boxes at PBO of selection screen using AT SELECTION-SCREEN OUTPUT statement.
PARAMETERS:
p_rad1 TYPE c RADIOBUTTON GROUP rd1,
p_rad2 TYPE c RADIOBUTTON GROUP rd1.
PARAMETERS:
p_chk1 TYPE c AS CHECKBOX,
p_chk2 TYPE c AS CHECKBOX.
AT SELECTION-SCREEN OUTPUT.
CLEAR: p_rad1, p_rad2, p_chk1, p_chk2.
Hope this helps.
Regards,
txhughes
09-02-2009 4:39 PM
Hi,
After you have processed your user command why dont you try to say leave to transaction and the transaction for your program.
Regards,
Himanshu
09-02-2009 4:43 PM
Clear or refresh in the INITIALIZATION event for first process.
clear or Refresh in the AT SELECTION-SCREEN OUTPUT event when you want clear from list or back to selection screen.
Kanagaraja L
09-02-2009 4:51 PM
try this..
put this lines of code at the end of the report . .i.e. at the end of END-OF-SELECTION
FIELD-SYMBOLS : <fs> .
ASSIGN ('(RSDBRUNT)MEMKEY-INT_MODE') TO <fs> .
IF sy-subrc = 0 .
<FS> = '01' .
ENDIF.
09-02-2009 5:05 PM
Hi
U need to free the abap memory where the data for selection-screen are stored:
INITIALIZATION.
TABLES RSVAMEMKEY.
RSVAMEMKEY-REPORT = SY-REPID.
RSVAMEMKEY-INT_MODE = '02'.
FREE MEMORY ID RSVAMEMKEY.
Max