Hi Krishna
In HRAUTH we see these values for the user:
MANAGER 1 01 O O 107732 108053 PERSON 12 0 X F 01.03.2014 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 107850 108053 PERSON 12 0 X F 01.05.2008 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 108053 108053 PERSON 12 0 X F 01.01.1900 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 108437 108053 PERSON 12 0 X F 01.05.2008 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 108659 108053 PERSON 12 0 X F 01.01.2009 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 108660 108053 PERSON 12 0 X F 01.01.2009 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 108661 108053 PERSON 12 0 X F 01.03.2014 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 1 01 O O 108662 108053 PERSON 12 0 X F 01.01.2009 31.12.9999 RH_GET_MANAGER_ASSIGNMENT
MANAGER 5 01 P 102001 0 0 X 01.01.1900 31.12.9999 RH_GET_OBJECTS_OF_MANAGER
MANAGER 5 01 P 102039 0 0 X 01.01.1900 31.12.9999 RH_GET_OBJECTS_OF_MANAGER
MANAGER 5 01 P 102788 0 0 X 01.01.1900 31.12.9999 RH_GET_OBJECTS_OF_MANAGER
In parallel I opened an SAP message and I got this answer.
Is this the reason that we get more object IDs extracted into BW. Why do we see different Orgunits and incorrect time validities in BW?
"....Thank you for the system connection and adding authorization. You are
right, there is different object type shown in transaction HRAUTH than
in extractor. For the Object ID 102039 we have object type P shown in
HRAUTH and object type O in extractor. The right is to have object
type O as in extractor. The same can be checked when executing report
RHBAUS00 to fill the INDX with authorization object. Please use report
RHAUTH_VIEW_INDX to see the data in INDX (for details see the note
836478). That you can see object type P is display problem which is
cause by the wrong customizing.
In the MANAGER profile definition you have following:
MANDT PROFL LFDNR PLVAR OTYPE OBJID WEGID SVECT DEPTH SSIGN MAINT PDATE PFUNC
200 MANAGER 005 01 P 00000000 0 X RH_GET_OBJECTS_OF_MANAGER
Function module RH_GET_OBJECTS_OF_MANAGER is used to deliver root
objects and you specified that the root objects are type P. But this
function module delivers not only P but O objects too. Please see the
documentation and how it is done in our standard function module
RH_GET_MANAGER_ASSIGNMENT or RH_GET_ORG_ASSIGNMENT . These function
modules determine O as root objects. The objects type O is filtered in
the code (line 91):
LOOP AT result_tab WHERE otype = 'O'.
obj_tab-objid = result_tab-objid.
OBJ_TAB-PLVAR = I77PR-PLVAR. "note 993660
OBJ_TAB-OTYPE = RESULT_TAB-OTYPE. "note 993660
COLLECT obj_tab.
ENDLOOP.
The RH_GET_OBJECTS_OF_MANAGER delivers diverse objects type and you
specified that the root objects are P objects type. If so than please
deliver only objects type P. Or in your case if you want to evaluate
structure under all objects of manager please leave the object type
empty..."