<?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: can it is possible to call two smartforms using single program. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575820#M259969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2008 07:10:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-14T07:10:34Z</dc:date>
    <item>
      <title>can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575813#M259962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am doing identification tag form. i wanted to display the output of program seperate for accepted qty. and rejected qty.By running program only one time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2006 12:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575813#M259962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-13T12:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575814#M259963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;         Yes it is possible to call multiple smartforms from a single driver program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider the conditions for which you want to call a particular smartform and then use the corresponding smartform call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay Kodali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575814#M259963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T11:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575815#M259964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it is possible.In your driver program just pass the corresponding form name in the function "SSF_FUNCTION_MODULE_NAME"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575815#M259964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T11:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575816#M259965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can call two separate Smartforms from the same print program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 11:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575816#M259965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T11:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575817#M259966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vikram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its possible using the below FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSF_FUNCTION_MODULE_NAME - &amp;gt; Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 12:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575817#M259966</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-27T12:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575818#M259967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call function module SSF_FUNCTION_MODULE_NAME . It returns the name of the generated function module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FORMNAME             = '&amp;lt;form name&amp;gt;'&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    FM_NAME              = fm_name&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    NO_FORM              = 1&lt;/P&gt;&lt;P&gt;    NO_FUNCTION_MODULE   = 2&lt;/P&gt;&lt;P&gt;    OTHERS               = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   &amp;lt;error handling&amp;gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points for all the useful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 12:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575818#M259967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575819#M259968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We made this code at a customer to call several different SAMRTFORMS from the printer program, like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

* SmartForm from customizing table TNAPR
  IF NAST-LDEST &amp;lt;&amp;gt; 'ZEP2' and NAST-LDEST &amp;lt;&amp;gt; 'ZEPH'.
    LF_FORMNAME = TNAPR-SFORM.
  ELSE.
    IF NAST-KSCHL = 'LD00'.
      LF_FORMNAME = 'ZSMARTFORM1'.
    ELSEIF NAST-KSCHL = 'LD99'.
      LF_FORMNAME = 'ZSMARTFORM2'.
    ELSE.
      LF_FORMNAME = TNAPR-SFORM.
    ENDIF.
  ENDIF.

...Additional program lines...

* determine smartform function module for delivery note
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
         EXPORTING  FORMNAME           = LF_FORMNAME
*                 variant            = ' '
*                 direct_call        = ' '
         IMPORTING  FM_NAME            = LF_FM_NAME
         EXCEPTIONS NO_FORM            = 1
                    NO_FUNCTION_MODULE = 2
                    OTHERS             = 3.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
*   error handling
      CF_RETCODE = SY-SUBRC.
      PERFORM PROTOCOL_UPDATE.
    ENDIF.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2006 12:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575819#M259968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-27T12:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: can it is possible to call two smartforms using single program.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575820#M259969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 07:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-it-is-possible-to-call-two-smartforms-using-single-program/m-p/1575820#M259969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T07:10:34Z</dc:date>
    </item>
  </channel>
</rss>

