Spy can't find all of the SAP GUI elements

Ask general questions here.
Martin
Posts: 152
Joined: Fri Aug 15, 2014 12:24 pm

Re: Spy can't find all of the SAP GUI elements

Post by Martin » Fri Sep 18, 2015 8:46 am

So here's how i solved my issue.

http://www.ranorex.com/support/user-gui ... tions.html

Ranorex actually specifies in it's documentation to enable scripting support for SAP. But it's actually not fully correct.

This setting only handles the client side support for scriping meaning that if the server hasn't got scripting enabled, there is nothing for you to enable or disable through this setting.

But as I am quite new to SAP (3 weeks in on the new job) I didn't have the knowledge of such kind of a parameter. And it's hard to come across when searching for a solution to an issue you have no full knowledge of.

But I managed to stumble upon this documentation for SAP GUI Scripting Security http://www.sdn.sap.com/irj/scn/go/porta ... ayout=true which actually contains the solution.

Server needs to have "sapgui/user_scripting" global parameter enabled (value "TRUE"). Only then has the client side scripting enable/disable setting any effect.

This setting can be changed through transaction RZ10 in SAP and requires server restart.

If there are any security limitations in your company and it's not allowed for everyone to have scripting access, there is a posibility to enable it for only specific people through combining the "sapgui/user_scripting" parameter with "sapgui/user_scripting_per_user".

All the required information is in the previously linked SAP Scripting Security documentation.

Can Ranorex Support update their SAP related documentation as well please.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Spy can't find all of the SAP GUI elements

Post by Support Team » Mon Sep 21, 2015 2:14 pm

Hello Martin,

Thank you for posing the solution. I will forward this to the responsible department in order to add thes information to the user guide.

Regards,
Bernhard
.
Image