Using Version Management

Version management allows you to compare two versions of a repository object, and also to display old versions. It also has a provision to retrieve an older version from the version repository.

Version Overview

The version overview displays the version in the object repository and the historical versions saved in the version database.

The object repository contains the active and/or modified version.

The version overview also displays the date and time when the version was created and the corresponding release.

If a transport request is specified for a version in the version database, this version corresponds to the status of the object:
  • When a request is released and this request is from the current SAP System, or

  • After a request has been imported and this request is from a different SAP System

If a request is specified for the active or modified version, the object is currently being processed in the context of this request or it was imported using this request.

Label

Description

Status

Red: Indicates a ‘modified’ version and on the top most row (if any)

Green: Indicates ‘active’ version and on the top most row.

Yellow: Indicates an older version in the version database (not just DB)

Version

Shows the version number of the object.

The ‘modified’ versions appear on the top-row, followed by the older versions in the descending order.

Clicking the version number displays the source code of that particular version.

Compare

Compares two immediate adjacent versions.

Clicking this displays the difference between these current and the previous (non test transport) version

Category

One of the following are displayed (view additional categories with F4 display):

I – Version created by import

S – Version created due to system request.

U – Version created due to user request

Blank field – Version created at request release

Flag

One of the following are displayed (view additional categories with F4 display):

I – Active version was overwritten by an import

Blank field – No special flag exists

SAP

One of the following are displayed (view additional categories with F4 display):

X – Standard SAP version

Blank field – Customer version

Release

This column shows the release of the object version

Archived

One of the following are displayed (view additional categories with F4 display):

X – Version archived

T – Version archived or temporarily restored

Blank field – Version is not archived

Request

Shows the request where the object version is locked.

Clicking the request displays the corresponding request in TMS.

Request Text

Shows the request text for the corresponding request.

Project

Displays the project information corresponding to the request.

Clicking this displays the project information.

Date

Displays the object version creation date.

Time

Displays the object version creation time.

Author

Displays the object version author.

Click this to display detailed user information.

Note

Displays all the notes that touch this object during note implementation. Clicking this navigates to theNote ASSISTANT: NOTE DISPLAY SCREEN to display the note.

CI

Displays all the Correction Instruction that touch this object during note implementation.

TCI

Displays all the Transport based Correction Instructions (TCIs) that touches this object during note implementation.

Label

Description

Status

Red: Indicates a ‘modified’ version and on the top most row (if any)

Green: Indicates ‘active’ version and on the top most row.

Yellow: Indicates an older version in the version database (not just DB)

Version

Shows the version number of the object.

The ‘modified’ versions appear on the top-row, followed by the older versions in the descending order.

Clicking the version number displays the source code of that particular version.

Compare

Compares two immediate adjacent versions.

Clicking this displays the difference between these current and the previous (non test transport) version

Category

One of the following are displayed (view additional categories with F4 display):

I – Version created by import

S – Version created due to system request.

U – Version created due to user request

Blank field – Version created at request release

Flag

One of the following are displayed (view additional categories with F4 display):

I – Active version was overwritten by an import

Blank field – No special flag exists

SAP

One of the following are displayed (view additional categories with F4 display):

X – Standard SAP version

Blank field – Customer version

Release

This column shows the release of the object version

Archived

One of the following are displayed (view additional categories with F4 display):

X – Version archived

T – Version archived or temporarily restored

Blank field – Version is not archived

Request

Shows the request where the object version is locked. Clicking the request displays the corresponding request in TMS.

This operation is not possible for requests of remote systems.

Request Text

Shows the request text for the corresponding request.

Project

Displays the project information corresponding to the request.

Clicking this displays the project information.

Date

Displays the object version creation date.

Time

Displays the object version creation time.

Author

Displays the object version author. Click this to display detailed user information.

This operation is not possible for requests of remote systems.

Note

Displays all the notes that touch this object during note implementation. Clicking this navigates to theNote ASSISTANT: NOTE DISPLAY SCREEN to display the note.

This operation is not possible for requests of remote systems.

CI

Displays all the Correction Instruction that touch this object during note implementation.

TCI

Displays all the Transport based Correction Instructions (TCIs) that touches this object during note implementation.

RFC Destination

Displays the RFC destination entered during fetch remote version.

Display

Clicking the Display icon, displays the selected version in ABAP editor in read-only mode.

Compare

Clicking the icon compares the difference between two selected versions.

Retrieve

Clicking the icon retrieves the version selected.

Fetch Remote Versions

Clicking the icon displays a window

Provide the RFC Destination(s) and do one of the following:

Click the Save icon to save your variants.

You see two additional buttons for Get Variant and Delete Variant in the above window.

Enter or Confirm Selection after providing the RFC destination displays the following window with these additional columns:

Clicking the search icon displays a window to enter the search text:

Note:

  • If your search contains multiple lines, we recommend entering it as such, without merging them in a single line.

  • The system performs a search in the deltas of adjacent versions.

  • For every match of the full search text entered, the version list shows a check-mark on the corresponding version row.

  • The search is also performed on every remote version, if present in the version list.

    For example, if your search text is IF SY-SUBRC = 0

    • The search will find all deltas with lines having IF SY_SUBRC = 0

    • If your deltas have line IF A = B AND SY-SUBRC = 0 then search cannot find it with above search text.

    • The expected search text is IF A = B AND SY-SUBRC = 0.

    If the search text has multiple lines, for example:

    Line 1: IF

    Line 2: SY-SUBRC = 0

    • The search finds the deltas where one line has IF and another line

      (or same line) which has SY-SUBRC = 0

    • The line IF SY-SUBRC = 0 will also be found.

    • The line IF A = B AND SY-SUBRC = 0 will also be found.

The search finds the deltas where one line has IF and another line (or same line) which has SY-SUBRC = 0

If the search term results in a hit, the compare column will reflect with a green tick to indicate the result.

The Search result is displayed at the bottom of the screen.

The compare column displays a tick mark to indicate a successful search in those versions.