Skip to Content
0
Former Member
Oct 28, 2013 at 03:54 AM

OrgUnit Listing issue in TeamManager 4.0 SP1

25 Views

I have got a problem in OrgUnit Listing, it seems to be Cache problem.

1. Login with user A at the first time and search => Data is based on user A strucutral authorization (by modified Bapi_Pdotypes_Getdetailedlist)

2. Login with user B later => Search data still be A's Data because RFC is not called

Below is RFC Trace

First Time

Sun Oct 27 20:42:50 ICT 2013 - start setsearch

Sun Oct 27 20:42:50 ICT 2013 - start Data call

Sun Oct 27 20:42:50 ICT 2013 - start Bapi_Pdotypes_Getdetailedlist

Sun Oct 27 20:42:51 ICT 2013 - end BAPI_PDOTYPES_GETDETAILEDLIST 95ms

Sun Oct 27 20:42:51 ICT 2013 - end Bapi_Pdotypes_Getdetailedlist 219ms

Sun Oct 27 20:42:51 ICT 2013 - end Data call 225ms

Sun Oct 27 20:42:51 ICT 2013 - end setsearch 348ms (SAP Data: 219 ms) (RFC: 95 ms)

Second Time

Sun Oct 27 20:44:56 ICT 2013 - start setsearch

Sun Oct 27 20:44:56 ICT 2013 - start Data call

Sun Oct 27 20:44:56 ICT 2013 - start Bapi_Pdotypes_Getdetailedlist

Sun Oct 27 20:44:56 ICT 2013 - end Bapi_Pdotypes_Getdetailedlist 3ms

Sun Oct 27 20:44:56 ICT 2013 - end Data call 7ms

Sun Oct 27 20:44:56 ICT 2013 - end setsearch 90ms (SAP Data: 3 ms)

I can perform search (with RFC called) again after 1 hour or after restart server. How can I force RFC to be called every time I click search?

( I have already change <cacherequests><![CDATA[true]]></cacherequests> to <![CDATA[false]]> in SAPOrgUnitSearchDataElement, SAPOrgUnitSearch but nothing change. )