<?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: Doubt about abap dynamic with performs. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512981#M1853312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you need only a semi-dynamic selection, because the table with data (princes) is KONP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2014 15:11:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-29T15:11:52Z</dc:date>
    <item>
      <title>Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512973#M1853304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1-I have the tables of price in internal table ( t_a530 , T_a951 ... etc ).&lt;/P&gt;&lt;P&gt;2- I need filter data by field datbi and datab.&lt;/P&gt;&lt;P&gt;3-Can I create a perform to pass&amp;nbsp; a table and after pass other table with other format to taht same perform ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4-It abap dynamic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5-II do not want to create several performs because I can make only one (with my logic to all tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 13:58:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512973#M1853304</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2014-08-29T13:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512974#M1853305</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;Yes you can but it can't create WHERE conditions dynamically, it can do it for SELECT statament not for a LOOP.&lt;/P&gt;&lt;P&gt;So you could have problem for the performance, because you should use a CHECK statament into the loop instead of WHERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 14:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512974#M1853305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-29T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512975#M1853306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I use the select statament to select the datbi most current?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 14:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512975#M1853306</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2014-08-29T14:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512976#M1853307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can crate the perform with changing parameter of type any table, maybe also send a using parameter of type any in which you send the work area of the table (does not need to be filled).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the perform you can then check which fields are in the structure with:&lt;/P&gt;&lt;P&gt; cl_abap_structdescr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 14:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512976#M1853307</guid>
      <dc:creator>PeterJonker</dc:creator>
      <dc:date>2014-08-29T14:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512977#M1853308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11px; color: #333333; background: #ffffff;"&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" data-avatarid="3825" data-externalid="" data-presence="null" data-userid="152609" data-username="peter.jonker2" href="https://answers.sap.com/people/peter.jonker2" style="padding: 0 3px 0 0; font-weight: inherit; font-style: inherit; font-size: 1.1em; font-family: inherit; color: #3778c7; background: transparent;"&gt;Peter Jonker&lt;/A&gt; &lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Thanks i created a logic to that perform.&lt;/P&gt;&lt;P&gt;But i wll study that &lt;SPAN style="color: #333333; font-size: 12px;"&gt;cl_abap_structdescr.&lt;/SPAN&gt; thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i was speaking with Max about filter the most current datbi in select statament.&lt;/P&gt;&lt;P&gt;Its possible ?, if yes I dont need create that perform with logic for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 14:47:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512977#M1853308</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2014-08-29T14:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512978#M1853309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes offcourse it is possible. You can use in your where statement something like&lt;/P&gt;&lt;P&gt;where datbi &amp;gt; sy-datum and datab &amp;lt;= sy-datum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 14:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512978#M1853309</guid>
      <dc:creator>PeterJonker</dc:creator>
      <dc:date>2014-08-29T14:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512979#M1853310</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;If I understand you need to do a check of table of condition record and then if it's valid get the value,&lt;/P&gt;&lt;P&gt;now the values are in KONP table and you need to get the condition record KNUMH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you've written the field DATBI and DATAB are in all tables you need to check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you don't need to use other fields for your selection, you can do something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;types&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;begin &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;ty_cond_key&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; knumh &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;konp&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;knumh&lt;SPAN class="L0S55"&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;end&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;ty_cond_key&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;types&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ty_t_cond_key &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;ty_cond_key&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;t_konp &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;standard &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;of &lt;/SPAN&gt;konp &lt;SPAN class="L0S52"&gt;with &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;header &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;line&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;perform &lt;/SPAN&gt;read_konp &lt;SPAN class="L0S52"&gt;using &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'A901'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;describe &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;t_konp &lt;SPAN class="L0S52"&gt;lines &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;write&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'A901'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;perform &lt;/SPAN&gt;read_konp &lt;SPAN class="L0S52"&gt;using &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'A904'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;describe &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;t_konp &lt;SPAN class="L0S52"&gt;lines &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;write&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;'A904'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;perform &lt;/SPAN&gt;read_konp &lt;SPAN class="L0S52"&gt;using &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'A906'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;describe &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;t_konp &lt;SPAN class="L0S52"&gt;lines &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;write&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;'A906'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;perform &lt;/SPAN&gt;read_konp &lt;SPAN class="L0S52"&gt;using &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'A907'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;describe &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;t_konp &lt;SPAN class="L0S52"&gt;lines &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;write&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;'A907'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;, &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tabix&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the form is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;form &lt;/SPAN&gt;read_konp &lt;SPAN class="L0S52"&gt;using &lt;/SPAN&gt;seq_tab&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;data&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;t_cond_key &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;ty_t_cond_key&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;free &lt;/SPAN&gt;t_konp&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;select &lt;/SPAN&gt;knumh &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;t_cond_key&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;seq_tab&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;DATBI &lt;SPAN class="L0S70"&gt;=&amp;gt; &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;and &lt;/SPAN&gt;DATAB &amp;lt;= sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;check &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;0&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;select &lt;/SPAN&gt;* &lt;SPAN class="L0S52"&gt;into &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;table &lt;/SPAN&gt;t_konp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;konp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;for &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;all &lt;/SPAN&gt;entries &lt;SPAN class="L0S52"&gt;in &lt;/SPAN&gt;t_cond_key&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;where &lt;/SPAN&gt;knumh &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;t_cond_key&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;knumh&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt; &lt;SPAN class="L0S52"&gt;endform&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S31"&gt;"READ_KONP&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said before the solution is based on the fields DATBI, DATAB and KNUMH exist in all tables I need to read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:08:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512979#M1853310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-29T15:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512980#M1853311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;P&gt;datbi&amp;nbsp; is the end of validy&lt;/P&gt;&lt;P&gt;datab is the begin of validity &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where datbi &amp;gt; 29.08.2014&amp;nbsp; and datab &amp;lt;= 29.08.2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But , if the last date that register price was 01.07.2014 to 20.07.2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where datbi (20.07.2014 ) &amp;gt; 29.08.2014&amp;nbsp; and datab( 01.07.2014 )&amp;nbsp; &amp;lt;= 29.08.2014&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok datab is &amp;lt;= sy-datum but datbi don´t .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you Understand?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512980#M1853311</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2014-08-29T15:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512981#M1853312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you need only a semi-dynamic selection, because the table with data (princes) is KONP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512981#M1853312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-29T15:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512982#M1853313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The program is already doing this except:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;where &lt;/SPAN&gt;DATBI &lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;=&amp;gt; &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;-&lt;/SPAN&gt;datum&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;and &lt;/SPAN&gt;DATAB &amp;lt;= sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;in my program is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="color: #333333; font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; background-position: initial;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;DATBI &lt;/SPAN&gt;&lt;SPAN class="L0S70" style="color: #333333; font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; background-position: initial;"&gt;=&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;sy&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="color: #333333; font-family: inherit; font-size: 12px; font-style: inherit; font-weight: inherit; background-position: initial;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;datum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;if I change it then dont select duplicate matnrs?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;because today my problem is it:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/530378" width="450" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;He slects all before sy-datum then if the material has 3 entries he show all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="color: #333333; font-style: inherit; font-size: 12px; font-family: inherit; font-weight: inherit; background-position: initial;"&gt;And I need the most current only.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512982#M1853313</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2014-08-29T15:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512983#M1853314</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;PRE&gt;&lt;CODE&gt;
&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;n my program is:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background-position: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;where &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;DATBI &lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;=&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;sy&lt;/SPAN&gt;&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;datum&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That depends on which period you need to select, if you want to get the condition valid today (or current day) the query should consider DATAB (from data) too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;if I change it then dont select duplicate matnrs?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No because the key is only the condition record KNUMH and it's unique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;He slects all before sy-datum then if the material has 3 entries he show all.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="font-size: 12px; color: #333333; background-position: initial;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; background-position: initial;"&gt;And I need the most current only.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- or the material has 3 different prices, because perhaps there are several price lists&lt;/P&gt;&lt;P&gt;- or you've selected invalid price, if you don't consider DATAB you could select price no longer valid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2014 15:46:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512983#M1853314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-29T15:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt about abap dynamic with performs.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512984#M1853315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case you need to select all entries(maybe except for those entries that have datab &amp;gt; sy-datum) and sort them by key and date then delete adjacent duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find the key you can use the descriptive classes in ABAP see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=42965"&gt;http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=42965&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Aug 2014 08:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-about-abap-dynamic-with-performs/m-p/10512984#M1853315</guid>
      <dc:creator>PeterJonker</dc:creator>
      <dc:date>2014-08-30T08:46:20Z</dc:date>
    </item>
  </channel>
</rss>

