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.

Similar Messages

  • Badi for Business partner contact person creation

    Hi Experts
    Kindly tell me what badi can I use to trigger error while creating the BP in role contact person , the requirement here is to check the email for duplication and throw the error
    Thanks & Regards
    Rajasekhar

    Hi,
    I think you can use BUPR_CONTP_CREATE to create contact persons or Badi BUPR_CONTP_CHANGE to change COntact Person Data. I give you a code example when I have used BUPR_CONTP_CHANGE to change data of contact persons:
    SELECT * FROM but051 INTO TABLE lt_but051 WHERE dprtmnt NE space.
    SORT lt_but051 BY relnr.
    MOVE ls_but051-dprtmnt TO ls_babi_persona_contacto-comments.
    MOVE 'X' TO ls_babi_persona_contacto_x-comments.
        CALL FUNCTION 'BUPR_CONTP_CHANGE'
          EXPORTING
            iv_partner       = ls_but051-partner1
            iv_contactperson = ls_but051-partner2
            iv_date_to       = ls_but051-date_to
            is_data          = ls_babi_persona_contacto
            is_data_x        = ls_babi_persona_contacto_x
          TABLES
            et_return        = lt_return_bapi.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          IMPORTING
            return = lt_return_co.

  • 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

  • How to maintain the contact person in Business Partner ?

    Hi Experts,
    Could you help to resolving the below Requirement.
    __  +Requirement:+__
    How to maintain the contact person in Business Partner ?
    How to get the Contact person in Is-Media Documents?
    Thanks& Regards
    Venkat

    Dear Venkat,
    In SD Customer Master data, we can maintain Contact Person in General Data tab page.
    For my knowledge, we can not find u201CContact Personu201D field in ISM Business Partner u2013 General Data. Correct me if I am wrong.
    Mostly user enters the contact person details in u201CSearch Term 1/ 2 fieldu201D in Address tab page in ISM Business Partner u2013 General Data tab page. While creating ISM Billing Document for this Business Partner, system prints this contact person details in ISM Invoices.
    (Or)
    While creating ISM Order, user can maintain Contact Person name in Header Details(Click on u201CGo to >Header>Details>Purchase Order Data>Cont.Person)
    If you maintain Contact Person name in Header Details also, system print this contact person details in ISM Invoices.
    Check from your end.
    Best Regards,
    Chandramohan

  • Which table does the Contact person info (given in cu. master) is stored?

    H,
    I would like to know in which table the contact person details are stored, which in maintained in customer master general data under the contact person tab. I need to get the information of contact person i.e. telephone numbers, mobile, email, etc...
    Can any one help me..
    Thanks
    Ghanesh

    Hi,
    in KNVK Table or see structure RF02D
    Kapil

  • Badi or user exit for FTR_CREATE for modifying the Payment Details

    Hi,
    I need a Badi or user exit that will modify the internal table for the "Payment Details" in transaction FTR_CREATE. Basically, instead of using the default entries in the "Payment Details", data from a Z custom table will overwrite the "Payment details" or the internal table containing the "Payment details". This should create entries in the Transparent Table VTBZV with the values fron the Z custom table.
    I'm trying to implement the BADI FTR_TR_GENERIC but I cannot find where and how to modify the original "Payment Details" entries. Or if its even possible to do this.

    Hi Ravi,
    I was trying to do that but I am not sure were to start. I tried to modify the contents of PI_PROXY_TRANSACTION->A_TAB_CASHFLOW using MODIFY <itab> but an error occured when I tried to activate it saying that the Class/Interdace Attribute is read-only and cannot be modified. Is there a Method that I need to do in order to modify the Attribute? (I'm not that familiar yet with Classes and Methods though)
    Also, just to test, I manually changed the contents of two internal tables containing the "Payment Details" data during debug mode. But after the program has ended its run and finally saved the data, the Table VTBZV was not updated with the manual data I introduced. So I'm not sure if the Badi FTR_TR_GENERIC (which is I'm implementing) really allows the "Payment Details" to be modified or if I'm modifying the correct internal table(s).

  • 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

  • Authorize Users to Create ONLY Contact Person Details in a BP Account.

    Hello,
    I have an issue with respect to Authorization in CRM WebUI.
    Issue:-
    A User (end-user) depending on his role (Role A Assigned in SU01) should not be allowed to edit any account details except CONTACT Block Details, i.e. the respective user should be able to edit/create only the contact block details.
    The standard Authorization Groups CRM_BPROLE & B_BUPA_RLT are set with the folliowing values:-
    ROLE A
    1) BPTYPE = 000000, BUP003
        ACTVT = '  '
    2) BPTYPE = BUP001, BUP002, CRM000
        ACTVT   = 1,2,3
    *Analysis & implementation *
    I have created a Z BADI implementation of BADI in the method IF_UIU_BP_AUTHORITY~CHECK_EDIT.
    Commented the code from Ossnote 1259940 and wrote a simple code to give no/full authorization depending on parameter
    IV_APPLICATION_NAME.
    IF iv_application_name = cl_crm_ic_bp_constants=>gc_cp_create or
        iv_application_name = cl_crm_ic_bp_constants=>gc_cp_edit.
        cv_not_allowed = abap_false.
    ELSE.
        cv_not_allowed = abap_true.
    ENDIF.
    RESULT
    The test results are -
    either the user gets to edit the complete BP account (incl. CP) or
    he gets no authority to edit any BP details (incl. CP).
    What I want is->
    Though the user CANNOT edit the complete BP account details, he should be able to EDIT/CREATE Contact Details.
    Now i need help from you all to suggest me on how to achieve it.
    One option is - Take away the complete authority from the user and give only authority on CONACT PERSON block.
    But for this I need to know how do we create authorizations on block levels.
    Any Help/Tip would be appreciated.
    Thanks
    Dedeepya

    Dedeepya reddy,
    I just wanted to say thanks for coming back, and giving the solution you used.
    It is helpful to anyone who may want to perform a similiar thing.  If you didn't do that they would be just as lost!
    I appreciate that people provide solutions when they ask questions that way it can further the help for others.
    Again thank you.

  • Issue while saving contact person details in CRM 5.2

    This issue is in IC webclient CRM 5.2.
    Issue:We search for the product and then confirm it.Once its confirmed,it will display the list
    of partners(ex:Sold to party ) for that product.
    When I  select sold to party ,it will display the list of contact persons for that sold to party.
    Then I select one contact person and I change some details for the selected contact person like extension,email and save it.
    Its getting saved.
    After that I do cancel interaction and I repeat the same steps.After changing the contact person,when I click on save ,its not getting saved.
    Again If I click on Save,its getting saved.
    I found that in setter method,collection wrapper is getting refreshed for the second time.Because of that,its throwing an exception 'CS_SY_REF_IS_INITIAL'.
    Can you please tell why this collection wrapper is getting refreshed and what could be the problem.
    Thanks in advance.
    Best Regards
    Baku

    Hi,
    You can set a check to see whether the object is bound. Otherwise, try to find out why the method is called twice.
    Regards
    Prasenjit

  • Regd the contact person fax and email address

    Hi,
    I am trying to get the contact persons fax and email address.The telephone # is available in KNVK table.but I don't see fax and email.Let me know how to get the details.
    also I see PRSNR in KNVK..What  is the purpose of peson number?
    thanks
    Suganya

    Take a look at the code below, Extract from KNVK and use the prsnr number to extract tel number and email address.
    * Use function & dept to extract KNVK data and person number
    SELECT parnr kunnr namev name1 abtnr anred pafkt parh1 parh2 parh3 parh4 parh5 pakn2 pakn3 pakn4 pakn5 prsnr
    FROM knvk
    INTO TABLE i_knvk
    WHERE kunnr = wa_vbak-kunnr.
    * Use person number to extract the fax no.
    IF i_knvk[] IS NOT INITIAL.
    SELECT persnumber fax_number
    FROM adcp
    INTO TABLE i_adcp
    FOR ALL ENTRIES IN i_knvk
    WHERE persnumber = i_knvk-prsnr.
    ENDIF.
    IF i_knvk[] IS NOT INITIAL.
    SELECT persnumber smtp_addr
    FROM adr6
    INTO TABLE i_adr6
    FOR ALL ENTRIES IN i_knvk
    WHERE persnumber = i_knvk-prsnr.
    ENDIF.

  • Notifications not going to the contact person

    Hello Friends,
    Scenario - When i create an RFI Customer activity in a CSR and set its status to 'Requested Customer'', a notification (more information is required) goes to the contact person and the team lead of CRO (Customer Responsible Organization). If the customer does not reply for 3 days (in case of a High Severity CSR) or 7 days (in case of severities other than High), then reminder notifications (more information required - reminder) get triggered which go to the contact person and the team leads of CRO.
    Problem - In the first case,the notification (more information is required) goes to the contact person and the team lead of CRO (Customer Responsible Organization) where as in the second  case, the reminder notifications do not go to the contact person, but they go to the team leads of CRO.
    Analysis - There are 2 workflows that get triggered when the  RFI Customer activity in a CSR and set its status to 'Requested Customer''. The first one sends the notification  (more information is required) to the contact person and team leads of CRO immediately. The other workflow checks whether the customer has replied for 3 days (in case of a High Severity CSR) or 7 days (in case of severities other than High), and then sends the notification to the contact person and team leads of the CRO. I have checked the bindings, tasks, receiver rules and the methods in both these workflows. They are exactly similar. The only difference in these workflows is the wait step added in the second workflow.
    Do you have any clue as to what is the reason behind the second workflow not sending the notifications to the contact person ?
    Appreciate your help and timely response.
    Thanks
    Prashant

    Hello Rick,
    Thank you for your response. Here are the answers to your queries -
    Question -->Is a mail being sent to the same email address in both workflows with SendMail, and only working in one of them?
    Answer --> Yes
    Question -->There must be some other difference other than the wait step.
    Answer --> The difference between the 2 workflows is mentioned step by step as below -
    Workflow for which the notifications are sent to the contact person and team lead of CRO
    Step 1 --> Condition step whether the email address exists or not.
    If No --> Sends a mail to the LDA (Local Database Administrator) to maintain the email address of the contact person
    If Yes --> Goto Step 2
    Step 2 --> Condition step whether the Severity of the CSR is High or not
    If Yes --> Send step (to send the email notifications to the contact person and team lead of CRO)
    If No --> Send step (to send the email notifications to the contact person and team lead of CRO)
    Workflow for which the notifications are not sent to the contact person and team lead of CRO
    Step 1 --> Condition step whether the email address exists or not.
    If No --> Sends a mail to the LDA (Local Database Administrator) to maintain the email address of the contact person
    If Yes --> Goto Step 2
    Step 2 --> Condition step whether the Severity of the CSR is High or not
    If High - Wait Step (waits for 3 days before sending the notifications to the contact person and team lead of CRO)
    If Other - Wait Step (waits for 7 days before sending the notifications to the contact person and team lead of CRO)
    Step 3 --> Condition step to check the CSR Status (to check whether the customer has replied or not)
    If Yes(customer replied) --> End workflow
    If No (customer has not replied)--> Send step (to send the email notifications to the contact person and team lead of CRO)
    Question -->How have you implemented the wait step? Does it fetch the address before or after the wait?
    Answer --> The email address is fetched at the very first step.
    Question -->What happens if you make a test workflow with just the Sendmail step and send to the same address?
    Answer --> The notification goes to the same email address.
    Kindly let me know if the information that i have provided is comprehensive enough. Your help will be deeply appreciated.
    Thanks
    Prashant

  • 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

  • A List of Customer Line Items according to the *CONTACT PERSON*

    Hi All,
    I'm looking for a report which shows the  List of Customer Line Items according to the CONTACT PERSON data, that I can find in the customer master data.
    Thanks for your help

    Not sure if you can add this field to the selection criteria. Please look at OSS notes 188663, 310886. I remember there were some restrictions as only fields from certain tables are allowed to use in FBL1N, FBL3N and FBL5N transactions.
    Shail

  • How to fetch the contact person of the Vednor in SRM

    Hi All,
       I need to display the Contact Person of the vendor which is maintained in XK03(contact person(view)).
         ->How to fetch that name in the SRM ?
        ->Is any FM exists ?
    Thanks and Regards
    Channappa

    Hello Channappa,
    Contact person is only significant for Bid Invitations.
    For Bid Invitations, you don't have a Vendor but a Bidder with one or several Contacts Persons.
    So, when you are in BBP_BID_INV transaction, when you look for bidders to link to your bid invitation, you will find their contacts: this is standard process.
    In SAP GUI transaction BP, you will see bidder contacts if customizing done to use BBP_VENDOR_SYNC report to replicate vendors is correctly maintained.
    Regards.
    Laurent.

  • How to Upload the Contact Person to Cremas05 Idoc

    Hi Guru's,
    I have one question, I am a novice in SAP.
    I want to upload the contact person to Cremas05 Idoc . This data is present on Debmas Idoc but not in Cremas.
    Do you have an idea how we can do?
    Regards,
    Moh.

    Hello Moh,
    I'm sorry for the information but there is no ALE support for the vendor contact persons.
    This feature has not been developped and there is no plan to develop it for the next releases.
    The only solution I can see is a consulting project.
    SAP can help for you this.
    If you are interested in such activity, I would encourage you to open a customer message in SAP marketplace under component LO-MD-BP-VM and ask that the message gets forwarded to development support. You may also add my name too in order to speed up processing.
    Sorry for that information
    Best regards
    Alain

Maybe you are looking for