on 07-13-2009 12:14 PM
Hi Experts!
I have a problem with cached data. We have a formular, which is dynamically created by data we get from SAP by RFC Module.
In the formular we have identically defined input fields, where its different is just the definition of character and numeric values in SAP. For
Webdynpro we get these data in the same Context Node.
My problem now is, that the character input fields are not cached, but the numerical values are set with values of a formular which was opened before.
When exucuting the RFC I do invalidate the context-Nodes. What else can I do to clear the cache??
I have searched the forum for days now, but I couldn't find anything.
Hope I explained it clearly and s.o. can help!
Best Regards
Alkistis
Hi Alkistis
If you invalidate the root model context node which is bound to your RFC input model class then all the context node(s) will be populated with a fresh data coming from the BAPI invocation.
Could the problem be on ABAP side? I mean have you checked the BAPI data coming to your context?
Additionally, if you use calculated context attributes the problem might be caused by them.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sergei!
Thank you for your answer.
Yes, I have invalidated the root context AND the special context-node.
Unfortunatly we are not able to do debugging on our server, but the data inside SAP are correct. So I expect them to be correct.
I believe that this is a caching model. I tried to find a method like clear or s.th. like that in the API, to clear everything when I leave the view of the formular. But also the result was the same.
Now we are thinking to initialise those fields with 0 in SAP, as existing values are not overwritten with the old values.
Best regards,
Alkistis
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.