‎2008 Jun 12 12:29 PM
Hi,
I have an internal table that has this table type.
DATA: it_tableTYPE STANDARD TABLE OF abaplist INITIAL SIZE 0
WITH HEADER LINE.
I am having a problem trying to load this table.
If I concatenate text into it, I get an error saying table needs to be character-type.
If I concatenate text into a string, then try and move it to this table, there is no change in the table.
Thanks
Lindy
‎2008 Jun 12 12:33 PM
Hi lindy,
1. We cannot directly put character data
in this kind of structure ABAPLIST
bcos it contains field RFCRECORD
which is of type RAW.
2. This structure is generally filled in by the system
where it stores the output of a list program and
provides it back.
regards,
amit m.
‎2008 Jun 12 12:43 PM
Hi Amit,
I am trying to email a report that has lines longer than 255 characters.
If I use FM table_compress, I need to pass a table of type ABAPLIST which returns a table of type SOLISTI1.
I have tried using the following, but the return table is full of funny characters and not my data.
TYPES: BEGIN OF t_table,
line(1000),
END OF t_table.
DATA: it_table TYPE STANDARD TABLE OF t_table INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
... load internal table it_table ...
CALL FUNCTION 'TABLE_COMPRESS'
TABLES
in = it_table
out = it_attach
EXCEPTIONS
OTHERS = 1.
... it_attach come back with funny characters ...
I need to know how I can load my internal table into a table with type ABAPLIST.
Thanks
Lindy
‎2008 Jun 12 12:34 PM