cancel
Showing results for 
Search instead for 
Did you mean: 

Relationship with the BP transaction...???

Former Member
0 Kudos

Hi all,

Actually, I am working with the Business Partner(BP) transaction. I have loaded some of the contact data using the LSMW. Now I need to create relationship between the customer contacts and the main customer masters.. There is a RELATIONSHIP TAB in the BP transaction which creates the relationship between the partners.... I did created some of the relations manually, but I have to do it for a large amount of data.... Can anyone give me a idea as to how will I be going forward, is there any method that I need to follow or do I need to write any program.... ??

If at all, I need to write a program, is it possible to give me a sample code????

I will really appreciate your answers in the form of points.

Thanks,

-Warren....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

there is a tab for bp relationship creation at top most left side 'relation ships'.

Answers (4)

Answers (4)

Former Member
0 Kudos

hi,

first u create bp. using lsmw or bapi.now ur bp are in crm.

then u add roles and relationships tobp using bapi.

ok

thanks

Former Member
0 Kudos

go to se37

BAPI_BUPR_RELATIONSHIP_CREATE , u will find it.

u igve partner1 swathi

partner 2 :johnson.

rel type: check it from bupt.

u can follow...

u should write report using bapi.

BAPI_BUPR_RELATIONSHIP_CREATE

Former Member
0 Kudos

Hi Swathi,

I got the BAPI..

Now the question is, as you said that I have to write a report using BAPI_BUPR_RELATIONSHIP_CREATE..once I write the report, the selection screen will have all the fileds which the BAPI is having, but how will it creat relationship for, lets say, 10,000 records, ie 10,000 relationship having contact client bp number and customer master number???

will this bapi be useful or do I need to do the LSMW recording method and then give a flat file???

Let me know about it...

Thanks, Warren

Former Member
0 Kudos

there is a tab for bp relationship creation at top most left side 'relation ships'.

Former Member
0 Kudos

hi,

u can use bapi.

first u up load the data in to crm.

and later u use bapi to create relation ships.

thanks

swathi

Former Member
0 Kudos

Hi Swathi,

In the BAPI transaction, I can see the BAPI_BUPR_RELATIONSHIP_GET but I cannot see the BAPI_BUPR_RELATIONSHIP_CREATE.

Now the question I have is that I have loaded some of the test data into the BP transaction and wanted to create the relationship between the customer masters and that of the contact persons..

So even if I use the BAPI_BUPR_RELATIONSHIP_CREATE, how do I go forward... is it possible that you can give me a sample code or something??? also, I have lot of relationship to be done, so do I need to give me the contact person BP number as a flat file to the

BAPI.. does it accept that or how do I do???

Let me know. I appreciate your answers...

Thanks, Warren