Skip to Content

Create temporary DMS Document via CV120_DOC_CHECKOUT_VIEW in application server

Aug 14, 2017 at 06:04 AM


avatar image

Dear Folks,

I am able to create DMS temporary file to a path provided in DC20 using the fm

CV120_DOC_CHECKOUT_VIEW in the local directory.

Can some one guide me to do the same in application server. When I provide the path of application directory, the file is not created though the fm CV120_DOC_CHECKOUT_VIEW does not return any exception.

Many Thanks,


10 |10000 characters needed characters left characters exceeded

For checking in a document, you may also call BAPI_DOCUMENT_CREATE2 and use the parameter PF_FTP_DEST = 'SAPFTPA' so that the path in parameter DOCUMENTFILES is considered being a file on the application server. For more information, see the SAP note 504692 (Document BAPIs, Checkin - checkout special cases) .

Before calling BAPI_DOCUMENT_CREATE2, you must write the file to the application server. For this, use the following three ABAP statements OPEN DATASET, TRANSFER, CLOSE DATASET.

* Please Login or Register to Answer, Follow or Comment.

0 Answers