Skip to Content
0
Former Member
Jul 18, 2008 at 01:07 PM

How to access the private attribute of class?

7187 Views

Dear All,

l_resource type ref to /SAPAPO/CL_LRP_BASICRES

which has one private attribute

SUPWD type ref to /SAPAPO/CL_LRP_SUPWD_PRX.

How can I access the private attribute SUPWD of l_resource?

I have instant of /SAPAPO/CL_LRP_BASICRES which is l_resource. I can get SUPWD inside the method of l_resource but how to get outside of method?

Thanks,

Anup Garg