Roy,
a possible solution:
DATA: liste LIKE abaplist OCCURS 0 WITH HEADER LINE.
1) submit abap z123
..
EXPORTING LIST TO MEMORY
2) fm LIST_FROM_MEMORY
tables
listobject = liste
3) LIST_TO_OFFICE
EXPORTING
list_index = 0
method = 'MOVE' "or 'SEND'
TABLES
listobject = liste.
regards
Andreas
Hi Andreas,
Thanks, your suggestion worked like a charm. However, I choose to use FM 'SO_DOCUMENT_INSERT_API1' instead of FM 'LIST_TO_OFFICE' in order to have some more flexability in setting document data parms, such as expiry date, title, etc.
Thanks again for all your help.
Regards,
Roy
Add a comment