Skip to Content

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

How to validate RID ?


Is it possible to check whether an RID is valid or nor, ie, the corresponding folder actually exists or not?

I am using th following code to get the RID:

String path = "/KM/"+"SAP IMPLEMENTATION PROJECTS/"+project+rs_prop.getString("folder");
RID rid=RID.getRID(path);

In the next line I want to check whether the RID path actually exists before proceeding further. How can this be done? I tried if(rid!=null). But it didnt work.

Please Help.



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