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

Help with moving between custom screens in a Standard Transaction

All,

I'm working with a standard transaction, but in this transaction, the I'm having 2 tabs of customized screens. In each of the screen, I have 1 mandatory fields to be filled. If the user only fill in the mandatory field of the first screen and click save, I need to display an error message and also display the second screen automatically? How can I do this? I tried to use CALL SCREEN 9200 but the system keep displaying the error "Screen SAPLXQQM 9200 must not be in Include screen".

Can anyone help me on this one? Thanks in advance.

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 May 23, 2008 at 09:09 AM

    Try run FM SAPGUI_SET_FUNCTIONCODE with FUNCTIONCODE = OKCODE of need tab (you can get it in debug mode at variable sy-ucomm).

    Run this FM after your check routine.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Andrey,

      I already said I have REMOVED the CALL SCREEN 9200 from the program. Again, I have replaced that code with the FM that you suggested... yet again, it's not working since my 9200 is a subscreen. Can the FM work with SUBSCREEN? If no, what is the way to call a subscreen after validation? Thanks in advance again.

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2008 at 03:00 AM

    Nevermind, I figured out.

    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.