haven SAP Security
Browse knowledge
Knowledge base
SCRIPT / SECURITY BASELINE

SAP GUI Scripting

Enable interface automation only for justified business use.

Risk

Scripts can automate unwanted actions in the user’s security context.

ABAP

Settings and priorities

Technology / priorityParameter or mechanismSetting and purpose
ABAP
Extended
sapgui/user_scripting ; sapgui/nwbc_scriptingFALSE
Disable scripting by default.
ABAP
Extended
sapgui/user_scripting_per_userTRUE when scripting is permitted
Grant S_SCR with ACTVT=16 only to users who need it.
ABAP
Extended
sapgui/user_scripting_disable_recordingTRUE
Playback may remain possible while recording is blocked.
ABAP
Extended
sapgui/user_scripting_set_readonlyTRUE after reviewing setting interactions
Restricts scripts to read-only interface elements.
ABAP
Extended
sapgui/user_scripting_force_notificationTRUE
Forces a frontend notification.

How to verify

  1. Confirm whether scripting is required for business operations.
  2. For an exception, restrict users through S_SCR.
  3. Test readonly behavior together with per_user.
  4. Verify frontend notifications.

Related topics

System hardening ↗

Baseline priorities and implementation ↗