Application Development 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: 

Converting Smartform into PDF and sent to EMAIL

Former Member
0 Kudos

Dear Gurus,

I have a requirement that converting the smartform into PDF and sent to external mail. I am successfully done this ECC6.0 and copied the same program into ECC5.0 it is not working. The pdf attachment is not opening properly. When am trying to open the PDF in email it is showing that "File is damaged. Cannot open". I didnt changed single line of code while copying from ECC6.0 to ECC5.0. In 6.0 it is working fine. But it is not working in ECC5.0.

Please help me regarind this.

Points will be awarded

Thanks & Regards,

SC

5 REPLIES 5

Former Member
0 Kudos

Hi.

Check this..[ - 46k]

[sap.ittoolbox.com/groups/technical-functional/sap-dev/convert-smartforms-form-in-pdf-998715 - 87k ]

Regards,

Priya.

Former Member
0 Kudos

hi,

Check the output devices. Some times those devices are not available in some clients, because of that we face problems in opening of the pdf file.

0 Kudos

Dear Subas,

Thanks for your quick reply. What output devices i have to check in that client. Please tell me where to check which output device i have to check.

Thanks & Regards,

SC

Former Member
0 Kudos

Hi

SMART form to PDF

https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertSmartformtoPDFformat

smartform to MAIL

https://wiki.sdn.sap.com/wiki/display/Snippets/SmartformtoMailasPDF+attachment

0 Kudos

Dear Gurus,

Am able to send the email with pdf attachment in one server which is ECC6.0 but the same program in ECC5.0 am able to send mail but attachment is not opening correctly.

Please give me some idea what i have to do for this.

Points will be awarded