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

Text documents for master data

Hi,

I have a characteristic with one text document associated to each value. I want to export this texts documents using ABAP. I'm an experience ABAP programmer but could not find any function module. Any ideas?

Thanks in advance,

Miguel P.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 24, 2006 at 07:28 PM

    Hi:

    Try this finction module. I never used it, but it may work.

    ALINK_DOWNLOAD_DOCUMENTS

    Ram C.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2006 at 01:05 PM

    Hi Miguel,

    You can try using the table <b>rsodloprma</b> and <b>rsodphioma</b> (and others attached).

    There you will find an information like PHIO below, that you will use to reach the documents (by displaying them on your desktop).

    <b>data PHIO type SKWF_IO

    value 'PBW_PH_MAST453DFC3CFA7869BEE10000000AF3022D'.

    CALL FUNCTION 'SKWV_KWUI_DOC_DISPLAY'

    EXPORTING

    phio = phio

    • TERMINOLOGY =

    .</b>

    In my example, I know that the document is stored under the technical PHIO with the value. Reading the mentioned tables will give you the right PHIO values.

    What is nice with the indicated function is that the MIME object is respected. If you are accessing a .doc document, the MS Word is opened, if it is a .pdf then Adobe Acrobat is opened, and so ...

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Laurent,

      Very helpfull thank you.

      Function SKWV_KWUI_DOC_DISPLAY does not help me, I need a function that returns me the document in a internal table (can be binary) so I can download it a to file automatically.

      Thanks in advance,

      Miguel p.

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.