Hi group
I need to be able to find company code (BUKRS) when I have the org.unit. As BUKRS is inherited, I know I have to go up the hierarchy until I find the unit where BUKRS is stored.
I have found FM RH_PM_GET_ACCT_ASSIGN_FEATURES that gives me the BUKRS when I give the correct org.unit.
Naturally, it returns nothing before I reach the correct unit travelling up the hierarchy.
I would very much appreciate if someone could post an example code for how I can achieve my goal. Also, if there is another FM I should use.
Thanks in advance
Kirsten