<?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: Select Pass Options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306487#M504642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the SAP Sample Program and Form name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very simple program and form name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program : SF_EXAMPLE_01&lt;/P&gt;&lt;P&gt;Form Name : SF_EXAMPLE_01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not pass the small letter to smart form function module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 May 2007 03:27:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-19T03:27:02Z</dc:date>
    <item>
      <title>Select Pass Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306483#M504638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
data: v_form_name type rs381_fnam.

call function 'SSF_FUNCTION_MODULE_NAME'
  exporting
    formname                 = 'zsfexample'
*   VARIANT                  = ' '
*   DIRECT_CALL              = ' '
* IMPORTING
    FM_NAME                  = v_form_name
* EXCEPTIONS
*   NO_FORM                  = 1
*   NO_FUNCTION_MODULE       = 2
*   OTHERS                   = 3
          .
if sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to practice how to use subroutines in smartforms and how to pass select option from a program to smartform. I was experiencing error in abap code in se38&lt;/P&gt;&lt;P&gt;getting error rs381_fname is unknown&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 02:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306483#M504638</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-19T02:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select Pass Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306484#M504639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try passing formname in capital letters:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
formname                 = 'ZSFEXAMPLE'
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 03:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306484#M504639</guid>
      <dc:creator>alejandro_bindi</dc:creator>
      <dc:date>2007-05-19T03:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select Pass Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306485#M504640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TRY IN CAPS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_form_name type rs381_fnam.&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                 = 'ZSFEXAMPLE'&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;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    FM_NAME                  = v_form_name&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_FORM                  = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_FUNCTION_MODULE       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                   = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 03:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306485#M504640</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-19T03:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select Pass Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306486#M504641</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;Try passing the Smart form name in capital letters..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call function 'SSF_FUNCTION_MODULE_NAME'
  exporting
    formname                 = 'ZSFEXAMPLE'    " Changed here
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also for passing select-options to the Function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to create a table type in SE11 or use an existing table type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link of how to create a table type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb366d358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 03:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306486#M504641</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-19T03:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Select Pass Options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306487#M504642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the SAP Sample Program and Form name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very simple program and form name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program : SF_EXAMPLE_01&lt;/P&gt;&lt;P&gt;Form Name : SF_EXAMPLE_01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do not pass the small letter to smart form function module&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2007 03:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-pass-options/m-p/2306487#M504642</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-19T03:27:02Z</dc:date>
    </item>
  </channel>
</rss>

