Application Development and Automation 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: 
Read only

reading source code of a method

Former Member
0 Likes
836

hi folks

is there any way to read source code of method into a internal table?

Moderator message: FAQ. We do not consider it good style to ask questions before trying to find the solution yourself. Please search in SCN and apply the available information.

Message was edited by: Kesavadas Thekkillath

2 REPLIES 2
Read only

gouravkumar64
Active Contributor
0 Likes
621

Hi,

I am not sure what your requirement.

You can use sap documentation for this.

But generally REPOSRC table stores the source code in compressed version  ,

also TRDIR,D010SINF view also stores report information.

D010TINF- Stores text elements.

Then Read report statement or RPY_PROGRAM_READ Function module ,You can use in report to read that.

Take a look at this thread also for that.

http://scn.sap.com/thread/25202

Hope it helps a little.

Thanks

Gourav.

Read only

Former Member
0 Likes
621

Hallo!

FM SEO_METHOD_GET_SOURCE reads source of method.

Packages SEOE and SEOK conteins extensive set of tools and utilities for class manipulation.

Hope this helps.

BACR