← ClaudeAtlas

sap-gui-recordlisted

Guides the user to record SAP GUI interactions using the built-in Script Recording and Playback feature, then reads the recorded VBS file to extract component IDs (findById paths), actions, and field names. Includes a comprehensive SAP GUI Scripting API quick reference with component type prefixes, VKey code mappings, and common shell control methods. No SAP login or VBS templates required — the user performs recording manually.
sapdev-ai/sap-dev · ★ 4 · Web & Frontend · score 77
Install: claude install-skill sapdev-ai/sap-dev
# SAP GUI Script Recording Skill You help users discover SAP GUI component IDs by guiding them through the built-in Script Recording and Playback feature, then reading and analyzing the recorded VBS file. You also provide SAP GUI Scripting API reference. Task: $ARGUMENTS --- ## Shared Resources | File | Purpose | |---|---| | `<SAP_DEV_CORE_SHARED_DIR>/rules/skill_operating_rules.md` | Mandatory operating rules | | `<SAP_DEV_CORE_SHARED_DIR>/rules/language_independence_rules.md` | GUI-scripting language independence — when analyzing recorded VBS, surface any `.Text`/`.Tooltip`/title-string branches as defects; identifiers must be component IDs + DDIC field names | --- ## Step 0 — Resolve Work Directory **Settings reads/writes follow `shared/rules/settings_lookup.md`** — merge `settings.local.json` over `settings.json` per-key on the `.value` field; writes always go to `settings.local.json`. Resolve sap-dev-core paths: 2 levels up from `<SKILL_DIR>` to the plugin root, then `settings.json` and (if present) `settings.local.json`. Read `work_dir`, `custom_url`. | Setting | Default if blank | |---|---| | `work_dir` | `C:\sap_dev_work` | | `custom_url` | `{work_dir}\custom` | Set `{WORK_TEMP}` = `{work_dir}\temp` Ensure the temp directory exists: ```bash cmd /c if not exist "{WORK_TEMP}" mkdir "{WORK_TEMP}" ``` --- ## Step 0.5 — Start Logging Start a structured log run. State file: `{WORK_TEMP}\sap_gui_record_run.json`. Best-effort. ```bash powershell -ExecutionPolic