Pro-code RPA with SAP GUI in Power Automate Desktop

The VBScript-based approach is well-suited for RPA Center of Excellence (CoE) teams because they typically consist of a mix of IT pros, pro developers, security specialists, and business analysts whose charter is to create, maintain, secure, and scale enterprise automation solutions across the organization. With these diverse skill sets, they can pursue more complex SAP GUI automation techniques than those that citizen RPA developers undertake.

One of these techniques involves using VBScript to interact with the underlying SAP GUI Scripting API. In fact, SAP includes its own proprietary SAP GUI automation engine that generates VBScript output that's based on user interactions that are captured during screen recording.

The good news is that you can use the VBScript that the SAP GUI automation engine generates in a Power Automate Desktop action. To use this VBScript, all you have to do is to replace the manually entered text that was captured during recording with dynamic inputs in Power Automate Desktop.

Take a look at this video (episode 8 of the series) to learn more about the pro-code approach for automating SAP GUI-based applications: