Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

At selection-screen when user presses back button

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Pawan_Kesari
Active Contributor
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Kanagaraja_L
Active Contributor
0 Kudos

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

Pawan_Kesari
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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