Skip to Content

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

Deleting all records of a node

Hi experts,

I have a node containing 35 records. I need to delete all the entries in that node. But it's deleting some set of rows

at a time, that number (rows deleting ) is also random.

This is my code

for(int k=0;k<wdContext.nodeCNNode().size();k++)

{

System.out.println("Deleting element "+k);

wdContext.nodeCNNode().removeElement(wdContext.nodeCNNode().getElementAt(k));

}

Is there any problem with above code?

Also How can I get messages from Message Pool and raise validation messages.. Please Help

Thanks in advance

LNaraya

Helpful Answer

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