adt-export
БесплатноБез исполняемых скриптовНе проверенADT export, deploy, roundtrip, diff, and unlock commands. USE WHEN working with abapGit file export/import, deploying to SAP, comparing local vs remote…
от abapify★ 20 звёзд на GitHubОб этом скилле
ADT Export & Roundtrip Commands
CLI commands for the abapGit-to-SAP workflow: export (deploy), diff, roundtrip test, and unlock.
Command Overview
| Command | Package | Purpose |
|---|---|---|
adt export / adt deploy |
@abapify/adt-export |
Push local abapGit files to SAP |
adt diff |
@abapify/adt-diff |
Compare local files against SAP remote |
adt roundtrip |
@abapify/adt-export |
Deploy + reimport + compare (verification) |
adt activate |
@abapify/adt-export |
Bulk-activate inactive objects |
adt unlock |
@abapify/adt-cli |
Force-unlock stuck SAP objects |
All commands are registered in adt.config.ts and loaded by the plugin loader.
1. Export / Deploy
adt export [files...] [options]
adt deploy [files...] [options] # alias
Options
| Flag | Description | Default |
|---|---|---|
-s, --source <path> |
Source directory with serialized files | . |
-f, --format <format> |
Format plugin (abapgit / ag) |
abapgit |
-t, --transport <request> |
Transport request (optional for $TMP) |
|
-p, --package <package> |
Target SAP package for new objects | |
--types <types> |
Filter by types, comma-separated (e.g. CLAS,TABL) |
all |
--dry-run |
Scan only, don't save | false |
--activate / --no-activate |
Activate after deploy | true |
--unlock |
Force-unlock before saving | false |
--abap-language-version <v> |
2=keyUser, 5=cloud (BTP) |
Workflow
Local abapGit files (.xml + .abap)
| format.export() yields AdkObjects
v
[Create missing subpackages if --package]
[Reassign objects to correct package if needed]
[Force-unlock if --unlock]
|
v objectSet.deploy(mode: 'upsert')
SAP System (saved + activated)
Phases:
- Discovery -- format plugin parses file tree into ADK objects
- Subpackage creation -- inherits transport layer from parent package
- Package reassignment -- deletes + recreates objects in wrong package
- Unlock -- POST
?_action=UNLOCKper object (if--unlock) - Deploy -- upsert (lock/update or create), then bulk activate
Examples
# Deploy everything in current dir
adt export -p ZPACKAGE -t NPLK900042
# Deploy specific files
adt export zage_tabl.tabl.xml zcl_myclass.clas.xml -p ZPACKAGE
# Deploy only domains and data elements
adt export --types DOMA,DTEL -p ZPACKAGE
# Dry run (validate without saving)
adt export --dry-run -p ZPACKAGE
# Deploy without activation
adt export --no-activate -p ZPACKAGE -t NPLK900042
# Force-unlock before deploy
adt export --unlock -p ZPACKAGE
2. Diff
adt diff [files...] [options]
Options
| Flag | Description | Default |
|---|---|---|
--no-color |
Disable colored output | color on |
-c, --context <lines> |
Context lines in diff | 3 |
-s, --source |
Compare ADK source instead of XML (TABL only) | false |
Supported Types
CLAS, INTF, PROG, FUGR, TABL, DOMA, DTEL, TTYP, DEVC
Two Modes
XML mode (default) -- works for all types:
Local .xml file --> parse via schema
|
Remote from SAP --> serialize via handler --> parse via schema
|
projectOnto(remote, local) -- strip fields local doesn't have
|
rebuild both --> unified diff
Source mode (--source) -- TABL only:
Local .xml --> tablXmlToCdsDdl() --> CDS DDL text
Remote SAP --> getSource() --> CDS DDL text
|
project remote annotations onto local's set
|
unified diff
Projection Concept
Local is source of truth. Remote is projected onto local's shape:
- XML mode:
projectOnto()drops keys/fields from remote that local doesn't have - Source mode: annotations in remote CDS that don't exist in local CDS are stripped
- This eliminates false positives from fields SAP auto-adds (LANGDEP, POSITION, MATEFLAG, SHLP
Установить adt-export в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл adt-export?
ADT export, deploy, roundtrip, diff, and unlock commands. USE WHEN working with abapGit file export/import, deploying to SAP, comparing local vs remote, roundtrip testing, or unlocking stuck objects. Trigger words - export, deploy, diff, roundtrip, unlock, compare SAP, push to SAP, abapGit sync.
Как установить скилл adt-export?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл adt-export запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub