|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Reading Component controller’s context node from view without mapping in Web Dynpro for ABAP
By Suman Kumar Chinnam, Yash Technologies
We usually create mapping between the view context and Controller context for data flow. Some times we may require getting controller context node with out mapping to the view especially when we create a dynamic controller context node.
Create Web Dynpro component
Create Web Dynpro component and named it as Z_READ_CONTROLLER_CONTEXT and also create component usage for ALV.
Create Controller context node
First create a controller context node with attributes and fill the node with data as shown below.
Now fill the node with data from table.
Go to layout of view and insert view container element and named it as VCU_ALV.
Get the Controller context node from View
Here I am not creating view context node as well as mapping the controller context node. Write the below logic in the View to read the controller context node.
Create application to test the component.
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards