cancel
Showing results for 
Search instead for 
Did you mean: 

updating data in the database table

Former Member
0 Kudos

Can any help me in the code for updating data in the database table.

Regards,

Rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi rahul,

update <table name> set <fieldname> = <value> where <fieldname> = <value>

use this u ill get updation..

Former Member
0 Kudos

HI,

Try this.

Data: wa TYPE <tablename>.

INSERT INTO <tablename> VALUES WA.

Answers (1)

Answers (1)

0 Kudos

Hi Rahul,

A slightly longer procedure that i'm adding here...

1.) Create the component (i'm sure you have this covered)

2.) Next on the button click that updates the database - add an action.

3.) double click the action so that you are taken to the methods section of the view.

4.) next you need to add the code that is required the update the database - this will be in the form of the above two posts.

5.) compile and test the application

Let me know in case you need further information on how to do this with a function module or something.

Thanks.