cancel
Showing results for 
Search instead for 
Did you mean: 

Relation between user-id and organizational units PPOMA

Former Member
0 Kudos

Hello,

For a customized report I need to find the relationship between a Organizational unit in PPOMA_BBP and its users and other org.units asigned to it in that structure.

In what tables can I find these relationships or is there a function, BADI available, to get this information?

Thanks for any clue.

Bye

Aart

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Aart,

The FM  RH_STRUC_GET will link between user and org unit .

Refer this link http://scn.sap.com/thread/3210761.

Regards

Ashok

Answers (2)

Answers (2)

Former Member
0 Kudos

CALL FUNCTION 'RH_READ_INFTY'

     EXPORTING

*     AUTHORITY            = 'DISP'

*     WITH_STRU_AUTH       = 'X'

*     PLVAR                =

*     OTYPE                =

*     OBJID                =

       infty                = '1001'

       istat                = 1

*     EXTEND               = 'X'

       subty                = 'B207'

*     BEGDA                = '19000101'

*     ENDDA                = '99991231'

*     CONDITION            = '00000'

*     INFTB                = '1'

*     SORT                 = 'X'

*     VIA_T777D            = ' '

     TABLES

       innnn                = lta_p1001

       objects              = lta_object

     EXCEPTIONS

       all_infty_with_subty = 1

       nothing_found        = 2

       no_objects           = 3

       wrong_condition      = 4

       wrong_parameters     = 5

       OTHERS               = 6.

robin_janke
Contributor
0 Kudos

Hi,

and the table is HRP1001.

Regards,

Robin