<?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: Accessing cluster table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366598#M524052</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;Declare a work area and use it in your loop..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WA LIKE LINE OF wa_tim_b2-ft_zes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT wa_tim_b2-ft_zes &amp;lt;b&amp;gt;INTO WA&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Jun 2007 04:32:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-05T04:32:09Z</dc:date>
    <item>
      <title>Accessing cluster table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366596#M524050</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'm using the FM HR_FORMS_TIM_GET_B2_RESULTS to access a cluster table. This FM returns the structure HRF_TIM_B2 which contains several tables. I want to read the data in table FT_ZES. How do I declare the internal table and loop through the FM's result? I call the FM like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_tim_b2       TYPE hrf_tim_b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_FORMS_TIM_GET_B2_RESULTS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      pernr                        = p0001-pernr&lt;/P&gt;&lt;P&gt;      begda                       = pnpbegda&lt;/P&gt;&lt;P&gt;      endda                       = pnpendda&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;      tim_b2                      = wa_tim_b2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this code, but received the error: "Internal table "WA_TIM_B2-FT_ZES" has no Header line -specification...."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT wa_tim_b2-ft_zes. &lt;/P&gt;&lt;P&gt;    CASE wa_ft_zes-ztart.&lt;/P&gt;&lt;P&gt;      WHEN '9005'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN '9006'.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ivo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 12:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366596#M524050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T12:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing cluster table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366597#M524051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tried this code, but received the error: "Internal table "WA_TIM_B2-FT_ZES" has no Header line -specification...."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data : wa_ft_zes like line of xyz.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT wa_tim_b2-ft_zes&amp;lt;b&amp;gt; into wa_ft_zes ---&amp;gt; here u have to take data into work area.&amp;lt;/b&amp;gt;CASE wa_ft_zes-ztart.&lt;/P&gt;&lt;P&gt;WHEN '9005'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is sample code , please check the sytax.&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 04:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366597#M524051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T04:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing cluster table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366598#M524052</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;Declare a work area and use it in your loop..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: WA LIKE LINE OF wa_tim_b2-ft_zes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT wa_tim_b2-ft_zes &amp;lt;b&amp;gt;INTO WA&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 04:32:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366598#M524052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T04:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing cluster table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366599#M524053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works!&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greets,&lt;/P&gt;&lt;P&gt;Ivo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 08:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/accessing-cluster-table/m-p/2366599#M524053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T08:07:24Z</dc:date>
    </item>
  </channel>
</rss>

