Skip to Content
0
Nov 04, 2005 at 12:21 AM

Formatting error in Smartforms

301 Views

Hi Experts,

I have a function module XXX that calls a Smartforms report, converts it to PDF and sends an email with this PDF file as attachment. I execute the function module XXX and it simply works fine. I can open the email and attachment without any problem.

The actual problem is:

When this FM XXX is called in a Workflow step/method, the email is sent with PDF attachment. But when I try to open the PDF file it says format error while conversion.

I found out that Smartforms was returning 'Formatting error' when called through Workflow otherwise it worked fine with direct execution of FM XXX.

Has anyone come across such a problem. Can you please give your suggestions/solutions?

If you need any other info pls let me know.

Thanks n advance,

Rashmi