Skip to Content
author's profile photo Former Member
Former Member

ALV handle button

Hi experts.

On standard screen I have created 3 button: button1, button2 , EXIT button.

When click on button1 --> show ALV

when click on button 2 ---> show ALV

when click on EXIT button --> I want leave all ALV and back selection screen (screen to input data)==> How to do with EXIT button to leave all ALV to back selection screen?

Thanks alot.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 03:16 PM

    Hi

    Are you displaying both the alvs(i mean alv1 and alv2) on same screen?

    if both are displayed on same screen then handling back/exit button would not be a problem. if both are displayed on 2 different screeens, and one screen is displayed at a time ( i mean after selection screen either alv1 or alv2 are displayed then also its easy to handle. just write leave to screen 0. it will work.

    if alv1 and alv2 are displayed in sequence, like after selection screen alv1 then alv2 and you want to jump from alv2 to back to selection screen then u have to use the following logic.

    In screen alv2 back button write leave to screen 0. and in PBO of alv1 screen check sy-ucomm if its back then again write leave to screen 0. This way you can directly jump from alv2 to selection screen.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.