/sap-project:sap-release-notes <TR1[,TR2,...]> | --from YYYY-MM-DD [--to YYYY-MM-DD] [--user U] [--prefix ZPRJ] [--ticket ID] [--max-impact N] [--refresh] [--docx]from sap-project
Generates business-readable CAB/release packs for ABAP transport requests, grouping changes by business area and incorporating risk and test-evidence verdicts for change-approval boards.
Ships in sap-project. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You assemble a change-advisory-board pack for one or more transport requests: an inventory of what changes, grouped by business area, folded together with the risk and test-evidence verdicts the delivery-assurance skills already produced, and written up in business language. You are read-only against SAP.
Task: $ARGUMENTS
This skill is pure composition of proven read-only reads plus AI writing. The
deterministic inventory is built by references/sap_release_notes_inventory.ps1;
the verdicts come from the artifact index; you write the prose pack from that
data under a strict grounding rule (no claim without a data row or a verdict).
| File | Token / call | Purpose |
|---|---|---|
<SAP_DEV_CORE_SHARED_DIR>/rules/skill_operating_rules.md | (rule) | Mandatory operating rules — read-only here, no writes to SAP |
<SKILL_DIR>/references/sap_release_notes_inventory.ps1 | -Trs | -FromDate/-ToDate [-User -Prefix] -SharedDir -SkillDir [-CustomUrl -Ticket -MaxTrs -OutputDir] | The RFC change-inventory engine |
<SKILL_DIR>/references/sap_release_object_types.tsv | read by the engine | E071 object-type → human label map (customer-overridable) |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_object_resolver.ps1 | dot-sourced by the engine | Read-SapTableRows (E070/E07T/E071/TADIR/TDEVC/TDEVCT/DF14T) |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_artifact_lib.ps1 | dot-sourced by the engine + Step 9 | Scope key, artifact dir, Register-SapArtifact |
/sap-transport-readiness | sub-skill | Read-only GO/NO-GO verdict per TR (folded in / run when missing) |
/sap-impact-analysis | sub-skill | Read-only risk bands per changed object (folded in / run when missing) |
docx | sub-skill | Optional .docx rendering of the finished pack (best-effort) |
Resolve work_dir via the env-aware helper (never read settings.json directly):
powershell -NoProfile -ExecutionPolicy Bypass -Command ". '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_settings_lib.ps1'; . '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_connection_lib.ps1'; Write-Output ('WORK_DIR=' + (Get-SapWorkDir))"
Set {RUN_TEMP} = the per-run scratch dir (Get-SapRunTemp mints + creates {work_dir}\temp\run_<id>):
powershell -NoProfile -ExecutionPolicy Bypass -Command ". '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_connection_lib.ps1'; Write-Output ('RUN_TEMP=' + (Get-SapRunTemp))"
Also resolve {custom_url} (customer override root) if configured — pass it to the
engine as -CustomUrl so sap_release_object_types.tsv / release_area_map.tsv
overrides are honored.
powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action start -StateFile "{RUN_TEMP}\sap_release_notes_run.json" -Skill sap-release-notes -ParamsJson "{}"
Parse $ARGUMENTS:
S4DK900123,S4DK900456).--from YYYY-MM-DD [--to YYYY-MM-DD] — E070 AS4DATE range (default --to
= today). Narrow with --user <owner> (E070 AS4USER) and/or --prefix <ZPRJ>
(E070 TRKORR LIKE 'ZPRJ%').--ticket <id> (tag the pack + registrations), --max-impact <n>
(cap on impact-analysis fan-out, default 25), --refresh (re-run
readiness/impact even when a verdict already exists), --output <dir>,
--docx (render .docx).--customizing, --deep --against <profile>): parse but tell
the user they are not yet implemented in v1 and continue without them.Validate: a TR list XOR a --from range must be present. If neither, ask the user
for a TR or a date range and STOP.
Convert --from/--to from YYYY-MM-DD to the YYYYMMDD the engine expects.
This skill needs an RFC connection only — no active GUI session. A SAP profile
must be pinned (/sap-login). The engine self-connects via the pinned profile
(no creds on the command line). If no profile is pinned, run /sap-login first.
Run via 32-bit PowerShell (NCo 3.1 is in GAC_32):
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "<SKILL_DIR>\references\sap_release_notes_inventory.ps1" -Trs "S4DK900123,S4DK900456" -SharedDir "<SAP_DEV_CORE_SHARED_DIR>" -SkillDir "<SKILL_DIR>"
For a date range, replace -Trs ... with -FromDate 20260101 -ToDate 20260131
plus optional -User <owner> -Prefix <ZPRJ>. Append -CustomUrl "{custom_url}",
-Ticket "<id>", -MaxTrs 50, -OutputDir "<dir>" as applicable.
The engine prints a parseable summary and writes the inventory files:
INVENTORY: trs=<n> objects=<n> areas=<n> unresolved=<n> scope=<key>
CHANGES_TSV: <path> INVENTORY_JSON: <path> ARTIFACT_DIR: <path> SCOPE_KEY: <key>
STATUS: OK | EMPTY_SCOPE | TOO_MANY_TRS | RFC_ERROR
Exit / STATUS handling — abort loud, never write a pack from a failed inventory:
| STATUS | Exit | Action |
|---|---|---|
OK | 0 | Continue. Note unresolved (entries with no resolvable package — deleted objects, customizing TABU, exotic sub-objects). |
EMPTY_SCOPE | 3 | No content objects in scope (unknown TR / empty request). Tell the user, log end with RELNOTES_EMPTY_SCOPE, STOP. |
TOO_MANY_TRS | 4 | Range matched > 50 TRs. Tell the user to narrow --from/--to/--user/--prefix, log end with RELNOTES_SCOPE_TOO_LARGE, STOP. |
RFC_ERROR | 2 | Connection / read failed. Suggest /sap-doctor rfc, log end with RFC_LOGON_FAILED, STOP. |
Read CHANGES_TSV (one row per changed object: trkorr, task, owner, date, pgmid,
object, obj_name, package, area, type_label, tr_text) and INVENTORY_JSON
(per-TR headers + distinct areas). Keep ARTIFACT_DIR and SCOPE_KEY for Steps 7 & 9.
Large multi-TR scopes walk each TR's objects with per-object package lookups (cached) — a 50-TR range can take a minute or two. This is expected; it runs read-only in the background of the pack build.
For each TR (and its principal changed objects), look for verdicts already in the artifact index before running anything new. Query the index by scope key:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command ". '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_artifact_lib.ps1'; Find-SapArtifacts -ScopeKey 'TR_S4DK900123' | ConvertTo-Json -Depth 5"
readiness_report artifact (or with --refresh),
run /sap-transport-readiness <TR> (its default read-only form — do NOT pass
--run-atc / --include-unit-tests; this skill only reuses heavy verdicts, it
never triggers them). Record the GO / GO_WITH_WARNINGS / NO_GO verdict.--max-impact distinct changed objects lacking an impact
artifact (largest blast-radius first: programs / classes / FMs before texts and
customizing), run /sap-impact-analysis <object> and record the risk band.Roll the per-TR verdicts up to one pack verdict: NO_GO if any TR is NO_GO, else GO_WITH_WARNINGS if any warning / COULD_NOT_CHECK / Missing-evidence row, else GO. Use NONE only when no verdict source was available at all.
--customizing (E071K TABKEY decode + IMG grouping) is planned for v1.5. If the
user asked for it, state it is not yet implemented and proceed with the v1 pack.
--deep --against <profile> (per-object unified diffs via /sap-compare) is
planned for v2. If asked, state it is not yet implemented and proceed.
Write cab_pack.md into ARTIFACT_DIR using this fixed section order. Grounding
rule: every factual claim must trace to a changes.tsv row, an inventory.json
field, or a recorded verdict. Never invent object purposes, risk, or history.
changes.tsv rows by the area column.
Under each area, list the R3TR master objects with their type_label and name;
summarize sub-objects rather than listing every LIMU part. Put (unresolved)
entries in a clearly-labeled "Unresolved / customizing" bucket — do not guess
their area./sap-impact-analysis bands and /sap-transport-readiness
verdicts per TR. State the roll-up verdict and why.(unresolved) package, every COULD_NOT_CHECK. This section must never be
empty when something was not checked.changes.tsv rendered as a table, plus scope
metadata (system, client, date range / TR list, run id).Respect userConfig.template_language for section headings if set (EN default).
If --docx, delegate the finished cab_pack.md to the docx skill → cab_pack.docx
in ARTIFACT_DIR. Best-effort: a docx failure never changes the verdict or blocks
the pack.
Register cab_pack.md (and the docx, if produced) in the artifact index so
/sap-evidence-pack <scope> collects it. change_inventory was already registered
by the engine; register the pack itself here:
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command ". '<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_artifact_lib.ps1'; Register-SapArtifact -Skill 'sap-release-notes' -ScopeKey '<SCOPE_KEY>' -ScopeKind '<TR|TRSET>' -Kind 'release_notes' -Format 'md' -Path '<ARTIFACT_DIR>\cab_pack.md' -Verdict '<GO|GO_WITH_WARNINGS|NO_GO>' -Coverage '<CHECKED_CLEAN|CHECKED_FINDINGS|COULD_NOT_CHECK>' -Ticket '<id>'"
Use -Coverage COULD_NOT_CHECK whenever the Missing-evidence section is non-empty.
Echo the final line for the user:
PACK: <ARTIFACT_DIR>\cab_pack.md trs=<n> objects=<n> verdict=<GO|GO_WITH_WARNINGS|NO_GO|NONE>
powershell -ExecutionPolicy Bypass -File "<SAP_DEV_CORE_SHARED_DIR>\scripts\sap_log_helper.ps1" -Action end -StateFile "{RUN_TEMP}\sap_release_notes_run.json" -Status SUCCESS -ExitCode 0
A pack that builds — even NO_GO — is SUCCESS -ExitCode 0 (the pack ran fine; NO_GO
is a valid verdict). For the fail-loud STOPs in Step 3 use -Status FAILED with the
mapped -ErrorClass (RELNOTES_EMPTY_SCOPE / RELNOTES_SCOPE_TOO_LARGE /
RFC_LOGON_FAILED).
--from/--to date range (with --user /
--prefix), business-area grouping (package → application component → package
text → customer override map), object-type labels, verdict fold-in from the
artifact index (readiness + impact, read-only), the AI CAB pack, --docx.--customizing (E071K TABKEY decode + IMG grouping, v1.5),
--deep --against (per-object source diffs via /sap-compare, v2).TABU/VDAT customizing entries and
deleted objects have no TADIR package and land in (unresolved); LIMU
sub-objects are attributed to their R3TR master where derivable (REPS/REPT/CUAD→PROG,
FUNC→function group, METH/class-parts→CLAS). Package text may appear in the
logon language when no English text exists.TOO_MANY_TRS) — narrow it. A scope with no content objects is EMPTY_SCOPE.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sapdev-ai/sap-dev --plugin sap-project40 skills in this plugin
/sap-auth-diagnoseDiagnoses "no authorization" failures deterministically over RFC and proposes the
exact PFCG fix — no more pasting an SU53 screenshot and hand-searching SUIM. Given
the failed authorization object (+ optional field values, read off SU53 / an ST22
dump / an application-log message), it evaluates the target user against the
AUTHORITATIVE runtime user buffer (`SUSR_USER_AUTH_FOR_OBJ_GET`, remote-enabled on
S/4HANA 1909 + ECC 6) with faithful AUTHORITY-CHECK semantics — one authorization
instance must satisfy every field, '*' matches anything, VON..BIS ranges honoured —
so the verdict can never disagree with the real kernel check the way a hand-rolled
AGR_1251/UST12 join can. It then classifies each failure (`MISSING_OBJECT` /
`MISSING_VALUE` / `BUFFER_STALE`) plus user-level `USER_LOCKED` / `USER_EXPIRED` /
`ROLE_EXPIRED`, names the closest role the user already has (with what it currently
grants), and writes a diagnosis TSV + fix-proposal + ready-to-send security request.
Read-only toward roles and users — the fix is always a proposal, never a write.
Prerequisites: SAP profile via /sap-login (RFC); SAP NCo 3.1 (32-bit). su53 (GUI
auto-scrape of the failed objects) and trace (STAUTHTRACE) modes are the documented
next phase — until then the operator supplies the failed object (Claude decodes a
pasted SU53 into the check input).
/sap-auth-requirementsDerives the SAP authorization requirements a custom development actually needs — the
deliverable Z-transactions never hand the security team. derive reads a program/FM source over
RFC, extracts the EXPLICIT AUTHORITY-CHECK surface plus the IMPLICIT one (CALL TRANSACTION ->
S_TCODE, SUBMIT -> S_PROGRAM, OPEN/DELETE DATASET/TRANSFER -> S_DATASET, CALL FUNCTION
DESTINATION -> S_RFC, DDIC table writes -> S_TABU_DIS incl. dynamic MODIFY (var)), traces each
value to its nearest literal, and validates every object/field/activity against the live
catalog (TOBJ / TACTZ) — emitting a required-auth matrix with per-row CONFIRMED / INFERRED
honesty plus an SU24 proposal draft. su24-audit lists Z/Y tcodes against USOBX_C / USOBT_C and
flags the real gap: NO_PROPOSAL / CHECK_DISABLED / ONLY_S_TCODE / PROPOSAL_PRESENT with a
staleness date. Pure RFC + offline extraction (no wrapper FM, no dev-init, runs on a bare
security profile); a static value that cannot be resolved is INFERRED, never silently
CONFIRMED. Class/interface source needs an SE24 GUI download (pass --source-files) or degrades
to COULD_NOT_CHECK. Owns the AUTHREQ_* finding namespace so it never double-reports with
/sap-review-abap's security dimension. v2: su24-maintain / su21-create (confirm-gated GUI).
Prerequisites: pinned /sap-login RFC profile; NCo 3.1 (32-bit).
/sap-bpManages SAP Business Partners via the BP transaction using SAP GUI Scripting.
Creates new partners (Organization type) or updates existing ones.
Existence check, partner creation with role/grouping selection, and
partner update with field values from a definition file.
Prerequisites: Active SAP GUI session (use /sap-login first).
/sap-change-historyAnswers "who changed this object / this data, and when" headlessly over RFC — no more
hand-joining CDHDR/CDPOS in SE16N and decoding cluster rows by eye. Resolves a business
token (PO, customer, vendor, material, sales order, G/L account, cost center …) to its
change-document class, scans CDHDR for the change headers, then pulls the fully DECODED
field-level rows (table · field · old → new, with DDIC field labels) via CHANGEDOCUMENT_READ
through the dev-init RFC wrapper — which sidesteps both the CDPOS 512-byte RFC_READ_TABLE
limit and ECC-6's CDPOS cluster storage in one call. Renders an auditable timeline + an
evidence-grade TSV, and (`--correlate`) time-orders the changes against transport imports
and /sap-diagnose evidence so "TR imported → field changed 5 min later" reads as one story.
Read-only; no writes, no SQL, no GUI. Also does `user <U>` / `window --from/--to` scans and
a `classes` map dump. Prerequisites: pinned RFC profile via /sap-login; the dev-init wrapper
Z_GENERIC_RFC_WRAPPER_TBL (via /sap-dev-init — never deployed by this skill); SAP NCo 3.1 (32-bit).
/sap-config-compareKeyed, row-level RFC diff of ONE customizing table or view across two saved
connection profiles (or two clients of one system) — the shareable answer to
"it works in QAS but not in DEV/PRD". Resolves the object on both sides, computes
the compared-field set (drops the technical client key for client-dependent tables,
excludes unreadable/too-wide columns honestly), guards against an unbounded read,
does a chunked offset-based read of each side, and runs the ONE shared keyed-diff
engine to classify every key LEFT_ONLY / RIGHT_ONLY / CHANGED. Claude then translates
the raw deltas into functional meaning using DDIC texts. Output is a diffable diff.tsv
+ summary, registered for /sap-evidence-pack. Read-only. Prerequisites: two profiles
via /sap-login (pinned LEFT + --against RIGHT); SAP NCo 3.1 (32-bit). No GUI, no
Z-object, no dev-init.
/sap-cutover-runbookTurn a 200-step cutover Excel into a crash-safe, evidence-stamped tracker — the cutover
lead stops doing 3am bookkeeping and answers "are we on the critical path?" instantly.
`init` parses the runbook into a draft ledger behind a mandatory human-curation gate;
`record` stamps start/done/fail events with machine-read RFC evidence (transport import
return code from TPALOG, job status from TBTCO, table row counts) — never a screenshot;
`report` renders the live board with per-phase progress, blockers, and the critical path
over the remaining dependency DAG; `checkpoint --health` composes an advisory go/no-go with
a tri-state system-health snapshot (dumps, update backlog, qRFC/tRFC queues, locks, running
imports). v1 is read-only toward SAP (reads only); `run` auto-execution is v2. Prerequisites:
/sap-login profiles (one per system named in the plan); SAP NCo 3.1 (32-bit). No Z-object,
no dev-init — safe to point at a PRD/QAS cutover target.
Other plugins' skills for the same job