cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Purchase Org ID using BP Number in SRM

Former Member
0 Kudos

Hi Experts,

Please suggest, as we have a requirement where we need to find the Purchase Org ID using BP Number in SRM.

We need to check that contract once distributed is going to which Purchase Org/System in SRM backend. We can view the same in Portal but need to get it in SRM Backend. I checked the search help for the same is using the BP Number mapped to Purchase org.

So we need to find the Purchase Org ID using BP Number in SRM.

Thanks in advance.

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

use RH_STRUC_GET function module with following importing parameters:

In RESULT_TAB, you will have the Organizational Unit ID.

For importing parameter ACT_OBJID (BP number), do not delete leading zeros.

Regards.

Laurent.

Answers (3)

Answers (3)

ivy_li
Active Contributor
0 Kudos

Hi Gaurav,

For FM BBP_PDH_PO_DET_BE_PUR_ORGS, you may insert BP number in table IT_PARTNER- PARTNER_NO and corresponding backend system in IV_LOGSYS, and the result will show the corresponding ECC side purchasing organization and group:

EV_BE_PUR_ORG

EV_BE_PUR_GROUP

For FM RH_STRUC_GET, you may insert:

ACT_OTYPE                       BP

ACT_OBJID                       0000000115--BP number should have 10 digits with leading zero

ACT_WEGID                       BP-O/CP

And the result will be as below:

RESULT_TAB--contains organization ID

RESULT_OBJEC--contains organization ID and its organization name

RESULT_STRUC--contains organizational structure

Hope this will be of help.

Best regards,

Ivy

Former Member
0 Kudos

Thanks all for the responses
Issue resolved.

aromalr
Active Participant
0 Kudos

Hi, If you are looking for a custom program use the FM BBP_OM_DETERMINE_RESP_PGRP Regards Aromal

Former Member
0 Kudos

Hi Gaurav,

Use FM "BBP_PDH_PO_DET_BE_PUR_ORGS"

in IT_PARTNER, enter the BP no. in PARTNER_NO.

input : BP number

output : Pur org id.

Best Regards,

Anil