cancel
Showing results for 
Search instead for 
Did you mean: 

How to find vendors connected to purchasing org.

Former Member
0 Kudos

Hi all,

Please help me with the following:

I want to know how many vendors are connected to purchasing org. Where I can find this information?

Regards,

Pierre

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pierre,

Try to use Function Module BBP_VENDOR_GETLIST.

Regards,

Marcin Gajewski

Former Member
0 Kudos

Hi Marcin

Than you for your quick reply.

I will try this FM.

Pierre

Former Member
0 Kudos

Hi Marcin, Luciano

I need one more thing. Is there a possibility to check vendors connected to purch. org. basing on logged user? For example: when purchaser log on to system i want to know what is his purch org and vendors connected to him.

Thanks,

Pierre

Former Member
0 Kudos

Hi Pierre,

If You want to know this try do following thing:

call function 'BBP_OM_DETERMINE_COMPANY'

exporting

i_user_id = sy-uname

importing

e_orgunit = <value_of_company_no>.

convert e_orgunit to type bbp_proc_org.

call function 'BBP_VENDOR_GETLIST'

exporting

pd_org = <converted_company_no>

x_with_name = 'X'

x_r3_only = 'X'

tables

vendor_set = <table_with_vendors>.

I hope it helps.

Regards,

Marcin Gajewski

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello , the relation between a vendor and a purchasing organization is table BBPM_BUT_FRG0061 .

Table BUT000 has the readable information for the vendor with partner_guid taken from BBPM_BUT_FRG0061.

Regards, Luciano.