cancel
Showing results for 
Search instead for 
Did you mean: 

Get Company code to which a Purchase Org. belongs

Former Member
0 Kudos

Hi Experts,

I would like to know if there is a Function Module or a table to get the company code which a Purchase Organization belongs.

What I need is to get the company code which is displayed in the PPOMA_BBP Tx. in tab "Function". For a Purch. Org. the checkbox "Purchase Org." is checked and there is also a field which contains the Company Code.

Thanks in advance,

best regarfds.

Martin

Accepted Solutions (0)

Answers (3)

Answers (3)

laurent_burtaire
Active Contributor
0 Kudos

Hello Martin,

Depending on your organizational plan, check :

- function module BBP_OM_DETERMINE_COMPANY,

- table view HRV5500A.

Regards.

Laurent.

Former Member
0 Kudos

hello,

check if using FM BBP_READ_ATTRIBUTES will help. pass on the org unit of the purch org, then export the comp code using BUK attribute.

regards.

former_member183819
Active Contributor
0 Kudos

BBP_PDORG table has docuement wise

fm

BBP_GET_COMPCODES_F4

BBP_GET_PGRPCOMPS_F4

BBP_GET_PORGCOMPS_F4