Skip to Content
0
Former Member
Sep 04, 2008 at 09:18 AM

Content of Node after Roundtrip?

10 Views

Hi All,

my application fills modified rows of a table into a context node. Subsequently, the content of this node is sent to a Back End System using RFC. It works fine with the first round trip. However, with the second round trip there are the old elements still in that context. I have tried to remove all elements and to invalidate the node, but still there are undwanted elements in that node.

I have tried:

for (int i = 0; i < wdContext.nodeModifiedCustomers().size(); i++){
	wdContext.nodeModifiedCustomers().
          removeElement(wdContext.nodeModifiedCustomers().getElementAt(i));
}

and

wdContext.nodeModifiedCustomers().invalidate();

but in the second round trip there still are elements in the node.

I guess I need to make the node having the intial content (the first roundtrip works fine).

Whats wrong?

Thanks, Johannes