cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to get the "head of own organizational unit"

Former Member
0 Kudos

I am using transaction PPOMA_CRM and I would like to know the function module to get the "head of own organizational unit" for a given organizational unit. I would like to know not only the name of the FM, but also how it works since many people suggest FM that I do not know how to use. I expect a FM with for example input paramters "O 50000641" and return the BP numbers of the BP under the position flagged as "head of own organizational unit".

Please help me!

Thanks,

Antonello

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Antonello,

try the following function module:


    call function 'RH_STRUC_GET'
      exporting
        act_otype    = O
        act_objid      = 50000641
        act_wegid    = 'BOSSONLY'
      tables
        result_tab     = lt_boss
      exceptions
        no_plvar_found = 1
        no_entry_found = 2
        others         = 3.

Regards,

Christoph

Former Member
0 Kudos

You solved my problem! Thanks!

Answers (0)