activateSafe
Activates inactive ABAP objects by reading them, activating exactly those entries, and verifying none remain inactive—stopping with an error if verification fails.
Instructions
Activate an object and prove it worked. Reads inactiveObjects, activates exactly those entries (class plus its method fragments, sections and test include), then re-reads inactiveObjects and fails if anything is still inactive. Prefer this over activateByName, which can answer success:true without activating anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | Explicit entries to activate instead of what inactiveObjects reports. Same shape as activateObjects. | |
| objectUrl | No | Object URL, e.g. /sap/bc/adt/oo/classes/zcl_app. An alternative way to select the rows. | |
| parentUri | No | Package URI (/sap/bc/adt/packages/<package>), used to fill in adtcore:parentUri where the inactive list leaves it empty - activation rejects entries with an empty parentUri. | |
| objectName | No | Name of the object to activate, e.g. ZCL_APP. Used to pick its rows out of the inactive list; omit to activate everything inactive. | |
| preauditRequested | No | Ask the backend to list the fragments it would activate. Useful on a large live class: it is the only diff available here. |