<?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: Dyanamic Select Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706110#M1453140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF lt_options OCCURS 10.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE rfc_db_opt.&lt;/P&gt;&lt;P&gt;  DATA: END OF lt_options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'PERIV EQ ' '''' 'V8' '''' ' AND' INTO   " &amp;lt;-- PERIV is the field name&lt;/P&gt;&lt;P&gt;lt_options-text.&lt;/P&gt;&lt;P&gt;APPEND lt_options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'BDATJ EQ ' '''' l_pyear ''''  INTO&lt;/P&gt;&lt;P&gt;lt_options-text.&lt;/P&gt;&lt;P&gt;APPEND lt_options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use lt_options in where condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 18:32:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-25T18:32:38Z</dc:date>
    <item>
      <title>Dyanamic Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706109#M1453139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you pls guide me on the use of Dyanamic WHERE Clause in a Select Query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I came across the syntax: &lt;/P&gt;&lt;P&gt;SELECT * FROM za004 INTO TABLE ia004 WHERE (options).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here Options is an internal table of type 'RFC_DB_OPT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am unable to fill this internal table correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one pls guild me with sample code.&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;Pankaj Bist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706109#M1453139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T18:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706110#M1453140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF lt_options OCCURS 10.&lt;/P&gt;&lt;P&gt;          INCLUDE STRUCTURE rfc_db_opt.&lt;/P&gt;&lt;P&gt;  DATA: END OF lt_options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'PERIV EQ ' '''' 'V8' '''' ' AND' INTO   " &amp;lt;-- PERIV is the field name&lt;/P&gt;&lt;P&gt;lt_options-text.&lt;/P&gt;&lt;P&gt;APPEND lt_options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'BDATJ EQ ' '''' l_pyear ''''  INTO&lt;/P&gt;&lt;P&gt;lt_options-text.&lt;/P&gt;&lt;P&gt;APPEND lt_options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use lt_options in where condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706110#M1453140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-25T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706111#M1453141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at souce code of fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_SELECT_INTO_WHERE&lt;/P&gt;&lt;P&gt;ADSPC_CREATE_WHERE_CLAUSE&lt;/P&gt;&lt;P&gt;DYNSQL_GENERATE_WHERE_CLAUSE&lt;/P&gt;&lt;P&gt;FREE_SELECTIONS_RANGE_2_WHERE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706111#M1453141</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-25T18:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706112#M1453142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This and much more can be found in the ABAP online documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_DYNAMIC.htm" target="test_blank"&gt;http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_DYNAMIC.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 21:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-select-query/m-p/6706112#M1453142</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2010-02-25T21:09:44Z</dc:date>
    </item>
  </channel>
</rss>

