Skip to main content
Ground Control | Tier 1
July 20, 2022
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?

  • July 20, 2022
  • 1 reply
  • 90 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

    Ashwin A.K
    Navigator | Tier 3
    July 21, 2022

    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

    Blogs at TheCodingTheory - https://www.thecodingtheory.com