/sc4sap:transport-readinessfrom sc4sap
Checks SAP transport requests before QA/production moves — open tasks, inactive objects, local packages, import order conflicts, DDIC dependencies, and target merge issues. Outputs one HTML report with ready/check/blocked verdicts per request.
Ships in sc4sap. 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.
Offline profile (
common/offline-mode.md): blocked — reply with the stop line there and stop.
Reads the requests to be moved and everything that decides whether they can go: their tasks, their objects, the other open requests holding the same objects, the objects' packages and activation, and the DDIC objects of other unreleased requests that their code uses. With a target destination it also reads the target system (TADIR, VRSD) to tell whether the import merges cleanly. Writes one HTML report with a verdict per request and what to fix first.
Imports fail, or break QA, for a handful of repeat reasons: a task still open, an object not activated, a structure the program needs still sitting in a colleague's request. The PMO asks "can these go tonight?", SM operations asks "in which order?" — this skill answers both before anyone opens STMS.<Response_Prefix>Every response triggered by this skill MUST begin with [Model: <main-model> · Dispatched: <sub-summary>] per ../../common/model-routing-rule.md § Response Prefix Convention. This skill dispatches no agents (Dispatched: none).</Response_Prefix>
<Team_Mode>No teamMode integration. Collecting and drawing are scripted.</Team_Mode>
<Use_When>
cab-notes.md
</Use_When><Do_Not_Use_When>
/sc4sap:project-dashboard/sc4sap:ops-health-check, /sc4sap:analyze-symptom
</Do_Not_Use_When><Decisions_Fixed>
| Topic | Decision |
|---|---|
| Selection | Request numbers, or an owner's open requests, or a request-text pattern ([SD]%) |
| Blocks | Open task · inactive object · object in a local package ($…) · code that uses a customer DDIC object (table, structure, data element, domain, table type, view) sitting in another unreleased request of the last 90 days (GetWhereUsed, ≤ 40 objects) |
| Warnings | Object also in another open request (import order) · already released · inactive list partial or not read · dependencies not checked |
| Inactive objects | DWINACTV for every user where the system reads it; otherwise ADT's inactive list, which covers only the connection user — the report says partial, never "none" (measured 2026-11-16: neither ECC's dispatcher nor the S/4HANA data preview reads DWINACTV) |
| Target merge (optional) | Only with --target-dest <SM59 destination>. Reads the target through GetRemoteTableContents (RFC_READ_TABLE over an ABAP destination of the connected system), ≤ 200 objects. Block target-diverged: the target's last change to a part (VRSD) came from a request the source does not know — repaired in the target or brought by another route; the import would overwrite it. Transports of copies made in the target only export and are passed over. Block missing-in-target: a customer DDIC object the code uses (dependency rows + D010TAB) is not in target TADIR, not in the request (warn instead when a released request carries it — import that first). Warn older-than-target: the target's last change came from a later source request — the import rolls it back. Warn target-unread / target-partial: the destination did not answer or a read failed — never "fine". |
| Verdict | blocked (any block) · check (warnings only) · ready (nothing) |
| Output | <artifact-base>/transport/<date>/tr-check-<lang>.{html,md} + collect.json + model.json (artifact base per ../../common/multi-profile-artifact-resolution.md) |
| </Decisions_Fixed> |
Step 1 — Which requests. From ARGUMENTS: request numbers, "my requests" (owner = the profile's user), or a project tag / text pattern. Requests missing → ask in plain text with the three forms as examples ("DEVK900123, DEVK900124 · my requests · text [SD]%"). Target system (QAS / PRD) if named. Target destination if named ("destination QASCLNT100", "대상 RFC QASCLNT100", --target-dest <DEST>) → pass it as --target-dest. Report language if named (Korean / English / Japanese → ko / en / ja), else the profile config.json language, else ko. Web form lines: § Web intake.
Then ask only what is still open, each question at most once:
AskUserQuestion: QAS · PRD · Not decided (CTS check without a target).No (Recommended): CTS check only · Yes: also the board's notes from the same check (one card per request: what changed in business words as an AI draft, impact up to the TCodes and jobs, test evidence, risk, rollback facts).
CAB notes chosen → follow cab-notes.md: its collect (--cab) replaces Step 2, then Step 3 builds the CTS report from that same collect, then cab-notes.md Steps 2–7 — one run gives both pages, as on the web.Step 1b — Target destination (when a target system is named or the user asks whether the requests can go into it, e.g. "QAS에 들어가도 되나"; skip when ARGUMENTS already name the destination). Ask for it clearly in one line — the SM59 destination of the target, so the run also finds changes made only there that the import would overwrite. Call GetRemoteTableContents with table_name: "TADIR" and no destination: the error lists the SM59 destinations saved for the profile. Show them and let the user pick one or name another; never guess. Nothing saved and none given → run without the merge check and say so.
Step 2 — Collect (read-only, one call):
<B> collect --requests K1,K2 | --owner <USER> | --text "<pattern>" --out-dir "<out>" --system <SID> --target <QAS|PRD> [--target-dest <DEST>]
Prints the counts (requests, objects, objects in other requests, inactive with its scope, dependencies, and with a destination the target counts or target.ok:false with the error). ok:false → show the error and stop. target.ok:false → continue; the report marks the target as not read.
Step 3 — Build (offline):
<B> build --in "<out>/collect.json" --out-dir "<out>" --lang <lang>
Step 4 — Report. Relay the summary in the user's language (one line per request: verdict and reasons) and give the HTML path. For blocked requests name the first fix (release task X / activate Y / move Z out of $TMP / import request W first / retrofit the target-only change of request V into the source first). Do not release or import anything. Then offer, one line each and only when they apply: the target merge check when it was skipped ("name the SM59 destination of and I re-run with the merge check") · CAB change notes when the target is PRD and they were not made · a re-run after the fixes.
<Web_Intake>
The web form sends lines: Requests:, Target: QAS|PRD, Target destination: <DEST> (blank = not named), Language:, CAB notes: Yes|No with CAB date:, Packages:, Evidence and note:. They answer Step 1's questions — do not ask them again; CAB notes: Yes = the CAB path of Step 1.
</Web_Intake>
<Data_Rules> Only transport and repository metadata is read, on the source and (with a destination) the target: request headers and texts, object lists, packages, version directory, table usage of programs, activation state, where-used lists. No table contents of any application object. </Data_Rules>
<MCP_Tools_Used>
Through build-tr-check.mjs collect only (its own MCP client): GetSqlQuery (E070, E07T, E071, TADIR, DWINACTV, D010TAB), GetInactiveObjects, GetWhereUsed; with --cab GetSqlQuery on TBTCO / TBTCP (scheduled jobs and their step programs); with --target-dest GetRemoteTableContents on the target (TADIR, VRSD, E070, E07T).
</MCP_Tools_Used>
<Related_Skills>
/sc4sap:project-dashboard — transport throughput per workstream/sc4sap:ops-health-check — dumps after an import, with the requests that changed the program
</Related_Skills>Task: $ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
npx claudepluginhub babamba2/superclaude-for-sap --plugin sc4sap31 skills in this plugin
/adobe-from-pdfBuild an Adobe form (SFP — interface, context and XDP layout) from a PDF of the printed form, the way smartform-from-pdf builds a SmartForm, upload it to the DEV system, print it there and score the print against the source page. Awaiting approval — not runnable yet./adobe-previewDraw the expected print of an Adobe form (SFP, S/4HANA) as HTML pages in mm (plus JPG / PDF with a local browser) — the XFA layout with its master pages, flowed tables with repeated headers, page breaks, captions, pictures (dates, numbers, currency shifts), rich text with embedded fields, rounded boxes and images — filled with invented sample values sized to the interface's DDIC types. On a development system it can print SAP's example forms through ADS and score the preview against SAP's own PDF./analyze-codeABAP code analysis — size-gated review (one Opus sap-code-reviewer, or Haiku sap-checker detectors + Opus judge for large objects), Haiku evidence check on every finding, then a canned report or a richer briefing on the main thread/analyze-symptomRead-only, step-by-step root cause analysis for SAP operational errors. Reads the dump summary and failing source via MCP (known-issue web lookup only when the failure is in standard SAP code), widens to transports and where-used only when the clues call for it, narrows hypotheses with minimal user questions, and provides SAP Note search keywords. Never changes code or data./ask-consultantDirect operational Q&A with a SAP module consultant agent. Auto-routes the question to the matching sap-{module}-consultant and answers against the configured SAP environment (version, industry, country, active modules)./assistBusiness assistant for the connected SAP system — looks up and changes specific documents through the installed business actions (query → preview → user confirm → execute), one confirmed step at a time. Use for requests about concrete SAP data such as open purchase orders, goods receipt, delivery complete, PO release, production order release / confirmation / TECO, sales order create or change, delivery / billing block, post goods issue, billing, FI document display or reversal, payment block, G/L posting, internal order status, cost center actuals, cost repost or activity allocation, document output status or reprint, shipments, picking, packing / handling units, shipment costs, warehouse transfer orders and requirements, bin and warehouse stock (ECC LE / WM), maintenance notifications and orders, equipment, functional locations and maintenance plans (ECC PM), EWM warehouse tasks, warehouse orders, bins, stock locations, handling units and delivery warehouse progress (S/4 EWM, lookups only). Korean requests too — 미결 PO, 입고, 완결, 납기 변경, 승인, 생산오더, 실적 등록, 기술적 완료, 판매오더, 출하 보류, 청구 보류, 출고 전기, 청구 생성, 전표 조회, 역분개, 지급보류, 분개 전기, 내부오더, 코스트센터 실적, 비용 재전기, 활동 배부, 출력 상태, 재출력, 운송/선적 생성, 피킹, 포장, HU, 운송비, 이전오더(TO) 생성/확정/취소, 이전요청(TR), 저장빈, 창고 재고, 재고실사, 보전오더, 보전통지, 고장 통지, 설비, 기능위치, 보전계획, 보전오더 기술적 완료, 미결 창고작업, 창고작업 조회, 창고오더, 빈 저장빈, 재고 위치, 납품 창고 진행, 검사로트, 사용결정, 검사결과 입력, 품질통지. Not for how / why / configuration questions (ask-consultant).Other plugins' skills for the same job