<?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 alv grid using dynamic internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450028#M1552770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have an internal table &lt;/P&gt;&lt;P&gt;begin of itab&lt;/P&gt;&lt;P&gt;equipno like equi-equnr,&lt;/P&gt;&lt;P&gt;reading like imrg-readg&lt;/P&gt;&lt;P&gt;uom like imrg-uom&lt;/P&gt;&lt;P&gt;date like imrg-date&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and many more fields  in this table the reading, date, uom are dynamic its not fixed there can be five readings and 6 reading etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i get all the data populated into final table  itab. how to display it throgh the alv grid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can use fieldsymbols i have seen some documents i want to know how to populate the fieldname s of the dynamic internal table to the field catalog and the values of the dynamic internal table .its a alv grid display pls guide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Dec 2010 00:41:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-08T00:41:09Z</dc:date>
    <item>
      <title>alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450028#M1552770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi i have an internal table &lt;/P&gt;&lt;P&gt;begin of itab&lt;/P&gt;&lt;P&gt;equipno like equi-equnr,&lt;/P&gt;&lt;P&gt;reading like imrg-readg&lt;/P&gt;&lt;P&gt;uom like imrg-uom&lt;/P&gt;&lt;P&gt;date like imrg-date&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and many more fields  in this table the reading, date, uom are dynamic its not fixed there can be five readings and 6 reading etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i get all the data populated into final table  itab. how to display it throgh the alv grid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can use fieldsymbols i have seen some documents i want to know how to populate the fieldname s of the dynamic internal table to the field catalog and the values of the dynamic internal table .its a alv grid display pls guide&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 00:41:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450028#M1552770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T00:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450029#M1552771</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 use SALV for the same and it retrieves all descriptions itself (by introspection / RTTS, I guess).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 00:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450029#M1552771</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2010-12-08T00:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450030#M1552772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any sample code how to use it pls let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 00:48:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450030#M1552772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T00:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450031#M1552773</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;This is a dummy example but it shows the handling of dynamic table and SALV display of the resulting table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zggar_alv_dynamic_table.

DATA: wt_data               TYPE REF TO data.

DATA: wo_alv                TYPE REF TO cl_salv_table,
      wo_alv_functions      TYPE REF TO cl_salv_functions_list.

FIELD-SYMBOLS: &amp;lt;ft_data&amp;gt;  TYPE STANDARD TABLE,
               &amp;lt;fs_data&amp;gt;  TYPE ANY,
               &amp;lt;fs_cell&amp;gt;  TYPE ANY.

PARAMETERS: p_nbr   TYPE i DEFAULT 10,
            p_type  TYPE string DEFAULT 'PERNR_D'.

START-OF-SELECTION.

  DATA: l_fldcat   TYPE lvc_s_fcat,
        lo_newtype TYPE REF TO cl_abap_structdescr,
        lo_tabtype TYPE REF TO cl_abap_tabledescr,
        lo_tmptype TYPE REF TO cl_abap_typedescr,
        t_comp     TYPE cl_abap_structdescr=&amp;gt;component_table,
        ls_comp     LIKE LINE OF t_comp.

  DO p_nbr TIMES.
    CLEAR: ls_comp.

    ls_comp-name = sy-index.
    CONCATENATE 'CHAMP_' ls_comp-name INTO ls_comp-name.
    CONDENSE ls_comp-name NO-GAPS.
    lo_tmptype ?= cl_abap_typedescr=&amp;gt;describe_by_name( p_type ).

    MOVE lo_tmptype ?TO ls_comp-type.
    APPEND ls_comp TO t_comp.
  ENDDO.

  lo_newtype = cl_abap_structdescr=&amp;gt;create( t_comp ).
  lo_tabtype = cl_abap_tabledescr=&amp;gt;create( lo_newtype ).

  CLEAR wt_data.
  CREATE DATA wt_data TYPE HANDLE lo_tabtype.

  ASSIGN wt_data-&amp;gt;* TO &amp;lt;ft_data&amp;gt;.
  CHECK sy-subrc = 0.

  APPEND INITIAL LINE TO &amp;lt;ft_data&amp;gt; ASSIGNING &amp;lt;fs_data&amp;gt;.
  IF &amp;lt;fs_data&amp;gt; IS ASSIGNED.
    DO.
      ASSIGN COMPONENT sy-index OF STRUCTURE &amp;lt;fs_data&amp;gt; TO &amp;lt;fs_cell&amp;gt;.
      IF sy-subrc = 0.
        &amp;lt;fs_cell&amp;gt; = sy-index.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
  ENDIF.

  CALL METHOD cl_salv_table=&amp;gt;factory
    IMPORTING
      r_salv_table = wo_alv
    CHANGING
      t_table      = &amp;lt;ft_data&amp;gt;.

** Functions
  wo_alv_functions = wo_alv-&amp;gt;get_functions( ).
  wo_alv_functions-&amp;gt;set_default( 'X' ).
  wo_alv_functions-&amp;gt;set_all( 'X' ).

** Display the table
  wo_alv-&amp;gt;display( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 01:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450031#M1552773</guid>
      <dc:creator>guillaume-hrc</dc:creator>
      <dc:date>2010-12-08T01:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450032#M1552774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i tries to use the same code  i got an error saying  cl_salv_table is unknown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can it be used in 4.6 c??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 01:07:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450032#M1552774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T01:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450033#M1552775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Before displaying the records in ALV, you integrate all the fields (Fixed fields as well as variable fields) into one table. To do so you need create one dynamic table. If you already created this dynamic table then in the same way (same sequence) you need to populate the field catalog and use normal FM REUSE_ALV_GRID_DISPLAY to display it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you not aware of how to create this dynamic internal table, please check the below way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Populate the fixed field into one field catalog(NB. this to create dyn table not ALV).&lt;/P&gt;&lt;P&gt;*--- Cons Unit&lt;/P&gt;&lt;P&gt;  wa_lvc_cat-fieldname = c_cons.        &lt;/P&gt;&lt;P&gt;  wa_lvc_cat-ref_field = c_rbunit.       &lt;/P&gt;&lt;P&gt;  wa_lvc_cat-ref_table = c_ecmca.    &lt;/P&gt;&lt;P&gt;  append wa_lvc_cat to it_lvc_cat.     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- account description&lt;/P&gt;&lt;P&gt;  wa_lvc_cat-fieldname = c_acctd.&lt;/P&gt;&lt;P&gt;  wa_lvc_cat-ref_field = c_txtmi.&lt;/P&gt;&lt;P&gt;  wa_lvc_cat-ref_table = c_tf101.&lt;/P&gt;&lt;P&gt;  append wa_lvc_cat to it_lvc_cat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For variable fields you have your own logic based on which you need to display the output. (like loop at one table and make each field as one column). Here one thing need to make sure every time field name should be different. You know in one structure there are 2 fields with same name is not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. next use the below method to create the internal table&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create a new Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 = it_lvc_cat&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      ep_table        = it_new_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create a new Line with the same structure of the table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  assign it_new_table-&amp;gt;* to &amp;lt;l_table&amp;gt;. " internal table&lt;/P&gt;&lt;P&gt;  create data wa_new_line like line of &amp;lt;l_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  assign wa_new_line-&amp;gt;* to &amp;lt;l_line&amp;gt;.  " Work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. To populate the field catalog for ALV use the same sequence. Better while you populated it_lvc_cat for dynamic table also create one lookup table with three fields. (fieldname, Text, col_pos). Here loop into this look up table and populate the ALV field catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Display it using REUSE_ALV_GRID_DISPLAY&lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_callback_program      = c_rep_name&lt;/P&gt;&lt;P&gt;      i_callback_user_command = 'F_USER_DOUBLE_CLICK'       "SD0K963313&lt;/P&gt;&lt;P&gt;      is_layout               = l_wa_layout&lt;/P&gt;&lt;P&gt;      it_fieldcat             = it_fieldcat&lt;/P&gt;&lt;P&gt;      it_sort                 = it_sort&lt;/P&gt;&lt;P&gt;      i_save                  = l_save&lt;/P&gt;&lt;P&gt;      is_variant              = wa_variant1&lt;/P&gt;&lt;P&gt;      it_events               = it_events&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      t_outtab                = &amp;lt;l_table&amp;gt;&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      program_error           = 1&lt;/P&gt;&lt;P&gt;      others                  = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 02:01:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450033#M1552775</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2010-12-08T02:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450034#M1552776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi thanks very useful info &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but  have look at my final internal table equipment matnr desciption and some fields r fixed in the table i will handle them as u told&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for variable fields they will be like this this is the final table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.matnr ,desc, reading1, uom1,date1, reading 2, uom2 ,date 2,reading 3, uom3 ,date 3-istrecord&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.matnr ,desc, reading1, uom1,date1, reading 2, uom2 -2ndtrecord&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.matnr ,desc, reading1, uom1,date1, reading 2, uom2 -,reading 3, uom3 ,date 3 3ndtrecord&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it goes on  here reading ,uom and date fields varu for each record &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is my problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i tried some ways it goes dump  especially when i try to assign the final itab to the created field symbol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need this part  so that next i can happily assign that populated field symbol to the grid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i feel ur logic is good can u pls send declarations as well  for the field symbols as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 03:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450034#M1552776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T03:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450035#M1552777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Revanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After generating your dynamic internal table you can use the following logic to get the components of the dynamic internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: lrw_data  TYPE REF TO data.
data: lr_struct   TYPE REF TO cl_abap_structdescr.
data: lt_comp    TYPE abap_compdescr_tab.
data: lw_comp  TYPE abap_compdescr.

field-symbols: &amp;lt;lw_data&amp;gt; TYPE any.

CREATE DATA lrw_data LIKE LINE OF &amp;lt;YOUR_TABLE_NAME&amp;gt;.
ASSIGN lrw_data-&amp;gt;* TO &amp;lt;lw_data&amp;gt;.

lr_struct ?= cl_abap_typedescr=&amp;gt;describe_by_data( &amp;lt;lw_data&amp;gt; ).
lt_comp = lr_struct-&amp;gt;components[].
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the LT_COMP will have the names of all the components in your internal table. You can build your field catalog based on these information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Immanuel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Immanuel T A on Dec 8, 2010 7:23 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Dec 2010 06:03:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450035#M1552777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-08T06:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: alv grid using dynamic internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450036#M1552778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  i created a structure in se11  and used field catalog merge to get the titles &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally in the out put iam getting as expected all the values but iam not getting the descriptions.iam only getting the first 2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fields descriptions.&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; * Create a new Table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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 = gt_fieldcat&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create a new Line with the same structure of the table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  assign new_table-&amp;gt;* to &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  create data new_line like line of &amp;lt;fs_table&amp;gt;.&lt;/P&gt;&lt;P&gt;  assign new_line-&amp;gt;* to &amp;lt;fs_struc&amp;gt;.&lt;/P&gt;&lt;P&gt;  refresh gt_fieldcat1.&lt;/P&gt;&lt;P&gt;  clear ls_fieldcat1.&lt;/P&gt;&lt;P&gt;  loop at gt_fieldcat into is_fieldcat.&lt;/P&gt;&lt;P&gt;    move-corresponding is_fieldcat to ls_fieldcat1.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;    ls_fieldcat1-fieldname = is_fieldcat-fieldname.&lt;/P&gt;&lt;P&gt;    ls_fieldcat1-intlen = is_fieldcat-intlen .&lt;/P&gt;&lt;P&gt;    ls_fieldcat1-datatype = is_fieldcat-datatype .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ls_fieldcat1-seltext_l = is_fieldcat-scrtext_l.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ls_fieldcat1-seltext_m = is_fieldcat-scrtext_m.&lt;/P&gt;&lt;P&gt;    ls_fieldcat1-seltext_s = is_fieldcat-scrtext_s.&lt;/P&gt;&lt;P&gt;    append ls_fieldcat1 to gt_fieldcat1.&lt;/P&gt;&lt;P&gt;    clear ls_fieldcat1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 05:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-using-dynamic-internal-table/m-p/7450036#M1552778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-13T05:03:44Z</dc:date>
    </item>
  </channel>
</rss>

