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: 

File upload and update

Former Member
0 Kudos

Hi ,

I have a file which has been uploaded from the workstation and has around 10 fields.

Now I need to create a new file which would have only one field from the uploaded file and another field which should be given the access to input and save.

Can anybody guide me step by step how to go with this??

Thanks.

2 REPLIES 2

former_member583013
Active Contributor
0 Kudos

Use GUI_UPLOAD to load the file in an internal table....Create another internal table and pass the values from the first IT to the second IT....


LOOP AT FIRST_IT ASSIGNING <FIRST>.
MOVE <FIRST>-FIELD1 TO SECOND_IT-FIELD1.
SECOND_IT-FIELD2 = "Add the value here....
APPEND SECOND_IT.
ENDLOOP.

When you finish with SECOND_IT....Use GUI_DOWNLOAD to create the file...

Greetings,

Blag.

0 Kudos

Could you please explain me in more detail?.