cancel
Showing results for 
Search instead for 
Did you mean: 

getting default vendor in source of supply for shopping cart

Former Member
0 Kudos

Hi All,

I have a requirement in SRM system transaction BBPSC03.While creating shopping cart items,if I am not entering the vendor and continue to next screen,it will give a option to select the vendor.I will select a vendor over there.Now if I want to create a new line item in the shopping cart by again going to step '1', the preferred vendor should be automatically populated with the vendor selected in item1.As this is a standard screen and standard transaction,Hope someone can help me.

Please ask if any clarifications.I require this ASAP.Please help me.

Thanks in advance

Regards,

Akanksha

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Your SRM Vendor must be assigned to backend vendor.

To do this, follow these steps:

in transaction BBPMAININT or 'Manage Business Partners' from web side choose BP number and click Edit.Go to Vendor Data tab and fill table 'Link to backend system' like this:

Logical system = logical system of your R3 backend

Vendor = vendor number from transaction XK03 Transaction ( R3 - Backend side)

Regards

- Atul

Former Member
0 Kudos

Hi

Please refer to the following links which deal with the same issues, you are facing.

<b>

As Yann told, you need to create a custom implmentation of the BBP_DOC_CHANGE_BADI using SE18 Transaction and paste your code - logic there accordingly.

Some other useful OSS notes ->

<b>968251 BBPSC02:In source of supply preferred vendor not validated

1017288 SRM@ERP : no vendor replication into follow-on documents

831833 Search help for preferred vendor does not update data

845883 Preferred vendor search help does not retrieve values

980450 Shopping cart: search help for preferred vendor

860886 Incorrect search results for deleted 'Preferred Vendor'

711197 Preferred vendor not copied from template

739531 Preferred vendor/service agent must not be changeable

733899 Complete shopping cart: Preferred vendor disappears

634794 Preferred vendor: partner not found

726102 Performance in vendor search help

647760 Shopping cart: Preferred vendor / partner not found</b>

Let me know incase you face any issues.

Regards

- Atul

yann_bouillut
Active Contributor
0 Kudos

Hi,

You have to activate badi bbp_doc_change for BUS2121 (shopping cart) to copy vendor from first item to the other items.

Kind regards,

Yann

Former Member
0 Kudos

Hi,

Can you please explain me in a bit detail manner how to activate this.

Thanks in advance

Regards,

Akanksha

yann_bouillut
Active Contributor
0 Kudos

Hi,

Here is an example (not your case) to convert prefered to fixed vendor in the shopping cart.

method IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE .

Constants : c_vendor type BBP_PDS_PARTNER-PARTNER_FCT

value '00000019',

c_preferred_vend type BBP_PDS_PARTNER-PARTNER_FCT

value '00000039'.

Data : ls_partner type BBP_PDS_PARTNER.

*Read Table it_partner into ls_partner With key PARTNER_FCT = c_vendor.

*

*If sy-subrc NE 0.

Loop at it_partner into ls_partner

where PARTNER_FCT Eq c_preferred_vend.

Move c_vendor To Ls_partner-PARTNER_FCT.

Modify it_partner from ls_partner index sy-tabix.

Endloop.

*Endif.

et_partner[] = it_partner[].

ET_ORGDATA[] = IT_ORGDATA[].

ET_ITEM[] = IT_ITEM[].

ES_HEADER = IS_HEADER.

ET_ACCOUNT[] = IT_ACCOUNT[].

*break ybo

*IT_PARTNER

*ET_PARTNER[]

endmethod.

Kind regards,

Yann