How to map the node which i have created dynamically into the view

Hi All,
Many thanks to all ur answers in advance.
I have created a node dynamically.I want to display the fields which i have fetched in that node.
i dont know how to map the node which i have created dynamically into the layout of the view.
Other than Using ALV is there any other way to do.
for example usin table control

Hi,
use the reference variable of view to access the corresponding UI element and then use the method of that UI element to do data binding with context node.
for ex:
Context node = flights
element = inputfield, ID = inp_name
data view type ref to if_wd_view.
data lr_inp type ref to cl_wd_input_field.
lr_inp ?= view->get_child_element( ' INP_NAME' ).
use following methods of input field to define the data binding.
SET__DDIC_BINDING( )
BOUND__PROPERTY( ).
BOUND__PRIMARY_PROPERTY( ). " for input field it is value property.
Get the reference of view from wddomodifyview method as importing parameter(view). Store this parameter as controller attribute.
Thanks,
Rahul

Similar Messages

Maybe you are looking for