Enable OpenRPA for SAP
OpenRPA uses SAP GUI Scripting to record and do actions inside SAP.
Sap is not installed by default, you need to specefy this, when running OpenRPA.msi. If you did not install it, you can somply run OpenRPA.msi again to modify your installation.
Enable SAP Sserver for Scripting
You can enable scripting by setting the profile parameter sapgui/user_scripting to TRUE. The value set using this procedure will be lost when the system is restarted. Contact your administrator to make this setting enabled permenantly. ( See screenshots here )
-
Call transaction RZ11.
-
On the Maintain Profile Parameters screen, enter sapgui/user_scripting.
-
Choose Display.
-
In the Display Profile Parameter Attributes screen, choose Change value.
-
Enter TRUE in the New value field.
-
Choose Save.
On some systems this will not work when sapgui/user_scripting_per_user
has been set to TRUE
. In that case you need to enbale scripting on the users profile.
- Access User Profile:
- Execute transaction: SU01
- Enter username to modify.
- Edit User Profile:
- Click on the “Edit” button.
- Navigate to Parameters Tab:
- Go to the “Parameters” tab.
- Add SAP GUI Scripting Parameter:
- Add a new row in the parameters.
- Parameter ID: sapgui/user_scripting
- Parameter Value: TRUE
- Save Changes:
- Save the modifications to the user profile.
- Log Off and Log On:
- The user needs to log off and then log back in for the changes to take effect.
Enable SAP Client for Scripting
Next we need to enable scripting in SAP GUI Client.
- Click Customize Local Layout, and then click Options
- Click Accessibility & Scripting, and then click Scripting
- Check the Enable scripting box
- Click OK
Working for SAP from OpenRPA videos
These below videos will also explain some things about SAP and OpenRPA
Get a good start with SAP in OpenRPA
Running OpenCore offline and some MQTT stuff
note
SAP GUI Scripting is only available for those users that have the authorization for the Execute(16) action of the authorization object S_SCR in class BC_A.