Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  SAP Integration

    Posted Mon March 21, 2022 04:48 AM
    We want to login SAP GUI Netweaver and make an invoice data entry to SAP GUI with IBM RPA. IBM RPA has some requirements for this integration. IBM RPA needs SAP Scripting enable in both client and server side. But, SAP indicates scripting is dangerous for security reasons. How can we login sap and make data entry in sap gui without server side enabling scripting? Could you advise a way for this integration? Thanks for your help.

    ------------------------------
    YASEMİN ALADI
    ------------------------------


  • 2.  RE: SAP Integration

    Posted Tue March 22, 2022 08:25 AM
    SAP GUI Scripting allows for better integration with the SAP system, making it possible for RPA to find elements on the screen. Because you are able to interact with elements directly, I would highly recommend enabling SAP Scripting in both server and client.

    If you really don't want to enable it, you can always automate using computer vision and mouse/keyboard commands, but they are less reliable than interacting with the elements directly.


    ------------------------------
    Vinicius Marques
    ------------------------------



  • 3.  RE: SAP Integration

    Posted Fri March 25, 2022 09:30 AM
    Edited by DAVID Jenness Sun March 27, 2022 12:23 PM
    • According to IBM RPA configurations/prerequisites: SAP GUI Scripting Feature must be installed and enabled. https://www.ibm.com/docs/en/rpa/21.0?topic=configuration-configuring-sap
    • IBM is following the highest level of security standards and comply with SAP GUI Scripting Security Guide / Best Practices.  https://help.sap.com/doc/97d2d0bc2ed248a4a85a0bec608704f8/760.01/en-US/sap_gui_scripting_sec_guide.pdf
    • SAP has clearly mentioned a few points to clarify/address both security concerns & usability of this feature "GUI Scripting" – I Quote the following points from SAP document:
      1. Can a script corrupt the SAP system's data? SAP Answer: No. All changes done from a script are subject to the same data validation rules as end user interaction.
      2. Can a script access data for which the end user does not have the necessary privileges? SAP Answer: No. The script has only access to the data to which the end user has access rights.
      3. Can a script export data that the end user could otherwise not export? SAP Answer: Yes. Even if the download of a list is not allowed, an end user can extract the data from SAP GUI. Of course, the end user could also create a screen shot instead. SAP GUI Scripting can only export data that is displayed on the screen.
      4. Can a script record passwords? SAP Answer No. Therefore, a script cannot be played back if the user running it does not have an account on the SAP system
      5. Can a script run in the background without the end user's knowledge? SAP Answer: No. The end user will be notified when the script starts, SAP GUI Scripting needs to display SAP GUI for running a script.
      6. Can SAP GUI Scripting be used to corrupt the client PC? SAP Answer : No. The functionality of SAP GUI Scripting is limited to driving SAP GUI. However, if you use Visual Basic Script and the Windows Script Host to access the SAP GUI Scripting interface, the functionality of the VBS language or the Windows Script Host object model might very well be used to perform arbitrary operations on the client PC
    • In addition to these points, please also consider the SAP server-side protection procedures.
      1. Enabling SAP GUI Scripting for a specLfic application, there are an additional parameter that modify the default behavior of the sapgui/user_scripting.
      2. (sapgui/user_scripting_set_readonly) In SAP GUI Scripting's read only mode a subset of the API can be used from a script. This comprises read access to properties and calling read only functions. (This is subject to testing).
    ------------------------------
    Mostafa Mansour
    ------------------------------