cancel
Showing results for 
Search instead for 
Did you mean: 

FM or Table to get the BP ID of Root org unit

Former Member
0 Kudos

Hello All

We are triggering code from ECC which replicates Ship to Address to SRM.

We want to know an FM or Table which will provide us with the BP # of the root org unit. ( Purchasing company)

It is preferable if we don't have to hard code this.

Thanks

Kedar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kedar,

If you know the ORG ID,pass it to the FM"BBP_OM_DETERMINE_COMPANY" andyou will get the BP details for the org.

BR,

Deepti.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you both!

Former Member
0 Kudos

Hi Kedar,

Create a custom table to store the business partner of the root org unit or the company code and then use that table to get the BP and create ship to address for that org.

The could BP will be different in different environmnet so you cannot hard code that .. also there is no function module to get the BP of the Root org id or compnay code...

there are FM and table to get all id of company code etc but all reuqire input busines spartner which you willhave to enter ...

Thanks

Iftekhar Alam