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

Similar Messages

  • Contact person communication details(Tel No,Fax No, Email)

    Hi
    Could you please advice how to extract customer master's Contact person communication details(Tel No,Fax No, Email) .
    Thanks in advance
    SR

    Hi Ravi,
    Get the address number(ADRNR) from the table KNA1 using customer number (KUNNR).
    And query below tables to get required details using the address numbere(ADRNR) = ADDRNUMBER.
    ADR2 - Telephone number
    ADR3 - Fax number
    ADR6 - Email address.
    Hope this helps..
    Regards,
    Ashwini

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

  • 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

  • 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

  • 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

  • How to get adress no for the contact person address

    Hi,
    I am getting the PARNR contact person from the table KNVk , I need to get the address no for this contact no , is there any table which links pernr with ADDRNUMBER .

    >
    Vishnu Tallapragada wrote:
    > Actually address number is already there in KNVK in PRSNR field.
    PRSNR  is the person number not address number.
    its ADRNP_2 in knvk
    кu03B1ятu03B9к

  • 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öß

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

  • Badi for modifying the Contact person details....

    Hi,
    I have a problem here, can anyone help me.? I am creating a contact person for an account/bp in the IC Webclient. I  need to modify certain fields on Contact person address while saving. Can anyone tell what badi's or user-exits that I can use for this purpose?
    Regards,
    Phani.

    Hi,
    Business object for contact person relationship is BUS1006002.
    By the way you can check out any BOR in transaction SWO1 using F4 help :-).
    Thanks and warm regards,
    Smita.

  • 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 and Business Address and Home address

    Could anyone explain me how Business and Home address are determined for Contact Person. Are this data stored with different person number for specific contact person? Is there any maintenance which tels which data should be copied to Business and Home address from Contact Person address data?

    Hi Tomasz
    Contact Person Info is maintained in the table KNVK.
    It is maintained through VAP2 transaction.
    When you assign a contact person to a Customer in XD02/01 the home and business addresses get copied from VAP1 (KNVK table).
    Pushpraj

  • Get Selected Employee Contact Persons Details

    Hi all,
    Created One Value set(DFF) to get Employee Contact Persons Details.
    That value set is getting all Employee's Contact Person's Details(From HRMS Manger)
    Here I want to Restrict Only Selected Employee Contact person's Details Has to Shown in Value Set(DFF) when ever HR Selects any Specific Employee
    Example:
    HR selected 'ABCD' Employee in People Enter and Maintain Form .In My DFF Value Set I want to see only 'ABCD' Employee Contact Persons Details instead of All Employees Contact Persons Details
    Edited by: user10357646 on May 24, 2009 3:28 AM

    Hi Sharath Gajula ,
    How to Get the Selected Person Id ?
    Value Set Query
    select papf1.FULL_NAME from per_all_people_f papf,
    per_all_people_f papf1,
    per_contact_relationships pcr
    where papf.PERSON_ID=pcr.PERSON_ID
    and pcr.CONTACT_PERSON_ID=papf1.PERSON_ID
    and sysdate between papf.EFFECTIVE_START_DATE and papf.EFFECTIVE_END_DATE
    and papf.EMPLOYEE_NUMBER is not null
    --How to get Selected Person Id In Run time
    Edited by: user10357646 on May 24, 2009 3:44 AM

Maybe you are looking for

  • SSL Authentication in weblogic 5.1

    Hi I am using SSL in my weblogic application. So that it asks for the username and password while startup. But now i want to mention the username and password in weblogic.properties file itself. So that the client need not have to provide the usernam

  • Airpot express help needed to enable wireless printing.

    Hello and thanks to everyone who post on this fourm, I have read and learned alot over the past year. When I bought my Macbook last December It cam with an airport express router. At that time I has a mediocre isp and we were not able to trouble shoo

  • Maximum number of articles in one folio

    Hi, is there a maximum of the number of articles a folio can contain? I can't import any article after I've imported 18 acticle. I need 27 in my folio.

  • Burning on a CD mixes ordering

    Hi all. I gave my old iMac G5 to my father as a gift so he could work on a good computer. He is heavily using iPhoto. The last version running on a PowerPC is iPhoto 08 Version 7.1.5. That is what he got. Strange things are happening there. He ist re

  • Technical Document (Exact Procedures) To Migrate Forms/Reports 9i to 10g

    Hi; Where can i find the Technical Document (Exact Procedures) To Migrate Forms/Reports 9i to 10g?