<?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 dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144018#M990800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2008 06:13:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-24T06:13:57Z</dc:date>
    <item>
      <title>Create Structure dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144015#M990797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wan to create a structure dynamically at the run time... Is this possible........ Can you please let me know abou this.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 08:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144015#M990797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T08:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144016#M990798</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;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/bc/191a427ff6db2ce10000000a1550b0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/bc/191a427ff6db2ce10000000a1550b0/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 08:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144016#M990798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T08:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144017#M990799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Check out this link, may be this link will help you out.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-basis-abap.com/sapab037.htm" target="test_blank"&gt;http://www.sap-basis-abap.com/sapab037.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2008 08:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144017#M990799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-22T08:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144018#M990800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 06:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144018#M990800</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T06:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144019#M990801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strcture you mean Dictionary one or Program Structure.&lt;/P&gt;&lt;P&gt;if it is inside the program check this..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zdynamic.

DATA:  struct_type TYPE REF TO cl_abap_structdescr, "Structure
            table_type TYPE REF TO cl_abap_tabledescr,"Table type
            dataref TYPE REF TO data.                 "Dynamic data
*-Component Table and Work area
DATA:  comp_tab TYPE cl_abap_structdescr=&amp;gt;component_table,
       comp_wa   LIKE LINE OF comp_tab.

FIELD-SYMBOLS: &amp;lt;t_table&amp;gt; TYPE STANDARD TABLE,
               &amp;lt;s_table&amp;gt; TYPE ANY.

comp_wa-name = 'VBELN'.
comp_wa-type ?= cl_abap_datadescr=&amp;gt;describe_by_name( 'CHAR10' ).
APPEND comp_wa TO comp_tab.

*Create Dynamic table using component table
struct_type = cl_abap_structdescr=&amp;gt;create( comp_tab ).
table_type  = cl_abap_tabledescr=&amp;gt;create( p_line_type = struct_type ).

*Create  Dynamic Internal table and work area
CREATE DATA dataref TYPE HANDLE table_type.
ASSIGN dataref-&amp;gt;* TO &amp;lt;t_table&amp;gt;.   "Dynamic table
CREATE DATA dataref TYPE HANDLE struct_type.
ASSIGN dataref-&amp;gt;* TO &amp;lt;s_table&amp;gt;. "Dyanmic Structure
break-point.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay babu Dudla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 15:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144019#M990801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-27T15:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create Structure dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144020#M990802</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;You may want to have a look at my Wiki posting [Creating Flat and Complex Internal Tables Dynamically using RTTI|https://wiki.sdn.sap.com/wiki/display/Snippets/Creating&lt;EM&gt;Flat&lt;/EM&gt;and&lt;EM&gt;Complex&lt;/EM&gt;Internal&lt;EM&gt;Tables&lt;/EM&gt;Dynamically&lt;EM&gt;using&lt;/EM&gt;RTTI] showing how to create structures and itabs (flat and complex) dynamically using RTTI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2008 21:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-structure-dynamically/m-p/4144020#M990802</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-07-27T21:49:12Z</dc:date>
    </item>
  </channel>
</rss>

