AW: Get Content Of Documents Stored In Content Server

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Tue Mar 11 04:18:16 EST 2003


Hi Werner,
You should use the f.m. BAPI_DOCUMENT_CHECKOUT_VIEWX if it is a =
DMS-Document
to write it to the file-system.=20
If you use CVAPI_DOC_CHECKOUTVIEW you get in Interface-table DRAO the =
bin
contentof the file.
 
More generic, based on PHIO is CV120_KPRO_CHECKOUT_TO_TABLE.
Below you can use f.m. SDOK_PHIO_LOAD_CONTENT.
 
Regrads
 
Heinz
 
-----Urspr=FCngliche Nachricht-----
Von: Werner K=F6=DFl [mailto:werner.koessl at hirschvogel.de]
Gesendet am: Dienstag, 11. M=E4rz 2003 09:51
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Get Content Of Documents Stored In Content Server
 
Hi all,
 
i want to get the content of documents which are stored in the
content-server.
When i read the key of the document, i get the logical object-class and =
the
logical object-id (LOIO).
It looks like that:
Loio Class =3D WF_FILE
Loio ID =3D 3E47C2554CEA39AFE10000000A010090
 
I can read the physical object-id (PHIO) with FM 'SO_LOIO_PHIO_GET'.
It looks like that:
Phio Class =3D WF_DOC
Phio ID =3D 3E47C25B4CEA39AFE10000000A010090
 
It's also possible to read the PHIO and the URL of the document with
FM 'SO_LOIO_READ_URL_GET'.
URL =3D
http://hugkpwct01a:1090/ContentServer/ContentServer.dll?get&pVersion=3D0=
046&co
ntRep=3DZWFM_SAP&docId=3D3E47C25B...90
 
I know the LOIO, the PHIO and the URL now, but i don't know how to get =
the
content of the document?!
 
Does anybody have an idea???
 
Thanks very much!
Werner.
 


More information about the SAP-WUG mailing list