GetProgram
Reads an ABAP program's source code (active or inactive version) or its ADT metadata (package, responsible, description) by program name in a single request.
Instructions
[read-only] Reads the ABAP program (report) named by program_name in one request: its source code (part "source", the default; active or inactive version) or its ADT metadata document (part "metadata": package, responsible, description). Returns the part read. Recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | No | The document to read: "source" (default) the source code, "metadata" the ADT metadata document (package, responsible, description, ...). | source |
| version | No | Version of the source: "active" (default) for the deployed version, "inactive" for the modified version awaiting activation. | active |
| program_name | Yes | Program name. |