Dear Experts,
I am intending to fill new_table therefor I need some hints.
The problem what i am having is it must occur dynamically. Privously you dont know
the field names
How do you say ?
<l_line>-????????? = 'anySting1'.
<l_line>-????????? = 'anySting2'.
<l_line>-????????? = 'anySting3'.
<l_line>-????????? = 'anySting4'.
append <l_line> TO <outtab>.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = gt_fcat
IMPORTING
ep_table = new_table.
ASSIGN new_table->* TO <outtab>.
CREATE DATA new_line LIKE LINE OF <outtab>.
ASSIGN new_line->* TO <l_line> .
Edited by: erdem sas on Mar 3, 2009 10:37 AM