Skip to Content
0
Apr 23, 2007 at 03:10 PM

access fields of dynamic internal table

699 Views

Hi friends,

i have the following requirement for this code:

 do.

    assign component sy-index
       of structure <dyn_wa> to <dyn_field>.

    if sy-subrc <> 0.
      exit.
    endif.

What i have is an internal table <dyn_table> created dynamically.

The list of fields used in <dyn_table> is in l_tab_fields.

Now, how could i change the code so that i can get the fieldname and the acutal content ?

Thanks in advance !