@sap/adp-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.64 • Public • Published

Adaptation Project Command-line Interface

Command-line interface that allows user to deploy (update) or undeploy an Adaptation Project.

Usage

npm install -g @sap/adp-cli

In your terminal run adp to see all available options and commands (adp abap-deploy, adp abap-undeploy).

For the correct usage of each command add -h or --help. This will print all the options the command accepts.

Example:
Usage: adp abap-deploy [options]
-ap, --abap-package <abap_package> Package name
-at, --abap-transport [abap_transport] Transport request number
-dn, --destination-name [destination_name] Destination name
-su, --system-url [system_url] System URL
-cl, --client [client] Client
-u, --username [username] Username
-p, --password [password] Password
-h, --help display help for command

Options that are surrounded by arrows are required, the ones in square brackets are optional.
If the project is local pass '$TMP' with single quotes or "\$TMP" with double quotes and a slash instead of $TMP, then you can omit -at, --abap-transport parameter.

Usage on Business Application Studio (BAS)

You can use the command on SAP Business Application Studio with either [destination_name] or [system_url] & [client] parameters (the latter requires you to pass credentials). NOTE: You cannot use both at the same time.

# abap-deploy with $TMP package
$ adp abap-deploy --abap-package '$TMP' --destination-name DEST_NAME

# abap-deploy
adp abap-deploy --abap-package ABAP_PKG --abap-transport ABAP_TRANSPORT --destination-name DEST_NAME

# abap-deploy with force update
adp abap-deploy --abap-package ABAP_PKG --abap-transport ABAP_TRANSPORT --destination-name DEST_NAME --force-update

# abap-undeploy
adp abap-undeploy --abap-package ABAP_PKG --abap-transport ABAP_TRANSPORT --destination-name DEST_NAME

Usage on VSCode

You can only use the command on VSCode (or in you CI/CD pipelines) using the following parameters, example:

# abap-deploy with system url & client
adp abap-deploy --abap-package ABAP_PKG --abap-transport ABAP_TRANSPORT --system-url https://SYSTEM_URL.sap --client XXX --username USERNAME --password PASSWORD

# abap-undeploy with system url & client
adp abap-undeploy --abap-package ABAP_PKG --abap-transport ABAP_TRANSPORT --system-url https://SYSTEM_URL.sap --client XXX --username USERNAME --password PASSWORD

Readme

Keywords

none

Package Sidebar

Install

npm i @sap/adp-cli

Weekly Downloads

43

Version

1.1.64

License

SEE LICENSE IN LICENSE.txt

Unpacked Size

39 kB

Total Files

12

Last publish

Collaborators

  • sap_extncrepos