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: 

problem while dowloading data into text file using T*n CG3Y

Former Member
0 Kudos
924

Hi,

I was trying to download data into text file from application server( AL11) to presentation server(desktop) using the trasaction CG3Y.

Now, the dowloaded file doesn't contain all the fields that are actually present in AL11.

I don't want to CONDENSE the spaces.

Any suggestions would be of great help.

Thanks in advance,

Vamsee Priya.

7 REPLIES 7

GauthamV
Active Contributor
0 Kudos
357

You may not get all fields, if the file is large.

So better use open dataset, read dataset,close dataset options

to read data from server and then download that data to presentation

server using GUI_DOWNLOAD function module.

Former Member
0 Kudos
357

CG3Y transaction downloads the text file data which is visible on your screen using AL11 even if the string length is < 255 chars.

Always safe to use program which downloads the file into your desktop otherwise go for any FTP tools which downloads the file on your local machine.

Hope this gives you some inputs.

Edited by: Sunil Sawaikar on Mar 31, 2009 7:46 AM

Former Member
0 Kudos
357

HI Vamsee

Tcode : CG3Y downloads the file from the application server to the presentation server

without suppressing the data

check the file in AL11 does this contain all the fields.

Regards,

Sravanthi

0 Kudos
357

Hi Sravanthi,

File in AL11 contains the required fields but not the dowloaded file.

Can you suggest the way how to debug the Transaction CG3Y? I tried debugging the transaction through SE93 while downloading to check the problem, but in vain. I was not able to see the output in debugging.

Thanks in advance,

Vamsee Priya.

Former Member
0 Kudos
357

HI Vamsee Priya,

How you are uploading the file into AL11?

Regards,

Sravanthi

0 Kudos
357

Hi Sravanthi,

We got a Z-Program to download the file into presentation server containing open dataset & close dataset.

But for the present scenario, I found that the problem is with the option "Transfer format for data" in transactions CG3Y & CG3Z.

There are two Transfer formats, Binary & ASCII.

while using Binary, the data is getting dowloaded/ uploaded in the same way as it is in AL11.But the problem is, we are getting an extra space in the header due to which it is affecting our next proceedings to BDC.

For ASCII, the complete data is not getting downloaded/uploaded.(Previously data is downloaded using this option only).

Any pointers on this would be of great help.

Thanks in advance,

Vamsee Priya.

Former Member
0 Kudos
357

This message was moderated.