Skip to Content
0
Former Member
Apr 23, 2008 at 07:30 AM

help with Table declartion

23 Views

Hi,

i declare table type char to move data to text format

the problem is that i have Field type Dec5.2 and i have erorr to send them how can i declare table that take all the fields types like (char,numc,dec)

TYPES : BEGIN OF itab,
        rec(500) TYPE c,
       END OF itab.

DATA: c_tab  TYPE TABLE OF itab WITH HEADER LINE ,


  LOOP AT it_d_2.
    CONCATENATE it_d_2-employee_number it_data_2-bow it_data_2-num
    it_d_2-text1 it_d_2-text2 it_d_2-text3 it_d_2-leihg

    INTO c_tab-rec SEPARATED BY ','..
    APPEND c_tab.

  ENDLOOP.

Regards