cancel
Showing results for 
Search instead for 
Did you mean: 

Bidder creation via program

former_member183819
Active Contributor
0 Kudos

Hello All,

BAPI_BUPA_CREATE_FROM_DATA - created a contact person and generate BP ID

BAPI_BUPA_ROLE_ADD - assigned Contact person Role (bup001)

and i want to integrate this contact person to SRM vendor organisation structure so that this person ill become a BIDDER

Please suggest the function module so that this contact person  will be linked to Vendor org structure .

Thanks

Muthu

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Muthu,

if you want to have a SUS functionality - you could use function module BBP_SUS_UM_API

Best Regards

Konstantin

former_member183819
Active Contributor
0 Kudos

Hi

let me explain again.

i just created user(BIDDER)  in GUI and i wanted to link the USER to Vendor Organisation structure so that contact person will be created .

please suggest function module.

Muthu

konstantin_anikeev
Active Contributor
0 Kudos

Hi Muthu,

as far as I know, the contact person BIDDER is a SUS role. This users can be synched with SRM.

Mentioned function module can create user assignment to BIDDER.

Please, have a look, what it does, when IV_ACTION = 'CHANGE_BP'

There is no direct assignment SU01 User to BP. You have to create BP and CP for user. Link User to BP via CP, and then link two BP's.

Alternative.

Function Module BBP_CREATE_CONTACT_PERSON or BBP_CREATE_CONTACT_USER

Best Regards

Konstantin

former_member183819
Active Contributor
0 Kudos

Hello Konstantin

Thanks For your help.

I need small help.

now bidder contact person created under ppomv_bbp but the email id and telephone number were not updated since we are using some custom program.

now i go to vendor BP and go to relationship and find my contact person and update the telephone number and email id.

now almost problem is resolved. i want to kno hich function module update the contact person against vendor

Thanks

Muthu

konstantin_anikeev
Active Contributor
0 Kudos

Hi Muthu,

have you tried BBP_CHANGE_CONTACT_PERSON?

Best Regards

Konstantin

former_member183819
Active Contributor
0 Kudos

Thanks, I execute this FM

There is no address for business partner 1xxxxx( bidder contact person)

Exception       CONTACT_WITHOUT_ADDRESS

Message ID:          R1                         Message number:           612

Message:

There is no address for business partner 1XXXXXX

if i added Mail id , tel number , my problem is resolved in the front end via BP transaction and in the web i could see contact person details are updated correctly. Bidders are available for search too.

Muthu

konstantin_anikeev
Active Contributor
0 Kudos

Hi Muthu,

may be you called it with the wrong parameters.

IV_PARTNER_COMPANY

IV_PARTNER_CONTACT

IV_ADDRESS_NUMBER (IV_ADDRESS_GUID) are obligatory.

Actually, it (function module) calls BUPA_CENTRAL_CHANGE and BUPA_ADDRESS_CHANGE - it should work the same way as change via BP Transaction

Best Regards

Konstantin

former_member183819
Active Contributor
0 Kudos

Thanks . IV_ADDRESS_NUMBER - ? Where i can find  this number.(from ADRC) to pass in this FM?

--

We have followed the same

1.BUPA_CREATE_FROM_DATA -

we get the bp_guid

2.We are using BUPA_ROLE_ADD_2  to add role of business partner(BUP001)

3.Finally we are passing to fm BAPI_BUPR_RELATIONSHIP_CREATE

  to create relationship between BP an contact person



konstantin_anikeev
Active Contributor
0 Kudos

Hi Muthu,

you can use

BAPI_BUPA_ADDRESSES_GET

BAPI_BUPA_ADDRESS_GETDETAIL

BAPI_BUPA_ADDRESS_GET_NUMBERS

Best Regards

Konstantin

former_member183819
Active Contributor
0 Kudos

Hi Konstantin

Thanks for all you do.

As you aware , All contact person creates separate address number.

not in my case address number was not created.

---

for ex. i created a contact person w.r.t bidder and address number created automatically created.

for ex. i create a contact person w.r.t bidder and address number not created automatically.

thats why i am getting this below error

Exception       CONTACT_WITHOUT_ADDRESS

Message ID:          R1                         Message number:           612

Message:

There is no address for business partner 1XXXXX

----------

i get above error

iv_comapny = bidder supplier number

iv_partmer = bp of contact person

iv_address number= bidder supplier address number,

Thanks

Muthu


Answers (0)