Run ATC Check
sap_atc_runRun ABAP Test Cockpit (ATC) checks on individual ABAP objects before transport release, returning prioritized findings with check details and source lines.
Instructions
Run an ATC (ABAP Test Cockpit) check on an ABAP object and return the findings (priority, check, message, line). Use before releasing a transport.
Supply either:
object_uri: the full ADT URI (from sap_search_objects), OR
object_type + object_name (and function_group if needed).
Args:
object_uri / object_type + object_name.
check_variant (string): ATC variant; omit for the system default.
max_results (number): 1-1000 (default 100).
response_format.
Returns (json): { objectUri, checkVariant, worklistId, timestamp?, stats: {prio1, prio2, prio3}, findingCount, objects: [{uri, type, name, packageName?, findings: [{uri, location?, line?, priority, checkId?, checkTitle?, messageId?, messageTitle}]}] }. Priority 1 = error, 2 = warning, 3 = information.
Examples:
"ATC-check ZCL_FOO before I release the transport" -> object_type='class', object_name='ZCL_FOO'.
"Run the Z_STRICT variant on ZFI_POST" -> object_type='program', object_name='ZFI_POST', check_variant='Z_STRICT'. Notes:
Each run records a server-side ATC worklist (visible in ATC administration). It is harmless and reused per check variant.
Large objects can exceed SAP_TIMEOUT_MS — check one object at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| object_uri | No | ADT URI of the object to check (e.g. '/sap/bc/adt/oo/classes/zcl_foo'). Get this from sap_search_objects results. Takes precedence over object_type+object_name. | |
| max_results | No | Maximum findings to return (1-1000, default 100). | |
| object_name | No | Object name — used with object_type when object_uri is not given. | |
| object_type | No | Object type — used to derive URI when object_uri is not given. | |
| check_variant | No | ATC check variant. Omit to use the system default (read from ATC customizing). | |
| function_group | No | Required when object_type='function'. | |
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (structured). | markdown |