<?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 Doubts in Declaration in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256677#M488698</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;I want to declare a internal table with the dynamic type.&lt;/P&gt;&lt;P&gt;To be more clear if you enter the table name in the selection screen then that should be the type of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : I_ITAB type &amp;lt; table name given in the selection screen&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 12:05:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T12:05:46Z</dc:date>
    <item>
      <title>Doubts in Declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256677#M488698</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;I want to declare a internal table with the dynamic type.&lt;/P&gt;&lt;P&gt;To be more clear if you enter the table name in the selection screen then that should be the type of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : I_ITAB type &amp;lt; table name given in the selection screen&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 12:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256677#M488698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T12:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts in Declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256678#M488699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       I hope it will not work...Becoz it will be problematic when u work with this type..Internal tables itself will only work in the runtime only...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 12:12:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256678#M488699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T12:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts in Declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256679#M488700</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;Please go through the following linkks for Dynamic Declaration of Internal Tables.&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2401645"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="797696"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjit Thakur.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please Mark The Helpful Answer.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 12:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256679#M488700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T12:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts in Declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256680#M488701</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;do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this example db_table is the table name u will enter from selection-screen&lt;/P&gt;&lt;P&gt;parameters:DB_TABLE(30).&lt;/P&gt;&lt;P&gt;DATA FCAT1 TYPE LVC_T_FCAT."fieldcat of type internal table&lt;/P&gt;&lt;P&gt;DATA:DYN_ITAB TYPE REF TO DATA,"holding the dynamic internal table&lt;/P&gt;&lt;P&gt;WA TYPE REF TO DATA."holding the wa for dynamic internal table&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;DISP_TABLE&amp;gt; TYPE TABLE,&lt;/P&gt;&lt;P&gt;&amp;lt;WA&amp;gt; TYPE ANY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'"creating fieldcat to create a dynamic internal table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_STRUCTURE_NAME = DB_TABLE&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      CT_FIELDCAT      = FCAT1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL METHOD CL_ALV_TABLE_CREATE=&amp;gt;CREATE_DYNAMIC_TABLE"creating dynamic internal table using fieldcat&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      IT_FIELDCATALOG = FCAT1[]&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      EP_TABLE = DYN_ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN DYN_ITAB-&amp;gt;* TO &amp;lt;DISP_TABLE&amp;gt;."creating internal table by refering the dynamically generated internal table structure&lt;/P&gt;&lt;P&gt;  CREATE DATA WA LIKE LINE OF &amp;lt;DISP_TABLE&amp;gt;."creating work area for the internal table&lt;/P&gt;&lt;P&gt;  ASSIGN WA-&amp;gt;* TO &amp;lt;WA&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;DISP_TABLE&amp;gt; is ur internal table generated dynamically&lt;/P&gt;&lt;P&gt;&amp;lt;wa&amp;gt; is ur work area for this internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 12:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256680#M488701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Doubts in Declaration</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256681#M488702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first u need to goto table DD03L and get all the field labels into an internal table for the table specified on the selection screen.&lt;/P&gt;&lt;P&gt;now, u need to create a dynamic internal table using field symbols concept for the fields u have fetched.&lt;/P&gt;&lt;P&gt;then, u can use this dynamic internal table for ur purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 12:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubts-in-declaration/m-p/2256681#M488702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T12:22:06Z</dc:date>
    </item>
  </channel>
</rss>

