cancel
Showing results for 
Search instead for 
Did you mean: 

Query Regarding sapgui scripting parameters

SAPSupport
Employee
Employee
0 Kudos
179

There is a recommendation to set below to parameters with the value - 

sapgui/user_scripting_disable_recording = TRUE
sapgui/user_scripting_set_readonly = TRUE

But we need to keep sapgui scripting recording enabled and even we cannot make the scripting 'read only' also. In that case, is there any workaround (like restricting the use for certain users or any other dependent paraneters etc) where even if we keep the values as 'TRUE' for both parameters but still recording will work and it shall not be 'read-only'? 

 

Thanks,


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.
View Entire Topic
SAPSupport
Employee
Employee
0 Kudos

Hello!

Thank you for reaching out to SAP.

In order restrict the scripting recording and playback for specific users, setting optional parameters like sapgui/user_scripting_per_user might be required:

Check KBA 2296251 - How can SAP GUI Scripting be enabled? 

Optional parameters

In some cases it is not possible to enable SAP GUI Scripting for lack of a dedicated application server. This implies that users who are allowed to use SAP GUI Scripting work on the same server as others, so the SAP GUI Scripting cannot be enabled for the server. For the solution the profile parameter “sapgui/user_scripting” needs to be set to “TRUE”. The new profile parameter “sapgui/user_scripting_per_user” allows the administrator then to enable SAP GUI Scripting for specific users. Unless the administrator explicitly changes the value, this parameter is set to “FALSE”. If the profile parameter is set to “TRUE” the following happens:

  • On the login screen SAP GUI Scripting is available for every user
  • After login SAP GUI Scripting only remains available for those users that have the authorization for the Execute(16) action of the authorization object S_SCR in class BC_A.

In some cases it might be helpful to use the following optional parameters:

  • sapgui/user_scripting_disable_recording“:
    If this parameter is set to ”TRUE”, script playback is possible, but recording is not permitted.
  • sapgui/user_scripting_set_readonly“:
    If this parameter is set to “TRUE”, scripts may only act on read-only user interface elements.
  • sapgui/user_scripting_force_notification”:
    If this parameter is set to “TRUE”, a notification is always displayed at the frontend, regardless of the client options described below under 'Warning Options on Client Side'.

Note:
These parameters will only take effect after SAP GUI Scripting has been enabled using the parameter “sapgui/user_scripting”.

__________________________
Best Regards,

SAP Community