<?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 How to fetch data from nested internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025218#M1498548</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;Im using FM CRM_PRODUCT_GETDETAIL_API which is returning me work area (ES_PRODUCT_DATA) of type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMT_PRODUCT_MAINTAIN_API. This work area contains a table SHORT_TEXTS of type COMT_PR_SHTEXT_MAINTAIN_TAB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whcih in turn contain a line type DATA of type COMT_PRSHTEXT_X. I need to fetch fields lying inside DATA. Can anybody please &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know how to achieve this. I would like to do this by not using nested loop structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sudhanshu Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jun 2010 16:26:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-02T16:26:34Z</dc:date>
    <item>
      <title>How to fetch data from nested internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025218#M1498548</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;Im using FM CRM_PRODUCT_GETDETAIL_API which is returning me work area (ES_PRODUCT_DATA) of type &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMT_PRODUCT_MAINTAIN_API. This work area contains a table SHORT_TEXTS of type COMT_PR_SHTEXT_MAINTAIN_TAB &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whcih in turn contain a line type DATA of type COMT_PRSHTEXT_X. I need to fetch fields lying inside DATA. Can anybody please &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know how to achieve this. I would like to do this by not using nested loop structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Sudhanshu Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 16:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025218#M1498548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-02T16:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch data from nested internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025219#M1498549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you &lt;EM&gt;should&lt;/EM&gt; be able to get the fields by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMT_PR_SHTEXT_MAINTAIN-DATA_X-UPNAME&lt;/P&gt;&lt;P&gt;COMT_PR_SHTEXT_MAINTAIN-DATA_X-SHORT_TEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 21:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025219#M1498549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-02T21:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch data from nested internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025220#M1498550</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;Use field ES_PRODUCT_DATA-short_texts like any other internal table (without header line).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
field-symbols: &amp;lt;text&amp;gt; type COMT_PRSHTEXT_X.
...
loop at ES_PRODUCT_DATA-short_texts assigning &amp;lt;text&amp;gt;.
        write: &amp;lt;text&amp;gt;-short_text
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gerd Rother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 06:02:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-fetch-data-from-nested-internal-table/m-p/7025220#M1498550</guid>
      <dc:creator>gerd_rother</dc:creator>
      <dc:date>2010-06-03T06:02:09Z</dc:date>
    </item>
  </channel>
</rss>

