cancel
Showing results for 
Search instead for 
Did you mean: 

Program to mass "Cancel Checkout"

0 Kudos

We are in need of developing a program, where we can find documents that are currently checked out, and then perform an administrative Cancel Checkout. Does anyone know what Function Module, BAPI, etc., that would allow us to accomplish this?

Accepted Solutions (0)

Answers (2)

Answers (2)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi,

I'm doing fine and I hope you had a good start into 2019.

I searched for function modules which do a checkout cancel and I found

CVAPI_DOC_CHECKOUTCANCEL

CV120_DOC_CHECKOUT_CANCEL

Maybe they can help when adopting the report.

Best regards,

Christoph

0 Kudos

Christoph,

I had found those as well; along with the following:

BAPI_DOCUMENT_CHECKOUTCANCEL

BAPI_DOCUMENT_CHECKOUTCANCEL2

I was hoping someone might have had some experience with which one might be the best one, and what each Import Parameter required (that's not always very obvious). 🙂

I'll leave this unanswered, for now, to see if anyone else has any additional information.

Thanks, again!!!

christoph_hopf
Advisor
Advisor
0 Kudos

Hi McKenzie,

great to have a picture of you after so many SAP support tickets.

I've attached report Z_CHECKIN_REPORT which could be useful for your scenario. This report helps to get all files checked in. If you are working also with URLs as originals please take care that these originals are kept checked out.

The same report can be found also at https://wiki.scn.sap.com/wiki/x/LoBIGQ and if you have feedback please feel free to share your improved version with us. 🙂

Best regards,

Christoph

z-checkin-report.txt

0 Kudos

Hello, Christoph!

Thank you for the report. I hope you are doing well.

I've performed a quick test, and this report actually performs a check-in. I want to reset the checkout, without actually checking in any files. Maybe we can adjust this report, but I do not know what function module(s) would be, to allow this. As always, I appreciate your assistance.

Thanks, again!

McKenzie