Skip to Content
1
Former Member
Jan 12, 2011 at 05:35 PM

how to call a method in private section of a class in the public section

807 Views

Hi Everybody,

i have written a method(meth1) in the private section of a class(C1).

it is as follows

class C1 definition.

private section.

methods: meth1 importing im_dt1 like tp1

im_dt2 like tp2

im_dt3 like tp3

im_dt4 like tp4

returning value(re_dt1) like tp5.

endclass.

i have the final data that has to be displayed in internal table re_dt1.

now my question is how to call this method present in private section into public section and display the data present in re_dt1.

Thanks,

learning.abap.