on 01-20-2012 2:19 PM
Hi
i want to move to a particular node say MARATAB via lead selection and then bind my ITAB to this node . I understand that it can be done by the following statements-
navigate from <CONTEXT> to <MARATAB> via lead selection
lo_nd_maratab = wd_context->get_child_node(
name = wd_this->wdctx_maratab ).\
bind table to context node <maratab>
lo_nd_maratab->bind_table(
new_items = maratab ).
My question is instead of typing this statements , How can I generate this code automatically using Wizard...
I tried many options in the wizard but it did not work
Hi Hema,
You can generate bind_table method using wizard. do follow this steps,
1. Click on Web dynpro wizard button
2. Select 'Set' radio button, and choose the context node
3. Select 'As a Table Operation' check box
This will generate att the required variables and bind_table method.
You just need to populate the internal table 'lt_xxxxxxx' .
Hope this helps u.,
revert if u need some more clarifications.,
Thanks & Regards,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can not get bind_table using Wizard.
First call your node from wizard.
You need to click on pattern and then select abap objects in that select method call
and give the name of CLASS(IF_WD_CONTEXT_NODE),INSTANCE(lo_nd_node) and METHOD(bind_table)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.