Application Development 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: 

Comparision between programs

Former Member
0 Kudos

hi ,

how we can compare the same two programs with different names but some small diff, is there any perticular transaction is there to check the difference between the programs .

THX

1 ACCEPTED SOLUTION

former_member387317
Active Contributor
0 Kudos

Hi Chaaya,

u can use Tcode SE39 or SE39O for comparing two programs..

Enter ur both program names in for right side nd left side..

then press Display button...

then Press Comparision On button on Toolbar or Ctrl + F4

it will show u the program in split programs..

then use four buttons which are avialable on the right side of Comparision on button to see the difference according to ur need...

try to use the buttons of toolbar to see next similar code. next different code etc...

Hope it will solve ur problem..

Reward points if useful..

Thanks & Regards

ilesh 24x7

7 REPLIES 7

Former Member
0 Kudos

Hi,

1>Go to transaction SE39

2>Notice "Compare different systems" button.

3>Give the two Profram Name

4>Then Click The Button On the right hand side Of the pretty printer Called Comparision On(Ctrl+f4)

Reward If helpful

Regards

Sandipan

former_member387317
Active Contributor
0 Kudos

Hi Chaaya,

u can use Tcode SE39 or SE39O for comparing two programs..

Enter ur both program names in for right side nd left side..

then press Display button...

then Press Comparision On button on Toolbar or Ctrl + F4

it will show u the program in split programs..

then use four buttons which are avialable on the right side of Comparision on button to see the difference according to ur need...

try to use the buttons of toolbar to see next similar code. next different code etc...

Hope it will solve ur problem..

Reward points if useful..

Thanks & Regards

ilesh 24x7

ak_upadhyay
Contributor
0 Kudos

Hi,

Try SE39 for comparing two programs.

it will show the programs in split screen.

or u can use SE93 & pick Compare different systems button.

Cheers

Reward Points if useful....

Regards

AK

Former Member
0 Kudos

Hi,

Comparing two ABAP Program

To compare two ABAP and show you the differences in both ABAP.

Transaction SE39 will do this.

SE39 is ABAP split screen editor,by using this u can compare two programs within the system or from different systems.

regards,

vineela.

Edited by: Radha Vineela Aepuru on Mar 13, 2008 10:14 AM

Former Member
0 Kudos

Hi,

Run below program and enter 2 program names in selection scree...

execute In out put "D" is the diffrence..

REPORT ZTEST222 .

  • Globals

data:

s like abaptext occurs 1 with header line,

d like abaptext occurs 1 with header line,

x like xabaptext occurs 1 with header line,

o(4) type c.

  • Selection Screen

parameters:

c1 as checkbox default ' ', " ignore case

c2 as checkbox default ' ', " ignore ident level

c3 as checkbox default ' ', " ignore ABAP comments

c4 as checkbox default ' ', " insert/delete or changes

p_s like sy-repid default ' ', " report A

p_d like sy-repid default ' '. " report B

  • P A I ( )

start-of-selection.

o+0(1) = c1.

o+1(1) = c2.

o+2(1) = c3.

case c4.

when ' '. o+3(1) = '2'.

when 'X'. o+3(1) = '1'.

endcase.

read report p_s into s[].

if sy-subrc is initial.

read report p_d into d[].

if sy-subrc is initial.

call 'C_MAKE_TEXT_DELTA'

id 'TI_TEXT_PRI' field s-sys

id 'TI_TEXT_SEC' field d-sys

id 'PI_DELTA_OPTIONS' field o

id 'TO_TEXT_DELTA' field x-sys.

if sy-subrc is initial.

loop at x.

write: / x-vrsflag, x-number, x-line.

endloop.

endif.

else.

message s208(00) with 'Report B not found'(e0b).

endif.

else.

message s208(00) with 'Report A not found'(e0a).

endif.

Former Member
0 Kudos

hi friend,

GOOD MORNING AND HAVE A NICE DAY . COMPARE TWO PROGRAMS FOR DIFFERENCE

FIRST GO TO EDITIOR INITIAL SCREEN -


>MENUPATH----


>UTILITIES ->MORE UTILITIES -


>SPLIT SCREEN EDITIOR .

AND GIVE NAME OF TWO PROGRAM WHICH U WANT TO COMPARE

IT WILL HELP YOU

REGARDS

MEHUL

Former Member
0 Kudos

This message was moderated.