Enumerates and classifies the custom (Z/Y / customer-namespace) repository
objects in scope for an S/4HANA migration campaign.
“电商与销售”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Enumerates and classifies the custom (Z/Y / customer-namespace) repository
objects in scope for an S/4HANA migration campaign. Reads TADIR (object
directory) and TRDIR (program sub-type) over **read-only RFC** against the
campaign's SOURCE system, writes `inventory.tsv`, and upserts every object
into the campaign state ledger (`state.tsv`) as INVENTORIED — never altering
objects already further along, so it is safe to re-run as new custom code
appears.
No SAP GUI, no writes, no transport request: pure read-only analysis. This is
the first SAP-touching step of the sap-migrate pipeline; run it after
`/sap-cc-campaign init` and before `/sap-cc-usage`.
When RFC to the source is blocked, a GUI fallback (`--source-mode GUI`)
ingests `/sap-se16n` exports of TADIR (+ optional TRDIR) instead -- identical
output, no NCo.
Scope defaults to the campaign brief's `in_scope_packages` (object-name
prefixes such as `Z*`, `Y*`, `/MYCO/`); override with `--namespace`,
`--packages` (DEVCLASS patterns), `--types`, and `--exclude`