Hi all,
I have a problem while I attach a file (.doc, .pdf, .jpeg) automatically to a custom's declaration document.
I wrote a program and file attachment is working fine, but when I tried opening the document in the customs declartion screen, the file is corrupted...
For foreground, I am using function module gui_upload, but after upload, .doc file, .pdf file are corrupted...
Please help me regarding this.... following is the code...
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file
TABLES
data_tab = lt_doc_content.
Thanks in advace.
Jaffer Ali.S