‎2008 Jul 26 1:48 PM
Hi,
I have converted a script into pdf file thru standard program 'RSTXPDFT4. Now I am saving it in the application server. Again I have read that pdf by storing it in the internal table and then downloading thru 'gui_download'. At last what I found is I could not open it.
when I am opening it with adobe reader, it says the file is not properly decoded.
I did as below to store it in application server.
open dataset p_file1 for output in binary mode.
if sy-subrc eq 0.
loop at pdf into wa_pdf.
transfer pdf-tdformat to p_file1.
transfer pdf-tdline to p_file1.
endloop.
else.
message e003(zmsg).
endif.
close dataset p_file1.
if sy-subrc ne 0.
message e004(zmsg).
endif.
What may be the reason. Please help. Its urgent.Error is occuring while storing in application server. Please provide exact method.
Rgds,
khadeer.
Edited by: khadeer basha on Jul 26, 2008 2:48 PM
‎2008 Jul 26 2:20 PM
‎2008 Jul 26 2:20 PM