Creating a business partner using data from a remote legacy system

Hi Experts,
I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
But I am not sure if that RFC can be used for Business Partner creation.
Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
Thanks in advance,
Torsten
Edited by: Torsten Sander on Apr 22, 2008 2:48 PM

Hi Experts,
I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
But I am not sure if that RFC can be used for Business Partner creation.
Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
Thanks in advance,
Torsten
Edited by: Torsten Sander on Apr 22, 2008 2:48 PM

Similar Messages

  • Transfer of Business Partner Master data from CRM to TIBCO.

    Hi All,
    We intend to integrate CRM4.0 with TIBCO for transfer of Business Partner Master data from CRM to TIBCO.
    Can anyone provide solution for the same. One of the think is through XI.Please correct if it is the right way to do it?.
    Also, would appreciate if someone can provide documentation or links for integration.
    Regards,
    Mehul Shah.

    Hi Rahul,
    Yes you can integrate CRM and TIBCO using XI.
    Check the below links
    transfer the Business Partners from the CRM system to XI and to MDM.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50260ae5-5589-2910-4791-fc091d9bf797
    any XI content delivered by SAP can be found in the SAP service marketplace which you can enter http://www.sap.com/services/bysubject/servsuptech/index.epx.
    a) After you entered the service marketplace go to Software Download under the header SAP Support Portal.
    b) Next navigate to Download -> Support Packages and Patches -> Entry by Application Group
    c) In the main window select SAP Content and then Process Integration Content (XI Content).
    d) Now you should see a list of XI content packages.
    The package containing XI content for CRM is
    XI CONTENT BBPCRM
    In addition you find some packages that offer mappings from CRM interfaces to industry standards like RosettaNet or STAR standard, like
    XI CONTENT ROSETTANET CRM
    XI CONTENT STAR CRM
    Some of these packages may require a license, therefore I am not sure if they are visible to you.
    As per my knowledge, XI has CRM pre-delivered content and usually it communicates thru Proxies,Http, RFCs..
    And in your scenario , you can always go for Proxy communication
    Have a look into these threads
    CRM and SAP XI
    SAP CRM integration with XI
    How to access the pre-delivered XI Integration Content for APO ,SCM or CRM
    Dont forget to Reward points if this helps
    Regards
    Pragathi.

  • Transfering business partner master data from R/3 to Business one

    hi all,
    can anyone have an idea about how to transfer the business partner master data from SP R/3 to SAP Business One.
    Plz tell me in details..
    regards
    nirdesh panwar

    Hi Nirdesh,
    The easiest way is to ask SAP R/3 for an export file of some sorts. This is usually an XML or text type file. You will then pick this file up where they have put it and import it. You can import it into SAP Business One with your own developed (vb, c#, etc.) application that you write using SAP Business One's DI API.
    Hope it helps,
    Adele

  • Read CRM Business Partner Classification data from buffer/memory

    Hi,
    Can anybody help me to read CRM Business Partner Classification data from buffer/memory ? I have a Z- function module in BDT but inside that, I am not able to read the classification data(4th tab). I have the Partner nu,mber and GUID.
    Thanks and regards
    Arijit Ghose

    Hi JE,
    Please let me know if you find the solution to this problem.
    Regards,
    Himanshu Sharma

  • CAM_ERROR while creating a Business Partner using SD_CUSTOMER_MAINTAIN_ALL

    Hello All,
    I was trying to create a Business Partner(Ship to Party) using function module SD_CUSTOMER_MAINTAIN_ALL. When I am executing this through SE37 transaction, its working fine &
    creating a KUNNR value along with new ADRNR number.
    But when the same data is passed inside the program, its throwing CAM_ERROR(sy-subrc = 22).
    If anyone used this FM, please suggest. Thank you.

    Hello Ragu,
    I am passing the data to function module as shown below.
    *KNA1 population
                      ls_kna1-mandt = sy-mandt.
                      ls_kna1-ktokd = 'ZN02'.
                      ls_kna1-land1 = ls_adrc-country.
                      ls_kna1-name1 = ls_adrc-name1.
                      ls_kna1-name2 = ls_adrc-name2.
                      ls_kna1-ort01 = ls_adrc-city1."City
                      ls_kna1-regio = ls_adrc-po_box_reg.
                      ls_kna1-pstlz = ls_adrc-post_code1.
                      ls_kna1-sortl = ls_adrc-sort_phn.
                      ls_kna1-stras = ls_adrc-house_num1.
                      ls_kna1-spras = ls_adrc-langu.
    *BAPIADDR1 population
                      ls_bapiaddr1-name          = ls_adrc-name1.
                      ls_bapiaddr1-name_2        = ls_adrc-name2.
                      ls_bapiaddr1-city          = ch_adrc_struc-city1.
                      ls_bapiaddr1-postl_cod1    = ch_adrc_struc-post_code1.
                      ls_bapiaddr1-street        = ch_adrc_struc-street.
                      ls_bapiaddr1-house_no      = ch_adrc_struc-house_num1.
                      ls_bapiaddr1-str_suppl1    = ch_adrc_struc-str_suppl1.
                      ls_bapiaddr1-str_suppl2    = ch_adrc_struc-str_suppl2.
                      ls_bapiaddr1-location      = ch_adrc_struc-location.
                      ls_bapiaddr1-country       = ch_adrc_struc-country.
                      ls_bapiaddr1-langu         = ch_adrc_struc-langu.
                      ls_bapiaddr1-sort1         = ch_adrc_struc-sort1.
                      ls_bapiaddr1-sort2         = ch_adrc_struc-sort2.
                      ls_bapiaddr1-langu_cr      = ch_adrc_struc-langu_crea.
    *KNVV Population
                      ls_knvv-vkorg              = '1000'.
                      ls_knvv-vtweg             = '01'.
                      ls_knvv-spart               = '01'.
                        CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
                              EXPORTING
                                i_kna1                        = ls_kna1
                                i_knvv                        = ls_knvv
                                i_bapiaddr1                   = ls_bapiaddr1
                                i_maintain_address_by_kna1    = 'X'
                               i_no_bank_master_update       = 'X'
                               i_raise_no_bte                = 'X'
                                pi_postflag                   = 'X'
                               i_from_customermaster         = 'X'
                              IMPORTING
                                e_kunnr                       = lv_kunnr
                                o_kna1                        = ls_kna1_output
                              EXCEPTIONS
                                client_error                  = 1
                                kna1_incomplete               = 2
                                knb1_incomplete               = 3
                                knb5_incomplete               = 4
                                knvv_incomplete               = 5
                                kunnr_not_unique              = 6
                                sales_area_not_unique         = 7
                                sales_area_not_valid          = 8
                                insert_update_conflict        = 9
                                number_assignment_error       = 10
                                number_not_in_range           = 11
                                number_range_not_extern       = 12
                                number_range_not_intern       = 13
                                account_group_not_valid       = 14
                                parnr_invalid                 = 15
                                bank_address_invalid          = 16
                                tax_data_not_valid            = 17
                                no_authority                  = 18
                                company_code_not_unique       = 19
                                dunning_data_not_valid        = 20
                                knb1_reference_invalid        = 21
                                cam_error                     = 22
                                OTHERS                        = 23.
                            IF sy-subrc = 0.
                              EXPORT kunnr FROM lv_kunnr TO MEMORY ID 'Z_CUST_NUM'.
                              EXPORT adrnr FROM lv_adrnr TO MEMORY ID 'Z_ADDR_NUM'.
                            ENDIF.
    When I am executing this through SE37, its working perfectly. However when used in Sales Order Save exit, its throwing an error saying SY-Subrc = 22(CAM_ERROR).

  • Listing data from ECC to legacy system??

    Hello Experts,
    This is my first post and hopefully in the correct forum:
    We have a requirement of sending listing data (whether articles is listed or delisted) from ECC to a legacy system. We have analyzed the option os using LIKOND01, Assortment 01or WBBDLD03. We opted for LIKOND01 since it is lighter as compared to WBBDLD03. We tried to find the documents related to both of these IDocs in  help.sap etc, but could not find any information accept the header and detail records. We just wanted to know how we can trigger this LIKOND01 IDoc and whether our approach will satisfy our needs.
    Any information in this regard will be appreciated.
    Thanks in advance!!
    Rakesh
    Edited by: rakeshjain_hit on Dec 25, 2010 1:10 PM
    Edited by: rakeshjain_hit on Dec 29, 2010 1:17 PM

    Hello Venu,
    Thanks for your reply.
    LIKOND01.
    We will activate the necessary change pointers and other configurations.
    What we want to know that once the change pointers are activated the LIOKOND01 IDoc will be created as soon as the listing is done in ECC and entry created in WLK1 or we have to use some t-code. Can this be done?
    WBBDLD03
    We also tried to create the WBBDLD IDoc after creating a listing in ECC using transaction WDBU or WDBM, but could not.
    Please provide your input. I have also checked BD50 (whether it is Active) and BD52 also.
    Also i tried Automatic creation of Idoc of basic type WBBDLD, however i checked the FM MASTERIDOC_CREATE_WBBDLD, and when excecuting RBDMIDOC program with the messg type WBBDLD, i am getting a ABAP DUMP.
    Thanks in advance!!
    Rakesh
    Edited by: rakeshjain_hit on Jan 7, 2011 10:31 AM

  • How to locate the user id of user which created a Business Partner Master Data set

    Hi everyone,
    First post on here, on a number of occasions I have found either the answer to or a steer towards when facing a issue, hopefully someone can help with this question.
    I'm working with SAP B1, v9 PL11 on SQL 2008R2.
    I have to create a query which displays; cardcode, cardname, createdate, cardtype, username of creating user, on or after a date variable.
    Having looked over the OCRD table I can't see a specific field containing data that would correspond to a user code.
    OUSR looks like a good candidate with the user details but I don't think I can see any data types which are directly comparable so not able to make a workable join.. I've tried a number of combinations, such as ocrd.usersign = ousr.usersign and while it returned data it was not correct.
    Please can someone help me find the name of the relevant field, or table which would contain this value so I can then complete my query.
    Many thanks in advance!

    Hi,
    Welcome to SAP B1 forum.
    Try this query:
    SELECT T0.[CardCode], T0.[CardName],T0.usersign, T1.[U_NAME] FROM OCRD T0 left join  OUSR T1 on t1.userid  = t0.usersign WHERE T0.[CardType]  = 'c'
    Thanks & Regards,
    Nagarajan

  • Error in creating Business Partner using FLBPD1

    Dear All,
    While creating the Business partner using tcode FLBPD1, I get the following error.
    Also I need help to understand how to start Post Processing Office.
    No business partner could be created for customer CFM0031
    Message no. CVIC_UI018
    Diagnosis
    No business partner could be created from the customer selected.
    System Response
    An error occurred when creating a business partner from the customer selected. This error prevents data from being transferred and saved. This could be due to the following:
    Fields have been left blank in the customer that are set as required entry fields for the business partner.
    Settings for assigning Customizing values for the customer to the business partner are incorrect.
    Procedure
    Start the Post Processing Office and check the error message. Make the necessary corrections.
    Regards
    Arpita

    Hello Arpita,
    I faced exactly the same issue and we had to check the entire customer/vendor master data synchronization configurations. We found that many of them were missing when we upgraded to ECC 6.0.
    I would suggest you go through the following SAP notes and check whether all configs are in place or not. Then try again.
    Note 954816, 956054 and then also 1077616.
    Hope the first two notes will be able to help you cope with the issue.
    Regards,
    Suvarghya

  • Create Employee as a Business partner using BAPI

    Hi,
        I created a business partner using the BAPI,
    "BAPI_BUP_CREATE_FROM_DATA". I used this within a program. The business partner gets successfully created and gets reflected in the table BUT000. But I do not see it when I run the user exit "RPM_EMPDATA".Because of this I am not able to see the business partner inside cProjects. I am able to see the business partner inside the transaction BP. When I go into change mode and change the role (from Business partner role to Resource role),and when I save this business partner  I am able to see the details in the user exit RPM_EMPDATA. I am also able to assign this business partner to tasks in cProjects.
    Message was edited by:
            Sudheendra Puthuraya

    Hi sanjay,
    Thanks for ur reply.
    i just referred all the documents that you have mentioned in the previous suggestion.
    [ID 1400877.1] - This one doesnt help me and i have rehired the employee and checked but still facing the same issue in the supplier interface.
    [ID 433746.1] - This one refers to the creation supplier through forms and i have checked the same which has been mentioned in the document. Everything is fine which the front end creation too.
    But am still facing the same issue.
    Kindly suggest me the if the issue can be solved in someother ways.
    Thanks in Advance.
    Brgds
    Max

  • PLD for Business Partner Master Data

    Hello all,
           I need a information regarding PLD for Business Partner Mater Data
           When i look in to Business Partner Mater Data PLD their is no system defined PLD.
          So i need to print the customer details in PLD. Then, how can get that details in to PLD.
          is their any process to add new PLD for Business Partner Mater Data, if so can any one
         suggest me how to get those details.
    Thans
    Santhosh.K

    Hi
    Can you please let me know the purpose of PLD for Business Master data ?
    I don't think you are trying to print each business master data information in PLD .
    I still think that this is for an internal purpose as you donot need to give print out to client .
    We can use parameter query to retrieve the information .
    Thanks
    Bishal

  • Creating a Business Partner from XML

    I have a problem creating a Business Partner from an XML
    First I did get the XML from an existing one.  Deleted the DocEntry element but I always get this error :
    -5002 : Employee is not a Technician  [OCRD.DfTcnician] , '0'
    Even if I go to this element and put NOTHING, I get the error anyway
    What that means ?

    Yeah, I succeeded.  I had to get rid of dtfncien element completly and DocEntry element too and the bp was created
    Would have been so much useful to get an EMPTY xml representation of an object so we juste have to fill the needed properties to an empty one and create the object afterward.
    According to various threads, we have to GetAsXML() then, change whatever needs to be changed and then we create the object from this xml but there are a lot to get rid of sometimes in these objects

  • FM to create business partner in dialog from address

    Hello gurus,
    anyone got an idea how to create a business partner in dialog mode and provide a given address as default. I already checked several function modules / BAPIs, but I couldn't find one that provides this functionality.
    Would be great if someone has a hint!
    Thanks in advance,
    Alej

    Hi,
    Try this BAPI_BUPA_FS_CREATE_FROM_DATA2
    With this method you can create business partners in selected business partner roles (BP roles).
    You can create business partners of the category person, organization, or group, enter relevant general data, and control the number assignment using business partner grouping.
    You can also enter an address including data for address-dependent and address-independent communication methods.
    For more info on BAPI_BUPA_FS_CREATE_FROM_DATA2 [click here.|http://www.se80.co.uk/sapfms/b/bapi/bapi_bupa_fs_create_from_data2.htm]
    Try this also BAPI_BUSPARTNER_CREATE
    [Click here |http://www.se80.co.uk/sapfms/b/bapi/bapi_buspartner_create.htm]for more info.
    If you create a business partner in dialog using the Create business....[click here|http://education.feedfury.com/content/14689322-master-data-template-categories-b partner-and-contract-account.html].
    May it helps you.
    Regards.
    DS.

  • ISU Business Partner Master data Upload using BAPI?

    Hi Experts,
    I used BAPI "BAPI_ISUPARTNER_CREATEFROMDATA" to upload ISU Business Partner master data.
    This BPAI is not uploading the following topics:
    1. Communication Address like Telephone,extension, email and etc., are not uploading.
    2. Middle name, nick name etc, the field which are under the Expand symbol not uploading.
    3. Reference customer also not uploading.
    strctures what I used are:
    for communication : TELEFONDATANONADDRESS, E_MAILDATANONADDRESS
    general data : BAPIISUBPD
    Reference customer: BAPIBPPARA-MUSTER_KUN
    I am passing all the data but not uploading some of the field values (above) using that BAPI.
    Could you please let me know the solution?
    Please help me out!
    Thanks in advance.
    sekhar

    Sekhar:
    Try with below details:
    for communication : BAPIISUBPA & BAPIISUBPAX.
    general data : BAPIISUBPD & BAPIISUBPDX
    Reference customer: BAPIISUBPA-BP_EXT & BAPIISUBPDX-BP_EXT
    Thanks,
    Murali.

  • Business partner change Valid From Date field

    How can I change the Valid From Date field in tables:
    BUT000
    BUT020
    BUT0BK
    BUT100
    Currently the of date of creation of the business partner is in this tables' Valid From field.
    In transaction BP the Address of the Business Partner is  valid from 01.01.1990 but still I get a warning that the business partner is not valid for date 01.11.2011.

    Sounds like the problem is the valid to date.  What is that date set to?

  • Add a custom field to Business Partner(master data screen)

    Hi MM experts,
    My requirement: Basically have to pass special accounting number (from FI module to MM module ). For that, we need to create new custom field in the standard screen (master data) of business partner.
    How to achieve this?
    Is that by creating field exit (create a new field in the standard screen and updating business partner master data with this special accounting number)? IF so, could you please explain how to achieve this little bit clearly?
    THANKS IN ADVANCE... YOUR INPUT IS HIGHLY APPRECIATED.

    Hello Solemn,
    You should catch the FormLoad event of form 134 (Business Partner), and add a static text and editbox. In addition, you need to do the data binding right after adding the item.
    Or, you just use the standard UDF function of B1.
    Hope this helps,
    Nick

Maybe you are looking for