How jfilak/sapcli works
SAP CLI is a command-line client for SAP products, centered on sending ADT operations to ABAP systems and presenting results to developers and CI tools. Its documented workflow includes running ABAP Unit tests and coverage, performing ATC checks, managing ABAP repository objects, and working with transports and gCTS; it also offers ABAP execution and limited RFC functionality. Configuration and authentication support named contexts and optional auth plugins. The graph preserves these documented branches, while sampled-source evidence is limited; unsampled subsystem relationships are shown only where the README supports them.
Main entry points: __init__.py CLI commands · objects.py ABAP objects · client.py HTTP client · object.py Object commands
Components 28
CLI and configuration
- CLI commands
sap/cli/__init__.py - Command core
sap/cli/core.py - Object commands
sap/cli/object.py - Contexts and config
sap/config.py
ADT operations
- ADT connection
sap/adt/core.py - ABAP objects
sap/adt/objects.py - Functions and programs
sap/adt/function.py - Workbench operations
sap/adt/wb.py - Program text elements
sap/adt/textelements.py - XML marshalling
sap/adt/marshalling.py - XML annotations
sap/adt/annotations.py - Where-used lookup
sap/adt/whereused.py - Repository browsing
sap/adt/repository.py - Unit tests and coverage
sap/adt/aunit.py - Coverage analysis
sap/adt/acoverage.py - ATC checks
sap/adt/checks.py - Service definitions
sap/adt/businessservice.py - ABAP execution
sap/platform/abap/run.py - Launchpad building
sap/flp/builder.py
Connections and auth
- HTTP client
sap/http/client.py - Authentication
sap/http/auth_plugin.py - OData connection
sap/odata/connection.py
Transport and Git
- gCTS operations
sap/rest/gcts - Transport operations
sap/adt/cts.py - abapGit support
sap/platform/abap/abapgit.py
RFC capabilities
- RFC connection
sap/rfc/core.py - BAPI operations
sap/rfc/bapi.py
Other components
- Developer or CI
Connections 26
- Developer or CI → CLI commands: runs commands
README.md - CLI commands → Contexts and config: selects context
README.md - CLI commands → Unit tests and coverage: runs tests
README.md - CLI commands → Coverage analysis: requests coverage
README.md - CLI commands → ATC checks: runs checks
README.md - CLI commands → ABAP objects: manages objects
README.md - CLI commands → ABAP execution: runs snippets
README.md - CLI commands → Transport operations: operates transports
README.md - CLI commands → gCTS operations: operates gCTS
README.md - CLI commands → abapGit support: installs abapGit
README.md - CLI commands → RFC connection: uses RFC features
README.md - Object commands → Workbench operations: uses workbench
sap/cli/object.py - Object commands → Where-used lookup: uses lookup
sap/cli/object.py - Object commands → Program text elements: uses text elements
sap/cli/object.py - Workbench operations → ABAP objects: operates objects
sap/adt/wb.py - ABAP objects → ADT connection: sends requests
sap/adt/objects.py - ABAP objects → XML marshalling: serializes data
sap/adt/objects.py - XML marshalling → XML annotations: reads metadata
sap/adt/marshalling.py - Program text elements → ABAP objects: extends programs
sap/adt/textelements.py - Unit tests and coverage → Coverage analysis: measures coverage
- ADT connection → HTTP client: uses HTTP
- HTTP client → Authentication: supports plugins
- Service definitions → OData connection: exposes services
sap/adt/businessservice.py - OData connection → HTTP client: uses HTTP
sap/odata/connection.py - gCTS operations → HTTP client: uses HTTP
sap/rest/gcts/remote_repo.py - BAPI operations → RFC connection: uses connection
sap/rfc/bapi.py