Skip to Content
author's profile photo
Former Member

Dumping Global ABAP Objects Source Code to Text File

Hello People, this is my first post and my first time to join the forums.. and also my first time to code in ABAP.

Anyways, I was wondering if there is a way to dump the source code definition of any class/interface made in SE24 (Object Builder) onto a Text File; all the methods, attributes etc... of a class/interface. I've used SEO_METHOD_GET_SOURCE but it doesn't work.

Thanks for the help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Posted on May 05, 2011 at 05:51 AM

    Hello,

    Welcome to the forums & hope you enjoy being a part of it 😊

    I don't think there is any standard tool available for it, but not to worry you've [SAPLink|http://code.google.com/p/saplink/] available at your service.

    Install the relevant [plugin|http://code.google.com/p/saplink/wiki/pluginList] to download the source code of the class.

    Cheers,

    Suhas

    Add comment
    10|10000 characters needed characters exceeded

    • Hey Vinod,

      I was unaware of the CL_RECA* classes, my bad 😔

      Generally for this kind of requirement i expect SAP to provide system classes viz., CL_ABAP* which are (usually) part of the BASIS package. Wondering why these classes are part of the Real Estate Mgmt package when they qualify to be part of the system classes?

      Anyway i'm gonna keep a note of these classes(and your Wiki, of course) for future reference. Thanks!

      BR,

      Suhas

  • Posted on May 05, 2011 at 05:49 AM

    Welcome to SCN,

    Refer to the methods available in global classes

    CL_RECA_RS_SERVICES (for source code),

    CL_RECA_RS_CLIF (for interface & implementation details) &

    CL_OO_CLASS (For details of attributes & methods).

    Search for Wiki/Weblog posts to get more details.

    Regards

    Vinod Kumar

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 05, 2011 at 06:13 AM

    Hi Everyone,

    Pretty much this answers my question. Thanks for replying. I was searching the SEO Function Group for days to see if i can find an answer but this gives me the cake.

    Add comment
    10|10000 characters needed characters exceeded