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: 

alv with standard gui

sandeep_gvv2
Participant
0 Kudos

i am working with alv displaying secondary list i have copied standard gui from saplkkbl in my secondary list save is working fine but when i press back button it should leave program how can i write the code for this??

3 REPLIES 3

Former Member
0 Kudos

Hi Sandeep,

     You can do it in User Command Event of ALV.

Regards,

Vinoth

0 Kudos

Go to Process After Input(PAI), then module at Exit command

In that, in user command, write your primary screen t.code.

Default it might be 'Leave Program' in the code. Try lik leave to transaction sy-tcode.

sandeep_gvv2
Participant
0 Kudos

Thanks i got the solution i am closing the thread.