Question

Why do we use dlls to automate SAP tasks if we have the SAP GUI command? What are the advantages and disadvantages of using SAP GUP Command?

  • 20 July 2022
  • 1 reply
  • 24 views

Why do we use dlls to automate SAP tasks if we have the SAP GUI command? What are the advantages and disadvantages of using SAP GUP Command?

1 reply

Userlevel 4
Badge +7

Hi @Divya Paila​ ,

 

The SAP DLL offers more operations, which makes things easier for us.

So far, I've implemented one process using the SAP DLL and it worked fine, but VBScript works pretty well too.

 

Only problem with DLL is it isn't like VBScript, in that it won't wait for SAP to finish whatever its doing(like generating a report/invoice which can take anywhere from 2 minutes - 30 minutes or more).

 

SAP GUI isn't all that flexible either, so I'd recommend working with VBScript.

 

Kind Regards,

Ashwin A.K

Reply