Quantcast
Channel: SCN : Unanswered Discussions - SAP Document Management
Viewing all articles
Browse latest Browse all 732

Create a Content Version via ABAP

$
0
0

Hi all,

I need to change an original file, saved into a DIR, via BAPI/Method in background.

First of all, I call the bapi BAPI_DOCUMENT_GETDETAIL2, in order to have the table documentfile; then, I call the bapi BAPI_DOCUMENT_CHECKOUTMODIFY2 in order to download the file on a path of application server (this because the program runs in background) and, at the end, I have tried to use the following functions in order to checkin (with content version) the changed original:

 

- CVAPI_DOC_CHECKIN

- BAPI_DOCUMENT_CHECKIN2

- CV120_KPRO_CHECKIN_NEW_VERSION

 

 

 

But, with all the Functions, I get the same result:

- The active version is not in checkin;

- The original file name disappears;

- The active original is corrupted and is not possible to download again or perform the command "reset checkout".

 

 

Someone can tell me how these functions should be called?

 

 

Thanks a lot,

ale


Viewing all articles
Browse latest Browse all 732

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>