Hi,
We are trying to display PDF from ABAP Web Dynpro. Its stored in the table as hex and we using following to display it
WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
I_FILENAME = 'test.pdf'
I_CONTENT = XTEXT
I_MIME_TYPE = 'pdft'
).
When we trying to open it we getting an error "There was an error oppeneing this document."
If we save it as plain txt we can see that the data is some thing like this
%PDF-1.4
%âãÏÓ
34 0 obj <</Linearized 1/L 33832/O 36/E 6746/N 8/T 33105/H >>
endobj
............................
there is whole big file i don't want to post it here.
What can we do to be able to open this in PDF properly.
Thanks,
Oleg