Skip to Content
0
Former Member
Feb 02, 2007 at 06:11 AM

At selection-screen on radio button.

275 Views

Hi ,

I wrote a prog. for radio button. The aim of the prog. is: there should be 2 radio buttons on the selection-screen, by clicking the 1st radio button it should display an ALV report and by clicking the 2nd radio button it should display an Interactive report and the two reports must have selection screens.

Everything is fine, but one prob. is when am clicking the BACK button in any of the report display, it is not taking to the radio-button selection-screen, directly it is taking to the source code. Suggest me how i hav to write the code : when am clicking the back button in any one of the report, the cursor should take me to the radio-button selection-screen.

Source Code:

report z_test1234 .

selection-screen begin of block b1 with frame.

parameters: r1 radiobutton group rad1 default 'X',

r2 radiobutton group rad1.

selection-screen end of block b1.

At selection-screen on radiobutton group rad1.

if r1 = 'X'.

submit z_alv_94 via selection-screen.

endif.

if r2 = 'X'.

submit z_94_ireport via selection-screen.

endif.