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

Application Server Upload/ Download

Former Member
0 Likes
1,632

is there anyone who can tell me the class/method name for uploading/downloading data from application server .Please don't mention the *Open Data Set syntax .*

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
1,476

Why you dont want to use 'Open dataset' ?

You can also use CG3Z,CG3Y transactions for upload,download file to application server.

is there anyone who can tell me the class/method name for uploading/downloading data from application server .Please don't mention the *Open Data Set syntax .*

9 REPLIES 9
Read only

GauthamV
Active Contributor
0 Likes
1,477

Why you dont want to use 'Open dataset' ?

You can also use CG3Z,CG3Y transactions for upload,download file to application server.

Read only

Former Member
0 Likes
1,476

yes , your ans is write .but my requirement is upload/ download automatically from applicatiob server . but if i use open dataset the i am facing some problem regarding the file format . To avoid those things i have to do lots of coding and for that reason the performance is degrading .So i just want to know is there any class/method .

Read only

Former Member
0 Likes
1,476

I dont think there are any other than the standard OPEN DATASET with READ DATASET. The formatting problems can be easily rectified by the proper use of cl_abap_char_utilities attributes. You cannot also use CG3Y and CG3Z since you might want to do this automatically in background.

Vikranth

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,476

>

You cannot also use CG3Y and CG3Z since you might want to do this automatically in background.

I second Vikranth.

FYI these transactions are not available in SAPNW 7.0 so even if you use them during subsequent migration your code will give errors.

Read only

Former Member
0 Likes
1,476
Please don't mention the **Open Data Set syntax .**

Is there any restriction for using Open Data Set.

Refer the Wiki :

[File Existence on Application and Presentation Server|http://wiki.sdn.sap.com/wiki/display/Snippets/WorkingWithFiles]

Read only

0 Likes
1,476

Reply to Manas Mishra ...

yes . my requirement is upload/ download automatically from application server . but if i use open dataset the i am facing some problem regarding the file format . To avoid those things i have to do lots of coding and for that reason the performance is degrading .So i just want to know is there any class/method .

Read only

0 Likes
1,476

You can use the function modules mentioned in the above post. But what Vikrant says is correct, even in these function modules also OPEN DATASET and CLOSE DATASET is used internally.

Regards

Vinod

Read only

Former Member
0 Likes
1,476

hi,

Use CG3Y to download from application server to persentation server and CG3Z to upload from presentation server to applciation server.

Read only

Former Member
0 Likes
1,476

Check function modules C13Z_FILE_UPLOAD_ASCII & C13Z_FILE_UPLOAD_BINARY.

Regards

Vinod