cancel
Showing results for 
Search instead for 
Did you mean: 

How to get all organizations from PPOMA_BBP?

Former Member
0 Kudos

Hi,

I need functional module or search help to getting all organizations (type O) from PPOMA_BBP. Please help me.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check FM-RH_STRUC_GET and pass ACT_WEGID parameter as O-O_DOWN and you should be able to fetch all the downstream units.

ACT_OTYPE should be entered as "O" and ACT_OBJID should be entered as the highest org id you have in PPOMA_BBP.

Regards,

Ajay

ivy_li
Active Contributor
0 Kudos

Hi Ajay,

Yes, this indeed works, but only when we know the root node.
I am afraid that we have no FM or program to list all the nodes without knowing the root node, right?

BR,
Ivy

robin_janke
Contributor
0 Kudos

You can find the root node with FM RH_STRUC_HELP_ROOTS_GET with following data:

SEARCH_PLVAR                    01

SEARCH_OTYPE                    O

SEARCH_WEGID                  

SEARCH_WEGID_INT

SEARCH_SVECT

SEARCH_BEGDA                    27.05.2015

SEARCH_ENDDA                    27.05.2015

Regards,

Robin

ivy_li
Active Contributor
0 Kudos

Hi Robin,

This FM is the point!

BR,
Ivy