02-01-24 10:41 AM
Hi,
i was working on SAP application , till yesterday it was working fine , but today we are not able to spy any element through SAP mode. getting error
unable to find element. scripting is also enabled then also getting same error.
could any one can help on this issue.
03-01-24 03:56 AM
Hello Raman
Thank you for contacting the Blue Prism community.
If the SAP spy mode was working before and suddenly stopped as you described, I suggest asking the IT team if they have updated the SAP server update or any changes in user permission. If the SAP spy mode is not activated, you need to make sure the SAP spy mode is enabled.
https://support.blueprism.com/en/support/solutions/articles/7000076806-how-to-enable-sap-spy-mode
By default, the SAP environment does not have the SAP GUI Scripting settings enabled. Since Blue Prism uses these settings to obtain access to the SAP controls and windows then it is essential to enable these settings, otherwise SAP Spy Mode will not pick up any elements.
When you log into SAP using SAP Logon you will need an account that has the necessary permissions to make settings changes. Typical accounts that can be used are:
These accounts are usable in the SAP Demo system, but if you are making changes in a live SAP system then you may need to determine which account should be used to make the changes.
Tip: Changes made to enable scripting may be persisted, but changes to the user's profile settings may not be persisted if the SAP Server is restarted. If the SAP Server is stopped or restarted, then you will need to re-run the RZ11 transaction and re-enable scripting in the appropriate profile (see 'Enabling SAP server scripting' section)
The 'nwbc_scripting' parameter will prevent Blue Prism's SAP Spy Mode from operating correctly, and it should be disabled.
You can enable scripting temporarily from the SAP client by performing the procedure shown below. The value set using this procedure is lost if the SAP Server is restarted.
Important: Setting SAP Server Scripting is a mandatory requirement for the SAP Spy Mode to work. If you do not have permission to run the RZ11 transaction, or to set the value for this setting, then please ask your company's IT Department to permanently set this value for you. It will be required for any machine/SAP user which will run the automation.
------------------------------
Hossein Azimi
Customer Support Engineer, APAC
Blue Prism
Sydney NSW
------------------------------