/sap-project:sap-sost list [--status error|wait|sent|all] [--type INT|FAX|PAG] [--from YYYYMMDD] [--cluster] | trace --recipient <addr> | config-checkfrom sap-project
Triages SAPconnect outbound-queue (SOST/SCOT) over RFC: lists failures by status/type, clusters root causes, traces message timelines, and validates SCOT pipe health.
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 triage stuck outbound email/fax: cluster the failures, trace one message's timeline, and check whether the SAPconnect pipe itself (nodes + send job) is healthy — all read-only over RFC.
Task: $ARGUMENTS
| File | Token / call | Purpose |
|---|---|---|
<SKILL_DIR>/references/sap_sost_read.ps1 | -Action list|trace|config | The RFC read backend (all three v1 modes) |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_rfc_lib.ps1 · sap_connection_lib.ps1 | dot-source | RFC connect |
<SAP_DEV_CORE_SHARED_DIR>/scripts/sap_finding_lib.ps1 · sap_artifact_lib.ps1 | dot-source | Findings + evidence |
/sap-run-report · /sap-job · /sap-output-diagnose | sub-skills | RSCONN01 --kick (v1.5) / send-job forensics / app-layer handoff |
Resolve work_dir + {RUN_TEMP} (canonical one-liner — sap_connection_lib.ps1 is dot-sourced
there — with Write-Output ('RUN_TEMP=' + (Get-SapRunTemp)) appended). {RUN_TEMP} = the
per-run scratch dir holding the log state file; mint it once here and reuse (re-minting breaks
the -Action end state-file lookup). Start logging (sap_log_helper.ps1,
state {RUN_TEMP}\sap_sost_run.json). Pinned RFC profile via /sap-login.
list (default --status error, last 7 days) | trace | config-check. All read-only in v1.
... sap_sost_read.ps1 -Action list [-Status error|wait|sent|all] [-Type INT|FAX|PAG] [-FromDate ..] [-Cluster] -OutDir "{RUN_TEMP}\sost"
SOST: lines (date/type/msgty/message/node/object) -> queue_snapshot.tsv; with --cluster,
SOSTCLUSTER: top (MSGID,MSGNO) root causes with T100 text -> error_clusters.tsv. Present the
top clusters as the headline ("N messages failed with ").
... sap_sost_read.ps1 -Action trace --recipient <addr> (or --sender U) [-FromDate ..]
SOSTTRACE: per-object attempt timeline. Zero matches -> NOT_IN_SAPCONNECT verdict: tell the
user the message never reached SAPconnect and point at /sap-output-diagnose. (--body via
SO_DOCUMENT_READ_API1 is v1.5.)
... sap_sost_read.ps1 -Action config [-Type INT] [-StuckHours 4] -OutDir "{RUN_TEMP}\sost"
SOSTCHECK: for nodes (SXNODES active) / send job (RSCONN01 in TBTCP->TBTCO) / stuck queue, each a
tri-state result -> config_check.tsv + overall GO/GO_WITH_WARNINGS/NO_GO. Map each to
New-SapCheckResult (a table that fails to read is COULD_NOT_CHECK, never a silent pass);
Get-SapVerdict. A missing RSCONN01 send job with a stuck queue is the classic "node up, nothing
sends" pattern — surface it explicitly.
No RFC resend FM exists (probed). resend drives transaction SOST via a to-be-recorded VBS
(sap_sost_resend.vbs — not yet shipped: emit NEEDS_RECORDING and capture it once with
/sap-gui-probe --record) behind a
confirm gate (typed confirmation for >25 messages or a production client), then an authoritative
SOST re-read verifies the status flip; --kick submits RSCONN01 via /sap-run-report (its own gate).
Register-SapArtifact (scope SYS_<SID>; kinds queue_snapshot / error_clusters / msg_trace
/ config_check; coverage + verdict) for /sap-evidence-pack.
Log end (SUCCESS/FAILED/SKIPPED + error_class). Error classes: SOST_SELECTION_EMPTY,
SOST_RESEND_FAILED, NEEDS_RECORDING; reused RFC_LOGON_FAILED / RFC_ERROR / GUI_TIMEOUT.
list --cluster grouped 11 XS-816
failures into one root cause — "Message cannot be transferred to node & due to connection error
(final)" (T100). config-check returned a coherent NO_GO: SMTP node active, no RSCONN01 send
job scheduled (steps=0), 17 error/wait messages stuck — the textbook "node up, nothing sends"
diagnosis. EC2 (ECC 6) was probed in-plan (identical SO*/SX* table set, SAPLSBCS_OUT on both) but
unreachable at build time; the read backend is release-agnostic.trace groups by the SOST object id; recipient matching is best-effort on the
MSGV variables (the exact recipient address lives in SOOS/address objects — a v1.5 join).NEEDS_RECORDING — capture
with /sap-gui-probe --record). v1 is read-only.--max ROWCOUNT cap (500) +
explicit narrow field lists keep reads under the RFC_READ_TABLE 512-byte row limit.trace --body (SO_DOCUMENT_READ_API1); /sap-diagnose source-matrix
registration. v2: BCST_SR (BCS) linkage; SOSG auth-scoped variant; health-snapshot diffing.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sap-sost, sapconnect, outbound-queue, rfc-triage, sap-troubleshooting
40 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.
npx claudepluginhub sapdev-ai/sap-dev --plugin sap-projectOther plugins' skills for the same job