ABAP Snippet Runner
Executes ad-hoc ABAP code snippets via temporary ADT classrun implementations to verify syntax, test Function Modules, and run queries.
ABAP Snippet Runner empowers developers to quickly test and execute arbitrary ABAP code without manually scaffolding repository objects. By wrapping snippets into temporary classes implementing the IF_OO_ADT_CLASSRUN interface through sapcli, it automatically performs syntax validation before execution and outputs console results directly to standard output. This skill is ideal for SAP developers and consultants who need to prototype logic, execute exploratory queries, test Function Modules, or debug snippet behavior directly from the terminal or CLI environments.
Key Features
01Performs automatic syntax checks before executing ABAP code
02Integrates seamlessly with sapcli for non-intrusive SAP backend execution
03Wraps ABAP code snippets into temporary IF_OO_ADT_CLASSRUN classes automatically
04Executes snippets directly from inline commands, heredocs, or dedicated files
052 GitHub stars
06Streams classrun console output directly to the standard output
Use Cases
01Testing and debugging ABAP function modules or complex CDS and OpenSQL queries quickly
02Verifying ABAP 7.40+ syntax constructs before committing changes to development systems
03Running rapid data inspections and environment variable checks (e.g., sy-uname, sy-datum) directly from CLI