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

Problem in upload the file...

Former Member
0 Likes
587

Hi Gurus,

I am new in ABAP. I want to upload a file to Application Server.

1. I create a file in Excel and give extension .prn and save on desktop so i think this file is on my presentation server.

2. Now thru ABAP Editor i want to upload this file to Application Server

Because i have to use this file in BDC.

please give me the process..

Thanks in Advance..

Kind Regards

Yogesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
549

U can use DATASETs to put and get data to and from APP Server

Reward if useful

3 REPLIES 3
Read only

Former Member
0 Likes
550

U can use DATASETs to put and get data to and from APP Server

Reward if useful

Read only

Former Member
0 Likes
549

Hi

Please

use CG3Z transaction code to directly upload filr to application server

Read only

Former Member
0 Likes
549

Hi Yogesh,

As per the above suggestion you can use CG3Z tcode to upload your file directly from PS(Prersentation Server) to AS (Application Server).

Otherwise if you need the procedure for coding, then first sav the file in .xls or .csv or any format and upload the file into an internal table using any standard FM as per the extension ehich you use. Later use OPEN DATASET stmt. and open a file in AS and pass the data from your Internal table into this file through TRANFSER stmt and after completing the required process use CLOSE DATASET stmt accordingly.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Nagaraj T