Skip to Content
0

Store documents in DMS server via ABAP in background

Oct 17, 2017 at 11:36 AM

58

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Vihari Nagella Nov 05, 2017 at 01:15 PM
0

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,

Share
10 |10000 characters needed characters left characters exceeded