<?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: smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638573#M284577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to set the parameter in the structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSFCOMPOP-TDCOPIES for the number of copies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2006 15:08:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-20T15:08:42Z</dc:date>
    <item>
      <title>smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638568#M284572</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 am doing custom print program and custom smart form.&lt;/P&gt;&lt;P&gt;my selection screen contains one parameter p_no_copies&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here my doubt is how can we set or write code in se38 print program for that variable(no of copies to be print)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here when we enter no of copies in selection screen that many times samrt form will be printed&lt;/P&gt;&lt;P&gt;so plz help me on this &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;Divya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 14:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638568#M284572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638569#M284573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry please guide me how and where i nedd to pass parameters in FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Divya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 14:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638569#M284573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T14:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638570#M284574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the smartform's function module  there wil be an exporting parameter for option of structure itcpo.&lt;/P&gt;&lt;P&gt;pass the number of copies to options-TDCOPIES &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 15:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638570#M284574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638571#M284575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as you are calling smartform Function module,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just say&lt;/P&gt;&lt;P&gt;P_NO IS your parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : count  type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;while count &amp;lt;= p_no .
 count  = count + 1. &amp;lt;--these many times this will comes in to the loop.
 place total logic here....like calling the smartform function module etc.. here

endwhile.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 15:07:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638571#M284575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T15:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638572#M284576</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;You can pass values to a smartform through Form Interface.&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;Raj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetch the name of the function module&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FORMNAME                 = 'ZSMART1'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARIANT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIRECT_CALL              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am passing MATNR, MAKTX and BATCH to smartform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Call the retrieved function module&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION FM_NAME&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX_TAB          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONTROL_PARAMETERS         =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER                =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OUTPUT_OPTIONS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS              = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_INFO            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    P_MATNR                    = P_MATNR&lt;/P&gt;&lt;P&gt;    V_MAKTX                    = V_MAKTX&lt;/P&gt;&lt;P&gt;    P_BATCH                    = P_BATCH&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     GS_MKPF                    = IT_INFO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 15:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638572#M284576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T15:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638573#M284577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to set the parameter in the structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SSFCOMPOP-TDCOPIES for the number of copies&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 15:08:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638573#M284577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T15:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638574#M284578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the print program you have to declare the parameter statement,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the value that you r passing into the parameter must be storing in a variable, that variable you have to pass in the smartform using the FORM_INTERFACE tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you ll find out a function module after activating the function module from Environment-&amp;gt;Function Module Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that function module name you have to pass in your driver program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2006 15:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform/m-p/1638574#M284578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-20T15:10:27Z</dc:date>
    </item>
  </channel>
</rss>

