‎2007 Jan 09 8:06 AM
‎2007 Jan 09 8:40 AM
hi,
try this.
1. submit report exporting list to memory.
2. to get the output from memory
call function 'LIST_FROM_MEMORY'
tables
listobject = int_listobject
exceptions
not_found = 1.
3. to convert the list in binary format to text (ASCI)
call function 'LIST_TO_ASCI'
tables
listasci = int_listascii
listobject = int_listobject
exceptions
others = 1.you dont need to use
SCMS_BINARY_TO_TEXT
Regards
Anver
‎2007 Jan 09 8:09 AM
‎2007 Jan 09 8:11 AM
‎2007 Jan 09 8:23 AM
Hi shahana,
SCMS_BINARY_TO_STRING .
if you want the resulting string to be in an itab.
declare a itab type string.
data: stringtab type standard table of string.
append <result string from FM> to stringtab .
or
Use below function module inorder to convert as string from a given internal table .
CALL FUNCTION 'SCMS_TEXT_TO_XSTRING'
EXPORTING
FIRST_LINE = 0
LAST_LINE = 0
MIMETYPE = ' '
IMPORTING
BUFFER = lv_XSTRING
TABLES
TEXT_TAB = LT_TEXT_OUT
EXCEPTIONS
FAILED = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
‎2007 Jan 09 8:40 AM
hi,
try this.
1. submit report exporting list to memory.
2. to get the output from memory
call function 'LIST_FROM_MEMORY'
tables
listobject = int_listobject
exceptions
not_found = 1.
3. to convert the list in binary format to text (ASCI)
call function 'LIST_TO_ASCI'
tables
listasci = int_listascii
listobject = int_listobject
exceptions
others = 1.you dont need to use
SCMS_BINARY_TO_TEXT
Regards
Anver