cancel
Showing results for 
Search instead for 
Did you mean: 

Partial Upload of file Contents

Former Member
0 Kudos

Dear All,

When I upload a file on application server using CG3Z transaction only a specific amount of data is uploaded to application server.

For e.g: 01, Rupesh, Mumbai, 09.10.2009, , , , , , 31/07/2010

Then only

01, Rupesh, Mumbai, 09.10.2009, , , , , , 31/

is uploaded to file when I check it thru TCode AL11.

Can anyone tell me why is it so?

Thank you,

Regards,

Rupesh

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Answered

naimesh_patel
Active Contributor
0 Kudos

The internal Table defined in the CG3Z can only handle upto 256 characters per row.

Data definition of the table from the Function C13Z_FILE_UPLOAD_ASCII which uploads the file.


  DATA: L_DATA_TAB(256)    TYPE C OCCURS 100000 WITH HEADER LINE.

If your file has more than 256 characters, better to create your own small program which can Read the local file, Write the file on application server using (OPEN DATASET, TRANSFER .. , CLOSE DATASET).

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi,

Select Transfer Format as "ASC".

For cross verification upload using CG3Z and again download using CG3Y, to check whether contents where uploaded properly or not.

Thanks & Regards,

Navneeth K.

former_member182354
Contributor
0 Kudos

Hi,

Its the problem with the format you are using to upload the file..change it and try various options....

Raghav

Former Member
0 Kudos

Hi Raghav,

What if there are 400 characters in single record?

Will it upload only 256 characters on application server and truncate remaining characters?

I suppose this is the problem.

Regards,

Rupesh

former_member188685
Active Contributor
0 Kudos

it uploads all the data(400 chars) but you can see only upto 256chars in AL11 transaction.