Application Development and Automation 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: 
Read only

At selection-screen when user presses back button

Former Member
0 Likes
1,392

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
Read only

Pawan_Kesari
Active Contributor
0 Likes
1,073

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
Read only

Former Member
0 Likes
1,073

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

Read only

Former Member
0 Likes
1,073

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

Read only

Kanagaraja_L
Active Contributor
0 Likes
1,073

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

Read only

Pawan_Kesari
Active Contributor
0 Likes
1,074

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.

Read only

Former Member
0 Likes
1,073

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