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: 

CG3* Record Length Limitations?

Former Member
0 Kudos

Anyone know if CG3Y supports transfer of ASCII files more than 255 bytes wide? Initial testing appears that I'm transferring only part (maybe 255 bytes or so) of each row to the desktop target. I'm trying to avoid read dataset into SAP and GUI_DOWNLOAD of 200K record files. Suggestions for a fast alternative to CG3Y that would handle the 350 byte rows?

1 ACCEPTED SOLUTION

GauthamV
Active Contributor
0 Kudos

You can use these FM.

DX_FILE_WRITE.

DX_FILE_READ.

5 REPLIES 5

GauthamV
Active Contributor
0 Kudos

You can use these FM.

DX_FILE_WRITE.

DX_FILE_READ.

Former Member
0 Kudos

Thanks. Unfortunately, still requires two-step process (back into SAP, then download) rather than a simple, fast transfer.

Former Member
0 Kudos

Hi,

Try function module "C13Z_FILE_DOWNLOAD_ASCII".

Regards

Vinod

Former Member
0 Kudos

Same problem...REALLY obvious in this one....partially answers the question, though, since CG3* calls the CZ13* stuff...

That FG is out-of-date and far too limited for current SAP usage. That FG needs serious re-work or needs to be made obsolete. These days, we wouldn't think of writing something that wouldn't handle 1KB per row (or preferably a STRING type), would we?

data: l_data_tab(256)   type c occurs 100000 with header line.

Thanks for reply, though.

Former Member
0 Kudos

Looking at CL_RCC_FILE_TRANSFER, but will probably just write the mundane....read dataset into internal table and use GUI_DOWNLOAD....sloppy by effective.