Skip to Content
Former Member
Jul 03, 2006 at 04:26 PM

How to determine if data in model has been retrieved once



I want to retrieve and populate my model node data only one time per employee session.

I can't seem to figure out how to determine if the model node has been populated once or not. I tried inspecting the size of the node. I tried the isEmpty() method. I tried checking for null value. I also manipulated the cardinality of my node without success.

1. What is the correct program code to determine if a node has been populated once already (via a call to an SAP function module)?

2. Is the correct cardinality of the node "0..1"?

3. A refresh of the browser shouldn't invalidate the model data, should it?

Thanks much!