Automating SAP GUI: Scripting Concepts and Stable Object Identification
Course quiz
Automating SAP GUI: Scripting Concepts and Stable Object Identification
Keep this: job aid
SAP GUI automation checklist
- Tree: application → connection → session → window → areas (usr, sbar, tbar) → controls.
- Server: sapgui/user_scripting = TRUE (uppercase; persist in the profile). Refine with per_user (S_SCR 16), set_readonly, disable_recording, force_notification.
- Client: scripting installed and enabled; keep attach and connection notifications on.
- No passwords in scripts; use SSO or SNC connections. Production: off or read-only.
- Attach to the right session by system, client and user before acting.
- Find controls by technical name and type; tabs by name; rows by business key, never position.
- Keep locators in screen objects; one screen change = one fix.
- After each step: check for popups and read message type, class and number.
- After saving: poll for follow-on data with a timeout (update task).
- Verify: message → document read-back → follow-on effects; log document numbers and compared values.