on 2005 Sep 27 4:42 PM
Hi,
I've developed a program that submits a report and retrieves its output wiht the function module LIST_FROM_MEMORY:
(...)
DATA: mtab_report_list LIKE abaplist OCCURS 0 WITH HEADER LINE.
(...)
SUBMIT (pprog)
USING SELECTION-SET pvari
EXPORTING LIST TO MEMORY
AND RETURN.
(...)
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = mtab_report_list
EXCEPTIONS
not_found = 1
OTHERS = 2.
The output of the called report contains in fact two lists: same query but different list orderings, and I want to generate two separate outputs, calling the function module WRITE_LIST twice. But I don't know how to truncate the output table from LIST_FROM_MEMORY, type ABAPLIST, because data is in RAW format and I cannot understand it.
Any idea ?
Best regards,
Joan B. Altadill
CELSA SAP Admin
Hi
You can use fm LIST_TO_ASCI to convert your list, but after I think you'll miss the output characteristics (like color).
Max
Message was edited by: max bianchi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.