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.

Similar Messages

  • 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

  • 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

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

  • 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

  • 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

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

  • FM for changing contact person attribute field PARH1 - tab knvk

    Hello,
    I'm still searching a function modul
    with which I can update my PARH1 - fields in the cp-adress.
    Table knvk, field parh1.
    Any ideas ?
    Thanks G.

    hi,
    as per my understanding you have to write own code for this specific requrement.
    but these threads might help you.
    [Fm to get the Contact person address if he doesn't ve thn his comp address   |Fm to get the Contact person address if he doesn't ve thn his comp address;
    let us know if it is giving you insight to solve this issue.
    Regards,
    Rajeev

  • 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

  • How to get the Contact person name of Account site level contact person

    Hi All,
    I have contact person defined at account level and other at account site level.
    I am trying to print the site leve contact name in my AR Invoice report.
    What i used is bill_to_site_use_id a input in the below query
    select hp2.party_name
    from
    HZ_CUST_SITE_USES_ALL hcs,
    HZ_CUST_ACCT_SITES_ALL has,
    hz_party_sites hps,
    hz_parties hp,hz_parties hp2,
    hz_relationships hr
    --HZ_ORG_CONTACTS HO
    where hcs.CUST_ACCT_SITE_ID=has.CUST_ACCT_SITE_ID
    and hps.PARTY_SITE_ID=has.PARTY_SITE_ID
    and hp.party_id=hps.PARTY_ID
    and hr.subject_id=hp.party_id
    and hr.RELATIONSHIP_TYPE = 'CONTACT'
    and hp2.party_id=hr.OBJECT_ID
    and hr.OBJECT_TYPE ='PERSON'
    --and ho.PARTY_RELATIONSHIP_ID=hr.relationship_id
    and hcs.SITE_use_ID=3398 -- from (ra_customer_trx_all)
    But I get two records. So how can I differentitate the account contact and site contact.
    Am I missing any table or join. Or is the input provieded is not fine.
    Please help
    Thanks

    Hi -
    Please use the below code to get the Contacts at the Account level.
    where Sold to Org id is the Customer Account Id.
    SELECT hp2.person_last_name||', '||hp2.person_first_name
    FROM apps.hz_parties hp,
    apps.hz_parties hp2,
    apps.hz_relationships hr,
    apps.hz_cust_accounts hca
    WHERE 1 = 1
    AND hca.party_id = hp.party_id
    AND hca.cust_account_id = :sold_to_org_id
    AND hr.subject_id = hp.party_id
    AND hr.relationship_type = 'CONTACT'
    AND hp2.party_id = hr.object_id
    AND hr.object_type = 'PERSON'
    AND hp.party_id = hr.subject_id
    Thanks
    Vyaghresh
    Edited by: user11990386 on Jun 20, 2011 2:33 PM

  • 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

  • Address formats and contact persons

    Hi
    With a number of our customers (not the majority) we have the requirement to have the following address format:
    Company Name
    c/- Contact Person
    Address Line
    Suburb
    City and Zip Code
    Of course we don't want to actually use the contact person field as we don't always want to have contact person in the address for all customers. 
    I would have thought this was quite a standard requirement for most businesses but cannot see a STANDARD solution for it in SBO. 
    Also is there an easy way to hide address fields when they are null as per the unanswered question: /thread/61000 [original link is broken]
    Kind regards
    Andrew

    Thanks Jose
    I was already aware of this functionality.  However, I find this fairly limiting.  I have two questions:
    1)  Can you get blank lines in the standard address format to be skipped?
    For instance if you have a standard address format of:
    STREET
    BLOCK
    CITY
    PROVINCE
    And it is a small town in a province which means you either leave the Block or the City blank then a blank row is shown when the address is printed on the invoice.
    Is there a simply way where if a row is blank then it can be ignored in the address layout?  I notice that there is a line length row but don't know if there is a special code you can enter in there to say skip if blank or something like that - so that it moves onto the next field with data.
    I recognise that you can't strip and rebuild the address fields in the Print Layout Designer but was wanting to know if there was something standard.
    2)  I am not sure how SBO handles mail that is sent c/- a person in a company in terms of standard functionality.
    Cheers
    Andrew

Maybe you are looking for