<?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-options with where condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068298#M972495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : TAB_ID TYPE ZALOAD_PROD_COMB-TAB_ID OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR TAB_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF INT_TAB_ID OCCURS 0,&lt;/P&gt;&lt;P&gt;            TAB_ID TYPE ZALOAD_PROD_COMB-TAB_ID,&lt;/P&gt;&lt;P&gt;         END OF INT_TAB_ID.&lt;/P&gt;&lt;P&gt;  DATA : LOC_MAX TYPE ZALOAD_PROD_COMB-TAB_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR INT_TAB_ID. &lt;/P&gt;&lt;P&gt;  REFRESH INT_TAB_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT MAX( TAB_ID) INTO (LOC_MAX) FROM ZALOAD_PROD_COMB.&lt;/P&gt;&lt;P&gt;  COUNT = LOC_MAX + 1.&lt;/P&gt;&lt;P&gt;  DO 10 TIMES.&lt;/P&gt;&lt;P&gt;    MOVE COUNT TO INT_TAB_ID-TAB_ID.&lt;/P&gt;&lt;P&gt;    APPEND INT_TAB_ID.&lt;/P&gt;&lt;P&gt;    COUNT = COUNT + 1.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     RETFIELD            = 'TAB_ID'    		          u201C Internal table field name&lt;/P&gt;&lt;P&gt;     DYNPPROG         = 'PROG_NAME                  u201C Program name&lt;/P&gt;&lt;P&gt;     DYNPNR              = SY-DYNNR&lt;/P&gt;&lt;P&gt;     DYNPROFIELD   =  'TAB_ID'         	          u201C Field where u need F4 help&lt;/P&gt;&lt;P&gt;     VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;   WINDOW_TITLE  = u2018Any descriptionu2019&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB      = INT_TAB_ID.                   u201C Internal table name&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;Mark the post answered once ur problem is solved .... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2008 05:46:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-25T05:46:46Z</dc:date>
    <item>
      <title>select-options with where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068295#M972492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ABAPers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a select-options like s_operid for vbpa-kunnr but with a condition specified is VBPA-KUNNR where VBPA-PARVW = 'WE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. Pls reply asap. Points will definitely be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ritu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 05:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068295#M972492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068296#M972493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritu,&lt;/P&gt;&lt;P&gt;              In the initialization event write one select statement to populate the select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;surendar reddy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: suredarreddy pulimamidi on Jun 25, 2008 11:12 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 05:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068296#M972493</guid>
      <dc:creator>suredarreddy_pulimamidi</dc:creator>
      <dc:date>2008-06-25T05:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068297#M972494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add F4 help to your field and populate the field with your required selection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to attach F4 to Selectoption-low and selectoption-high &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the event at selection-screen on value-request for selectoption-low and&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for selectoption-high&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 05:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068297#M972494</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-06-25T05:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068298#M972495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : TAB_ID TYPE ZALOAD_PROD_COMB-TAB_ID OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR TAB_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF INT_TAB_ID OCCURS 0,&lt;/P&gt;&lt;P&gt;            TAB_ID TYPE ZALOAD_PROD_COMB-TAB_ID,&lt;/P&gt;&lt;P&gt;         END OF INT_TAB_ID.&lt;/P&gt;&lt;P&gt;  DATA : LOC_MAX TYPE ZALOAD_PROD_COMB-TAB_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR INT_TAB_ID. &lt;/P&gt;&lt;P&gt;  REFRESH INT_TAB_ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT MAX( TAB_ID) INTO (LOC_MAX) FROM ZALOAD_PROD_COMB.&lt;/P&gt;&lt;P&gt;  COUNT = LOC_MAX + 1.&lt;/P&gt;&lt;P&gt;  DO 10 TIMES.&lt;/P&gt;&lt;P&gt;    MOVE COUNT TO INT_TAB_ID-TAB_ID.&lt;/P&gt;&lt;P&gt;    APPEND INT_TAB_ID.&lt;/P&gt;&lt;P&gt;    COUNT = COUNT + 1.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;     RETFIELD            = 'TAB_ID'    		          u201C Internal table field name&lt;/P&gt;&lt;P&gt;     DYNPPROG         = 'PROG_NAME                  u201C Program name&lt;/P&gt;&lt;P&gt;     DYNPNR              = SY-DYNNR&lt;/P&gt;&lt;P&gt;     DYNPROFIELD   =  'TAB_ID'         	          u201C Field where u need F4 help&lt;/P&gt;&lt;P&gt;     VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;   WINDOW_TITLE  = u2018Any descriptionu2019&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB      = INT_TAB_ID.                   u201C Internal table name&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;Mark the post answered once ur problem is solved .... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 05:46:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068298#M972495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T05:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: select-options with where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068299#M972496</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 select-options delares a internal table, so u can  check the condition there and filter the entries u want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arunsri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 05:53:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-with-where-condition/m-p/4068299#M972496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T05:53:49Z</dc:date>
    </item>
  </channel>
</rss>

