<?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: How to use read table command on dynamic internal table??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860661#M1136533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;READ TABLE &amp;lt;l_table&amp;gt; INTO &amp;lt;l_line&amp;gt; INDEX 2.&lt;/P&gt;&lt;P&gt;Please see the post of Vijay in the link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="979916"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2008 08:55:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-19T08:55:34Z</dc:date>
    <item>
      <title>How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860656#M1136528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;    How to use &lt;STRONG&gt;read table command&lt;/STRONG&gt; on dynamic internal table???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860656#M1136528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T08:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860657#M1136529</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 think u may not use read table but loop is possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860657#M1136529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860658#M1136530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it possible to use &lt;STRONG&gt;loop on dynamic table with where condition&lt;/STRONG&gt;???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:15:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860658#M1136530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T08:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860659#M1136531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this link this might help you.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5693865"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860659#M1136531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T08:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860660#M1136532</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;It is not possible to loop at dynamic table with Where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the condition inside the loop in the following way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Field-symbols: &amp;lt;fs_any&amp;gt;  type any.

         Loop at &amp;lt;dyn_tab&amp;gt; into &amp;lt;wa_dyn_tab&amp;gt;.
             Assign component 'FIELD' of structure &amp;lt;wa_dyn_tab&amp;gt; to &amp;lt;fs_any&amp;gt;.
             If sy-subrc = 0 and &amp;lt;fs_any&amp;gt; = 'VALUE'.
                &amp;lt;Code&amp;gt;
             Endif.
         Endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here FIELD refers to the fieldname which needs to be checked. VALUE refers to the value against which it should be checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lakshmi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Santhanalakshmi V on Nov 19, 2008 2:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860660#M1136532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T08:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860661#M1136533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;READ TABLE &amp;lt;l_table&amp;gt; INTO &amp;lt;l_line&amp;gt; INDEX 2.&lt;/P&gt;&lt;P&gt;Please see the post of Vijay in the link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="979916"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2008 08:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860661#M1136533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-19T08:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use read table command on dynamic internal table???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860662#M1136534</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 we all want a dynamic where-clause for loop and read table as we have for select where...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, BTW&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Field-symbols: &amp;lt;fs_any&amp;gt;  type any.
 
         Loop at &amp;lt;dyn_tab&amp;gt; into &amp;lt;wa_dyn_tab&amp;gt;.
             Assign component 'FIELD' of structure &amp;lt;wa_dyn_tab&amp;gt; to &amp;lt;fs_any&amp;gt;.
              If sy-subrc = 0 and &amp;lt;fs_any&amp;gt; = 'VALUE'.
                &amp;lt;Code&amp;gt;
             Endif.
         Endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;fs_any&amp;gt; = 'VALUE' will cause a dump if &amp;lt;fs_any&amp;gt; is not assigned because the condition is evaluated completely.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;You may write&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
         Loop at &amp;lt;dyn_tab&amp;gt; into &amp;lt;wa_dyn_tab&amp;gt;.
             Assign component 'FIELD' of structure &amp;lt;wa_dyn_tab&amp;gt; to &amp;lt;fs_any&amp;gt;.
              check:
                sy-subrc = 0,
                &amp;lt;fs_any&amp;gt; = 'VALUE'.
                &amp;lt;Code&amp;gt;
         Endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2008 18:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-read-table-command-on-dynamic-internal-table/m-p/4860662#M1136534</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-12-03T18:18:00Z</dc:date>
    </item>
  </channel>
</rss>

