cancel
Showing results for 
Search instead for 
Did you mean: 

Web dynpro abap and OADP cache

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

ChrisPaine
Active Contributor
0 Kudos

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