on 02-06-2010 12:54 PM
Hi
In a web dynpro abap application I have embedded an OADP to retrieve employees from org structure.
The problem is that the OADP retrieves data from the cache and the result don't reflect the actual org structure.
We use component OBJECTDATAPROVIDER.
Is there a way to delete the cache?
Thanks a lot for your answer.
Karim
Hi Karim,
Yes there is - try the function modules
HRWPC_OADP_DELETE_TGTOBJCACHE
HRWPC_OADP_DELETE_SRCHOBJCACHE
HRWPC_OADP_DELETE_NAVOBJCACHE
HRWPC_OADP_DELETE_DATAVWCACHE
Depending on what you want to refresh - you may not need to call all of them.
if you do this in the init of your app you can be sure to get the latest versions of the structure.
However, be aware that it can take some time for the OADP to read and build these structures - which is why they were cached in the first place! Depending on what you are trying to achieve, you may be better off (from a response time) building your own code.
Hope this helps,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.