<?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 Create Data type table in 46B in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980855#M71899</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;Quick one, can I dynamically create tables in 46B using the 'create data dref type table of ty_table' in 46B.  It seems not but I just wanted to check.  Otherwise I will resort to using the construct below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;                           EXPORTING it_fieldcatalog = gt_fieldcat&lt;/P&gt;&lt;P&gt;                           IMPORTING ep_table = gp_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can see the RTTS has not been fully implemented yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2005 11:06:16 GMT</pubDate>
    <dc:creator>IanStubbings</dc:creator>
    <dc:date>2005-08-03T11:06:16Z</dc:date>
    <item>
      <title>Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980855#M71899</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;Quick one, can I dynamically create tables in 46B using the 'create data dref type table of ty_table' in 46B.  It seems not but I just wanted to check.  Otherwise I will resort to using the construct below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;                           EXPORTING it_fieldcatalog = gt_fieldcat&lt;/P&gt;&lt;P&gt;                           IMPORTING ep_table = gp_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can see the RTTS has not been fully implemented yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 11:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980855#M71899</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2005-08-03T11:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980856#M71900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See this weblog and the related comments.&lt;/P&gt;&lt;P&gt;/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 11:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980856#M71900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-03T11:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980857#M71901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Svetlin but I can already create my table like this. What I wanted was a 'cleaner' version so that I can have for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_plant = 'X'.&lt;/P&gt;&lt;P&gt;  create data dref type table of ty_plant.&lt;/P&gt;&lt;P&gt;elseif p_workcentre = 'X'.&lt;/P&gt;&lt;P&gt;  create data dref type table of ty_workcentre.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign dref-&amp;gt;* to &amp;lt;gt_output&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I get a syntax error when I use the above or even when I create a table such such as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      begin of ty_gbp,&lt;/P&gt;&lt;P&gt;         plant TYPE qals-werk,&lt;/P&gt;&lt;P&gt;         insp_end TYPE qals-paendterm,&lt;/P&gt;&lt;P&gt;         workcentre TYPE QAQEE-PRPLATZ,&lt;/P&gt;&lt;P&gt;         lwr TYPE qals-zz_lwr,&lt;/P&gt;&lt;P&gt;         insp_lot TYPE qals-prueflos,&lt;/P&gt;&lt;P&gt;       end of ty_gbp,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       ty_gbp_table type table of ty_gbp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; create data dref type ty_gbp_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It says the type specification of ty_gbp_table is incomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 11:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980857#M71901</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2005-08-03T11:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980858#M71902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi´Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's not possible with rel. 4.6 (B / C)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt; 6.1 / 6.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards Andreas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 11:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980858#M71902</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-08-03T11:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980859#M71903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andreas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 11:51:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980859#M71903</guid>
      <dc:creator>IanStubbings</dc:creator>
      <dc:date>2005-08-03T11:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980860#M71904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;I think that using this sample code you can create a dynamic table even in 46B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: dref TYPE REF TO DATA.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;data: booking TYPE sbook occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE DATA dref like booking[].&lt;/P&gt;&lt;P&gt;ASSIGN dref-&amp;gt;* TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 12:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980860#M71904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-03T12:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create Data type table in 46B</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980861#M71905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian,&lt;/P&gt;&lt;P&gt;You seem to be quite fast in post closing &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2005 12:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-type-table-in-46b/m-p/980861#M71905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-03T12:58:12Z</dc:date>
    </item>
  </channel>
</rss>

