<?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: Executing smartform in Background in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537730#M245256</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;If you are using F9 to execute the program in background, you would be getting a popup for printer option,then tick the checkbox `PRINT IMMEDIATELY` and pass appropriate printer name in `OUTPUT DEVICE`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Aug 2006 05:08:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-16T05:08:45Z</dc:date>
    <item>
      <title>Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537727#M245253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have driver program for smaertofrm, when i execute this driver program with F8 i.e in foreground iam able to print the smartform from spo1, but when in execute the smart form in Background(F9), iam not able to print the smartform from SPO1, only print preview is possible,could anybody help me in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 04:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537727#M245253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T04:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537728#M245254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are passing the printer details and suppressing the print preview dialog(these can be done by passing the right parameters to the control_parameter and output_options), the smart form will get printed directly in the background.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note :Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 04:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537728#M245254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T04:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537729#M245255</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;are you passing the Printer details and etc to the Function module. and also you should say NO_DIALOG = 'X'. all print parameters should be correct , then only it will generate the spool. &lt;/P&gt;&lt;P&gt;you need to give correct inputs to &lt;/P&gt;&lt;P&gt;CONTROL_PARAMETERS-NO_DIALOG = 'X'.&lt;/P&gt;&lt;P&gt;CONTROL_PARAMETERS-device = 'LP01'.&lt;/P&gt;&lt;P&gt;and for output options.&lt;/P&gt;&lt;P&gt;OUTPUT_OPTIONS-TDDEST = 'LP01'.&lt;/P&gt;&lt;P&gt;OUTPUT_OPTIONS-TDPRINTER =	&lt;/P&gt;&lt;P&gt;OUTPUT_OPTIONS-TDNEWID	= 'X'&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;and also give this&lt;/P&gt;&lt;P&gt;USER_SETTINGS = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 05:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537729#M245255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T05:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537730#M245256</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;If you are using F9 to execute the program in background, you would be getting a popup for printer option,then tick the checkbox `PRINT IMMEDIATELY` and pass appropriate printer name in `OUTPUT DEVICE`.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 05:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537730#M245256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T05:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537731#M245257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sometimes the problem can be that default pronter defined is  LOCAL, that is to use windows default printer but while executing in the background, the application server may not have such default printer which can raise the error that it could not see the printer.&lt;/P&gt;&lt;P&gt;Make sure that the printer used is not using frontend printing method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 05:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537731#M245257</guid>
      <dc:creator>Rashid_Javed</dc:creator>
      <dc:date>2006-08-16T05:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537732#M245258</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;Iam passing the following print parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        lw_control_param-device = 'PRINTER'.&lt;/P&gt;&lt;P&gt;        lw_control_param-getotf = c_x.&lt;/P&gt;&lt;P&gt;        lw_control_param-no_dialog = c_x.&lt;/P&gt;&lt;P&gt;        lw_composer_param-tdnoprev = c_x.&lt;/P&gt;&lt;P&gt;        lw_composer_param-tddest = 'LONSC0P310'.&lt;/P&gt;&lt;P&gt;        lw_composer_param-tdnewid = c_x.&lt;/P&gt;&lt;P&gt;        lw_composer_param-tdfinal = c_x.&lt;/P&gt;&lt;P&gt;but when iam running the smart form in the background, iam geting a popup for backgroung print parameters, which is asking for output device, but i have said lw_control_param-no_dialog = c_x so why iam getting this popup window for outputdevice.after i press enter in the popup window i get one more popup for 'Start time' here iam pressing immediate button and saying 'Save'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 05:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537732#M245258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T05:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Executing smartform in Background</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537733#M245259</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;lw_control_param-device = 'PRINTER'.&lt;/P&gt;&lt;P&gt;lw_control_param-getotf = c_x.&lt;/P&gt;&lt;P&gt;lw_control_param-no_dialog = c_x.&lt;/P&gt;&lt;P&gt;lw_composer_param-tdnoprev = c_x.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*lw_composer_param-tddest = 'LONSC0P310'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;lw_composer_param-tddest = 'XXXX'.&amp;lt;/b&amp;gt; &amp;lt;b&amp;gt;"Four digits&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;lw_composer_param-tdnewid = c_x.&lt;/P&gt;&lt;P&gt;lw_composer_param-tdfinal = c_x.&amp;lt;/i&amp;gt; --&amp;gt; Not required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In place of 'XXXX', replace it by a 4 digit value. It would be available in transaction SPAD-&amp;gt;Output Devices-&amp;gt;Double click your output device. On the right hand side there would be a field Short Name. Replace 'XXXX' with that value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2006 06:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/executing-smartform-in-background/m-p/1537733#M245259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-16T06:10:21Z</dc:date>
    </item>
  </channel>
</rss>

