compareRevisions
Compare two versions of an ABAP object as a unified diff. Choose sides by revision, transport, or active/inactive; default shows the impact of the last change.
Instructions
What changed between two versions of one object, as a unified diff. Name each side by a revision number from revisions, by a transport request, or by "active" (what the system executes), "inactive" (the working version) or "latest" (newest in the history). With neither side given it compares the two newest versions, which answers "what did the last change do"; "active" against "inactive" shows an edit that is written but not activated. The diff anchors on lines that occur once on each side, so an inserted method reads as an insertion instead of two rewritten methods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | The newer side, same forms. Defaults to the newest version. | |
| from | No | The older side: a revision number ("00087"), a transport request, "active", "inactive" or "latest". Defaults to the second newest version. | |
| context | No | Lines of context around each change. Default 3. | |
| objectUrl | No | ADT object URL, e.g. /sap/bc/adt/oo/classes/zcl_app. Only needed for a type objectName cannot address. | |
| clsInclude | No | For a class, which include to compare: definitions, implementations, macros, testclasses or main (the default). | |
| objectName | No | Object name, e.g. ZCL_APP. Use with objectType. | |
| objectType | No | ADT type: CLAS/OC, INTF/OI, PROG/P, PROG/I, FUGR/F, DDLS/DF, TABL/DS. Defaults to CLAS/OC. | |
| maxDiffChars | No | Cut the diff off after this many characters, keeping the summary. Default 40000. |