Академический Документы
Профессиональный Документы
Культура Документы
Image
DragSource
DragSourceInfo
DropTarget
DropTargetInfo
Table
Group
< Asia
>
< Buick
>
Mercedes
>
Shoppingcar
>
< Trash
<
<
- SE80 starten
Hierarchie-Ikone anklicken
Webdynpro-Anwendung anlagen
Vergleichen
Ergebnis 1
Ergebnis 2
Ergebnis 3
- Inhaltselement anlegen
Drag.Source einfgen
Knoten fr Fahrzeugdatendefinieren
method
data
data
data
ls_node_kfz-waers
= 'Eur'.
ls_node_kfz-bild = 'buik.bmp'.
append ls_node_kfz to lt_node_kfz.
endcase.
lo_nd_node_kfz->bind_table(
new_items = lt_node_kfz
set_initial_elements = abap_true ).
endmethod.
>
<
-
method onactionremove .
data lo_nd_node_kfz type ref to if_wd_context_node.
data lt_node_kfz type wd_this->elements_node_kfz.
data l_index type i.
*
navigate from <CONTEXT> to <NODE_KFZ> via lead selection
lo_nd_node_kfz = wd_context->get_child_node( name = wd_this>wdctx_node_kfz ).
* get index of lead selection
l_index = lo_nd_node_kfz->get_lead_selection_index( ).
call method lo_nd_node_kfz->get_static_attributes_table
importing
table = lt_node_kfz.
*
@TODO handle non existant child
*
IF lo_nd_node_kfz IS INITIAL.
*
ENDIF.
delete lt_node_kfz index l_index.
lo_nd_node_kfz->bind_table( lt_node_kfz ).
endmethod.