cancel
Showing results for 
Search instead for 
Did you mean: 

FM required for Getting the Hierarchy

Former Member
0 Kudos

Hi all,

Can anyone tell me how to get Sales group and Sales office frm the Org Unit?

This hierarchy frm ORG UNIT to SALES OFF is maintained in PPOMA_CRM.But i wnat to know is there any FM whcih can give me the hierarchy?

Regards,

Disha.

Accepted Solutions (0)

Answers (2)

Answers (2)

KaushalShah
Active Contributor
0 Kudos

You can use function module RH_STRUC_GET.

You will have to use appropriate act_otype & act_wegid.

Hope it helps.

Regards,

Kaushal

Former Member
0 Kudos

Hi,

ANy other options Guys???

Regards,

Disha.

KaushalShah
Active Contributor
0 Kudos

Use function module RH_STRUC_GET.

Give following input parameters:

ACT_OTYPE: O

ACT_OBJID: <your 8 digit CRM sales org number> ex. 12345678

ACT_WEGID: O-O_DOWN

This should give you the whole downward hierarchy.

You can give validity dates as well.

Hope this helps.

Regards,

Kaushal

former_member927251
Active Contributor
0 Kudos

Hi Disha,

Have a look at the FM's in the function group CRM_BUPA_ORG_MANAGEMENT in SE38.

<b>Reward points if it helps.</b>