cancel
Showing results for 
Search instead for 
Did you mean: 

Bidder creation in SRM for replciated vendors

former_member1362181
Participant
0 Kudos


Hi ,

I have one requirment is Vendors got replicated form MM system to SRM system.

Now customer wants that for created all vendors , need as bidders. If any new vendor will replicate from ECC to SRM for that also bidder has to create immediatley.

Please guide me how to proceed for this.

is it possible to create bidder and contact person same time for a vendor who replicated already and also for replicating new vendor from ECC.?

SRM version : SRM 7.02.

Scnarios: selfservice procurement (extended classic scnario) & PDP scnario

Thanks,

Viswanath

Accepted Solutions (0)

Answers (3)

Answers (3)

laurent_burtaire
Active Contributor
0 Kudos

Hello Viswanath,

during standard vendor replication from ECC to SRM, Bidder Business Partner role (BBP001) is created at the same time that the Vendor Business Partner role (BBP000).

Nevertheless, you need to create Bidder data (check /SAPSRM/CL_PDO_MO_BP_BIDDER class), then the Contact Person (check /SAPSRM/CL_PDO_MO_BP_CONT_PERS class given by Ivy).

Regards.

Laurent.

former_member1362181
Participant
0 Kudos

Hi All,

Sorry for late reply.

I am not understanding while replicating vendor from MM to SRM, will bidder role create automatically ?

what is bidder data then,?

Actually I wnat to create bidders and contact person for vendors.

creating bidder means we are giving bidder role : /SAPSRM/BIDDER_EHP1. ohter than this can I consider any thing  ?

Thanks,

Jayasree


ivy_li
Active Contributor
0 Kudos

Hi,

We also have BP roles in SRM:

For vendor, BP role is BBP000
For bidder, BP role is BBP001

BR,
Ivy

ivy_li
Active Contributor
0 Kudos

Hi,

If you don't want to use standard way "create contact person with reference", you may try FM BBP_CREATE_CONTACT_PERSON to see if this works.

In method /SAPSRM/IF_PDO_MO_BP_CONT_PERS~CREATE_CONT_PERS
(class /SAPSRM/CL_PDO_MO_BP_CONT_PERS), this FM is called with the following parameters:

  CALL FUNCTION 'BBP_CREATE_CONTACT_PERSON'

    EXPORTING

      iv_partner1                   = iv_partner1

      iv_partner_guid1              = iv_partner_guid1

      is_data                       = ls_pd_bupa-data_p_tmp

      is_data_person                = ls_pd_bupa-pers_tmp

      is_pers_addr                  = ls_pd_bupa-pers_addr_tmp

      is_cont_addr                  = ls_pd_bupa-cont_addr

      is_cont_addr3                 = ls_pd_bupa-cont_addr3_tmp

      is_password                   = ls_pd_bupa-password

      is_username                   = ls_pd_bupa-username

      is_logondata                  = ls_pd_bupa-logondata

      is_userdefaults               = ls_pd_bupa-user_defaults_tmp_cp

      iv_address_number             = lv_addr_num1

      iv_address_guid               = lv_addr_guid1

      iv_xxs_check                  = 'X'

      iv_no_commit                  = 'X'

      iv_create_user                = lv_create_user

      iv_assign_user                = ls_pd_bupa-use_su01_user

      is_central_customer_ext       = ls_pd_bupa-data_central_ext

Please input all these parameter to test the FM for one bidder.
If it works, you may schedule this as a Z-program and run it periodically.

BR,
Ivy

YayatiEkbote
Contributor
0 Kudos

Hello Vishwanath,

Vendors are replicated from ECC to SRM, which means, the business partner for vendors exist in table BUT000. Right?

If yes, then you need to provide bidder role BBP001 in transaction BP and create a business partner as contact person in relationships section of transaction BP .

If you have to automate this for large number of vendors, then update the following tables - BBPM_BUT_FRG0010 - FM BBP_BUPA_FRG0010_CREATE / BBP_BUPA_FRG0010_CHANGE

BBPM_BUT_FRG0020 - FM BBP_UPDATE_FRG0020

For contact person -

Use FM BBP_CREATE_CONTACT_PERSON  to create a contact person.

You can create a program to get the details of BUT000 table and create bidder role and contact person. Schedule a job for this for new vendors.

Hope this helps!!