<?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: Generic Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440209#M209495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, no config.  It should work as is.  Both tables work well with no changes to the above program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please post your program.&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>Mon, 10 Jul 2006 16:08:20 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2006-07-10T16:08:20Z</dc:date>
    <item>
      <title>Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440199#M209485</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 need to develop a module that takes an infotype as input, does 'select * from &amp;lt;infotype table&amp;gt;' and writes data to a file. This module needs to be generic and should work for any infotype (even custom infotype). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if input is PA0001, it should do 'Select * from PA0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions on how to do this?. Do i need to use field symbols?. Please let me know if you have any ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 22:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440199#M209485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T22:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440200#M209486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just pass the IT from selection screen and thats sit.&lt;/P&gt;&lt;P&gt;It should work ...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;FYI&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'HR_READ_INFOTYPE'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    TCLAS                 = 'A'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      pernr                 = peras-pernr&lt;/P&gt;&lt;P&gt;      infty                 = '0001' ( From selection screen ) &lt;/P&gt;&lt;P&gt;      begda                 = int_absence-date&lt;/P&gt;&lt;P&gt;      endda                 = int_absence-date&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    BYPASS_BUFFER         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    SUBRC                 =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      infty_tab             = &amp;lt;b&amp;gt;int_0001&amp;lt;/b&amp;gt; ( You need to make this table dynamically ) &lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      infty_not_found       = 1&lt;/P&gt;&lt;P&gt;      others                = 2&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this&amp;#146;ll give you idea!!&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Pl... award the points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Good luck &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saquib Khan&lt;/P&gt;&lt;P&gt;"Some are wise and some are otherwise"&amp;lt;b&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 22:30:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440200#M209486</guid>
      <dc:creator>former_member181966</dc:creator>
      <dc:date>2006-07-06T22:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440201#M209487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the example program. It accepts a table name and creates a dynamic internal table.  I think you can use this to solve your issue.  Yes, you will need to use field symbols and a dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002.

type-pools: slis.

field-symbols: &amp;lt;dyn_table&amp;gt; type standard table,
               &amp;lt;dyn_wa&amp;gt;,
               &amp;lt;dyn_field&amp;gt;.

data: alv_fldcat type slis_t_fieldcat_alv,
      it_fldcat type lvc_t_fcat.

type-pools : abap.

data : it_details type abap_compdescr_tab,
       wa_details type abap_compdescr.

data : ref_descr type ref to cl_abap_structdescr.

data: new_table type ref to data,
      new_line  type ref to data,
      wa_it_fldcat type lvc_s_fcat.

selection-screen begin of block b1 with frame title text .
parameters: p_table(30) type c.
selection-screen end of block b1.


* Get the structure of the table.
ref_descr ?= cl_abap_typedescr=&amp;gt;describe_by_name( p_table ).
it_details[] = ref_descr-&amp;gt;components[].

loop at it_details into wa_details.
  clear wa_it_fldcat.
  wa_it_fldcat-fieldname = wa_details-name .
  wa_it_fldcat-datatype = wa_details-type_kind.
  wa_it_fldcat-inttype = wa_details-type_kind.
  wa_it_fldcat-intlen = wa_details-length.
  wa_it_fldcat-decimals = wa_details-decimals.
  append wa_it_fldcat to it_fldcat .
endloop.

* Create dynamic internal table and assign to FS
call method cl_alv_table_create=&amp;gt;create_dynamic_table
             exporting
                it_fieldcatalog = it_fldcat
             importing
                ep_table        = new_table.

assign new_table-&amp;gt;* to &amp;lt;dyn_table&amp;gt;.

* Create dynamic work area and assign to FS
create data new_line like line of &amp;lt;dyn_table&amp;gt;.
assign new_line-&amp;gt;* to &amp;lt;dyn_wa&amp;gt;.

* Select Data from table.
select * into corresponding fields of table &amp;lt;dyn_table&amp;gt;
           from (p_table).

* Write out data from table.
loop at &amp;lt;dyn_table&amp;gt; into &amp;lt;dyn_wa&amp;gt;.
  do.
    assign component  sy-index  of structure &amp;lt;dyn_wa&amp;gt; to &amp;lt;dyn_field&amp;gt;.
    if sy-subrc &amp;lt;&amp;gt; 0.
      exit.
    endif.
    if sy-index = 1.
      write:/ &amp;lt;dyn_field&amp;gt;.
    else.
      write: &amp;lt;dyn_field&amp;gt;.
    endif.
  enddo.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&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>Fri, 07 Jul 2006 00:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440201#M209487</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-07T00:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440202#M209488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     The code that you suggested works for most of the infotypes and its great. But, it does fail for some infotypes such as PA0008, HRP1001 etc. Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 15:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440202#M209488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440203#M209489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, it does not always work.  What kind of error are you getting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working good for me with PA0008.&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>Mon, 10 Jul 2006 15:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440203#M209489</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T15:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440204#M209490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It says, "RSQL error 23 when accessing table HRP1001.". Any altenative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 15:53:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440204#M209490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T15:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440205#M209491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran  for table HRP1001 and it worked create as well.  Not sure what the problem could be.&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>Mon, 10 Jul 2006 15:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440205#M209491</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440206#M209492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using INTO CORRESPONDING FIELDS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * &amp;lt;b&amp;gt;into corresponding fields of table&amp;lt;/b&amp;gt; &amp;lt;dyn_table&amp;gt;
           from (p_table).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&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>Mon, 10 Jul 2006 15:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440206#M209492</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T15:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440207#M209493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i tried that. I also tried doing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from pa0008 into table test where endda = '99991231'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 'test' is an internal table of type pa0008. It worked fine. But, when i use dynamic work area it breaks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 16:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440207#M209493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T16:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440208#M209494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it has anything to do with configuration issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 16:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440208#M209494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T16:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440209#M209495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, no config.  It should work as is.  Both tables work well with no changes to the above program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please post your program.&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>Mon, 10 Jul 2006 16:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440209#M209495</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T16:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440210#M209496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT  Z_TEST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;dyn_table&amp;gt; type standard table,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_wa&amp;gt;,&lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_field&amp;gt;.&lt;/P&gt;&lt;P&gt;data: alv_fldcat type slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;      it_fldcat type lvc_t_fcat.&lt;/P&gt;&lt;P&gt;type-pools : abap.&lt;/P&gt;&lt;P&gt;data : it_details type abap_compdescr_tab,&lt;/P&gt;&lt;P&gt;       wa_details type abap_compdescr.&lt;/P&gt;&lt;P&gt;data : ref_descr type ref to cl_abap_structdescr.&lt;/P&gt;&lt;P&gt;data: new_table type ref to data,      new_line  type ref to data,      wa_it_fldcat type lvc_s_fcat.&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text .&lt;/P&gt;&lt;P&gt;parameters: p_table(30) type c.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: test type pa0008 occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from pa0008 into table test where endda = '99991231'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the structure of the table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ref_descr ?= cl_abap_typedescr=&amp;gt;describe_by_name( p_table ).&lt;/P&gt;&lt;P&gt;it_details[] = ref_descr-&amp;gt;components[].&lt;/P&gt;&lt;P&gt;loop at it_details into wa_details.&lt;/P&gt;&lt;P&gt;  clear wa_it_fldcat.&lt;/P&gt;&lt;P&gt;  wa_it_fldcat-fieldname = wa_details-name .&lt;/P&gt;&lt;P&gt;  wa_it_fldcat-datatype = wa_details-type_kind.&lt;/P&gt;&lt;P&gt;  wa_it_fldcat-inttype = wa_details-type_kind.&lt;/P&gt;&lt;P&gt;  wa_it_fldcat-intlen = wa_details-length.&lt;/P&gt;&lt;P&gt;  wa_it_fldcat-decimals = wa_details-decimals.&lt;/P&gt;&lt;P&gt;  append wa_it_fldcat to it_fldcat .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create dynamic internal table and assign to FS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method cl_alv_table_create=&amp;gt;create_dynamic_table exporting&lt;/P&gt;&lt;P&gt; it_fieldcatalog = it_fldcat&lt;/P&gt;&lt;P&gt; importing&lt;/P&gt;&lt;P&gt; ep_table        = new_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign new_table-&amp;gt;* to &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create dynamic work area and assign to FS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;create data new_line like line of &amp;lt;dyn_table&amp;gt;.&lt;/P&gt;&lt;P&gt;assign new_line-&amp;gt;* to &amp;lt;dyn_wa&amp;gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Select Data from table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select * into corresponding fields of table &amp;lt;dyn_table&amp;gt;           from&lt;/P&gt;&lt;P&gt;(p_table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*select * from&lt;/P&gt;&lt;P&gt;*(p_table) into corresponding fields of table &amp;lt;dyn_table&amp;gt;     up to 5 rows  where endda = '99991231'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Write out data from table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;loop at &amp;lt;dyn_table&amp;gt; into &amp;lt;dyn_wa&amp;gt;.&lt;/P&gt;&lt;P&gt;  do.&lt;/P&gt;&lt;P&gt;    assign component  sy-index  of structure &amp;lt;dyn_wa&amp;gt; to &amp;lt;dyn_field&amp;gt;.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.      exit.    endif.&lt;/P&gt;&lt;P&gt;    if sy-index = 1.&lt;/P&gt;&lt;P&gt;      write:/ &amp;lt;dyn_field&amp;gt;.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      write:&lt;/P&gt;&lt;P&gt;&amp;lt;dyn_field&amp;gt;.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  enddo.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 16:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440210#M209496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T16:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440211#M209497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your code works in my system.  What version are you on?&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>Mon, 10 Jul 2006 17:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440211#M209497</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T17:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440212#M209498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ECC 6.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 17:25:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440212#M209498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T17:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440213#M209499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, my above sample program does not work in ECC 6.0 for table PA0008?  You are getting the "RSQL error 23 when accessing table" error, right?.  &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>Mon, 10 Jul 2006 17:28:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440213#M209499</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-10T17:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Generic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440214#M209500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2006 17:45:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generic-internal-table/m-p/1440214#M209500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-10T17:45:30Z</dc:date>
    </item>
  </channel>
</rss>

