Hello everybody!
I need to set the actual window of a SAPGuiSession dynamically.
For example:
I'm calling a transaction by entering the transaction code in the OKCode-Field and pressing the Continue-Button.
Then, I'm in a transaction (the transaction codes are saved in a data table) and need to press the back button (F3). But I need to know the name of the window I'm in.
Take a look at the following:
I need to get the SAPGuiWindow("XYZ") dynamically. I've tried different things but without any success. Can anybody help me please.
Regards
Chris
I need to set the actual window of a SAPGuiSession dynamically.
For example:
I'm calling a transaction by entering the transaction code in the OKCode-Field and pressing the Continue-Button.
Then, I'm in a transaction (the transaction codes are saved in a data table) and need to press the back button (F3). But I need to know the name of the window I'm in.
Take a look at the following:
Code:
SAPGuiSession("SAP").SAPGuiWindow("XYZ")
I need to get the SAPGuiWindow("XYZ") dynamically. I've tried different things but without any success. Can anybody help me please.
Regards
Chris