Hi:
Try this finction module. I never used it, but it may work.
ALINK_DOWNLOAD_DOCUMENTS
Ram C.
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