Application Development 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: 

How to add new row and update existing rows at a time form the upload file

Former Member
0 Kudos

hi

How to add new row and update existing rows at a time form the upload file

example:ztable(existing table)

bcent smh nsmh valid date

0001112465 7.4 26.06.2007

0001112466 7.5 26.06.2007

000111801 7.6 26.06.2007

1982 7.8 26.06.2007

Flat file structure

bcent nsmh valid date

0001112465 7.8 26.06.2007 ( update into above table in nsmh)

0001112466 7.9 26.06.2007 ( update into above table in nsmh)

000111801 7.6 26.06.2007 ( update into above table in nsmh

1985 11 26.06.2007 new row it should insert in table

thanks,

Sivagopal R

1 REPLY 1

Former Member
0 Kudos

Hi,

First upload the file into an internal table. If you are using a file that is on application server. Use open dataset and close dataset.

Then :

Loop at it.

*insert or modify as per your requirement.

Endloop.

Regards,

Srilatha.