CompareObjectVersions
Compare two ABAP object versions to identify exact changes in unified, side-by-side, or summary diff output.
Instructions
Compare two versions of an ABAP object and return a formatted diff. Supports multiple output formats: unified (like git diff), side-by-side, or summary. Use with GetVersionHistory or GetTransportVersions to identify version IDs, then compare them to see exactly what changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: unified (like git diff, default), side-by-side (comparison view), or summary (statistics only) | unified |
| object_name | Yes | Name of the ABAP object (e.g., CL_MAN_CHANGELOG) | |
| object_type | Yes | Object type: CLAS (class), PROG (program), INCL (include), FUGR (function group), INTF (interface), DDLS (CDS view), BDEF (behavior definition), DCLS (access control) | |
| version_new | Yes | Newer version identifier in timestamp/version format (e.g., 20260201144253/00000) from GetVersionHistory | |
| version_old | Yes | Older version identifier in timestamp/version format (e.g., 20260201144253/00006) from GetVersionHistory | |
| context_lines | No | Number of context lines to show around changes in unified format (default: 3) |