Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Moving expired documents to another folder


I'm new in SAP's world, and I already have the following scenario:

At the portal my team is developing, in the KM, we have folder structures of about 5 levels, and most of these folders are Timelife enabled. Up to here everything is fine.

But my problem happens when the documents, that are at these timelife enabled folders, expires, and I must move them to another structure of folders.

Firstly, a colleague told me to develop a Repository Service to do this. I found some code that almost do this, but didn't helped me so much.

After, talking to another guy, he suggested me to implement a "parallel" scheduler task. I found information about how to develop a task and schedule it at the portal (Did you know you can schedule jobs in portal using KM's Scheduler Task?).

Now, what's the way to navigate through a folder structure, check if the timelife is enabled, check which documents have expired and move them to another folder?

Thanks in advance,

André Ramos Souza

Former Member
Not what you were looking for? View more on this topic or Ask a question