‎2008 Feb 23 9:56 AM
how can i update the database table from the internal table..
Cheers,
Reddy.
‎2008 Feb 23 2:35 PM
‎2008 Feb 23 9:57 AM
for updating the records in ITAB we can use the MODIFY or UPDATE keyword .
Cheers,
Rakesh.
‎2008 Feb 23 10:28 AM
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
‎2008 Feb 23 2:35 PM