<?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 SELECT-OPTIONS in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680321#M619410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I pass SELECT-OPTIONS to function module generated by SMARTFORM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 11:54:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-28T11:54:28Z</dc:date>
    <item>
      <title>SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680321#M619410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I pass SELECT-OPTIONS to function module generated by SMARTFORM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 11:54:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680321#M619410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T11:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680322#M619411</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;What you can do is FOR the function module DO NOT mention any TYPE that is use GENERIC type like ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And inside the function module you can use RANGES statement of TYPE RANGE OF statement to create a structure that is similar to the structure that a SELECT-OPTION will have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGN, OPTION, LOW and HIGH are the fields of the structure that a SELECT-OPTION will create same kind of structre can be created using TYPE RANGE OF as follows.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: SPFLI.
SELECT-OPTIONS: sel_crit for SPFLI-CARRID. " 

DATA: range_crit TYPE RANGE OF SPFLI-CARRID. " This is same as above.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 11:58:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680322#M619411</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-08-28T11:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680323#M619412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st convert system genereted FM to ur own FM then pass the select-option&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                 = 'ZSMARTFORM' &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;P&gt;   WRITE: / 'ERROR 1'. &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;call function FM_NAME &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;/LI&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;  TABLES &lt;/P&gt;&lt;P&gt;    GS_MKPF                    = INT_MKPF &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;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>Tue, 28 Aug 2007 11:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680323#M619412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T11:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680324#M619413</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;i have some questions to understand your problem. Is the calling program a standard report or is it written in customer namespace? Is your Smart Form a standard Smart Form or a self written one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark-André&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 12:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680324#M619413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T12:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680325#M619414</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 create a "table type" in abap dictionary (tcode se11). There you can hit the menu "Edit-&amp;gt;Define as ranges table type" and you get an select-options table. This table type can now be used as an import parameter of your Smart Form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mark-André&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 12:13:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680325#M619414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T12:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: SELECT-OPTIONS</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680326#M619415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You can use the Data type DDSHSELOPT (structure in DDIC ) to Declare a parameter under TABLEs to Declare this in Smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 12:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options/m-p/2680326#M619415</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-28T12:38:37Z</dc:date>
    </item>
  </channel>
</rss>

