cancel
Showing results for 
Search instead for 
Did you mean: 

how to update the database table using webdynpro??

Former Member
0 Kudos

Hi,

Can anybody helm me in updating database table....by entering the values on the output screen of webdynpro component??should i use any commit statement in function module ,which i used to update.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi martina deepthi,

you can ofcourse use the FM to update the data base.

On the action of the button to submit from the webdynpro screen-> read the the values you need to update by reading the nodes-> call the FM -> pass the values read to the FM

Regards

Sarath

Former Member
0 Kudos

hi martina....

consider you are having two input fields bound to attr1 and attr2.

now after pressing the save button:

just read teh two attributes to field1, field2 using code wizard. then

<db name>-<fieldname1> = <field1>.

<db name>-<fieldname2> = <field2>.

insert <dbname>.

---regards,

alex b justin