sap-se16nlisted
Install: claude install-skill sapdev-ai/sap-dev
# SAP SE16N Table Query Skill
You query a SAP table via transaction SE16N and download the result set as a
tab-delimited text file. Filters and the optional output-field list are passed
to the underlying VBScript via a side-channel parameters file so that an
arbitrary number of filter fields and values can be specified.
Task: $ARGUMENTS
**Mode dispatch.** If the first token is `snapshot`, go to **Snapshot Modes**
(below): `save` runs the normal query flow (Steps 0–6) then captures the result;
`diff` / `list` are pure-local and skip the SAP query. If the first token is
`agg`, go to **Aggregation Mode (SE16H)** — server-side GROUP BY + MIN/MAX/AVG +
per-group count, a separate SAP flow (transaction SE16H) that does NOT run
Steps 3–6. Any other first token is the **normal query flow** (Steps 0–6,
default — unchanged).
---
## 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 — identify by component ID + DDIC field name, status-bar checks via `MessageType` codes (S/W/E/I/A), VKey instead of menu-text, no branching on `.Text`/`.Tooltip`/window titles |
| `<SKILL_DIR>/references/sap_se16n_snapshot.ps1` | Snapshot `save`/`diff`/`list` (pure-local); the diff delegates to the shared keyed-diff engine. |
| `<SKILL_DIR>/references/sap_se16h_agg.vbs` | `agg` mode — drives SE16H (program `SAPLSE