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.

Similar Messages

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

  • Creation of Interaction object programatically for Business partner

    Hello,
    How to create Interaction object ( BUS20004  )programatically for  Business partner ? If anybody worked on it , plz let me know how we can create it for BP.
    BOR object for InteractionObject is: BUS20004 Interaction Object
    Regards
    Sandeep

    Dear Sandeep,
    Please use FMs CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE to create Interaction Record using the program.
    Thanks
    Vishal

  • SRM 7.0 temporary contact person creation on portal

    Hi,
    We are implementing the temporary contact person creation on SRM RFx.We are running SRM7.02 and are running it using the SAP portal.
    We are able to add the supplier on the RFx and if the supplier does not have a contact person, as expected,the system is automatically creating a user name and password that is emailed to the supplier.
    We are having a problem, the generated user name and password are created on the SRM system only, but we require the supplier to log on through the portal, as we run SRM from the portal,
    Can this solution only be used if running SRM with NWBC or is there configuration that we are still missing to also automatically create the portal user ID and password for the contact person?
    Helpful points will be awarded,
    Regards,
    Busi

    Hello Carsten,
    is this concept of "temporary contact person creation" a standard one or not?
    Regards.
    Laurent.

  • Skype for Business & Lync : Contact icons not appe...

    In our environment we have several users that are using Skype for Business, and the rest using Lync.
    We have noticed that when migrating our users over to Skype for Business, the contact functionality that shows "icons" next to each person's name is now blank.
    As an example, my personal icon shows up for me but none of my contacts show their customized pictures.
    Lync users can see my icon and can see everyone elses.
    Thank you

    Hi Alan Dooley,
    Have you tried to create a new desktop shortcut ?
    In addition, you can try to follow the FAQ below to rebuild the icon cache.
    https://social.technet.microsoft.com/Forums/windows/en-US/bea47202-d869-4155-8c8f-2a5b8bd7be1d/forum-faqhow-to-rebuild-icon-cache
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Business Partner Contacts Define new is blank when addon runs

    version 2007 PL 15
    When my addon is running the business partner contacts tab is missing the "Define New" option and contacts cannot be added.
    When the addon is stopped then the businness partner contacts tab functions normally.
    There is nothing in the addon that affects or references the business partner form, and the event filters have been set carefully to exclude any unnecessary events.
    Has anyone had this strange problem or does anyone have any ideas?
    Thanks,
    Mel

    Mel,
    the problem must be in your addon. I think that you dont catch correctly the events or you work on incorrect form. For solution I recomend to find out the item no in BP contact (its 13) and search  through your code where is the 13 and check if is it correct. Maybe the problem is, that contacts in BP are only in ok form mode - check if have somewhere in code changing of formmode for BP form.
    Petr

  • Not all fields for Business partner are exported

    Hello,
    I am exporting Business partner data from CRM to another system, through XIF. I get on target system XML file with Business partner data. But I have only standart fields. I can't get fields, which was created my company for own use.
    For example, for Business partner I have Business Agreement, but after export to XML, I have no Business agreement data in another system. But I have standart data, for example, Business partner Name, ID, ets.
    Anybody know what I can do to export all the fields for Business partner? Some transaction or somthing else? Where can I customize output XML with Business partner data?
    Best regarda,
    Alexander.

    Hi,
    You have the right observation. There is no mandatory fields for BP. It means you can update any single field against CardCode. CardCode is the only mandatory field which is the only primary key must be unique.
    Thanks,
    Gordon

  • Number ranges for Business Partner

    Hello experts,
    Can you please guide how to define different number ranges for differenet different parner functions such Bidder and Employee.
    Presently when I create a new employee for a Business partner who has newly registered with SRM, they both are getting same range of BP number, which makes the user list very long to manage/search while creating BID/Auction invitation.
    Please guide me. Thanks in advance
    Vijay

    Hello,
    find below the settings of table T77S0 in our system. We use grouping Z4 for org units. Be aware of the fact that number range and grouping have to have the same ID in this case.
    Regards
    Wolfgang
    GRPID SEMID GSVAL      ETEXT
    HRALX HRAC  X          Activate HR Integration
    HRALX MERID X          Enter Integration Error in IDOC
    HRALX MSGRE 0          Recipient of Error Message When Creating BP
    HRALX OADBP            Business Partner of Standard Address
    HRALX OADRE            Address Necessary for Business Partner?
    HRALX OBPON ON         Integration O-BP Activated
    HRALX OBWIG X          Ignore Business Partner Warnings
    HRALX ONUMB 2          Business Partner Number Assignment (Org. Unit)
    HRALX OPROL BUP004
    HRALX OSUBG Z4         Business Partner Subgroup (Organizational Unit)
    HRALX PALEO            Log: Organizational Units in ALE
    HRALX PALEP            Log: Employees in ALE
    HRALX PBPHR OFF        Employees Are Replicated from HR System
    HRALX PBPON ON
    HRALX PCATS            Integration P-BP for CATS Activated
    HRALX PINAC            Activate ALE Distribution of Inactive Employees
    HRALX PLEVE 3          Log: Detail Level of Error Messages (1 - 5)
    HRALX PNUMB 3          Business Partner Number Assignment (Employee)
    HRALX PPROL BUP003
    HRALX PQUAL            Import Qualifications
    HRALX PRTON            Log Active
    HRALX PSUBG            Business Partner Subgroup (Employees)
    HRALX PSYNO            Log: Organizational Units in Dialog
    HRALX PSYNP            Log: Employees in Dialog
    HRALX USRAC X          Create Relationship to User

  • Search help for business partner ID in segmentation applet

    Hello,
    In CRM 2007 I'm using the segmentation toll. When creating filters for Business Partner ID criterium I'm using a search help functionality to find the desired records. However search help for business partners used in this area is very different from the search help used in any other parts of WEB UI (it is restricted to only few fields, that are not enough for our requirements).
    Segmentation applet is written in Java but the search help looks like normal WEB UI screen. I wonder if any of you could help me with replacing this serach help called by segmentation applet (java application) with a standard search help for business partners (BP_HEAD_SEARCH)?
    Kind reagrds
    Marek

    Hello there,
    I think the requirement/question is not very clear in your post.
    However, the segment Java applet calls a CRM class which has related code and methods.
    Class:  CL_CRM_MKTTG_SEGAP_COM
    Package: CRM_MKTTG_SEG_APPLET.
    Please explain the problem in detail.
    Regards,
    Vinamra.

  • Change history of User for Business Partner Number attaching and removing

    Hi Experts
    Is there any t-code in SRM which will show change history of User for Business Partner Number attaching and removing.
    Thanks--
    Guru Prasad Dwivedi

    Serene,
    I am not too sure if anyone can DELETE a Payment Term linked to a BP. The system would not allow this.  If at all a Payment term was deleted, I don't think it can be traced.
    It is therefore very important to use Proper user authorization so that only people authorized to do certain things are doing it and not everyone.
    Suda

  • Grouping of number range for Business Partner

    Hi Team,
    Where do we maintain grouping of number range for Business Partner and assignment of number range to group?
    Thanks,
    Sanjay

    Hi Sanjay
    Go to SPRO > Cross Application Components > SAP bussiness partner > Bussiness Partner > Basic Settings > Number Ranges and Groupings.
    Thanks
    pravin

  • Archive Link Authorization problem for Business Partner.

    Hi Experts,
    Currently we are attaching documents to respective objects through Tr. OAWD & these documents are available in service for object as attachment, until this it is working fine.
    But we are facing problem of authorization for archive link of ISU- Business Partner. Letu2019s say we had two users USER-A & USER-B responsible to upload documents of Business partners started with 1 & 2 respectively.
    We needed authorization control for USER A&B so that,
    USER-A should upload documents for Business Partner 1001 to 1999
    & USER-B should upload documents for Business Partner 2001 to 2999
    we need to know can we restrict USER A&B so that they can not upload documents for Business Partner for which they are not responsible. we allready checked the roles "SAP_BC_SRV_ARL_*  " but not found useful to restrict USER A&B.
    Thanks in advance....

    Hi Sam,
    as this sounds like you search for suitable authorization objects I think that the authorization trace in transaction ST01 could be useful for you. For further information please see the following link: http://wiki.sdn.sap.com/wiki/display/PLM/AuthorizationTraceintransactionST01
    Best regards,
    Christoph

  • Custom screen field in the SRM portal screen for Business Partner Bidder

    I need to add a custom screen field in the SRM portal screen for Business Partner. I have added this custom field in the include structure: CI_EEW_BUT000 and activated it.
    I was expecting to see the enhanced field available in the SRM portal screen when I create the bidder. But is not available.
    The new field are available if I edit an Business partner only.

    Hi,
    Please look into the following OSS Notes:
    Note 675800 - Business partner enhancement SRM on maintenance screen
    Note 672960 - User-defined fields 2
    Thanks,
    Pradeep

  • SD Account determination for business partner items

    Hi All!
    I need to understand how does the account determination works for business partner items. I know that al trx VKOA is where I can customize the account that is gonna be used at the GL items, but I can't find where is the customizing of the accounts for the business partner items. Could you help me?
    Thanks in advance!
    Fred

    Hi
    When you create a billing document (trx VF01) in SD, you can then go to trx FPE3 and the this document from a finantial point of view.
    In trx FPE3 you will see the ducument splited in two parts, the business partner items and the GL items. If you doble click over any line of the GL items (excluding taxes) you will see more information about this line and one of it is the GL account. This account is set via trx VKOA.
    Going back, if you doble click over any line of the Business partner items, you will see more information about this line and one of it is the GL account. But in this case I don't know where it should be customized.
    I hope I was clear enoght.
    Regards,
    Fred

  • Problem while enter address for business partner-tcode BPC1

    Dear Experts,
    I have already enter address for business partner completely in BPC1, but after saving, the data has been entered always gone and message appears: "Enter address for business partner".
    Please somebody advice me about this issue.
    Thank you in advance.

    Please check this thered follow the steps.
    [BDT|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6173fb9e-0701-0010-6083-a0001827a6ff]
    Create  a field group--> attch fields over there.
    Create a view > attach a field group over there.->If you double click the view , you have to create one screen and attach function modules for PBO and PAI.
    create a section --> Attach your view.
    Create a screen ---> Attach your section.
    Regards,
    Siva

Maybe you are looking for

  • Routing issue with 2 VPN on ASA

    Hello, I am trying to setup a VPN between 3 sites : site2 and site3 needs to communicate with site1(ASA) :      site1(ASA)      |               |      |               | site2          site3          Peer On site2 / site3 if have multiple peers that w

  • Artist profile picture gone in music app, how to get it back?

    Hi Guys, I got an Iphone 5s 16gb space grey recently and i restored from backup after updating it from 7.1 to 7.1.2. I noticed that from my backup before and my old phone before my 5s (4s) that in the artists view in the Music app, there were artists

  • Troubleshooting merging of PDF in Adobe Pro 9.0.0 on Windows 7

    Hi, I have a lot of people in my company complaining that Adobe Pro 9.0.0 can't merge PDF files anymore. This seemed to work great on Windows XP earlier. I reinstalled the application for four users but it doesn't seem help. I'm using the norweigan v

  • How to export my library off my ipod nano to iphone

    Hello - Please can someone tell my how to export my music library of nearly 500 songs off my Ipod Nano 2nd generation onto my Iphone 5 - only the purchased songs have been exported in Match. Thanks

  • Changes to standard BIC EJB Module code possible ?

    Hi All, Can we get the code of standard ejb module "localejbs/CallBicXIRaBean "  ? if yes , from where ? Also can we edit this code to make a custom module , so that I can move the error file (failed in validation) to another directory? "MP: exceptio