RemediateObject
Replaces outdated CDS view references in ABAP objects with the correct successor, supporting field mapping and a before/after diff. Dry-run by default; set dry_run:false to write and activate.
Instructions
Replace a C/D CDS view reference in a Z object with the correct successor. Supports field name mapping and produces a before/after diff. Always runs as dry_run: true by default — set dry_run: false to write and activate in SAP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true (default), returns diff only without writing to SAP. Set false to apply. | |
| maxLines | No | Maximum lines to return (1-100000). Omit to request the rest; the byte cap may return fewer lines. | |
| startLine | No | 1-based line number to start from (default 1). Beyond EOF returns an empty page with hasMore=false. | |
| object_name | Yes | Name of the Z/Y object to modify | |
| object_type | Yes | Type: PROG, PROG/P, PROG/I, CLAS, CLAS/OC, DDLS, DDLS/DF, FUGR, FUGR/F | |
| field_mapping | No | Optional field name mapping { "OLD_FIELD": "NEW_FIELD" } when field names differ between old and new view | |
| new_view_name | Yes | The replacement view name (successor or Z wrapper) | |
| old_view_name | Yes | The C/D CDS view name to replace |