2011 Feb 11 4:11 PM
Hello everybody,
I want to load a file from DMS via a function module. I need the file content in a int. table.
I know the way of using FM SDOK_PHIO_LOAD_CONTENT. But this will only work if the file is checked in into KPro. In transaction CV02N the little lock in the Original Overview is then closed.
But as long as the lock is open (file is not checked in into Kpro) the above FM wont work.
Which FM can I use to either get files not checked in or to get all files (checked in and not checked in).
Thanks,
Elko
Hello everybody,
I want to load a file from DMS via a function module. I need the file content in a int. table.
I know the way of using FM SDOK_PHIO_LOAD_CONTENT. But this will only work if the file is checked in into KPro. In transaction CV02N the little lock in the Original Overview is then closed.
But as long as the lock is open (file is not checked in into Kpro) the above FM wont work.
Which FM can I use to either get files not checked in or to get all files (checked in and not checked in).
Thanks,
Elko
2011 Feb 11 4:49 PM
Check DMS_GEN_DOCUMENT_TO_OBJECT
In se37 please search form dmsdocument* you will find a list.
2011 Feb 14 8:36 AM
Thanks for your answer,
but FM DMS_GEN_DOCUMENT_TO_OBJECT just returns the attributes and the ID of the document, NOT the actuall content.
I am looking for a FM that returns the binary or hex data of the Original of the document. Just like SDOK_PHIO_LOAD_CONTENT, but for Docs not checked in into Kpro.
Thanks,
Elko
2011 Feb 15 10:38 AM
2011 Feb 15 11:25 AM
2011 Feb 15 12:00 PM
thanks fpr your reply,
but this BAPI only returns information about the document, not the document itself. I need the binary data of the physical document - returned in a int. table.
Like FM SDOK_PHIO_LOAD_CONTENT returns, but for documents not checked in.
Thanks
Elko
2011 Feb 15 12:34 PM
2011 May 19 3:30 PM
Solution is to check in the document into KPro.
Then the know function modules will work.
Elko
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |