on 02-26-2016 8:06 PM
Hi All,
I am able to fetch an image from Mime Repository and send it as XML output in an odata service (using cl_mime_repository_api=>get_api( )->get )
Now my requirement is I need to fetch the image from DMS instead of MIME repository. The image of DMS will be basically linked to Article Master Table. I am not able to find the methods/approach to fetch an image from DMS. Kindly suggest if someone has any idea on this
Thanks & Regards
Amber
Do the following:
select from DRAD table to find matched document by material number.
call FM BAPI_DOCUMENT_GETDETAIL2 first to get all attached files of the document
call FM CVAPI_DOC_CHECKOUTVIEW to get the binary content of the one file
regards,
Steven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steven,
Thanks for your reply. When i pass the mandatory parameters to the FM BAPI_DOCUMENT_GETDETAIL2 from DRAD table , i get the FILE_ID for the particular file.
This File_ID and the other mandotory parameters when i pass in CVAPI_DOC_CHECKOUTVIEW , I dont see any paramter related to content getting filled. So I am not able to get any binary content of the file.
Regards
Amber
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.