Skip to Content
avatar image
Former Member

FM which returns the Root org

Hi,

Is there any FM which returns the Root organisation ID maintained in the Org structure in trascn PPOMA_BBP?

FM "BBP_OM_DETERMINE_COMPANY" returns the company for a user but I want a FM which returns the Org id(root) which may not necessarily be a company.

All responsed will be awarded with points!

BR,

SRM Tech.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 21, 2008 at 02:39 PM

    Hello,

    I have not used this FM but it may point you in the right direction...

    RH_STRUC_GET_MULTIPLE_ROOTS

    Regards, Dean.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 21, 2008 at 03:10 PM

    Hi,

    I am not getting any values using this FM .

    BR,

    Disha.

    Do reward points for useful answers.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,


      I stumbled using the RH_STRUC_GET_MULTIPLE_ROOTS, it seems it returns all the hierarchial connection of the given O (ORGEH) number.

      Provided that i gave a single ORGEH number in TABLES parameter ROOT_OBJECTS. It gave all the parent of the parent of the org unit until it reaches the top org unit.

      Hope this helps.

  • May 27, 2008 at 09:13 AM

    Hi. I am not sure if this would be ideal, but you could create a custom attribute in table T77OMATTR called "Root Node".

    Then you could flag this with an X in PPOMA_BBP.

    Then you could select from table HRT1222 where your new attribute = X.

    Regards,

    Dave.

    Add comment
    10|10000 characters needed characters exceeded