Create/Update Contact Person address data (BUT051)

Hello experts.
Scenario:
We have a potential customer, name it customer POT, identical to an ERP customer, name it ERP, and POT has a contact person, name it CONT.
POT is in CRM documents.
The initial idea was, with FMs CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE, replace POT BY ERP in those documents, and then delete POT from CRM system WITH report bupa_test_delete.
But that way, the relation between POT and CONT is lost.
So, with FMs BAPI_BUPR_RELATIONSHIP_DELETE and BAPI_BUPR_RELATIONSHIP_CREATE it's possible to make CONT, the contact person of ERP (instead of POT), before deleting POT from system.
However, the contact data (BUT051) is lost, because BAPI_BUPR_RELATIONSHIP_CREATE doen's maintaint adress data in relation.
Is there a way to do it?
Thanks in advance.
Valter Olvieira.

I used batch input and worked fine.

Similar Messages

  • Contact Person address Data not found

    Hi All,
    I am finding an strange error in Partner determination process for Contact Person.
    System is able to pick the contact person, but it always says no address data found for contact person. I had checked all config in partner dtermination procedure and can see that all setting related to address detremination is available. But still i am not able to get this data in my transaction for activity/lead or contract.
    Please suggest.

    Hello,
    This is a common mistake when processing Contact Persons. In fact, the address data you see in the WebUI for your contact person is the address of the Company - Contact Person relationship and not the contact data of the contact person itself. The error message is probably referring to the address data of the person itself.
    Eg I work for my company, my address data as a contact person for my company will the the company's address, fax, e-mail, ... Beside that I also have my personal address, where I actually live with a private e-mail and so on.
    My company -_-_-_ has the contact person  -
    > Me
    Address data         (=address data eq to comp)       My personal address
    Hope this helps,
    Joost

  • Pre Populating contact person address details

    hello experts,
    I am new to crm 2007 and Interaction Center.
    I have requirement like this
    1) say i created an account of type organization
    2) once organization is saved, from account details screen there is an option to create a contact person using Related-buttion
    3) My requirement is when i click on Related button by default i need to pre-populate contact person address details with the Organization address details like street, house number, city, postal code, country and region.
    Could you please tell me what kind of code i have to write in the Related button event handler to populate organization address details in to create contact person address details
    Cheers, Srikanth

    Hello Srikanth,
    You have to implement any one of the BADI based on the data u want to update in the contact person.
    BUPA_CONTREL_IMPORT
    BUPA_CONTREL_EXPORT
    BUPA_CONTREL_DEFAUL
    You need to call FM to update the address.
    This hint should be able to take you in right direction.
    Regards,
    Kapil

  • Datasource for Vendor Contact person Address

    Hi,
    I am looking out for the DS for Vendor Contact person address, which is taken from ADRC table. 0BP_DEF_ADDRESS_ATTR is having Business partner number. it gives all the required data. how to i link it with vendor LFA1 and COntact PErson in KNVK to get the required result.
    Thanks & regards
    Abi

    Hi,
    There is no standard data source available for your requirement.
    You can enhance 0Vendor_attr master data with LFA1-ADRNR, KNVK-PARNR and address fields in ADRC and populate using user exit code based on the following logic.
    Get LFA1-ADRNR where 0VENDOR_ATTR-LIFNR = LFA1-LIFNR
    Get KNVK-PARNR where LFA1 - KUNNR =  KNVK - KUNNR
    Get address fields from ADRC where
    LFA1 - ADRNR = ADRC - ADDRNUMBER
    ADRC - DATE_FROM = Hard code the values required
    ADRC - NATION = Hard code the values required eg. I for international version.
    Hope it helps
    Regards, Jeya

  • RFBIKR00 - Vendor master load (Contact person address)

    I set my LSMW settings to object type 40 (vendor) and method 0002. Structure BKNVK appears. I am able to enter Contact person name and telephone in BKNVK, but I don't see the fields to enter contact person address fields. What am I missing?

    Hi Raynald,
    i think, it's not possible with rfbikr00,
    to change or load central adress-data of vendor
    or contact person.
    -> so you must use bapi or batch input (xk02 or map2)
    additionally
    regards Andreas

  • Filter contact person ADDRESSES at KNVK level

    Hello,
    We have defined an ALE scenario in order to transfer contact person (KNVK segment) of a customer (DEBMAS).
    We have defined filters on contact person fonction and it's working fine: only knvk sgements with good finction are included in the DEBMAS IDoc.
    But problem comes with addresses:
    we are also transfering contact person addresses (ADR3MAS) and have defined a depedent distribution (with KNA1) in the ALE scenario (BD64).
    Unfortunately in this case, ADR3MAS IDocs are generated even for the contact persons that have been filtered!
    We did not find any solution to this problem.
    So I'm asking your help and hope a good soul will take time to answer me
    Many thanks in advance.
    Best regards,
    Jérôme Romain.

    you should have a dependency to the message type
    Example of dependency between a BAPI and a message type:
    The distribution of company addresses has been integrated in the object maintenance for the vendor. The address data is then distributed together with the object data via ALE. The address data is dependent on the object data and is distributed via the BAPI. The object data is distributed in the message type CREMAS.
    So a dependency exists between the BAPI and the message type.
    In the distribution model an active receiver filter is assigned to the BAPI used for distributing organization addresses (AddressOrg.SaveReplica). The dependency has been activated in the attribute Dependent distribution in the filter display.
    Based on the receiver determination, the object data with the BAPI addresses are only distributed, if the filter condition for CREMAS is met.

  • BADI to update contact person relationshiop address.

    Hi,
    I have a requirement where I need to copy the Business Partner standard address into the Contact Person Relationship Address.
    This need to happen whenever a Contact Person Relationship is created .Is there any relevant badi for the same? I have tried using the badi PARTNER_UPDATE as this gets called every time the BP gets saved.But I found that in the standard documentation for this badi, any custom implementation is not recommended.
    I tried using the ADDRESS_UPDATE badi as well but it is not getting invoked when adding a new contact person relationship.
    Should I use transaction BUS7 here and assign a function module to the events DSAVC or DSAVE?
    Please let me know the right approach of doing this.
    Thanks,
    Samrat.

    Hi Samrat,
    In this case, you can also try to create a trigger on the save of the address of the BP. Maybe the logi can be as follws :
    If the address is a standard address, then copy it to the Contact Person also.
    For this, implement the ADDRESS_UPDATE BADI. It will give you the complete address content. If you now need any BP data or relationship data, you can make use of the CALLBACK modules -
    BUPA_ADDR_CALLBACK
    BUPA_BUT050_CALLBACK             
    BUPA_BUT051_CALLBACK    
    BUPA_BUT052_CALLBACK    
    BUPA_BUT053_CALLBACK    
    Now that you have all available data, you can go ahead and save it to the contact person. Do the database updates in UPDATE TASK.
    Also, it is just a recommendation to avoid custom implmentations for PARTNER_UPDATE. Lots of customers implement this BADI accoding to their business requirements.
    Hope this helps.
    Cheers,
    Rishu.

  • Error while creating the Contact Person in the BP Master Data

    Dear Experts,
                    I encountered the following error while updating the contact person name either while creating new or editing existing customer.
    Error - [Contact Persons - Contact Persons name][Line 1],'This entry already exists in the following tables 'Contact Persons' (OCPR) (ODBC - 2035)' [Message 131-183].

    Dear Experts,
                      I am not doing a DTW for the same, i am updating the BP Master manually. It has been a recent occurence since 3 days when the customer is trying to update the contact person the following error throws. I tried updating for the existing customers with no contact person, there in also it throwed the same error.
                   To bring to your notice i had a test database for the same customer where in i encounter no issues with regard to the contact person update.
    Saravanan

  • Fm to get the Contact person address if he doesn't ve thn his comp address

    Hi Gurus,
    This is seema,,am new to CRM .... got a doubt ... thought of posting it here...
    My req is i need to find out a contact person full address , incase if he does not have the address then i should refer to his company(has contact peron for) address and get it...
    am searching for FM where i cld achieve the above requirement..
    I had given a search for this before giving for a post...but i could not get it ...
    In the same requiremetn, i need to find out the person (employee) who is responsible for creating and his job title.. any FM to get employee details with his job title?
    Thanks for all your time.
    Seema
    Edited by: seema rajjot on Apr 6, 2010 3:00 PM

    Hi Seema,
    You can get the address of CP from tables BUT020, BUT021_FS, ADRC and ADR2 etc., In case if the CP address is empty, go table BUT051 and get the Company affiliated to it using the Relationship type BUR001. Then get the address of Company using the same tables again. Refer to the below link, it has details about how to read the BP address by Address type. If you want to read the default address use address type XXDEFAULT.
    [Read BP Address based on Address type and Update Address|http://www.divulgesap.com/blog.php?p=MTA5]
    Hope it helps.
    Regards,
    Ravikiran

  • Error while creating vendor contact person using vmd_ei_api

    Hi,
    while craeting vendor contact person using maintain_bapi of vmd_ei_api class iam getting error like 'Specify address number or address handle'.
    code :
    CALL FUNCTION 'BAPI_PARTNEREMPLOYEE_GETINTNUM'
    EXPORTING
    quantity = 1
    IMPORTING
    * RETURN =
    contactid = lv_contactid
    * QUANTITY =
    * TABLES
    * CONTACT =
    ls_contacts1-task = 'I'.
    ls_contacts1-data_key-parnr = lv_contactid."ls_knvk-parnr.
    ls_contacts1-data-abtnr = '0002'."ls_knvk-abtnr.
    ls_contacts1-data-pafkt = '02'."ls_knvk-pafkt.
    ls_contacts1-data-parau = 'BNotes'."ls_knvk-parau.
    ls_contacts1-datax-abtnr = 'X'.
    ls_contacts1-datax-pafkt = 'X'.
    ls_contacts1-datax-parau = 'X'.
    * Inserting Phone ,Fax and email.
    ls_phone-contact-task = 'I'. "Phone
    ls_phone-contact-data-telephone = '89655696569'.
    ls_phone-contact-data-extension = '778548'.
    ls_phone-contact-datax-telephone = 'X'.
    ls_phone-contact-datax-extension = 'X'.
    APPEND ls_phone TO lt_phone.
    ls_phone-contact-task = 'I'.
    ls_phone-contact-data-r_3_user = 'X'.
    ls_phone-contact-data-telephone = '89845589369'.
    ls_phone-contact-data-extension = '858588'.
    ls_phone-contact-datax-updateflag = 'X'.
    ls_phone-contact-datax-telephone = 'X'.
    ls_phone-contact-datax-extension = 'X'.
    ls_phone-contact-datax-r_3_user = 'X'.
    APPEND ls_phone TO lt_phone.
    ls_fax-contact-task = 'I'.
    ls_fax-contact-data-fax = '8896589'.
    ls_fax-contact-data-extension ='44521'.
    ls_fax-contact-datax-fax = 'X'.
    ls_fax-contact-datax-extension ='X'.
    APPEND ls_fax TO lt_fax.
    ls_contacts1-address_type_3-communication-phone-current_state = ' '.
    ls_contacts1-address_type_3-communication-phone-phone = lt_phone.
    ls_contacts1-address_type_3-communication-fax-current_state = ' '.
    ls_contacts1-address_type_3-communication-fax-fax = lt_fax.
    ls_contacts1-address_type_3-communication-fax-current_state = ' '.
    ls_contacts1-address_type_3-communication-fax-fax = lt_fax.
    ls_contacts1-address_type_3-task = 'I'.
    ls_contacts1-address_type_3-POSTAL-data-FIRSTNAME = 'Roger'.
    ls_contacts1-address_type_3-postal-data-lastname = 'Fedrer'.
    ls_contacts1-address_type_3-POSTAL-datax-FIRSTNAME = 'X'.
    ls_contacts1-address_type_3-postal-datax-lastname = 'X'.
    APPEND ls_contacts1 TO lt_contacts1.
    ls_vendor1-header-object_instance = p_lifnr.
    ls_vendor1-header-object_task = 'M'.
    ls_vendor1-central_data-contact-contacts = lt_contacts1.
    ls_vendor1-central_data-contact-current_state = 'X'.
    ls_vendor1-central_data-central-data-adrnr = ls_adrnr.
    ls_vendor1-central_data-central-datax-adrnr = 'X' .
    APPEND ls_vendor1 TO lt_vendor1.
    gs_vmds_extern-vendors = lt_vendor1.
    DATA:gs_succ_messages TYPE cvis_message,
    gs_vmds_error TYPE vmds_ei_main,
    gs_err_messages TYPE cvis_message,
    gs_vmds_succ TYPE vmds_ei_main.
    * Call the Method for creation of Vendor.
    CALL METHOD vmd_ei_api=>maintain_bapi
    EXPORTING
    is_master_data = gs_vmds_extern
    IMPORTING
    es_master_data_correct = gs_vmds_succ
    es_message_correct = gs_succ_messages
    es_master_data_defective = gs_vmds_error
    es_message_defective = gs_err_messages.
    if sy-subrc  = 0.
    commit work.
    Please suggest which fields else i have to pass??

    Hi Abhijeet,
    here i am showing you some scn help to use maintain bapi of vmd_ei_api class, i think you are missing some data to be uploaded along with there are methods in lsmw, bdc too for this, please go through below links carefully , i hope you will able to solve your problem.
    Vendor Master Upload Program - ABAP Development - SCN Wiki
    unable to vendor master record update using class vmd_ei_api
    Creation of Vendor - VMD_EI_API

  • Why can't I update contacts in address book

    I cannot update contacts in my Address book. The command "L" does not work, and the menu item is grayed out. Can do it on the iPhone. Not yet transferred to the cloud, as there are 5 computers on the samd account, and only 3 of them have the Ram required for 10.7. Ordering the Ram today or tomorrow.

    Thanks again for your time.
    I have done as you suggested and the info is as follows:
    File: ABPerson.skIndxInverted
    Size: 48KB on disk (49,152 bytes)
    Created: Yesterday 11-29
    Modified: Yesterday 11-29
    File: ABSubscribedPerson.skIndexInverted
    Size: 8KB on disk (6,144 bytes)
    Created: Yesterday 11-29
    Modified: Yesterday 11-29
    File: AddressBook.data
    Size: 176KB on disk (179,207 bytes)
    Created: Friday 12th May 2006 16-11
    Modified: Yesterday 11-29
    File: AddressBook.data.previous
    Size: 20KB on disk (18,996 bytes)
    Created: Friday 12th May 2006 16-10
    Modified: Friday 12th May 2006 16-11
    Folder IMAGE>
    File: OA718318-68E8-4A66-A6AB-083D203050B4
    Size: 4KB on disk (992 bytes)
    Created: Yesterday 11-29
    Modified: Yesterday 11-29
    File: AF99B1C7-73D0-4EC1-8545-D33BB48F276A
    Size: 4KB on disk (992 bytes)
    Created: Yesterday 11-21
    Modified: Yesterday 11-21
    Hope this makes sense
    Bob
    iMac   Mac OS X (10.4.6)   Intel Dual Processor

  • Map R/3 contact person address to CRM contact person address

    Hi,
    Does anyone know how to enhance the middleware so that the business address of contact person in R/3 can be mapped/downloaded to the BP standard address (shown up in BP transaction) in CRM ? The business address of the contact person in R/3 is currently mapped to BP relationship address in CRM, while the home address of the contact person is mapped to the BP standard address.
    Thank you for the help,
    Regards,
    -James

    Hi,
    We have the sam issue to solve!
    Found any answers yet?
    Best Regards, Cem

  • Contact Person Full Data.

    Hello,
    When I want to see contact person data in the Interaction Center I go to Accounts data > click on Contact Person name > a new screen shows me the Contact person data but I can't add any assigment block to this page.
    I need to show the complete information and assigment blocks like in Web UI.
    For example: I can't add marketing attributes.
    Any idea of how to solve this?
    Best Regards

    Andrey Vishnevskiy solved my Problem.
    This was his solution, which worked for me:
    if you need the same views/screens for contact person details as it is for SALESPRO follow these steps:
    1. Identify Navigation Bar profiles which are used in IC agent business role and sales professional role. Standard profiles are IC_AGENT and SLS-PRO accordingly. (SPRO -> CRM -> UI Framework -> Business Roles -> Define Business Role -> double click business role -> here is a field Nav Bar Profile)
    2. Identify Target IDs which are used for the desired navigation in sales professional's navigation bar profile. For instance:
    BP_CONTACT B Display MD-BPCP-OV
    (go to SPRO -> CRM -> UI Framework -> Technical Role Definition -> Define Navigation Bar Profile -> select profile for sales professional (SLS-PRO) -> choose Define Generic OP Mappings -> go to desired object type and actions (e.g. BP_CONTACT))
    3. Check Target IDs which are used for the desired navigation in IC agent's navigation bar profile. For instance:
    BP_CONTACT B Display BPMORE
    (path is the same as in step 2)
    4. Put Target ID's from sales professional's profile to IC agent's profile according to your needs. For instnace, generic OP mapping in IC Agent navigation bar profile should look like below:
    BP_CONTACT B Display MD-BPCP-OV

  • Merge contact person - Cleansing data

    Hi gurus, in CRM Web UI Account Search there is an option to merge differents accounts into a single one. The resulting account contains the information of all accounts merged. I need the same procedure but with contact persons. This is possible from transaction BP in SAP GUI. Do you know if it is possible to do the same from Web UI?
    Thank you in advance.

    Yes, this is possible, but not within the Contact Person Search.
    In the Contact Person Search you will get a list of Contact Person Relationships. One Business Partner can have multiple Contact Person Relationships and you will get multiple entries in the Search-Result-List but it is one single Business Partner with multiple Contact Person Relationships.
    The way you can merge Contact Person is within the Search-Result-List for Individual Accounts.
    Just search for Individual Accounts with the Role "Contact Person" and/or with the Relationship Type "Is Contact Person for".
    Now you will get a list of Individual Accounts and you can select the potential duplicates to create a cleansing case.
    The Master Record will get all Contact Person Relationships of the involved Business Partners after the Merge Process.
    Best regards,
    Arno

  • Update contact person mobile number

    Hi Experts,
    I need your help to solve this issue. Here when I am trying to update the contact person mobile number it is not getting updated. For example when I entered the mobile number in mobile field and hit enter number got disappeared. Please suggest.
    Thanks
    R@adi

    Hello,
    Please implement the note 1837639.
    Thanks,
    Best regards,
    Julin

Maybe you are looking for