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

making data entry optional in eCATT SAPGUI

I am recording a scenario via SAPGUI mode of eCATT.

Depending on the PO type, 2 fields become mandatory for data entry. I have maintained these 2 fields (say, A and B) as import parameters in my script.

PO type X -- Field A and B are optional.

PO type Y -- Field A and B are mandatory and system throws an error message asking user to enter values into these fields.

I have made the corresponding "processed screen" optional in my script so I can use the same script for both PO types. Yet, the script does not seem to work for PO type X and says that it expected to see the screen where A and B had to be entered but did not.

Is there any other way I can handle this so that the same script will work for both PO types X and Y?


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Sep 06, 2013 at 12:52 PM

    This can be handled as shown below:

    IF ( PO <> 'X' )

    SAPGUI ( X )

    SAPGUI ( Y )




    Hope it helps



    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.