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.

Similar Messages

  • Contact Person Business Address (VAP2) Street disappears inspite of manual

    Hi,
    We are facing a problem in the contact person Business Address street update (Transaction VAP2).
    1. We are manually entering Street and house number in
        Business Address screen using VAP2.
    2. Then System concatenates House number and Street and  
        puts it in Street address.
    3. Then the street address moves one character right side
        leaving space on the left side.
    4. It removes the address-street bit by bit on right side and 
        will remove the whole adddress.
    Not sure what is causing it to happen.If you encountered this problem or have any solution , please reply me .
    Thanks in advance,
    Mallik.

    Hi Markus,
    Can you help me how did you manage to resolve this ?
    Best Regards,
    Aakriti

  • Contact Person Email Address Update

    Hi Experts,
    May we know where in the SRM Portal we can see the relationship of a contact person to a vendor.
    Thanks,
    Abi

    the best way to do this is log in to the SAP GUI of SRM system
    use Transaction BP - type in the BP number for the vendor and then go to contact person
    you can see the same in the Portal ("Settings" tab/link) -> Business Partners
    (you can only see this Settings link- if you have the appropiate access rights)
    thanks
    -Adrivit

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

  • How to modify the contact persons company address changes

    Hi Friends,
    My requirement is i want to update the address of the contact person in relationships. Actually when we are maintaining the relationships it is automatically taking the Accounts address in company address field but i wants to maintain the different address for each contact person related to the particular account for that i used Bapi_bupa_contp_addr_change functions module as well as Bapi Transaction Commit also but it is not helpful.
           I want to change the contact persons address as per flat file, so please let me is there any fuction module for changing the address of a contactt person in relationships.
    Regards
    Kumar

    Hi Kumar,
    could you solution this issue?
    I use this FM, I cna Insert new telephones por relationship but, I can't delete and update.
    Can U help me? my code:
    data : i_bapiadtel like BAPIADTEL occurs 0 with header line,
           i_bapiadtel_x like BAPIADTELX occurs 0 with header line,
           i_return LIKE bapiret2 OCCURS 0 with header line.
    i_bapiadtel-telephone = '937102020'.
    i_bapiadtel-std_no = 'X'.
    APPEND i_bapiadtel.
    i_bapiadtel_x-telephone = 'X'.
    i_bapiadtel_x-std_no = 'X'.
    i_bapiadtel_x-updateflag = 'D'.
    APPEND i_bapiadtel_x.
    CALL FUNCTION 'BAPI_BUPR_CONTP_ADDR_CHANGE'
      EXPORTING
        businesspartner = '0020034745'
        contactperson   = '0090004124'
      TABLES
        bapiadtel       = i_bapiadtel
        bapiadtel_x     = i_bapiadtel_x
        return          = i_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    Thanks in advance.
    Sergio

  • Contact Person Standard address data disappears on enter(first time)BP_CONT

    Hi,
    During the quick create contact person creation (via accounts), based on client requirements the screen setting has been changed. (UI Configuration).
    BP_CONT/ContactQuickCreateEF
    So we have data displayed from 2 context nodes.
    1. BUILHEADER
    2. BUILCNTSTDADDRESS
    We have done the enhancement for this view so get the bespoke field called Dept.No, and to provide dropdown.
    Now when we enter the data for the first time, and press enter, all the data entered in BUILCNTSTDADDRESS disappears.
    However after first time, the data stays back on the screen (works normally).
    But, if we dont press enter, and simply press the back button, the data gets properly saved.
    Do anyone have any idea what is causing this to fail for the first time.
    I bebugged for few hours to find that super class CL_BP_CONT_CONTACTQUICKCR_IMPL got a method called CHECK_DATA_WAS_CHANGED. This gets triggered which calls the onsumbitonenter twice.
    I also tried bypassing the enhancement via user parameter and this works fine.
    Any idea what is causing this?

    So, Rakesh, here you go:
    We've needed to enhance method IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTIES of CL_BSP_WD_MIXED_NODE class in such way:
    method IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTIES .
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$:(1):CL_BSP_WD_MIXED_NODE:IF_BOL_BO_PROPERTY_ACCESS:GET_PROPERTIES:END                                                                 A
    *$*$-Start: (1)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1  ZGET_MIXED_PROPERTIES.    "active version
    "Getting model's attributes
    "if SAP still didn't do this
    DATA: lcl_struc TYPE REF TO cl_abap_structdescr,
           lv_struc_name TYPE abap_abstypename.
    IF es_attributes IS INITIAL.
       lcl_struc ?= cl_abap_structdescr=>describe_by_data( ES_ATTRIBUTES ).
       IF lcl_struc IS BOUND.
         lv_struc_name = lcl_struc->absolute_name.
         IF lv_struc_name CS 'CRMST_ADDRESS_BUIL'. "do this only for addresses just for now
           ME->MODEL_NODE->GET_PROPERTIES(  IMPORTING es_attributes = ES_ATTRIBUTES ).
         ENDIF.
       ENDIF.
    ENDIF.
    ENDENHANCEMENT.
    *$*$-End:   (1)---------------------------------------------------------------------------------$*$*
    endmethod.

  • Contact Person Business Address

    We have a requirement from our business users to have the business address of the contact person (which is maintained in R/3) available in CRM.  CRM only supports the Home Address and not the Business Address.  Has any one else had this requirement and, if so, what did you do to enable this?

    Hi, we have the same requirement!
    have you found any answers?
    Thanx,
    Best Regards,
    Cem

  • 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

  • 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

  • Address for contact person

    hi all,
    i have a req,
    req says "system would need to block Customer Master Data irrespective of account group getting copied to the Contact Person home address and then to General Data tab"
    i didnt understand it correctly.
    how the data is copied into contact persons home address?
    and to general data tab.
    is there any program? standard? or it could be user defined?
    thanks

    Hi Sai,
    Just check out the FM <b>'BAPI_BUPA_ADDRESS_ADD'</b>.
    Regards,
    Amit Mishra

  • 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

  • No address data found in contact person

    Hi all
    I am getting an error while creating a transaction No address data  in the contact person.
    I am able to see the bp id of the contact person.
    I have maintained the first name and last name  and other details including the standard address in that bp.
    Kindly let me know from where the system picks the address and where do i maintain that.
    Thanks in advance
    Kumar Hari

    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

  • 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

  • Customer contacts person address

    Hi all.
      I need to display all the contact persons of a customer and who is having customer address as their home address.
    i e contact person home address = customer address.
    how can i find the CP's home address is same as taht of customer address.
    Thanks
    SAI

    Hello Sai,
    the addresses of the contact persons you can read with FB 
        call function 'ADDR_PERS_COMP_GET_COMPLETE'
         exporting
           addrnumber                    = KNVK-adrnr
      ADDRHANDLE                    =
           persnumber                    = KNVK-prsnr
      PERSHANDLE                    =
      ARCHIVE_HANDLE                =
         importing
           addr3_complete                = addr3_complete
         exceptions
           parameter_error               = 1
           address_not_exist             = 2
           person_not_exist              = 3
           internal_error                = 4
           wrong_access_to_archive       = 5
           others                        = 6.
    the customer addresses you can read with FB 
    ADDR_GET_COMPLETE  with key adrnr in KNA1.
    More information about the FB's you will get in the documentation.
    Best Regards
    Gerd Höß

  • Can't change contact images in Address Book

    I am trying to update contact images in Address Book. Everytime I add a new image, it blinks for a moment, then goes back to being black. In my email, the images flit between being available, being old images, and being blank. I've been trying for two hours so it's not a "sync" or "just wait" issue. It keeps telling me that I am a different person, assigning a different contact card to myself, flitting back and forth between contact cards declaring that they are "me," and randomly allowing or not allowing pictures to be updated. What's going on?

    hives wrote:
    Problem solved. Finder > Library > Preferences. There were three files: com.apple.something or another and address book.something.. (I can't remember).
    Please realize that is only slightly more helpful than it started with a letter in the alphabet and ends in plist. Almost everything in that folder starts with com.apple. That is the default naming convention. It is a reverse domain name system (think reverse web address). So all Apple's preferences start with com.apple.
    For anyone trying to fix a similar problem, please don't randomly delete plist files. While most will cause no harm and will get rebuilt automatically, deleting some will cause a little shock and awe. com.apple.mail.plist being the most shocking. If you delete it, you will not see your email in Mail until you recreate your accounts exactly as you had them before you deleted the plist. The email is still there, it is just that Mail doesn't know how to find them.

Maybe you are looking for

  • PDF Form Takes More Time To Open when using designer 7.1.3129.1.296948

    Hi All, Adobe Reader Version :  8 and above. designer                     : 7.1.3129.1.296948 When i am devloping the adobe interactive form Using designer 7.1.3129.1.296948, When I open the same in the adobe reader 8.1.2 and 9.1 its take more time (

  • Credit memo in MIRO

    Hi, If we reverse the Invoice document using MR8M transaction, automatically credit memo will be created for the reversal with reference to the Invoice.(pls correct if i am wrong) If we use the MIRO transaction to create Credit memo using PO, how the

  • Error Message (-208) -- Cannot play purchased music

    After upgrading to itunes 6.0 I can no longer play my purchased music. The itunes store is telling me I am not authorized to play the song files, so I log into my account and it says authorization successful. After I click ok I receive the error mess

  • Oracle 9i certification v/s 11g certification

    i am planning for OCP. but i have a dillemma about the certification in the different versions of the oracle database. i want to knowif there is a difference in 9i certification and 11g certification. If i do certification in 9i would it have the sam

  • Upgrading Solaris 8 to Solaris10

    Dear all Can i upgrade Solaris 8 to Solaris 10 directly or i have to upgrade to solaris 9 first any documentation specfic to upgrade will be help Regards