Skip to Content
0
Former Member
Dec 19, 2007 at 08:15 PM

Save data to a table (In the View method)

15 Views

Hi,

I am new to Webdynpro.We have a requirement in BW to update user config tables using webdynpro.I got the retrieve data part working.

Now I am trying to save data back to the table.I got the following code in the save method which will be called when the save button is clicked.

method ONACTIONSAVEDATA .

data:

TABLE_NODE type ref to IF_WD_CONTEXT_NODE,

varTable type standard table of ZUSRCONFIG.

TABLE_NODE = WD_CONTEXT->GET_CHILD_NODE( 'TABLE_N1' ).

endmethod.

How can I get the data from the TABLE_NODE so that I can use a update command subsequently.TABLE_NODE in the context is bound to ZUSRCONFIG table.

Thanks