09-18-2007 12:45 AM
Is it possible to view all of an object's implementation as a program that I can edit or download? Obviously, we can view the class and method signatures by going to the Private, Protected and Public sections, but how about the source code itself? Does it reside in an include somewhere?
09-18-2007 7:56 AM
Hello Chris
If you have class <b>CL_OO_SOURCE</b> available on your system then create an instance of this class with your target class. The public instance attribute <b>SOURCE </b>contains the entire coding of the class.
Regards
Uwe
09-18-2007 6:17 AM
Hi Chris,
When you open a class Builder : TCode - SE24 ,
there is button SOURCE CODE-BASED ( second last , just before CLASS DOCUMENTATION ) , just click the button and you all will all code.
I hope this will solve you query
Kindly reward the points accordingly.
Regards,
Pranshu
09-18-2007 4:29 PM
I don't have this particular button on my system for some reason.
09-18-2007 7:56 AM
Hello Chris
If you have class <b>CL_OO_SOURCE</b> available on your system then create an instance of this class with your target class. The public instance attribute <b>SOURCE </b>contains the entire coding of the class.
Regards
Uwe
09-18-2007 4:36 PM
This does the trick. I'll just write a little wrapper for myself when I want to save off source code. Thank you.
09-18-2007 4:37 PM
05-14-2022 10:49 AM
Eclipse ADT shows the class all in 1 place
Also F3 key (navigate to definition) is useful to see interface etc