Jump to content

SAP Timing & Harm to Code Flow


Donnovan
 Share

Recommended Posts

Hi,

I have experience automating a IBM terminal, and the father of all problems on it was the random time the terminal takes to respond to some comands. Since i dont know how much time IBM terminal will take to do the task, i dont know how much time the script needs to wait until send the next task.

This was solved looking at the staturbar and getting from it the terminal state, if it is "thinking/processing" or if it is ready for the next commands.

Now with SAP, i believe to have the same problem because there is no info on status bar to tell me if its processing something or ready to new imputs.

Anyone have presenced any timing problems in SAP automation? Or it seens to respond in a realtime behavior causing no harm to the code flow?

I'm using COM access to SAP, using a group of functions found on this forum.

Thanks.

Link to comment
Share on other sites

Did you have a look at the SAP UDF which can be found

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

This UDF is what i mencioned here "I'm using COM access to SAP, using a group of functions found on this forum". Thanks for the link.

I also use IE UDF that comes with Autoit, it have a function called "_IELoadWait" that prevent you from sending commands while IE is loading.

I see no "LoadingWait" function on the SAP UDF, so i believe we will need to deal with that on the code we wrote or, may be, its not necessary for SAP UDF.

There is no need for a "_SAPLoadWait" function on SAP UDF?

Edited by Donnovan
Link to comment
Share on other sites

Unfortunately I have used the SAP UDF for a very small test script only.

I suspect that waiting for the "load" is done by the functions. The examples provided have the Sleep statements included so users can see what is going on.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...