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

screen redirect.

hi guys,

i am using report, in the i have 2 screen, 100 and 200. its a table maintenance. suppose if i am deleting the record in scr 200, it will ask the confirmation whether to delete or not, if i delete the record automatically it should come to sel scr, but it is coming to scr 100.

i am using leave to screen 0.

i also tried in giving leave to screen 100, it working but after some time i am getting some error pop up.(call selection screen should be called using call sel scr)

i also tried in calling call sel-screen '1000'.

still i am getting the error.

can anyone help me in this.....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 03:37 AM

    After reading your post, I have a doubt regarding the term "Table Maintenance".

    Table Maintenance :

    a) Have you generated table maintenance using SE11 ?

    b) Have you created your own screens and your own table control in those screens ?

    It can be either <b>(a)</b> or <b>(b)</b>.

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 03:40 PM

    This may be a common problem if you are new to screen processing. From screen 100 are you doing a CALL SCREEN 200? If so then you are starting a new screen processing session and when you SET SCREEN 0 and LEAVE SCREEN from 200, you are ending the CALL SCREEN 200 and returning to execute the next line of code from screen 100. Your screen 100 probably has the value of 100 as the next screen in the screen attributes and so you wind up redisplaying screen 100.

    The proper technique is to invoke screen 200 from 100 by:

    SET SCREEN 200. LEAVE SCREEN.

    That way, you still only have one screen processing session active and SET SCREEN 0, LEAVE SCREEN, from 200 will terminate the screen session.

    If you want to stick to CALL SCREEN 200 then you will have to code around this problem. Maybe changing the attributes of screen 100 so that the next screen is 0 will do the trick but may disrupt some other processing that you are doing.

    Let us know how it goes.

    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.