Skip to Content

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

Content of Node after Roundtrip?

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

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