Skip to Content
0
Former Member
Mar 03, 2009 at 08:44 AM

fill the new table

25 Views

Hi Experts,

suppose <outtab>.has three columns (this is the new generated table).

How can I fill now this table with simple data.

Regards

sas

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> .