‎2005 Dec 20 8:07 AM
Hi All,
I have 2 ABAP programs. How could I compare these 2 programs to see differences?
Thanks,
Kishan
‎2005 Dec 20 8:16 AM
Hi Kishan!
Take SE39 (or SE38 - Utilities - Split screen editor).
Regards,
Christian
‎2005 Dec 20 8:12 AM
Hi
In version management u can compare the 2 versions of the same program.But i don't think u have the option to compare two different programs.
Abdul
‎2005 Dec 20 8:17 AM
Thanks Hakim,
Please does anyone know how to compare 2 ABAP programs?
I need it urgently.
Thanks,
Kishan
‎2005 Dec 20 8:20 AM
Hi,
Go to SE39 and specify the ABAP Programs you want to compare in "Program on Left" and "Program on Right" fields.There you have the option to choose the active,inactive version as well.
Just try this.
Abdul
‎2005 Dec 20 8:26 AM
Hi
Use Read report
*-Source code
DATA: BEGIN OF IT_SOURCE1 OCCURS 0,
LINE(200) TYPE C,
END OF IT_SOURCE1.
*-Source code
DATA: BEGIN OF IT_SOURCE2 OCCURS 0,
LINE(200) TYPE C,
END OF IT_SOURCE2.
loop.
READ REPORT <b>REPID1</b> INTO <b>IT_SOURCE_tmp</b>.
APPEND LINES OF IT_SOURCE_tmp TO IT_SOURCE.
endloop.
loop.
READ REPORT <b>REPID2</b> INTO <b>IT_SOURCE_tmp</b>.
APPEND LINES OF IT_SOURCE2_tmpTO IT_SOURCE2.
endloop.
if it_source1[] <> it_source2[].
message..
endif.
‎2005 Dec 20 8:16 AM
Hi Kishan!
Take SE39 (or SE38 - Utilities - Split screen editor).
Regards,
Christian
‎2005 Dec 20 8:17 AM
Kishan,
You can do that. take a look at transaction code SE39.
Regards,
Ravi
note : Reward the posts that help you.
‎2005 Dec 20 8:21 AM
‎2005 Dec 20 8:22 AM
Hi,
You can compare 2 Programs,
Go to SE39 Transaction code and give the program names and click the Display, then it will shows 2 reports, then you can find out the Differences.
if you want to compare Programs in 2 Different systems use the RFC..
<u><b>1)</b></u> Start SE39
<u><b>2)</b></u> Choose Compare different systems
<u><b>3)</b></u> Enter both program names and the RFC destination of
the remote program
<u><b>4)</b></u> Choose Display
the system show the differences in blue colour
for more information -->
search Compare in this link, you will get more information
Hope you got what you want
Regards
Sudheer