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

Former Member
0 Likes
732

Hi Real time Experts,

In real time we use ARCHIVFILE_CLIENT_TO_SERVER to put a file from presentation server to application server.

Other wise, first we have to upload the file into an internal table and then we have to put by using OPEN DATASET.

Please clear it . Urgent...

Thanks........

1 ACCEPTED SOLUTION
Read only

former_member188829
Active Contributor
0 Likes
668

Hi Anil,

Use CG3Z tcode.

5 REPLIES 5
Read only

former_member188829
Active Contributor
0 Likes
669

Hi Anil,

Use CG3Z tcode.

Read only

Former Member
0 Likes
668

Hi Anil,

Above things are ok for coding perspective.

If you want to copy a file from Application server to Presentation server use SAPs Transaction CG3Y & for copying File from Presentation Server to Application Server use Transaction CG3Z.

Ashven

Read only

Former Member
0 Likes
668

Hi anil,

For directly uploading file from presentation to application, use the transaction CG3Z, where you just need to specify the source (presentation) and the destination(application).

There are other methods also, wherein you need to use Function module in your code like

GUI_UPLOAD

ALSM_EXCEL_TO_INTERNAL_TABLE (this wil go to internal table from where u can make use of datasets to put into application serfer)

ARCHIVFILE_CLIENT_TO_SERVER

PLZ REWARD POINTS IF HELPFUL

Read only

Former Member
0 Likes
668

Hi Anil,

If your main aim is to just upload a file from the presentation server to the application server. You can use the already provided utility program with SAP CG3Y and CG3Z to download.

But if you want to process the data after reading the file and before uploading do it through coding ..I mean to say upload it into an internal table and use OPEN DATASET ..method.

Hope your doubt is clear.

~Mayank

Reward points if post is helpful.

Read only

0 Likes
668

I have one question that

In my program, I am downloading to a text format file to Presentation Server using GUI_DOWNLOAD. It is working fine.

But I need to schedule this program background so in which I can’t use GUI_DOWNLOAD as it will through Exceptions.

When I discussed with my friends, they said it is not possible to schedule a Pres Server file download. And so they asked me to download that internal table to an APPLICATION SERVER using OPEN DATASET and then schedule it background. But I will not be getting a TEXT FILE AS AN OUTPUT.

Now my requirements is 1) to schedule it background jobs

2) the output should be text file format(where the file path will be hard coded in the program itself based on Time stamping)

So how can I handle it.

Waiting for your reply.