Hello,
I wrote a macro to automate the extraction of data from SAP using SAP GUI scripts. What I want to achieve now is to add a status bar in a form which shows the actual text on the SAP status bar while the report is being produced.
I know how to read the SAP status bar, but I just can't get to execute any operation while SAP is running. Is there any techniques to use to regain control of the code while the script is waiting for SAP to generate the report?
This is the line where my code waits : session.findById("wnd[0]").sendVKey 8
Thank you in advance for any suggestions.
I wrote a macro to automate the extraction of data from SAP using SAP GUI scripts. What I want to achieve now is to add a status bar in a form which shows the actual text on the SAP status bar while the report is being produced.
I know how to read the SAP status bar, but I just can't get to execute any operation while SAP is running. Is there any techniques to use to regain control of the code while the script is waiting for SAP to generate the report?
This is the line where my code waits : session.findById("wnd[0]").sendVKey 8
Thank you in advance for any suggestions.