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: 

Changing screen from ALV report to Screen and back

Former Member
0 Kudos

I am having difficulting changing screens in my application.

I have a selection screen that generates an ALV report. The user selects a record and clicks on the Submit button which takes them to Screen 0100 that generates another ALV report. Now in Screen 0100, when the back button is clicked, the user should be taken back to the ALV report. They should now be able to select another record and for that row, data should be populated for Screen 0100.

I am generating the first ALV report using CL_SALV_TABLE and the second one using the same class but with Container.

How should I code below

module user_command_0100 input.

  case ok_code.
    when '&F03' or '&F15' or '&F12'.
      set screen 0.
      leave screen.
  endcase.

endmodule.                 " USER_COMMAND_0100  INPUT

2 REPLIES 2

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Posted in the wrong forum. This forum is for Web Dynpro ABAP only. Your question appears to be classic dynpro (PBO/PAI and SAPGUI screens). I'm moving this thread to the main ABAP forums.

Former Member
0 Kudos

Sorry about that. Thanks.