Skip to Content
0
Former Member
Jul 09, 2007 at 08:12 PM

Create attachment using GOS

212 Views

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