Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 04, 2011 at 09:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded