‎2010 Apr 01 11:31 AM
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
‎2010 Apr 01 11:45 AM
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
‎2010 Apr 01 11:34 AM
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
‎2010 Apr 01 12:06 PM
‎2010 Apr 01 11:36 AM
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
‎2010 Apr 01 11:45 AM
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
‎2010 Apr 01 12:05 PM
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?
‎2010 Apr 01 12:14 PM
> 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
‎2010 Apr 01 12:20 PM
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
‎2010 Apr 01 12:33 PM
Glad to hear that. I'm learning every day, this stuff can keep us entertained until retirement...
Cheers
Thomas