<?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: Dynamic Table Control Creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413919#M538650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....I want to create DYNAMIC TABLE CONTROL, NOT dynamic Table creation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jiku&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 07:33:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T07:33:26Z</dc:date>
    <item>
      <title>Dynamic Table Control Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413917#M538648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys/Gals,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an urgent need to create dynamic table control...&lt;/P&gt;&lt;P&gt;Can anyone help me out???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jiku&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 07:25:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413917#M538648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table Control Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413918#M538649</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;go through the following example--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Data definitions&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Tables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;DATA: LT_DATA type ref to DATA.&lt;/P&gt;&lt;P&gt;DATA: LT_FIELDCATALOG type LVC_T_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Structure&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;DATA: LS_FIELDCATALOG type LVC_S_FCAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Data References&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;DATA: NEW_LINE type ref to data,&lt;/P&gt;&lt;P&gt;      FS_DATA type ref to data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Field Symbols&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;FS_DATA&amp;gt; type ref to DATA,&lt;/P&gt;&lt;P&gt;               &amp;lt;FS_1&amp;gt; type any table,&lt;/P&gt;&lt;P&gt;               &amp;lt;FS_2&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;FS_3&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Populating the internal table with fieldnames required for our dynamic&lt;/P&gt;&lt;P&gt;*internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-FIELDNAME = 'MANDT'.&lt;/P&gt;&lt;P&gt;append LS_FIELDCATALOG to LT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-FIELDNAME = 'CARRID'. "Fieldname&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-INTTYPE = 'C'. "Internal Type C-&amp;gt; Character&lt;/P&gt;&lt;P&gt;append LS_FIELDCATALOG to LT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-FIELDNAME = 'CONNID'.&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-INTTYPE = 'N'.&lt;/P&gt;&lt;P&gt;append LS_FIELDCATALOG to LT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-FIELDNAME = 'FLDATE'.&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-INTTYPE = 'D'.&lt;/P&gt;&lt;P&gt;append LS_FIELDCATALOG to LT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-FIELDNAME = 'PRICE'.&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-INTTYPE = 'P'.&lt;/P&gt;&lt;P&gt;append LS_FIELDCATALOG to LT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-FIELDNAME = 'CURRENCY'.&lt;/P&gt;&lt;P&gt;LS_FIELDCATALOG-INTTYPE = 'C'.&lt;/P&gt;&lt;P&gt;append LS_FIELDCATALOG to LT_FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Calling the method CREATE_DYNAMIC_TABLE&lt;/P&gt;&lt;P&gt;call method cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;     exporting&lt;/P&gt;&lt;P&gt;       it_fieldcatalog = LT_FIELDCATALOG&lt;/P&gt;&lt;P&gt;     importing&lt;/P&gt;&lt;P&gt;       ep_table = FS_DATA&lt;/P&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;       generate_subpool_dir_full = 1&lt;/P&gt;&lt;P&gt;       others = 2&lt;/P&gt;&lt;P&gt;		.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Assigning Field-Symbol to our dynamic internal table&lt;/P&gt;&lt;P&gt;assign LT_DATA to &amp;lt;FS_DATA&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Internal Table is ready, now to put data in that table&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;So &amp;lt;FS_1&amp;gt; now points to our dynamic internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign FS_DATA-&amp;gt;* to &amp;lt;FS_1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Next step is to create a work area for our dynamic internal table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create data NEW_LINE like line of &amp;lt;FS_1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;A field-symbol to access that work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;assign NEW_LINE-&amp;gt;*  to &amp;lt;FS_2&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;And to put the data in the internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;select&lt;/P&gt;&lt;P&gt;      MANDT&lt;/P&gt;&lt;P&gt;      CARRID&lt;/P&gt;&lt;P&gt;      CONNID&lt;/P&gt;&lt;P&gt;      FLDATE&lt;/P&gt;&lt;P&gt;      PRICE&lt;/P&gt;&lt;P&gt;      CURRENCY&lt;/P&gt;&lt;P&gt;              from SFLIGHT&lt;/P&gt;&lt;P&gt;              into corresponding fields of table &amp;lt;FS_1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Access contents of internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;loop at &amp;lt;FS_1&amp;gt; assigning &amp;lt;FS_2&amp;gt;.&lt;/P&gt;&lt;P&gt;do 5 times.&lt;/P&gt;&lt;P&gt;assign component sy-index of structure &amp;lt;FS_2&amp;gt; to &amp;lt;FS_3&amp;gt;.&lt;/P&gt;&lt;P&gt;write:  &amp;lt;FS_3&amp;gt;.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;skip 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****do rewards if usefull&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 07:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413918#M538649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table Control Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413919#M538650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....I want to create DYNAMIC TABLE CONTROL, NOT dynamic Table creation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jiku&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 07:33:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413919#M538650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table Control Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413920#M538651</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;creating dynamic table control is not possible.so in this case u have to create a table control and make the non required fields invisible(hide),visible,editable and non editable. according to ur requirement.&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>Thu, 05 Jul 2007 07:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413920#M538651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table Control Creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413921#M538652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nobody is there to help out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Immediate points will be offered for answers.........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 07:45:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-table-control-creation/m-p/2413921#M538652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T07:45:03Z</dc:date>
    </item>
  </channel>
</rss>

