Solution:
- For automating an SAP application you have to write VBScript. For scripting, you need to first enable the scripting option from the SAP application.
- We have VBScript plugin where you can add your code. We also have SAP Login and SAP Logout plugins for SAP automation, you can use the same.