Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

update the database table

Former Member
0 Likes
555

how can i update the database table from the internal table..

Cheers,

Reddy.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
512

using update and modify we can update the database table

3 REPLIES 3
Read only

Former Member
0 Likes
512

for updating the records in ITAB we can use the MODIFY or UPDATE keyword .

Cheers,

Rakesh.

Read only

Former Member
0 Likes
512

Hi Haresha,

You can update a database table using Modify or update statement.

Modify: It inserts one or several lines specified in source in target or overwrites the existing lines.

MODIFY target FROM source.

Eg., modify z_employee from table it_employee[].

Where z_employee is the database (custom) table & it_employee is the internal table.

Update: The statement UPDATE changes the content of one or more lines of the database table specified in target. The entries in source determine which columns of which lines are changed, and how they are changed. If no records in the target system are found, a new record will be created.

Update target source.

Reward if useful.

Regards

Sayee

Read only

Former Member
0 Likes
513

using update and modify we can update the database table