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: 

CG3Z Truncating File

Former Member
0 Kudos

I'm uploading a text file from my PC to the application server using CG3Z. Each row is fixed-length at 816 bytes. When the file arrives on the application server it's truncated to 215 bytes.

Is there another transaction I can use or am I just going to have to write my own upload program?

Thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Steve,

Copy the program used by CG3Z i.e.RC1TCG3Z and change the value of L_DATA_TAB length from 255 to desired number inside function module C13Z_FILE_UPLOAD_ASCII in the report and activate this function module.

Re run the transactin again, I hope it might helps.

Thanks,

Vinay

2 REPLIES 2

Former Member
0 Kudos

Hi Steve,

Copy the program used by CG3Z i.e.RC1TCG3Z and change the value of L_DATA_TAB length from 255 to desired number inside function module C13Z_FILE_UPLOAD_ASCII in the report and activate this function module.

Re run the transactin again, I hope it might helps.

Thanks,

Vinay

Former Member
0 Kudos

I ended up writing my own. It only took about 15 minutes and I actually like it better than CG3Z anyway.