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

Similar Messages

  • BAPI for Vendor Contact Person.

    Hi,
       My requirement is to have a BAPI which will insert / update a Contacts Person address or other Details for Vendor(i.e XK02) and that to Contact Person.
      Other ideas are also welcome.
    Can anyone suggest? Or Guru's, u want some more clarification.

    Hi
    check for the BAPI - "BAPI_VENDOR_EDIT". I m not sure about the address details in this.
    You can also use LSMW to update the records. It would be easy.
    Thanks
    Sachin

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

  • 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

  • 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

  • Interfacing vendor contact person information

    Hi All,
    Scenario:
    We are implementing and MDM solution to keep a central vendor repository, which will be the source for multiple backend ECC systems. We use SAP PI as middleware and try to stay as much as possible with the standard SAP IDoc formats.
    Problem:
    Unlike for customer MD SAP doesn't seem to support the interfacing of contact person details via ALE for vendors (or I haven't found it yet, if it is there, please let me know, it would be great news ). For debmas you have an E1KNVKM segment included in the debmas IDocs and I assume that there will also be ADR3MAS messages to provide the address details.
    I believe that we'll have to go for customizing to get the same for the vendors but was hoping that someone has already gone through this effort and can share some best practices? Especially when it comes to configuring the system to make sure that the contact persons will be linked correctly to the vendors taking the CAM into account. (How to configure TSADOBJ and so on...)
    Thank in advance!
    Lee

    Hi,
    Take out the list of fields for vendor contact information in the respective table and try to include them in your custom segment in your message type and try to populate the data in that and sent it through the IDOC.
    if the same information can be handled at inbound system then you can capture the same.
    regards
    Vishnu

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

  • Vendor Contact Business-Address (Assign Street/City/St/Zip to Contact)

    I cannot load business-addresses for Vendor Contacts, can some please help?
    Have successfuly loaded Vendor and its Contacts (via LSMW) and even created addresses (ADRC recs via BAPI) but cannot link that address to the contact and it seems like it should be so easy after getting this far.
    For example, note the two tables KNVK (Contacts) and ADRC below - I created a Contact manually (XK02) and Address (BAPI_ADDRESSORG_SAVEREPLICA)
    but note field KNVK-ADRND is blank. This is the link to the address rec and if I could only find a function to connect the two. In Dev I "slammed" the ADRC-ADDRNUMBER directly into KNVK-ADRND via UPDATE and it all works! The Contacts Business-Address shows up in the Vendor tcodes XK01-3 (Contacts scrn) but I can't get away with that in Prod - or can I - it's tempting?
    Table: KNVK
    PARNR        NAMEV         ADRND      PRSNR
    0000023245 TEST1                             0000023914
    Table: ADRC
    ADDRNUMBER STREET                      ADDR_GROU
    0000023916       E2190 STREET           BP
    Have tired (painstakingly) these functions:
    BAPI_ADDRESSORG_CHANGE() - am able to change an existing contact business-address, but not create it.
    BAPI_ADDRESSORG_SAVEREPLICA() - am able to create an address, ADRC rec, but not link it to the contact.
    BAPI_ADDRCONTPART_SAVEREPLICA() - does NOT support Street/City/St/Zip
    BAPI_ADDRESSCONTPART_CHANGE() - does NOT support Street/City/St/Zip
    ADDR_SINGLE_SAVE() - wont run cuz all vars are not setup deep inside.
    ADDR_PERSON_REFERENCE_INSERT() - does not like something.
    BUPA_OUTBOUND_ADDR1_SAVE() - struggling with params.
    Any ideas - thank you?

    Since the Vendor LSMW has no provisions to load contact addresses I wrote a separate report that used the same vendor load-data. In other words, this is a separate step after the LSMW is complete.
    To update the contact address I used a simple BDC for tcode MAP2 (edit-contacts). (Too many SAP ADDRESS functions to deal with and the BDC was only a few lines and very clear.)
    Note, tcode MAP2 uses PARNR to identify the specific contact in question. I had to first retrieve the PARNR for the contact created during the vendor load (LSMW) by their partner-function (PAFKT - this is easy) but also using their name (NAMEV & NAME1 which is hazy) since we had duplicates. ie same person same partner-function but with some other differences. In these cases, I just listed a msg on the output rpt that these could not be identified due to multiples.
    However, once you know the specific PARNR, the BDC is a breeze.

  • 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

  • UNASSIGNMENT OF VENDOR CONTACT PERSON

    We have implemented SRM 5.0. Is it possible to unassign a vendor contact person if the contact person are not to be used anymore?
    I "unassigned" the contact person in the Org. Structure, but when using transaction BBPMAININT (Manage Business Partner Data), option Business Partner Data and Employee, the Contact person still appears in the selection list. I do not want to delete the contact person, as bid invitations has been sent to this contact.

    Hi Marinda,
    You can unassign or block this vendor contact person by using transaction code BP. Find out the business partner number of the vendor contact person and go to the status tab in T-code BP for the role vendor in business partner maintanance and click on block business partner.
    This will ensure that you are unable to select this business partner in the search criteria.
    Please assign points for usefull answers
    Sundeep

  • 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

  • SUS - Adding SU01 uset as Vendor contact person

    Hi,
      In SUS, we have supplier users already created in SU01. Is there a transaction to associate the SU01 users as vendor contact person in SUS? I know you can accomplish this via BBPMAININT in SRM. I don't believe we can use this transaction in SUS.
    Surendra

    Hi Sanjeev,
    Thanks for that helpful soluetion. I could do the Vendor  user mapping in the Org Structure (PPOSA_BBP) , before i was trying to do the same in the Vendor Org Structure.
    But, just want to know whether this mapping of Vendor Users inthe POrg structure is correct or not. If ocrrect what about the User Attributes ?They follow that of the Pur Org ?
    We want to stop the Self registration by Vendors and we will generate User ID & Pswd for him to access the SUS Applciation.
    Appreciate your earliest response.
    Regards,
    Suvarna

  • How to change validity for relationship contact person - BUR001

    Hi group,
    I need to be able to change the from and to date from the relationship category BUR001 (Contact Person). The system automatically sets the FROM as 01.01.0001 and the TO as 31.12.9999.
    I assumed the customizing for this is done in the relationship category settings in transaction BUBA. Setting its value to 2 or 4 should do the trick and does the trick for any other relationship category, but NOT for the contact person category. Of course I need to be able to change this one and not other types
    I am sure this problem has been encountered before. Please provide me with suggestions. Again: BUBA settings do not solve my problem for specifically this relationship category.
    Thanks in advance! Useful answers will be rewarded.
    Kind regards,
    KZ

    Hi there,
    We can creat a relationship category of contact person with validity period.then use this relationship category while you assign the contact person to the main Business partner.

  • 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

  • Changing the email Content for the Contact Person Creation

    Dear All
    We are on SRM 7.0. We need to change he mail content that goes to the Contact Persons of Vendors. These contact Persons are created in SRM for bidding.
    How to change the email content?.
    Thanks in Advance.
    velu

    Hi,
    Pl. follow the following steps :-
    1. Create smartforms containing your own content to be sent to contact persons.
    2. Implement the BADI : BBP_OUTPUT_CHANGE_SF.
    3. There is one interface(method) in the above BADI e.g. :change_forms.  You have to call smart forms in this interface.
    I hope you may achieve your task by following the above steps.
    regards
    HARSHB

Maybe you are looking for

  • Calling a webservice having an abstract element

    hi , I want to call a webservice which takes one element namely "data" as part of request info.But "data" is of abstract type and "EnterpriseData" is another element which is of type "data" . So when I form the request object as <mx:request> <data></

  • Has anyone found a solution for the screen freeze on iPhone 6 plus?

    I have an iPhone 6 plus on t mobile. Since buying the phone, there has been difficulty with the screen randomly freezing. I was wondering if this was a software fix or do I need to have the hardware looked at.

  • How to hide a report

    Hi, I have a form and report on the same Apex page. Is there a way to only show the report when the user clicks on the "Submit" button. That way the report will only show up when the "Submit" button is clicked on with the form data. Thanks.

  • To get the DB table name used by CRM_UI_FRAME to store data.

    Hi All, Can anyone plz tell me how to get the DB table name used by the CRM_UI_FRAME to store data .Actually its a Ztable. Or else where to put the debug poin in order to get that. Thanx Abhishek

  • Project Management -Automatic process to approve Forecast Cost and Revenue?

    Hello, If anyone can help me with this it would be greatly appreciated. Due to our business requirements, we have to run the "PRC: Generate Financial Plan Amounts" program every week for 40-50 projects. The issue with this is that after running this