<?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: Print smartform automatically after printing the script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850076#M1319480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur reply...but in this case when the user select for print preview my smartform will be printing right....but how can i restrict this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2009 05:55:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-09T05:55:16Z</dc:date>
    <item>
      <title>Print smartform automatically after printing the script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850074#M1319478</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 have a requirement in which i need to print the smartform after script. The program is using script to print the deliveryorder.&lt;/P&gt;&lt;P&gt;After printing the delivery order i need to print the smartform automatically. How can i do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 04:07:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850074#M1319478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T04:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Print smartform automatically after printing the script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850075#M1319479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u would be calling script fn module to print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so under that u can call smartform fn module.for the smartform fn module there would be controls (here i have used z control).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to pass X value to control for not making the poup to appear..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE 'X' TO : Z_CONTROL-NO_DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u need to specify the printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE 'LOCL' TO Z_OPTIONS-TDDEST.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one more parameter (for which X should be passed) to make it print,like the ones as above.This u need to search &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : Z_CONTROL TYPE SSFCTRLOP,       "Smart Forms: Control structure
           Z_OPTIONS TYPE SSFCOMPOP.       "SAP Smart Forms: Smart Composer (transfer) options.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME = V_FORMNAME
      IMPORTING
        FM_NAME  = V_FMNAME.

    CALL FUNCTION V_FMNAME
      EXPORTING
        CONTROL_PARAMETERS = Z_CONTROL
        OUTPUT_OPTIONS     = Z_OPTIONS
        TENDERID           = TENDERID             "" Value Assignments from prgrm to smrtform
      TABLES
        IT_ZBOQ_ITEM       = IT_SMARTFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 11:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850075#M1319479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T11:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Print smartform automatically after printing the script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850076#M1319480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for ur reply...but in this case when the user select for print preview my smartform will be printing right....but how can i restrict this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 05:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/print-smartform-automatically-after-printing-the-script/m-p/5850076#M1319480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T05:55:16Z</dc:date>
    </item>
  </channel>
</rss>

