cancel
Showing results for 
Search instead for 
Did you mean: 

wizard for bind table

former_member474221
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

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)

Former Member
0 Kudos

This works like a charm! Thanks