2020 Dec 10 5:27 AM
My Client wants to upload the file against the tender no and later wants to download the same file against the same tender no. They do not use FTP server. They had very small MB files, so I suggested them to that these files can keep in the application server. So I have put the functionality CG3Y, CG3Z , CACS_FILE_COPY in my custom program. My upload and download file functionality working properly but after download few pdf files is not opening in Adobe Reader but the same files opened in Mozilla, Edge, Chrome . They want it should have opened in Adobe reader.
Any suggestions like where should I tell them to store the files and files is not opened by adobe reader. Thanks in Advance.
2020 Dec 10 8:18 AM
As already discussed one thousand times in the forum, you probably forgot to define the exact size in bytes of the PDF when you write it.
2020 Dec 10 8:42 AM
Will you please provide me the link ? I need to upload less than 10mb data.
2020 Dec 10 2:14 PM
search
pdf corrupted site:sap.com
(parameter FILELENGTH of GUI_UPLOAD and GUI_DOWNLOAD methods CL_GUI_FRONTEND_SERVICES)
NB: if you want to target someone (me), if this person has posted an Answer, use the button COMMENT, if this person is the Original Poster of the question he/she will be automatically informed, otherwise copy/paste their hyperlinked name sandra.rossi so that the person receives a warning (NB: @ doesn't work/but typing this character will suggest hyperlinked names).