<?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: Program calling multiple smartforms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-calling-multiple-smartforms/m-p/2963379#M699191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    i dont knw but just try this.&lt;/P&gt;&lt;P&gt;         data: output_options type SSFCOMPOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if checkbox1 = 'X'.&lt;/P&gt;&lt;P&gt;    output_options-TDIMMED = 'X'.  " TRY HERE WITH X OR 1&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           = enter ur smartform name here&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      fm_name            = fnam&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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;FUNCTIONAL MODULE FOR IMPORTING INPUT PARAMETER TO SMARTFORMS&lt;/STRONG&gt;*************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION fnam&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;            EXPORT THE PARAMETERS HERE WHICH U WANT 2 SEND TO UR SMARTFORMS.ALSO ALONG WITH THE PARAMETERS PASS&lt;/P&gt;&lt;P&gt; OUTPUT_OPTIONS = OUTPUT_OPTIONS.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ebeln            = ebeln&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR OUTPUT_OPTIONS.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPEAT THE ABOVE STEPS FROM CHECKING THE RADIO BUTTON TO CALLING THE SMARTFORM. HMM THIS SHOULD WORK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 14:03:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-16T14:03:58Z</dc:date>
    <item>
      <title>Program calling multiple smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-calling-multiple-smartforms/m-p/2963378#M699190</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;i have a requirement wherein i should create a program to print 5 to 10 smart forms .Whenever the program is run 5 forms should be printed automatically and the selection screen contains check boxes for selecting the forms to printed from the remaining five. &lt;/P&gt;&lt;P&gt;Can some one give me an overview of how the program can be developed. The only knowledge i have is giving the form name and getting the function module and then passing the relevant parameters to the function module. I think its not just calling all the ten function modules and passing the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-calling-multiple-smartforms/m-p/2963378#M699190</guid>
      <dc:creator>madhu_reddy22</dc:creator>
      <dc:date>2007-10-16T13:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Program calling multiple smartforms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-calling-multiple-smartforms/m-p/2963379#M699191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    i dont knw but just try this.&lt;/P&gt;&lt;P&gt;         data: output_options type SSFCOMPOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if checkbox1 = 'X'.&lt;/P&gt;&lt;P&gt;    output_options-TDIMMED = 'X'.  " TRY HERE WITH X OR 1&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           = enter ur smartform name here&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      fm_name            = fnam&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;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;FUNCTIONAL MODULE FOR IMPORTING INPUT PARAMETER TO SMARTFORMS&lt;/STRONG&gt;*************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION fnam&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;            EXPORT THE PARAMETERS HERE WHICH U WANT 2 SEND TO UR SMARTFORMS.ALSO ALONG WITH THE PARAMETERS PASS&lt;/P&gt;&lt;P&gt; OUTPUT_OPTIONS = OUTPUT_OPTIONS.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   ebeln            = ebeln&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR OUTPUT_OPTIONS.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPEAT THE ABOVE STEPS FROM CHECKING THE RADIO BUTTON TO CALLING THE SMARTFORM. HMM THIS SHOULD WORK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 14:03:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-calling-multiple-smartforms/m-p/2963379#M699191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T14:03:58Z</dc:date>
    </item>
  </channel>
</rss>

