Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

problem in saving or update the data in the table

hi ,

i have created a button (save) and onaction event i have writen the code but when iam going tho edit the data or inserting the new data , it showing on the brouser but it is not sving into the data base

method onactionsave.


lo_element type ref to if_wd_context_element,

lo_node type ref to if_wd_context_node.

lo_node = wd_context->get_child_node( name = 'your node name here' ).

lo_element = lo_node->create_element( ).

lo_node->bind_element( new_item = lo_element set_initial_elements = abap_false ).


suggest me the aswer or the code to update or save it into the database

thanks & regards...


Former Member
Former Member replied

As long as the blank column is bound correctly to the context you should be able to read the data back out of the context and update the database.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question