Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

version comparison

Former Member
0 Likes
1,207

Hi,

I would like to know the logic written behind the version compariosn in the same system. If I can get some brief points which will help me in understanding the same

.

Thanks

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
1,156

As a brief explanation, object versions (e.g. program code) are stored in compressed format in table VRSX (and a few others), then it is "just" a matter of taking two versions, filtering out the differences and displaying the result.

Thomas

P.S. for program code it is actually table VRSX2

8 REPLIES 8
Read only

Rocky1
Product and Topic Expert
Product and Topic Expert
0 Likes
1,156

HI,

Set a break-point within the Form : compare_versions in the include : LSVRLF04. YOu will get to know how it works. The Report name is RSVRSRS3.

Thanks & Regards

Rocky Agarwal

Read only

Former Member
0 Likes
1,156

Hi,

this program is not working RSVRSRS3.

Thanks.

Read only

Former Member
0 Likes
1,156

if you want to get an idea how the version comparison in SAP is done, you can have a look in the following include: LSVRLF04

Routine: COMPARE_VERSIONS

Read only

ThomasZloch
Active Contributor
0 Likes
1,157

As a brief explanation, object versions (e.g. program code) are stored in compressed format in table VRSX (and a few others), then it is "just" a matter of taking two versions, filtering out the differences and displaying the result.

Thomas

P.S. for program code it is actually table VRSX2

Read only

0 Likes
1,156

Uh oh, thanks a lot for that insightful comment, Thomas.

So does this mean the actuals report (active version) is stored in table REPOSRC while his versions are in VRSX2?

Read only

0 Likes
1,156

> Uh oh, thanks a lot for that insightful comment, Thomas.

Not sure if you're being funny here...

> So does this mean the actuals report (active version) is stored in table REPOSRC while his versions are in VRSX2?

...but yes that's how I understand it and hopefully how it is

Thomas

Read only

0 Likes
1,156

Oh no, i wasnt funny, cause i learned something new i rather was full of joy.

Doesnt happen too often that some simple statement brings you further in terms of knowledge and well in the SAP scanario, knowledge is our business, at least as consultant/developer.

Thanks

Read only

0 Likes
1,156

Glad to hear that. I'm learning every day, this stuff can keep us entertained until retirement...

Cheers

Thomas