<?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: Fetching data based on Dynamic internal in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352104#M1540790</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our friend Suhas once asked the same question. You can go through it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="8943648"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 14:46:14 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-10-26T14:46:14Z</dc:date>
    <item>
      <title>Fetching data based on Dynamic internal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352102#M1540788</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; I have a requiement of creating an internal table dynamically. once this is dynamic table is loaded with values, i need to fetch the data from EKKO based on this dynamic internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting " the specified type has no structure and therefore no component called 'EBELN'" error when I'm trying with below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT EBELN BSART FROM EKKO INTO TABLE LT_EKKO&lt;/P&gt;&lt;P&gt;                     FOR ALL ENTRIES IN &amp;lt;all_table&amp;gt;&lt;/P&gt;&lt;P&gt;                     WHERE EBELN = &amp;lt;all_table&amp;gt;-EBELN.&lt;/P&gt;&lt;P&gt;              &lt;/P&gt;&lt;P&gt;please help me in to fetch the data based on this dynamic internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lucky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352102#M1540788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T14:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data based on Dynamic internal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352103#M1540789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Why you cant use LOOP based argumans.  Check this ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS : &amp;lt;EBELN&amp;gt;.
DATA: LF_FIELD(30).

LOOP AT &amp;lt;DYN_TAB&amp;gt; INTO &amp;lt;DYN_WA&amp;gt;.

    CLEAR LF_FIELD.
    MOVE '&amp;lt;dyn_wa&amp;gt;-ebeln' TO LF_FIELD.
    ASSIGN (LF_FIELD) TO &amp;lt;EBELN&amp;gt;.

SELECT SINGLE EBELN BSART FROM EKKO INTO TABLE LT_EKKO
WHERE EBELN = &amp;lt;EBELN&amp;gt;.

....
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it would be a little more slowly. But it will work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll hope its help you,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;İrfan MATAK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:24:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352103#M1540789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T14:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching data based on Dynamic internal</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352104#M1540790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our friend Suhas once asked the same question. You can go through it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="8943648"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 14:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-data-based-on-dynamic-internal/m-p/7352104#M1540790</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-10-26T14:46:14Z</dc:date>
    </item>
  </channel>
</rss>

