| Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Reading Component controller’s context node from view without mapping in Web Dynpro for ABAPBy Suman Kumar Chinnam, Yash Technologies SummaryWe 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 componentCreate Web Dynpro component and named it as Z_READ_CONTROLLER_CONTEXT and also create component usage for ALV. Create Controller context nodeFirst 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 ViewHere 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. Output:
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||