Skip to Content
author's profile photo Former Member
Former Member

Relationship with the BP transaction...???

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....

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2005 at 04:13 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2005 at 05:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2005 at 04:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2005 at 04:24 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2005 at 07:22 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.