ABAP Blog Posts
cancel
Showing results for 
Search instead for 
Did you mean: 
yury_sichov
Active Contributor
2,324

There are several ways to check and compare code versions for SAP ABAP: the old classic method in the SAP GUI, a very good option in Eclipse, and the industry standard in AbapGit or on GitHub. These are all useful, but some activities are monotonous and take more time than desired.

AVE.png

 

Therefore, a new program Abap Versions Eplorer was developed with faster access to modified objects by program/include/FM, class, TR/TASK, or package, with multiple display and filtering options. An additional "Who is Blame" feature was also implemented to identify the actual authors of the changes.

Pick one of the available object types to view its versions. Input the name and press Enter. As this is a multi-window application, pressing Enter again will launch a new window. You can open as many windows as your monitor can handle without getting claustrophobic ).

селскрин.png

There are several options for layout:

Side bar - by default, when data tables are on the left side, code is on the right side. It is good for Inline diff.

side.png

Or top-down layout - when code is below data tables and enough wide to show 2-pane diff.

top.png

We can hide tables in any layout by pressing toggle button "Maximize view" to explore code  and return back by pressing again toogle button "Standard View".

max.png

Almost all initial setting we can change by toogle buttons panel.

toolbar1.png

toolbar2.png

Show Diff - html diff view

Show Vers - usual GUI  code view for a single version.

Compact - show only changes

Full - show all lines + diff

The Blame function is useful for identifying the authors of changes.  Switched off by default as it is a bit time consuming.

blame.png

By default we can compare double-clicked version with the previous one. But If we want to compare any version we should toogle Diff Pref to Diff any

prev.png

choose a Base version and  press "Set Base" button,  then double-click any version to compare with the base one.

base.png

 

For example base version 16 was compared with v12.

any.png

So anyone can use/test this Version explorer. In case there is no AbapGit just copy and paste standalone version.

And as a bonus HTML/JS local comparer

 

5 Comments