RuntimeRunClass
Run an ABAP class implementing if_oo_adt_classrun and return its output. Set profile=true to capture a profiler trace.
Instructions
[runtime] Execute an ABAP class implementing if_oo_adt_classrun and return its output. Set profile=true to also capture a profiler trace: schedules the trace, runs the class under it, then searches the profiler feed for the id this run produced (bounded by max_trace_attempts/trace_retry_delay_ms). If the trace has not appeared within that bound, the run still answers success with output and profiler_id but no trace_id — poll RuntimeListProfilerTraceFiles or RuntimeAnalyzeProfilerTrace afterwards. No run_status or trace_requests_status field is returned — the client exposes no transport status for a run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | When true, run with the profiler and search the profiler feed for the resulting traceId. Default false. | |
| aggregate | No | ||
| sql_trace | No | ||
| amdp_trace | No | ||
| class_name | Yes | ABAP class name to execute. | |
| description | No | Profiler trace description (only used when profile=true). | |
| all_db_events | No | ||
| explicit_on_off | No | ||
| with_rfc_tracing | No | ||
| all_dynpro_events | No | ||
| trace_lookup_uris | No | Accepted for backward compatibility; no longer affects trace lookup. adt-clients 19 lists the profiler feed as one endpoint, optionally filtered by user — there is nowhere to put a URI. | |
| max_trace_attempts | No | Max attempts to poll the profiler feed for the trace this run produced (default 5). Only used when profile=true. | |
| all_procedural_units | No | ||
| max_time_for_tracing | No | ||
| trace_retry_delay_ms | No | Delay in ms between profiler-feed polling attempts (default 2000). Only used when profile=true. | |
| max_size_for_trace_file | No | ||
| all_misc_abap_statements | No | ||
| all_system_kernel_events | No | ||
| all_internal_table_events | No |