Skip to Content
author's profile photo Former Member
Former Member

Directing an ABAP list from a background job to an Office Folder

Hi,

How do I automatically direct an ABAP list generated from a background job to an SAPoffice Office Folder?

Thanks,

Roy

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 13, 2005 at 03:01 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2005 at 09:07 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.