Skip to Content
0
Former Member
Jan 17, 2011 at 02:02 PM

how to read code of methods as it is done for report using 'read report'

133 Views

Hi,

the statement 'READ REPORT p_prog INTO t_source. ' is used to read the code of report in t_source and then scan t_source. But I have to read the code of method say.. ZPC_TEST_METHOD~EXECUTE_SYNCHRONOUS and then scan the t_source.

And if try to pass this method in the read report 'method name' then it is not fine..as this is a method and not report..

So how to achieve this...as there is nothing like read method .

thx,

Mohan