10-17-2017 12:36 PM
Hello Team,
We are trying to create a document in DMS via ABAP.
We are getting the contents in binary and using GUI_DOWNLOAD to create the document at the required path in the DMS content server.
After that we use the BAPI_DOCUMENT_CREATE2 with the file path to see the document in CV03N.
This works fine when executed via Sproxy but when the actual file is sent via mail , we get a dump for using GUI_DOWNLOAD in the background.
Is there any other way to create the document in DMS content server alone using program, we don't want to store the files in AL11 using open data set.
Thanks,
Vihari
11-05-2017 1:15 PM
Hello All,
Just did a work around for this.
Create the document in AL11 using open/close data set and used the the BAPI with the AL11 path to create the document in DMS and immediately delete the document in AL11 using delete data set. The documents are visible using in CV03N DMS.
Thanks,