Hi carmen ,
The coding you have written above can be generated through code wizard easily.
Just you need to click the code wizard button .
just see the below link :-
[http://help.sap.com/saphelp_tm70/helpdata/en/3b/29933f09a5fb47e10000000a114084/content.htm]
you can call nodes and can call them as a table or structure.
again you can access methods and attributes of various classes . The code will be auto genarated. You just need to cange a little bit according to your need.
Hi,
You can use code wizard for reading the context node. In this case, SFLIGHT_NODE.
After that, write the select statement by your own.
Then for binding the table, either you can use Pattern button as normal for OOPS ABAP or you can write the single table.
Hi,
In pattern, choose ABAP Objects patterns.
In that in radio button, Call Method choose the following from F4 button.
Instance Node_sflight
Class/Interface IF_WD_CONTEXT_NODE
Method Bind_table
It will generate the below code.Pass the internal table as shown in bold.
CALL METHOD node_sflight->bind_table
EXPORTING
new_items = itab_sflight
set_initial_elements = ABAP_TRUE
index =
.
IN web dynpro configuration wizard i am not getting read set and append radio buttons,,
is there any option in teh settings i need to change please let me know.
thanks
sarbjeet