Skip to Content
0

Remote code compare which automatically compares included programs as well

Jan 22 at 09:16 AM

107

avatar image
Former Member

Hi all,

I want to compare the source code of a program between SIDs. However, the source code of the program I want to compare contains multiple "include" statements. I am therefore wondering whether SAP code compare functionality exists which automatically compares all included programs (and possibly, functions) as well.

I am aware of SE38 Version management remote compare, SE39 split compare, and SREP. I am however not sure whether these functionalities also consider the included objects.

Many thanks.

Best regards, Niamor

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Matthew Billingham
Jan 22 at 03:49 PM
0

No. There is nothing built in that does this. I do remember a blog that included a custom program exactly for this functionality.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Matthew.

I will do a search on the program.

I was thinking of another approach: retrieving the ABAP source code using (multiple) Remote function calls. Functions I have identified so far are "RFC_READ_REPORT" and RFC_READ_DEVELOPMENT_OBJECT. I am not sure however whether these are the ones to go with.

Thank you

0

You can simplify matters using FM SVRS_GET_REPS_FROM_OBJECT (locally and remote) to get the code, and then SVRS_COMPUTE_DELTA_REPS to get the differences between the local and remote code. This is what the program RSVRSDC3 uses.

0
Mike Pokraka Jan 24 at 01:29 PM
0

What is wrong with SREP? Compare a package and it should all be included. Or if your packages are too big (not good), use the appropriate selection criteria to limit the results to the report and includes you want.

Share
10 |10000 characters needed characters left characters exceeded