Automatically enable SAP server-side scripting after server restart

Hi, whenever the SAP server restarts, the server side scripting is disabled again even though it was enabled before, is there a way to automatically enable it after server restarts?

1 Like

@jack.chan

Hello Jack,
great question. The reason why it switch back to the default value is the profile.
You must set on server side the profile value of sapgui/user_scripting.

You can set this value in the file
[SAPSYSTEMNAME]_[INSTANCE_NAME]_[SAPGLOBALHOST]
e.g.
NSP_DVEBMGS00_TEST

You can find the instance profile in the path
/usr/sap/[SAPSYSTEMNAME]/SYS/profile
e.g.
/usr/sap/NSP/SYS/profile

You can find more information about SAP server profiles in the SAP Documentation.
To handle the profiles use TAC RZ10 or edit the file manually.
Best regards
Stefan

1 Like

thank you.

if sapgui/user_scripting doesnt exist must i create it ?
image
image

Yes, it adds a line in your profile file, e.g. like this:

image

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.