cancel
Showing results for 
Search instead for 
Did you mean: 

SAP SRM - FM for Getting Purchasing Org from User

Former Member
0 Kudos

Hi All,

Can u help me in finding the function module to get the purchasing organization from the user id.

Thanks,

Rani.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

First give User name to the FM BBP_OM_STRUC_GET_ORG_FROM_USER u will get output as org 2

And again call the new FM BBP_OM_STRUC_GET_ORG_FROM_ORG and pass org2 as input...

Like this u need to do recursively until root node reaches and collect all the nodes into and internal table

then you check all u r documents corresponding to which org unit agains the collected org units.

regards

Devi

Former Member
0 Kudos

Hi Devi,

Thanks for your reply.

can u help me in this thing that how can i fnd the root node, if the user is assigned to more than one org unit....

i mean, how to use recursive thing...

Thanks,

Rani.