Skip to Content
author's profile photo Former Member
Former Member

Recursion in RM

Hi all,

We are using EP6 SPS17 I have developed a recursive application that simply goes through any desired repository and store all the subfolders in a vector and then enable certain CM services of the stored subfolders. The application was working fine in the development environment but after applying the application on real-time repository with a huge number of subfolders the application gives a “stack overflow error”.

Any idea how to overcome this error.

Thanx,

Javed

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 11:55 AM

    Well, recursion is dangerous if you don't plan for potential link or bind loops. Im KM, there's an IHierarchyWalker interface and an implementation you way want to use.

    Best regards, Julian

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 19, 2006 at 12:32 PM

    Javed,

    this" target="_blank">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4609">this blog entry on recursive processing gives an example of how to use the HierarchyWalker that Julian mentions, and it also explains where the error you are getting may be coming from.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.