Skip to Content
0
Former Member
Jun 05, 2008 at 01:43 PM

Codes for making slection based on select options.

17 Views

Hi All,

Am very very new tp web dynnpro, I made one small program by seeing the tutorial. I have a parameter option on the screen and then a button. And below that is a table displayed.

When you click on the button the table should get filled with all the datas from VBAK table based on the vbeln value from the parameter.

the code that I wrote is

method ONACTIONGET_VBAP .

data:

vbak_node type REF TO IF_WD_CONTEXT_NODE,

Itab_vbak type standard table of vbak.

  • navigate from <CONTEXT> to <SFLIGHT> via lead selection

VBAK_NODE = wd_Context->get_Child_Node( Name = `VBAK_NODE` ).

select * from vbak into table Itab_vbak.

vbak_node->Bind_Table( Itab_vbak ).

endmethod.

So it get the full data on kliking the action button, what coding do I need to restrict this to the values in vbeln parameters. Please suggest.

Thanks in advance.

Anupama.