cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the company code for a purchase organization or purchase group

Former Member
0 Kudos

hi

How do we get the company code for a purchase organization or purchase group.

we can use hrp1001 table to get the details. but is there any standard function module to get the information.

Thanks & Regards,

Raja

Accepted Solutions (1)

Accepted Solutions (1)

imthiaz_ahmed
Active Contributor
0 Kudos

Use FM BBP_OM_DETERMINE_COMPANY and pass the appropriate Org unit of PGrp.

Regards, IA

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can use the FM "BBP_OM_DETERMINE_COMPANY" to get the comapny(maintained in the FUNCTION tab in PPOMA_BBP) as well as the attribute value (attribute BUK) for the purchasing group/org.

Pass the Object ID for the Pur group/org to this FM and you will get all the details as maintained in the Org structure in transaction PPOMA_BBP.

BR,

Disha.

Do reward points for useful answers and close thread if your query is answered.