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: 

Download code of all the methods in a class to desktop

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

Hi,

Look at this thread:

Regards,

Omkaram.

matt
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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