Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Applies to:
SAP Net Weaver 2004s. Web Dynpro for ABAP. For more information, visit the Web Dynpro ABAP homepage.
Summary
How to read/get component controllers context node from view with out creating mapping between view context and Controllers context? Author: Suman Kumar Chinnam
Author Bio
Suman Kumar is a Consultant for YASH Technologies, Pvt., and Ltd. Based in India. He has more than 2 and half years of IT experience. He has good knowledge in ABAP, BSP and Web Dynpro for ABAP.
Reading Component Controllers Context from View with Out Mapping to View Context Node
Table of Contents
How to read Component controllers context node from view with out mapping................................................ 3 Create Web Dynpro component ..................................................................................................................... 3 Create Controller context node ....................................................................................................................... 3 Get the Controller context node from View ..................................................................................................... 5 Related Content .................................................................................................................................................. 8 Disclaimer and Liability Notice ............................................................................................................................ 9
Reading Component Controllers Context from View with Out Mapping to View Context Node
How to read Component controllers context node from view with out mapping
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.
Reading Component Controllers Context from View with Out Mapping to View Context Node
Go to layout of view and insert view container element and named it as VCU_ALV.
Reading Component Controllers Context from View with Out Mapping to View Context Node
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.
Reading Component Controllers Context from View with Out Mapping to View Context Node
Reading Component Controllers Context from View with Out Mapping to View Context Node
Reading Component Controllers Context from View with Out Mapping to View Context Node
Related Content
For more information, visit the Web Dynpro ABAP homepage.
Reading Component Controllers Context from View with Out Mapping to View Context Node