Skip to Content

Back to selection screen

Hi All,

my probelm is, after executing the selection-screen ,

i m getting a report with each rows having a checkbox for selection option,

when we do some selections ,i have to click on a pushbutton which i hav created for Sending Mails,

so whn i click on it, it dispaly new screen showning the status for each selection....

its working fine...

now whn i click on BACK button it goes back to the report screen....

thats wt i dont want....

i want to go back to seleciotn screen..

Plz suggest me...

Rohit

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 09, 2008 at 08:27 AM

    Hi,

    Use this.

    AT USER-COMMAND.
    if sy-ucomm = 'BACK'.
       LEAVE TO SCREEN 0.
    endif.
    

    Regards

    Marcin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 09, 2008 at 08:19 AM

    i think setting the sy-lsind = 1 in every pushbutton will solve your problem.

    or every sending mail add this

    sy-lsind = sy-lsind - 1.

    Edited by: Etrafanob on Oct 9, 2008 4:23 PM

    Edited by: Etrafanob on Oct 9, 2008 4:24 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 09, 2008 at 08:20 AM

    Hi Rohit Kumar ,

    check the function code of BACK when it comes out of the program and in start-of-selection

    case sy-ucomm.

    when 'back'.

    submit prgm name.

    with regards,

    Arunprasad.P

    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.