<?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 option in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483625#M1061464</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;the statement is correct in case z_tvarv_bukrs is range of bukrs, but did you try on your own? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If z_tvarv_bukrs is an internal table, where one field is bukrs, than you can use READ TABLE to check if the value exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2008 13:10:44 GMT</pubDate>
    <dc:creator>JozsefSzikszai</dc:creator>
    <dc:date>2008-09-15T13:10:44Z</dc:date>
    <item>
      <title>Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483624#M1061463</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 reading a TVARV table. In this table I defined some value to a variable.&lt;/P&gt;&lt;P&gt;I want to check whether the BUKRS from a parameter is among this values or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using: if p_bukrs in z_tvarv_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this statement correct or not? Is there any other way to check?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 13:06:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483624#M1061463</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T13:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483625#M1061464</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;the statement is correct in case z_tvarv_bukrs is range of bukrs, but did you try on your own? &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If z_tvarv_bukrs is an internal table, where one field is bukrs, than you can use READ TABLE to check if the value exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 13:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483625#M1061464</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-09-15T13:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483626#M1061465</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;Define like and check . Use the follow coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select-options : so_bukrs for table-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value request for p_field.&lt;/P&gt;&lt;P&gt;perform select_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form select_value.&lt;/P&gt;&lt;P&gt;select single field from table into p_field where bukrs in so_bukrs.&lt;/P&gt;&lt;P&gt;Endform.&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;Saran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 13:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483626#M1061465</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2008-09-15T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483627#M1061466</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 like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_bukrs CA z_tvarv-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 13:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483627#M1061466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T13:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483628#M1061467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;p_bukrs is not coming from the selection-screen. It's coming after a selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I cannot define as a select-option. It's 1 single value, do you have any idea in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 13:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483628#M1061467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T13:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select option</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483629#M1061468</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;&lt;/P&gt;&lt;P&gt;data : lv_varname_t type tvarv-   . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single var_name from TVARV into lv_varname_t where var_name eq p_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc  = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          " Value found in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          " Value not found in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2008 13:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option/m-p/4483629#M1061468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T13:31:32Z</dc:date>
    </item>
  </channel>
</rss>

