abap_activate
Checks, activates, or formats ABAP development objects on a live SAP system via ADT, with batch and package activation support.
Instructions
mode=check: syntax check, no lock. mode=activate: check then activate. mode=format: pretty-print (source=text, or object=format-and-save).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default activate. format pretty-prints ABAP source: `source` alone formats text (no write), `object` alone formats and saves the object if it changed — never both. | |
| type | No | ADT type, e.g. CLAS/OC. Also names the type of an inline `source` draft when `object` is omitted (mode=check only): PROG/P, CLAS/OC or INTF/OI. | |
| object | No | Object reference. Required unless `objects` (batch), `package` (package activation), or the inline form (mode=check with `type` + `source`, no server object). | |
| source | No | With `object`: draft to check/activate for that object. mode=check without `object`: the draft to check inline (needs `type`). Or text to format. | |
| affects | No | Required to activate ENHO/XH or ENHS/XS. | |
| corr_nr | No | Transport request. $TMP needs none. Not for text format, `objects` or `package`. | |
| objects | No | Batch activate, 2+ objects; omit `object`. mode=activate only. | |
| package | No | mode=activate only: activate every inactive object of this package (your own inactive worklist, intersected with the package contents) in one activation request. Not combinable with `object`, `objects`, `type`, `source`, `affects`. | |
| recursive | No | With `package`: also include sub-packages (depth-capped). |