Skip to Content
author's profile photo Former Member
Former Member

Download code of all the methods in a class to desktop

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 07:28 AM

    Hi,

    Look at this thread:

    objects-source-code-in-46c

    Regards,

    Omkaram.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 29, 2008 at 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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.