cancel
Showing results for 
Search instead for 
Did you mean: 

Search of all checkout documents from the root folder

Former Member
0 Kudos

Hi all,

I have a requirement to implement search and return all checkout documents from /documents folder, from my custom UI.

Any ideas how to search by checkout property.

I need property name and property value definition in my serch query case.

Really appreciate your help

Regards

Costa

Edited by: Costa Chertakovsky on Nov 17, 2008 3:39 PM

Edited by: Costa Chertakovsky on Nov 17, 2008 3:42 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Costa,

unfortunately, there is no way to use the standard search filtering for checked out documents.

The property with the namespace "http://sapportals.com/xmlns/cm" and ID "CheckOutStatus" is an application property the is not indexed.

So as you can not use TREX, you can only use the standard report [Resource Locks|http://help.sap.com/saphelp_nw04/helpdata/en/14/a4d14030490b06e10000000a155106/frameset.htm] to find checked out resources or to implement an own compoment with this functionality (go through all resources and filter the ones with the "CheckedOutStatus" == "checkoutAutomatically".

Hope this helps,

Robert

Former Member
0 Kudos

Thanks a lot Robert for you response it was really helpful.

Does KM has some APIs to get information from Resource Locks.

In order to implement logic to go through all resources and filter the ones with the "CheckedOutStatus" == "checkoutAutomatically"

In this case Iu2019ll get some performance impact due to high number of documents in KM

Please let me know if you have some ideas.

Thanks a lot

Costa

Former Member
0 Kudos

Hi Costa,

I'm afraid there is no other information that you can get through API about the resource lock than the application properties "CheckOutStatus", "CheckOutUser" and "CheckOutItem". You can search here on SDN for sample code on how to read the properties.

You are right that running recursively through all resources can have an impact on the system performance. I would recommend to implement a delay after checking each resource, similar to what is recommended when implementing a KM report.

Hope this helps,

Robert