Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform to PDF - Adobe Reader issue

jakob_steen-petersen
Contributor
0 Likes
1,309

Hi

I have this strange problem: i convert a Smartform to PDF and send it using CL_BCS as a attachement to an email. The strange thing is that in Development system i have no problems - in QA i get an message when i open the PDF from Adobe Reader with "AdobeReader could not open.... either filetype is not supported or file is corrupt".

Smartform is converted to xstring with 'CONVERT_OTF'

xstring is converted to Solix using cl_bcs_convert=>xstring_to_solix

Any ideas of what could be the difference between the two systems?

1 ACCEPTED SOLUTION
Read only

0 Likes
1,158

Hi

check the below previous post in SCN, May help.

https://scn.sap.com/thread/3455956

Regards

Hi

check the below previous post in SCN, May help.

https://scn.sap.com/thread/3455956

Regards

4 REPLIES 4
Read only

0 Likes
1,159

Hi

check the below previous post in SCN, May help.

https://scn.sap.com/thread/3455956

Regards

Read only

0 Likes
1,158

Yes i´m doing exactly as showned in this thread. And as i said: no problems in Development system. It´s in QA system i get the error?

Read only

0 Likes
1,158

Hi

Sometimes the problem lies in a total different place... Found the problem: the Smartform function module did not create af Smartform at all because of some missing graphics in QA system.

So of course - when no PDF data was empty the Adobe Reader cannot open it - obviously.

Silly me 🙂

Read only

jakob_steen-petersen
Contributor
0 Likes
1,158

Hi SAP FI FICO

Thank you for your answer but:

1. The problem was solved four years ago 🙂

and

2. No screen is involved, so i cannot type anything - this is all done in background in ABAP code....

//Jakob