<?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: Dynamic Structure names in Loop in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620225#M25843</link>
    <description>&lt;P&gt;The assignment operation is Failing that should be assigned from some Field-symbol/Data to the (lv_struct), Nothing was assigning to it&lt;/P&gt;</description>
    <pubDate>Thu, 15 Mar 2018 13:37:09 GMT</pubDate>
    <dc:creator>kranthi_kiran5</dc:creator>
    <dc:date>2018-03-15T13:37:09Z</dc:date>
    <item>
      <title>Dynamic Structure names in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620222#M25840</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt; I am Having a Requirement, for Dynamic structure generation with different Names in a Loop.&lt;/P&gt;
  &lt;P&gt;Ex: I am Having an Internal Table with 5 Records&lt;/P&gt;
  &lt;P&gt; Loop at lt_sflight in to Data(ls_wa)&lt;/P&gt;
  &lt;P&gt; EndLoop.&lt;/P&gt;
  &lt;P&gt; Since i have 5 records inside the Loop i want to generate 5 structure wa1, wa2, wa3, wa4, wa5 and the first record in Lt_sflight should me moved to wa1 and 2nd Record Moved to wa2 and so on.&lt;/P&gt;
  &lt;P&gt; In the Current Case we cannot predict the Number of records Received, &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 10:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620222#M25840</guid>
      <dc:creator>kranthi_kiran5</dc:creator>
      <dc:date>2018-03-15T10:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Structure names in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620223#M25841</link>
      <description>&lt;P&gt;Use CREATE DATA.&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abapcreate_data.htm" target="test_blank"&gt;https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abapcreate_data.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620223#M25841</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2018-03-15T11:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Structure names in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620224#M25842</link>
      <description>&lt;P&gt;You can try something like&lt;/P&gt;
  &lt;P&gt;data: lv_tabix TYPE string, &lt;/P&gt;
  &lt;P&gt; lv_struct TYPE string.&lt;/P&gt;
  &lt;P&gt;loop.&lt;/P&gt;
  &lt;P&gt; lv_tabix = sy-tabix. &lt;/P&gt;
  &lt;P&gt; CLEAR lv_struct. &lt;/P&gt;
  &lt;P&gt; CONCATENATE 'wa' lv_tabix INTO lv_struct. &lt;/P&gt;
  &lt;P&gt; ASSIGN COMPONENT x OF struct (lv_struct) INTO &amp;lt;fs&amp;gt;.&lt;/P&gt;
  &lt;P&gt;endloop.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 11:47:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620224#M25842</guid>
      <dc:creator>former_member422821</dc:creator>
      <dc:date>2018-03-15T11:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Structure names in Loop</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620225#M25843</link>
      <description>&lt;P&gt;The assignment operation is Failing that should be assigned from some Field-symbol/Data to the (lv_struct), Nothing was assigning to it&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 13:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-structure-names-in-loop/m-p/620225#M25843</guid>
      <dc:creator>kranthi_kiran5</dc:creator>
      <dc:date>2018-03-15T13:37:09Z</dc:date>
    </item>
  </channel>
</rss>

