Skip to Content
0
Former Member
Feb 17, 2009 at 10:16 AM

Convert from TDline to XString

1433 Views

How i can move the data in my internal table "stru_c_int_pdf" with Tline type

into a itab table.

Do the conversion is correct. pls reply?

This what i Did:

DATA wa_stru LIKE LINE OF stru_c_int_pdf.

DATA:BEGIN OF int,

dat TYPE xstring,

END OF int.

DATA: itab LIKE TABLE OF int,

wa_itab LIKE LINE OF itab.

LOOP AT stru_c_int_pdf INTO wa_stru .

wa_itab-dat = wa_stru-tdline.

APPEND wa_itab TO itab.

ENDLOOP.