<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Formatting error in Smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093154#M101366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the structures and tables are being passed correctly to SForm FM.&lt;/P&gt;&lt;P&gt;The error is that otf-data has no lines at all. Zero lines are being returned &amp;amp; so actually there is nothing to convert to pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When run standalone otf-data has more than 200 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2005 23:50:38 GMT</pubDate>
    <dc:creator>Rushme</dc:creator>
    <dc:date>2005-11-08T23:50:38Z</dc:date>
    <item>
      <title>Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093143#M101355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The actual problem is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I found out that Smartforms was returning 'Formatting error' when called through Workflow otherwise it worked fine with direct execution of FM XXX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone come across such a problem. Can you please give your suggestions/solutions? &lt;/P&gt;&lt;P&gt;If you need any other info pls let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks n advance,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 00:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093143#M101355</guid>
      <dc:creator>Rushme</dc:creator>
      <dc:date>2005-11-04T00:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093144#M101356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rashmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any special fonts in this?? Also, please mention which SAP version are you using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some OSS notes e.g. 820106. Have you checked those?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bipin&lt;/P&gt;&lt;P&gt;P.S. Pls. award points if you find this useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 00:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093144#M101356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T00:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093145#M101357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls check whether you are sending the attachement data in BIN format. Each record of the BIN data should not be more than 255 charcters. Pls check this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 00:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093145#M101357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T00:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093146#M101358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quite possible that FM XXX parameters are different when you call directly and when it is called through workflow. Check if parameters are exactly the same. I guess you are using SE37 to test the FM XXX directly . There are screen conversions if you have fields with conversion exit in FM interface . Check in debugging if all the parameters have the same value in FM call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 01:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093146#M101358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T01:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093147#M101359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Helvetica font throughout my smartforms report and I am using SAP 4.6C version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formatting error occurs &amp;lt;b&amp;gt;only&amp;lt;/b&amp;gt; during Smartforms being sent as PDF attachment through Workflow. Are there any limitations or special conditions to use smartforms in Workflows like no skipping of columns etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 23:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093147#M101359</guid>
      <dc:creator>Rushme</dc:creator>
      <dc:date>2005-11-06T23:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093148#M101360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rashmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check with t-code SCOT. This is to configure email server in SAP. Actually this is basis part. Here u check the conversion dropdowns. I think this will solve yr problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 10:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093148#M101360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-07T10:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093149#M101361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no problem with the basis settings. Everything has been set and just executing the FM XXX, the smartforms is sent as PDF attachment via email and it opens correctly also. &lt;/P&gt;&lt;P&gt;The problem is only when the same FM XXX is called in the Workflow step. Formatting error is returned by the smartforms FM and pdf attachment sent via Workflow email step is corrupted and hence cannot be opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any compatibility problem between Workflow &amp;amp; Smartforms?&lt;/P&gt;&lt;P&gt;Or How to send PDF attachment in Workflow email step?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions please.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 22:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093149#M101361</guid>
      <dc:creator>Rushme</dc:creator>
      <dc:date>2005-11-07T22:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093150#M101362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Make sure you are converting the smartform document into PDF format using function module 'CONVERT_OTF' and then converting the PDF file to Binary using function module 'QCE1_CONVERT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;sharmistha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2005 23:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093150#M101362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-07T23:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093151#M101363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rashmi,&lt;/P&gt;&lt;P&gt;   Check if none of the windows created in the smartform have width more than the dimension specified by the page format. for example if the page format is LETTER the size of the page is 8.5 * 11 inches. If any of the windows in the smart form has a width more than 8.5 then, your preview will show up properly but special operations like printing and converting into PDF will give errors. There are many other reasons why you could be getting this error, but this is one more option to check.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Yuvaraj Mani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 00:36:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093151#M101363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T00:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093152#M101364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Page format i have used is DINA4. So width can be 21cm &amp;amp; Ht can be 29.7cm. Page and window sizes are perfectly matching.&lt;/P&gt;&lt;P&gt;Standalone execution of my program converts Smartforms to pdf &amp;amp; prints it successfully. Absolutely no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only when used in Workflow step there is formatting error from smartforms FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow &amp;amp; Smartforms integration problem &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solution please....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 02:57:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093152#M101364</guid>
      <dc:creator>Rushme</dc:creator>
      <dc:date>2005-11-08T02:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093153#M101365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to denug the workflow and see if parameters are passed to samrtform correctly as you are doing in standalone mode. Also what is the error . Can you elaborate more on the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 03:07:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093153#M101365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-08T03:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093154#M101366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the structures and tables are being passed correctly to SForm FM.&lt;/P&gt;&lt;P&gt;The error is that otf-data has no lines at all. Zero lines are being returned &amp;amp; so actually there is nothing to convert to pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When run standalone otf-data has more than 200 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt; help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2005 23:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093154#M101366</guid>
      <dc:creator>Rushme</dc:creator>
      <dc:date>2005-11-08T23:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093155#M101367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In The workflow are you passing CONTROL_PARAMETER-GETOTF&lt;/P&gt;&lt;P&gt;= 'X'. And does this mean that your smartform Function module is running perfect and the only problem is it is not returning any data in OTF . Earlier you mentioned that smartform is giving formatting error. What is the SY-SUBRC after the call to smartform function module in workflow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2005 01:07:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093155#M101367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-09T01:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting error in Smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093156#M101368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hurray.... the problem is solved..&lt;/P&gt;&lt;P&gt;Actually the default output device for the &amp;lt;b&amp;gt;Workflow batch user&amp;lt;/b&amp;gt; was not set up and thats why the smartform FM was not returning any otf-data, was returning SY-SUBRC = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ufff........ just one parameter in SU01 solved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all of you who scratched their head for me... &lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rashmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2005 01:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/formatting-error-in-smartforms/m-p/1093156#M101368</guid>
      <dc:creator>Rushme</dc:creator>
      <dc:date>2005-11-09T01:21:38Z</dc:date>
    </item>
  </channel>
</rss>

