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

eCATT SAPGUI: dealing with collapsed/ expanded nodes

When you access SAP screens following a refresh or say with a different test ID, you encounter situation with some t-codes where you need to make changes to get to the default screen that the script was initially recorded with.

A classic example in my mind is ME21N, where the "Header", "Item", "Item overview" nodes are collapsed and document overview is on (see screenshot). As a result, the script fails. I am sure some of you folks out there must have faced this situation.

I am looking for inputs on how you managed this situation within the script itself.

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2014 at 07:57 AM

    Hello Archana

    There is a table ESDUS which stores the values for last successful execution for transaction & user and default it in next execution for that user & transaction.

    ME21N Node States with Above ESDUS table values:

    Above values control the expand & collapse of nodes. (Toggle state)

    Create a script for ESDUS table & insert these values & Then REF ESDUS script before PO creation in Me21n Script.

    By doing this you are always referring to default one state in ME21N and your script will work in all releases & all systems.

    Note: You can insert/change ESDUS table.

    Regards

    Nisha


    ESDUS.png (30.4 kB)
    Node_state.png (10.0 kB)
    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.