01-29-2008 7:24 AM
Hi,
I want to download code of all the methods in a class to desktop.
Its like user will enter Class name on selection screen, then program should download the code of all the methods inside that class on to desktop as a text file.
How to do it.
Points will be rewarded!!
Regards
01-29-2008 12:41 PM
You can use FM SEO_CLASS_GET_METHOD_INCLUDES
to determine the names of all methods implemented in this class with the according names of the includes.
Than you can loop through the table returned by this FM and get the coding of all methods using READ REPORT statement, whereas you must pass the name of the include of the according method, when executing READ REPORT...
Reward points, in case reply meets your expectation...
--MIKE
01-29-2008 7:28 AM
01-29-2008 12:21 PM
One quick and dirty method is simply to go to SE24, and use the print option - to the spool. Then from the spool, you can download the generated list to a flat file.
matt
01-29-2008 12:41 PM
You can use FM SEO_CLASS_GET_METHOD_INCLUDES
to determine the names of all methods implemented in this class with the according names of the includes.
Than you can loop through the table returned by this FM and get the coding of all methods using READ REPORT statement, whereas you must pass the name of the include of the according method, when executing READ REPORT...
Reward points, in case reply meets your expectation...
--MIKE