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: 

.csv extension file

Former Member
0 Kudos
225

hi guyz,

can i copy contents of.csv extension file to sap table.If i can how?

plz advise.

thanks

sudheer

Message was edited by:

sudheer sun

1 ACCEPTED SOLUTION

Former Member
0 Kudos
143

It can be done using GUI_UPLOAD.

Please find the code here

Once you have got the file content in the internal table,

put some logic to update the table using Function Modules, if it is custom table INSERT will do.

Regards

Kathirvel

Message was edited by:

Kathirvel Balakrishnan

4 REPLIES 4

Former Member
0 Kudos
144

It can be done using GUI_UPLOAD.

Please find the code here

Once you have got the file content in the internal table,

put some logic to update the table using Function Modules, if it is custom table INSERT will do.

Regards

Kathirvel

Message was edited by:

Kathirvel Balakrishnan

Former Member
0 Kudos
143

Hi,

You have to create a new program to move the records from the .CSV file to the sap table..

Thanks,

Naren

venkata_ramisetti
Active Contributor
0 Kudos
143

Hi,

It is not recommended to update sap table in such way if the table stores transaction data.

1. If it is a custom table, use function module GUI_UPLOAD to upload data to the internal table.

2. Update the table from the internal table.

Thanks

Ramakrishna

0 Kudos
143

Hi Sudheer,

You can use either FM's ws_upload or gui_upload.

Thanks