<?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: Create Structure during Run Time in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034904#M1499897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: dy_table      TYPE REF TO data.


  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table
    EXPORTING
      it_fieldcatalog = gt_fcat[] " fieldcatalog with your specific structure
    IMPORTING
      ep_table        = dy_table. " your internal table which is created in runtime

" now you need to create a line or structure
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jun 2010 10:39:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-07T10:39:50Z</dc:date>
    <item>
      <title>Create Structure during Run Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034903#M1499896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table. Internal table contains one filed whcih is NAME and NAME contains some FILED NAME like: NAME2, STRAS, LAND1, STATE etc.&lt;/P&gt;&lt;P&gt;I want to create one structure in runt time and structure fileds should be internal table field name.&lt;/P&gt;&lt;P&gt;Dynamicly i want to create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can i create?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranveer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 09:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034903#M1499896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T09:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure during Run Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034904#M1499897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: dy_table      TYPE REF TO data.


  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table
    EXPORTING
      it_fieldcatalog = gt_fcat[] " fieldcatalog with your specific structure
    IMPORTING
      ep_table        = dy_table. " your internal table which is created in runtime

" now you need to create a line or structure
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 10:39:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034904#M1499897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T10:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure during Run Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034905#M1499898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I want to create one structure in runt time and structure fields should be internal table field name.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very well. But what about the data types of these fields, where is it defined ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 10:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034905#M1499898</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-06-07T10:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure during Run Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034906#M1499899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Guys.&lt;/P&gt;&lt;P&gt;This is not a solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 10:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034906#M1499899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T10:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure during Run Time</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034907#M1499900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, first you need to fill the fieldcatalog. then you will get a dynamic itab. Once you get your dinamic itab you need to create a structure.&lt;/P&gt;&lt;P&gt;DAta : ls_itab like line of gt_itab " which is you get a min ago dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't write down all the coding coz I wanted to give you a clue so you can find it on your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, and it works believe me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 13:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-during-run-time/m-p/7034907#M1499900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T13:48:27Z</dc:date>
    </item>
  </channel>
</rss>

