Skip to Content
0
Former Member
Dec 20, 2011 at 10:10 AM

How to read other components context node?

168 Views

Hi All.

I have two components GSTEXT, TPMPOE. In GSTEXT i need to read one of the context node of TPMOE. I tried the following way but its not working(exception occurs)

data : l_comp type ref to <implementation class of the custom controller of TPMOE>.

l_comp ?= me->get_custom_controller('GLOBAL.TPMOE/CocoTrade').

(Note ME in line 2 of the code refers to implementation class of the view controller of component GSTEXT)

After reading the custom controller, i should read TPMOE's context node TRADE. Any suggestions or idea on this issue?

Thanks

Gokul R