Skip to Content

Store documents in DMS server via ABAP in background

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 05, 2017 at 01: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,

    Add comment
    10|10000 characters needed characters exceeded