on 06-19-2008 11:46 AM
how to insert datas from internal table into databasetable through onclick in web dynpro...
send me the coding....
Hello,
Create a context node with cardinality 0..n and the bind it with the table.
To populate a node you need to proceed like follows:
DATA:
lt_list TYPE wd_this->elements_list.
lr_list TYPE REF TO if_wd_context_node.
SELECT * FROM zlist INTO lt_list.
lr_list = wd_context->get_child_node( name = wd_this->wdctx_list ).
IF lr_list IS NOT INITIAL.
lr_list->bind_table( lt_list ).
ENDIF.
This code must be in the action that is associated with button (property onAction ).
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.