Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to checkin file as new content version

Former Member
0 Kudos
148

Hi,

I am looking for a BAPI that allows me to checkin an original as a new content version via SAP JCo (similar to the "Check In as New Version" UI feature). I couldn't get it to work using the standard BAPIs BAPI_DOCUMENT_*

Is there a remote capable standard BAPI that does the job?

Regards

Michael

5 REPLIES 5

former_member216702
Active Participant
0 Kudos
87

Hello,

you can see that bapi : BAPI_DOCUMENT_CHECKIN2

Thierry

0 Kudos
87

Hi Thierry,

thanks for your quick response.

I tried that one. I found it to checkin new files.

With BAPI_DOCUMENT_CHECKIN_REPLACE2 I can replace originals.

But I failed to create new content version of an existing orginal.

Could you provide me with an example, of how to fill the BAPI parameters in order to create a new content version?

Many thanks

Michael

0 Kudos
87

You can see that thread : http://forums.sdn.sap.com/thread.jspa?threadID=35045

Thierry

0 Kudos
87

Thanks Thierry.

CVAPI_DOC_CHECKIN looks promising. However, I have no clue whatsoever on how to fill its parameters in order to create a content version with this BAPI.

Anybody who has some sample code?

Many thanks

Michael

Edited by: Michael Simon on Feb 23, 2012 4:37 PM

0 Kudos
87

Hi,

did anyone could solve that issue, creation of a content version for an original!?

I also could not find any documentation regarding the use of BAPIs!

So, if someone could find a solution, I would be really thankful for sharing it!

Regards,

Jens