<?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 data ststement problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105031#M981652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 15:12:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T15:12:05Z</dc:date>
    <item>
      <title>Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105024#M981645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on 2 systems in 4.7 and 4.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to create a dynamic internal table based on the table name passed on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to do this in 4.7 with the below statement.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA:  i_table_update TYPE REF TO data.

PARAMETERS: p_table TYPE tabname OBLIGATORY.

  CREATE DATA i_table_update TYPE STANDARD TABLE OF (p_table).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above statement has a syntax error in 4.6&lt;/P&gt;&lt;P&gt; the error is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unable to interpret "TABLE". Possible causes of error: Incorrect spelling or comma error.	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105024#M981645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105025#M981646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's right, the TYPE TABLE syntax is not available in 46c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105025#M981646</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-10T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105026#M981647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats the alternative for this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem we are doing some database changes for the material group and we have to this for many tables based on the table name passed on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and pls let me know if you have any example of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105026#M981647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105027#M981648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Refer to this program:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/ab030.htm" target="test_blank"&gt;http://www.sap-img.com/ab030.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write a small subroutine, to create a dynamic table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:32:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105027#M981648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105028#M981649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  call function 'LVC_FIELDCATALOG_MERGE'
    exporting
      i_structure_name = p_table  " Table Name 
    changing
      ct_fieldcat      = i_fcat
    exceptions
      others           = 1.

  call method cl_alv_table_create=&amp;gt;create_dynamic_table
    exporting
      it_fieldcatalog = i_fcat
    importing
      ep_table        = i_content.
  if sy-subrc = 0.
    assign i_content-&amp;gt;* to &amp;lt;ptab&amp;gt;.
  else.
    write: 'Error creating internal table'.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105028#M981649</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-07-10T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105029#M981650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;aRs has the right idea here.  Here is a complete example program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="40600"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105029#M981650</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-07-10T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105030#M981651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ALL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARS I will trying ur approach and would get back if I have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 14:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105030#M981651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T14:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create data ststement problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105031#M981652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks All for the suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 15:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-data-ststement-problem/m-p/4105031#M981652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T15:12:05Z</dc:date>
    </item>
  </channel>
</rss>

