| nav_exclude | true |
|---|
Create an automated workflow where Claude generates ABAP code, pushes to git, and a local agent pulls/activates the code in the ABAP system with proper error handling.
┌─────────────┐ ┌─────────────────┐ ┌────────────────┐
│ Claude │────▶│ Local Agent │────▶│ ABAP System │
│ (VS Code) │ │ (Node.js) │ │ (abapGit) │
└─────────────┘ └─────────────────┘ └────────────────┘
│ │
│ ▼
┌─────────────┐ ┌────────────────┐
│ Result Cache│◀───────│ Activation Log │
└─────────────┘ └────────────────┘
- Claude pushes code to git
- Claude calls agent:
POST /pull { url: "...", branch: "main", username, password } - Agent calls ABAP:
POST /sap/bc/z_abapgit_agent/pull - ABAP executes pull synchronously
- ABAP returns:
{ success, job_id, message, error_detail } - Agent returns response to Claude
- If errors, Claude fixes and repeats
- ✅
init- Initialize local configuration (supports--updateto update files to latest) - ✅
create- Create online repository in ABAP - ✅
delete- Delete abapGit repository from ABAP system - ✅
import- Import objects from ABAP package to git - ✅
pull- Pull and activate repository - ✅
syntax- Pre-commit syntax check for CLAS, INTF, PROG, DDLS (v1.8.0)- Auto-detection of companion files (locals_def, locals_imp, testclasses)
- FIXPT flag support from XML metadata
- Exact line numbers and filenames in errors
- ✅
inspect- Syntax check via Code Inspector (post-activation) - ✅
unit- AUnit test execution - ✅
tree- Display package hierarchy tree - ✅
list- List ABAP objects in a package with filtering and pagination - ✅
view- View ABAP object definitions - ✅
preview- Preview table/CDS view data - ✅
where- Find where-used list for ABAP objects (classes, interfaces, programs) - ✅
ref- Search ABAP reference repositories (topics, patterns, export) - ✅
health- Health check - ✅
status- Status check (includes repo existence in ABAP)
- ✅ Command factory pattern for extensibility
- ✅ REST resource handlers for all commands
- ✅ abapGit integration for repository operations
- ✅ Syntax checkers with factory pattern (CLAS, INTF, PROG, DDLS)
- Object-specific syntax checking without activation
- FIXPT flag support
- Local classes and test classes support
- ✅ Object viewers with factory pattern (CLAS, INTF, PROG, TABL, STRU, DTEL, TTYP, DDLS)
- ✅ Jekyll website with navigation
- ✅ ABAP coding guidelines (SQL, exceptions, testing, CDS, classes, JSON, abapGit)
- ✅ Common errors reference guide
- ✅ Command specifications
- ✅ Development workflow documentation (CLAUDE.md for CLI, abap/CLAUDE.md for ABAP)
- ✅ Integration tests for all commands
- ✅ Command-specific test filtering
- ✅ Unit test framework
- ✅ Session caching with automatic retry
- ✅ GitHub Actions workflow for automated npm releases
- ✅ Automated release notes generation
- ✅ Version synchronization between CLI and ABAP
-
Package-Level Unit Tests
- Run all AUnit tests in a package
--package $MY_PACKAGEsupport- Aggregate results across all test classes
-
Extended Inspect Command
- ATC checks (Assessment Task Controller)
- Custom rule sets
- Quality gates
-
CI/CD Quality Gates
- GitHub Actions integration
- Pull request checks
- Automated test execution on merge
-
Enhanced Syntax Checking
- Support for more object types (FUGR, MSAG, DOMA)
- Cross-object dependency validation
- Semantic checks beyond syntax