Skip to main content

adt checkout

Download ABAP objects to abapGit-compatible local files (disk ← SAP).

checkout is a convenience wrapper around adt import object and adt import package that uses shorter, typed subcommands.

Subcommands

adt checkout class <name> [targetFolder]
adt checkout interface <name> [targetFolder]
adt checkout program <name> [targetFolder]
adt checkout domain <name> [targetFolder]
adt checkout dataelement <name> [targetFolder]
adt checkout table <name> [targetFolder]
adt checkout functiongroup <name> [targetFolder]
adt checkout ddl <name> [targetFolder]
adt checkout dcl <name> [targetFolder]
adt checkout package <packageName> [targetFolder]

The object-type subcommands map to the SAP 4-letter kinds (classCLAS, interfaceINTF, programPROG, domainDOMA, dataelementDTEL, tableTABL, functiongroupFUGR, ddlDDLS, dclDCLS).

Options

Object subcommands (class, interface, program, ...)

FlagDescription
[targetFolder]Target output folder (default: .).
-o, --output <path>Output directory (overrides targetFolder).
--format <format>Output format (default: abapgit).
--debugEnable debug output.

package

FlagDescription
[targetFolder]Target output folder (default: .).
-o, --output <path>Output directory (overrides targetFolder).
-t, --object-types <types>Comma-separated object types (e.g. CLAS,INTF,DDLS).
--no-sub-packagesExclude subpackages.
--format <format>Output format (default: abapgit).
--debugEnable debug output.

Examples

# Checkout a single class to ./src
adt checkout class ZCL_DEMO ./src

# Full package to ./repo, abapGit layout
adt checkout package $ZDEMO ./repo

# Filter object types
adt checkout package $ZDEMO ./repo --object-types CLAS,INTF,DDLS

# Use AFF/gCTS layout instead of abapGit
adt checkout class ZCL_DEMO ./src --format gcts

See also

  • checkin — the inverse operation (disk → SAP)
  • import — full-feature import with format-options
  • @abapify/adt-plugin-abapgit — abapGit serialiser
  • @abapify/adt-plugin-gcts — gCTS / AFF serialiser