Skip to main content

SAP ABAP Development Tools (ADT)

Read and write ABAP and CDS sources, activate objects, run classrun probes and manage transport requests over the ADT REST API — the same API Eclipse uses, without Eclipse.

SAP ABAP Development Tools (ADT) Logo

Authentication

This connector uses Token-based authentication.

info

Set up your connection in the Abstra Console before using it in your workflows.

How to use

Using the Smart Chat

Execute the action "CHOOSE_ONE_ACTION_BELOW" from my connector "YOUR_CONNECTOR_NAME" using the params "PARAMS_HERE".

Using the Web Editor

from abstra.connectors import run_connection_action

result = run_connection_action(
connection_name="your_connection_name",
action_name="your_action_name",
params={
"param1": "value1",
"param2": "value2"
})

Available Actions

This connector provides 10 actions:

ActionPurposeParameters
read_sourceRead the ABAP source of a repository object class, program, CDS view, behavior definition, ....objectType (string) required
name (string) required
write_sourceWrite the ABAP source of a repository object: locks it, replaces the source, unlocks it and by default activates it. Always unlocks, including when the write fails.objectType (string) required
name (string) required
source (string) required
transportRequest (string)
activate (boolean)
activateActivate a repository object. Reports the ABAP syntax messages — ADT returns those inside a 200 response, so an inactive-but-saved object is not a silent success.objectType (string) required
name (string) required
search_objectsSearch the repository by name pattern, the way the ADT search field does. Use it to find out whether an object exists and which type it is.query (string) required
maxResults (integer)
run_classRun an ABAP class that implements IF_OO_ADT_CLASSRUN and return what it wrote, the way 'Run as console application' does in Eclipse. This is the ABAP REPL.className (string) required
create_transportCreate a transport request and return its number.description (string) required
type (string)
target (string)
release_transportRelease a transport request. Releasing freezes it — further changes need a new request, and production then expects the requests in order.transportRequest (string) required
list_transportsList the modifiable transport requests of a user.user (string)
discoveryRead the ADT discovery document: the collections this system actually serves. Use it to check whether a capability is available before assuming it is.No parameters
requestSend a raw request to the ADT REST API for anything the typed actions do not cover. The path is appended to /sap/bc/adt.method (string) required
path (string) required
query (object)
body (string)
contentType (string)
accept (string)