Skip to Content
0
Former Member
Dec 02, 2008 at 07:23 AM

how to access the attributes from a method

237 Views

Hi,

Thanks to all who replied to my previous thread. Please let me know how to access the attributes in method of component controller in the view.

Let Component_method be my method in component controller which contrains few attributes like this

method component_method.

data : node1 type ref to if_wd_context_node,

itab type standard type of mara.

endmethod.

I want to access the above attributes in method of view.

method view1.

wd_comp_controller->method_component( ).

-


????? how to access the data of the method_component?

endmethod.

Kindly help me out in the syntax.

Rgrds

Mahathi