We are having a requirement where we have to upload and download from webdynpro.
- Canvas (*.cv*)
- Corel Draw (*.cdr) - default.
I can create and read file from DMS using
FUNCTION - BAPI_DOCUMENT_GETDETAIL2
FUNCTION -CVAPI_DOC_CREATE
FUNCTION - BAPI_DOCUMENT_CHANGE2
I this possible to achieve this ?
what are the configs required in DMS for enable CDR file types?
I added a Corel Draw file in DMS using CV01N and tried to download in webdynpro but the after BAPI_DOCUMENT_GETDETAIL2
the called SDOK_PHIO_LOAD_CONTENT for convert to biniry.and called FM - SCMS_BINARY_TO_XSTRING to get XSTRING passing to
CALL METHOD cl_wd_runtime_services=>attach_file_to_response
Can we fetch the XSTRING data directly from DB for getting the data?