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 while dowloading the file from Application Server

Former Member
0 Likes
2,008

Dear Experts,

I am facing the Problem while downloading the file from Application server.

We done the automatic function while saving the invoice, this will create an idoc, and this idoc is written in the Application Server.

I am running the Transaction AL11 and select the record, and from menu --> List, i am downloading into TXT format.

But for some segments, the length is long, and so the last 3 to 4 fields values are not appearing in the File. Even though i am unable to view the values in the file before downloading. But i can view in IDOC.

Please help me to solve this issue.

Thanks & Regards,

Srini

1 ACCEPTED SOLUTION
Read only

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

Hello,

You must understand AL11 gives us a snapshot of the original file in the app server. It is a report program(RSWATCH0) showing you the contents of the file.

The LINE-SIZE of thre report is set to 512 & so if the file line exceeds this value, it will get truncated!

There are a couple of transactions available to download the app server file: CG3Y & CACS_FILE_COPY. You can always ask your basis team to fetch the file fr you

BR,

Suhas

5 REPLIES 5
Read only

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

Hello,

You must understand AL11 gives us a snapshot of the original file in the app server. It is a report program(RSWATCH0) showing you the contents of the file.

The LINE-SIZE of thre report is set to 512 & so if the file line exceeds this value, it will get truncated!

There are a couple of transactions available to download the app server file: CG3Y & CACS_FILE_COPY. You can always ask your basis team to fetch the file fr you

BR,

Suhas

Read only

Former Member
0 Likes
1,239

Thank you Suhas for your valuable Reply,

I run the Txn. CG3Y, But the data i am getting is Truncated, But while running the Prg. CACS_FILE_COPY, I can view the Entire Data.

But i have one Question. Downloading the File directly from Application Server, the data is Truncated. but our user will use the Txn. AL11 and they will download from there. But the data is they are getting is truncated. Apart from the solution what you had given, is there any better solution for direct downloading from AL11. And the data wont truncated.

I can set the Variant and put this in background, But always the file name will be change, Like we use Time stamp in the File name.

Thanks & Regards,

Srini

Read only

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

but our user will use the Txn. AL11 and they will download from there

Educate the user On a serious note, tell him this is not how data from app server should be downloaded. You can ask him to talk to the basis team to provide him access to the app server folder where the file is being stored.

I can set the Variant and put this in background, But always the file name will be change, Like we use Time stamp in the File name.

You can't automate this process by scheduling in BG mode. This is because the in BG mode you can't dwld the file to presentation server.

Hope i'm clear.

BR,

Suhas

Read only

Former Member
0 Likes
1,239

Thanks Suhas,

Hope i am also clear,

Thank you very much,,,

Thanks & Regards,

Srini

Read only

Former Member
0 Likes
1,239

Hi,

For downloading the file from the Application server, you can use the following function module. this will work perfectly.

I have met the same scenario, no issues were found with this.

ARCHIVFILE_SERVER_TO_CLIENT