cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Purch Org detail?

Former Member
0 Kudos

Hello,

I have a little problem..

I am searching for a FM, table, BAPI, anything where it is possible to retreive data from an org ID, ex 'O 50000425'.

I am mainly intereted in the link to the Business Partner number and which purchasing org it is linked to.

Any hints appreciated!

Thanks

Nam

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Try the FM BBP_PDORG_GETDETAIL.

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

Hello,

thankyou for your response!

However I am having trouble to use this FM. It gives me "buffer not up to date" and shortdumps. Any tips on how to use it? Wanted to check here before I pun an OSS up incase there is something I am missing.

Thanks

Nam

Former Member
0 Kudos

Hello,

If You want to know, who is linked to your company use following FM's.

BBP_OM_DETERMINE_COMPANY where I_ORGUNIT_ID = 50000425.

You get E_ORGUNIT = <company ID>.

call function 'BBP_VENDOR_GETLIST'

exporting

pd_org = <company ID>

x_with_name = 'X'

x_r3_only = 'X'

tables

vendor_set = lt_vendorlist.

Regards,

Marcin Gajewski

Former Member
0 Kudos

Hello Marcin,

thankyou for your reply!

However in SRM 5.0 I dont have a dunction module called BBP_VENDOR_GETLIST.

I might have been unclear: What I mean exactly is that the Org ID I enter (ex 50000031) is the actual purchasing org in ppoma_bbp, and what I want back is the p.org in the backend that it is assigned to, eg under the "functions tab" in the detail screen.

Thanks again,

Nam

Former Member
0 Kudos

Nam

Check table <b>hrv5500a</b> to get the corresponding backend system details like Plant, Purch Org, P Grp for a particular Object_ID.

PS : Reward points if helpful.

Regards

Jagadish