Get partner number from purchase organization
I have to get the address of a purch org as I see in the PPOMA_BBP; how can I get the partner number to get address number from tables BUT000 and BUT020?
David Barber replied
Hi. Where are you starting from? Do you just have the org unit number?
To find purchase orgs look in tables HRT5500 and HRP5500.
Once you have the org unit number go to table HRP1001.
Put in object type O and org unit = your purchase org unit then look for relationship type B 207 and related object type = BP
The business partner number is in field SOBID.