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

GUI_UPLOAD adds nulls

Former Member
0 Likes
389

Hello,

I'm using GUI_UPLOAD in 'BIN' mode to upload a file to a dictionary table field (type RAW(254)). Everything goes fine, except for the last line. Since my document is not a multiple of 254, the last line is not completely filled. The function module fills this line with zeroes, but when I download this file again, these zeroes are seen as an illegal character. Any ideas how to bypass this?

1 ACCEPTED SOLUTION
Read only

sridhar_k1
Active Contributor
0 Likes
352

GUI_UPLOAD returns file size using import parameter FILELENGTH, use it as export parameter BIN_FILESIZE of GUI_DOWNLOAD.

Regards

Sridhar

1 REPLY 1
Read only

sridhar_k1
Active Contributor
0 Likes
353

GUI_UPLOAD returns file size using import parameter FILELENGTH, use it as export parameter BIN_FILESIZE of GUI_DOWNLOAD.

Regards

Sridhar