<?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: smartforms print preview in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274061#M151060</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;in the structure parameters to the function you have create with the transaction smartforms, there is a structure : CONTROL_PARAMETERS (SSFCTRLOP), and there is a field PREVIEW. Just set the value 'X' inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have set the smartforms in a form ENTRY or ENTRY_NEU, you have set US_SCREEN  using parameters, you must use this parameters to check if print preview has beend selected by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Mar 2006 14:31:25 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2006-03-10T14:31:25Z</dc:date>
    <item>
      <title>smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274060#M151059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey , how to see smartforms printpreview?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 14:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274060#M151059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T14:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274061#M151060</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;in the structure parameters to the function you have create with the transaction smartforms, there is a structure : CONTROL_PARAMETERS (SSFCTRLOP), and there is a field PREVIEW. Just set the value 'X' inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have set the smartforms in a form ENTRY or ENTRY_NEU, you have set US_SCREEN  using parameters, you must use this parameters to check if print preview has beend selected by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 14:31:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274061#M151060</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-03-10T14:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274062#M151061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Frédéric Girod ,&lt;/P&gt;&lt;P&gt;can you give me detail description about this?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 14:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274062#M151061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T14:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274063#M151062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt; When you call the FM &amp;lt;b&amp;gt;'SSF_FUNCTION_MODULE_NAME'&amp;lt;/b&amp;gt;,you will get the form name &amp;amp; you call that FM,say &amp;lt;b&amp;gt;'FORM_NAME'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;In that.&lt;/P&gt;&lt;P&gt;Pass this &amp;amp; call the FM.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; LS_CONTROL_PARAM-PREVIEW = 'X'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION FORM_NAME&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          ARCHIVE_INDEX      = TOA_DARA&lt;/P&gt;&lt;P&gt;          ARCHIVE_PARAMETERS = ARC_PARAMS&lt;/P&gt;&lt;P&gt;          CONTROL_PARAMETERS = &amp;lt;b&amp;gt;LS_CONTROL_PARAM&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;          MAIL_RECIPIENT     = LS_RECIPIENT&lt;/P&gt;&lt;P&gt;          MAIL_SENDER        = LS_SENDER&lt;/P&gt;&lt;P&gt;          OUTPUT_OPTIONS     = &amp;lt;b&amp;gt;LS_COMPOSER_PARAM&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;          USER_SETTINGS      = SPACE&lt;/P&gt;&lt;P&gt;          I_HEADER           = I_HEADER&lt;/P&gt;&lt;P&gt;          NAST               = NAST&lt;/P&gt;&lt;P&gt;          IS_REPEAT          = REPEAT&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;             .............................&lt;/P&gt;&lt;P&gt;             ............................&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          FORMATTING_ERROR   = 1&lt;/P&gt;&lt;P&gt;          INTERNAL_ERROR     = 2&lt;/P&gt;&lt;P&gt;          SEND_ERROR         = 3&lt;/P&gt;&lt;P&gt;          USER_CANCELED      = 4&lt;/P&gt;&lt;P&gt;          OTHERS             = 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 14:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274063#M151062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T14:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274064#M151063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, if you try to print invoice, the standart program is RLB_INVOICE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program contain the form ENTRY, with the paramters : return_code and us_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Return_code must be clear if everything is ok.&lt;/P&gt;&lt;P&gt;and Us_screen contain a 'X' inside if the user select the print preview. So the simple way is to do a move US_SCREEN to ls_control_params-preview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look to the program : SF_EXAMPLE_01 / SF_EXAMPLE_02 / SF_EXAMPLE_03 (and the standard RLV_INVOICE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 14:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274064#M151063</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-03-10T14:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274065#M151064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WITH OUT PROGRAM I NEED TO SEE TEST PRINT LIKE SCRIPTS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 15:18:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274065#M151064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T15:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274066#M151065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;   If you want to see the test print.You can simple execute the smartform.It will take you to the FM(SE37 tcode)&amp;amp; then execute the FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 15:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274066#M151065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-10T15:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: smartforms print preview</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274067#M151066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To test print, you could test directly the function generate by the smartforms using the SE37 and passing values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2006 15:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-print-preview/m-p/1274067#M151066</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-03-10T15:20:28Z</dc:date>
    </item>
  </channel>
</rss>

