Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question