05-31-2013 6:25 AM
hai
I have to write a report all unmatchmed sources codes between development and production server
is there any Function module available for this
Regards
Jayaanand
05-31-2013 8:41 AM
Hi Jaya,
we can check it through version comparison.
i think this FM will may help you,
use the FM SVRS_GET_VERSION_REPS_40 for the same..
or
Check badi
CTS_CURRENT_PROJECT
WB_PROCESS_FCODE
These badis gets triggered when a program is activated.
Cheers,
Sravan
05-31-2013 7:06 AM
I am not sure about availability of any FM for the comparison of source codes.
But have you tried the Split screen editor?
SplitScreen Editor(SE39) uses FM RFC_READ_REPORT / Check include LS_WB_SPLIT_EDITOR_INITIALF01 for more info.
call function 'RFC_READ_REPORT' "Variante für Releas <4.0
destination rfcdes-rfcdest
exporting
program = p_repid
* importing
* system = rfcdes-rfcdest
* trdir = h_trdir
tables
qtab = l_tr_72
exceptions
system_failure = 01 message mess
communication_failure = 02 message mess.
Call the above FM for the source and target, and check and compare the values of internal table QTAB for any difference.
Cheers!
Abhinab
05-31-2013 7:12 AM
Hi,
Go to SE39
click on compare Different system
give program name on both left-justified and Right
give RFC Destination
display
now click on comparison on
Regards,
Mordhwaj
05-31-2013 7:27 AM
Hey,
I am not sure if there is any such FM, but as Gajpal suggested either you can use SE39 to compare ABAP code between two different systems, or you can directly do this through SE38.
SE38 --> Utilities --> Versions --> Version management
Click on 'Remote Comparision'. Enter the Target system or RFC destination. Again click on Remote Comparision.
Please check below link. Might be useful for you.
http://abap.sdn-sap.com/2013/01/program-to-download-all-ios-and.html
05-31-2013 8:41 AM
Hi Jaya,
we can check it through version comparison.
i think this FM will may help you,
use the FM SVRS_GET_VERSION_REPS_40 for the same..
or
Check badi
CTS_CURRENT_PROJECT
WB_PROCESS_FCODE
These badis gets triggered when a program is activated.
Cheers,
Sravan
05-31-2013 11:26 AM
06-04-2013 5:08 AM
05-31-2013 9:46 AM
Did you look at transaction SREPO, this seems to do already what you are trying to create (again). At least you should be able to find out how it is working under the hood by doing some ABAP traces or debugging, and maybe reuse it in your own development.
Thomas