How to save more than one Contact Person in CRM

Hi experts,
                 How to save more than one contact persons in CRM opportunity Application?
I am using following Function Module...
  CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
      it_partner        = lt_partner_com
    CHANGING
      ct_input_fields   = lt_input_fields
    EXCEPTIONS
      error_occurred    = 1
      document_locked   = 2
      no_change_allowed = 3
      no_authority      = 4
      OTHERS            = 5.
I am giving the input field name as 'PARTNER_FCT', 'PARTNER_NO', 'DISPLAY_TYPE', 'NO_TYPE', 'MAIN_PARTNER' and 'RELATION_PARTNER'.
The problem is it is saving only one contact person, not more than one.
Please help me how to save more than one contact persons.

In SPRO partner processing this needs to be configured.

Similar Messages

  • How can I maintain more than one contact person for a supplier

    Hi
    As per our business requirement , How can I maintain more than one contact person for a single supplier in SRM?
    How these contact persons are supposed to log in to a portal with different user id and passwords and access the bids for same supplier.
    we are in SRM 7, and currently we are creating contact person throug customised BDC.
    please advice.
    Thanks & Regards
    NITIN
    Edited by: nitinkk on Sep 9, 2011 10:22 AM

    Dear Yaniv,
    Thanks for your information,
    I am able to create  users But my problem is How these contact persons are supposed to log in to a portal with different user id and passwords and access the bids for same supplier ? Is there any kind of maping is available for the user/ contact person to the supplier no.??
    Thanks & Regard
    NITIN

  • Iphone6 why can't I save more than one contact?

    iphone 6 why can't i save more than one contact?

    Hi Diovani
    Two different processes can have different task initiators...task initiator means creation of a process instance which can happen only once

  • HT2373 how to import more than one contacts one time

    i have more than one thousand contacts with email address. how can i important it in to the new MacBook Air address book one time? it is impossible to import one by one.

    Hi Derek, 
    It sounds like you were looking to back convert TO the PDF format.  To do this, you'll want to look at our desktop application, Adobe Acrobat.
    As you requested, I have initiated a return of your CreatePDF subscription.
    -David
    [moving thread to CreatePDF forum]

  • Error while importing more than one Contact Persons

    Hi experts,
    I am trying to import 2 Contact Persons in the same Business Partner using DI.
    My issue is that only on the second  Contact Person all fields are correct. On the first Contact Person, all fields except the "Name" are blank.
    Has anyone seen that before?
    Thank you in advance,
    Aris

    Hello Aris,
    Could you post your code? I think you don't add a line or set the line correct.
    See this example from the sdk-help:
    Private Sub cmdTest_Click()
       On Error GoTo ErrorHandler
       Dim vCompany As SAPbobsCOM.Company
       'create company object
       Set vCompany = New SAPbobsCOM.Company
       'set paras for connection
       vCompany.CompanyDB = "SBODemo_US"
       vCompany.Password = "manager"
       vCompany.UserName = "manager"
       vCompany.Server = "(local)"
       'connect to database server
       If (0 <> vCompany.Connect()) Then
          MsgBox "Failed to connect"
          Exit Sub
       End If
       Dim nErr As Long
       Dim errMsg As String
       'do it now
       Dim vBP As SAPbobsCOM.BusinessPartners
       Set vBP = vCompany.GetBusinessObject(oBusinessPartners)
       vBP.CardCode = "HU1003"
       vBP.CardName = "ABCD"
       vBP.CardType = cCustomer
       vBP.CommissionGroupCode = 0
       vBP.CommissionPercent = 15
       vBP.Company_Private = cPrivate
       vBP.ContactPerson = "C1"
       vBP.Currency = "$"
       vBP.DiscountPercent = 15
       vBP.VatLiable = vLiable
       vBP.ShippingType = 3
       Call vBP.ContactEmployees.Add
       Call vBP.ContactEmployees.SetCurentLine(0)
       vBP.ContactEmployees.Name = "C1"
       vBP.ContactEmployees.Address = "LN"
       vBP.ContactEmployees.E_Mail = "c1atabcd.com"
       vBP.ContactEmployees.Fax = "8433777778"
       vBP.ContactEmployees.MobilePhone = "8388888"
       vBP.ContactEmployees.Phone1 = "88880000"
       Call vBP.ContactEmployees.SetCurentLine(1)
       vBP.ContactEmployees.Name = "C2"
       vBP.ContactEmployees.Address = "BJ"
       vBP.ContactEmployees.E_Mail = "c2atabcd.com"
       vBP.ContactEmployees.Fax = "84338"
       vBP.ContactEmployees.MobilePhone = "877388888"
       vBP.ContactEmployees.Phone1 = "8888300"
       If (0 <> vBP.Add()) Then
           MsgBox ("Failed to add an business partner")
       Else
           Dim objCode As String
           MsgBox ("Succeeded add a business parnter, new objcode=" + vBP.CardCode)
           vBP.SaveXml ("c:\temp\BP" + vBP.CardCode + ".xml")
       End If
       'Check Error
       Call vCompany.GetLastError(nErr, errMsg)
       If (0 <> nErr) Then
           MsgBox ("Found error:" + Str(nErr) + "," + errMsg)
       End If
       'disconnect the company object, and release resource
       Call vCompany.Disconnect
       Set vCompany = Nothing
       Exit Sub
    ErrorHandler:
       MsgBox ("Exception:" + Err.Description)
    End Sub
    HTH Regards Teun

  • How to delete more than 1 contact at a time

    I need to know ASAP how to delete more than one contact at a time

        Hello grams4crew!
    I can definitely help you in deleting more than one contact at a time, no problem! I hope you're enjoying your Galaxy S5!
    You can delete a single contact, or choose multiple contacts
    to delete.
    1. From the Home screen, tap Contacts.
    2. Touch and hold on a contact to select it. You can also
    tap other contacts, or choose Select all to select all
    contacts.
    3. Tap Delete, and then tap OK to confirm.
    We have a page for our customers to get the user guides for their devices: http://vz.to/1oMIe2y
    I hope this helps!
    Thank you,
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • How to emai more than one person

    hi, can someone please post some code on how to send more than one person the same email, i tried what's below but get an error:
    //  Send message out as email via JavaMail
    //  Emails for group 1
    String namesOne[] = {"[email protected], [email protected]"};
    //  Vector to store names
    Vector namesInGroup = new Vector();
    //  Add names to vector
    for(int i=0; i<namesOne.length; i++) {
         namesInGroup.add(namesOne);
    Properties props = new Properties();
    props.put("mail.smtp.host", "???");
    Session s = Session.getInstance(props);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress[] to = new InternetAddress[namesInGroup.size()];
    String emailOfPerson;
    for(int i=0; i<namesInGroup.size(); i++) {
         emailOfPerson = (String)namesInGroup.elementAt(i);
         to[i] = new InternetAddress(emailOfPerson);
    message.setRecipients(Message.RecipientType.CC, to);
    message.setSubject(subjectOfMessage);
    String text = mailText.toString();
    MimeMultipart mm = new MimeMultipart();
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setContent(text,"text/html");
    mm.addBodyPart(mbp);
    message.setContent(mm);
    Transport.send(message);
    // End of JavaMail code
    the host is fine, ???, just didn't want to write it there, i've been able to email one person but can't get this to work, i get the following error:
    [05/Sep/2002:15:27:03] failure (10730): Internal error: exception thrown from the servlet service function (uri=/WriteAndEmail.jsp): javax.servlet.ServletException: Illegal address, stack: javax.servlet.ServletException: Illegal address
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
    at WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:291)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
    , root cause: javax.mail.internet.AddressException: Illegal address in string ``[email protected], [email protected]''
    at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:66)
    at WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:243)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
    both emails are valid.
    Thank you.

    soni29 wrote:
    hi, can someone please post some code on how to send
    more than one person the same email, i tried what's
    below but get an error:
    //  Send message out as email via JavaMail
    //  Emails for group 1
    String namesOne[] = {"[email protected],
    [email protected]"};
    //  Vector to store names
    Vector namesInGroup = new Vector();
    //  Add names to vector
    for(int i=0; i<namesOne.length; i++) {
         namesInGroup.addElement(namesOne);
    Properties props = new Properties();
    props.put("mail.smtp.host", "???");
    Session s = Session.getInstance(props);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new
    InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress[] to = new
    InternetAddress[namesInGroup.size()];
    String emailOfPerson;
    for(int i=0; i<namesInGroup.size(); i++) {
         emailOfPerson = (String)namesInGroup.elementAt(i);
         to[i] = new InternetAddress(emailOfPerson);
    message.setRecipients(Message.RecipientType.CC, to);
    message.setSubject(subjectOfMessage);
    String text = mailText.toString();
    MimeMultipart mm = new MimeMultipart();
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setContent(text,"text/html");
    mm.addBodyPart(mbp);
    message.setContent(mm);
    Transport.send(message);
    // End of JavaMail code
    the host is fine, ???, just didn't want to write it
    there, i've been able to email one person but can't
    get this to work, i get the following error:
    [05/Sep/2002:15:27:03] failure (10730): Internal
    error: exception thrown from the servlet service
    function (uri=/WriteAndEmail.jsp):
    javax.servlet.ServletException: Illegal address,
    stack: javax.servlet.ServletException: Illegal
    address
    at
    org.apache.jasper.runtime.PageContextImpl.handlePageExc
    ption(PageContextImpl.java:384)
    at
    WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:
    91)
    at
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBa
    e.java:126)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java
    826)
    at
    com.netscape.server.http.servlet.NSServletRunner.Servic
    (NSServletRunner.java:533)
    , root cause: javax.mail.internet.AddressException:
    Illegal address in string ``[email protected],
    [email protected]''
    at
    javax.mail.internet.InternetAddress.<init>(InternetAddr
    ss.java:66)
    at
    WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:
    43)
    at
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBa
    e.java:126)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java
    826)
    at
    com.netscape.server.http.servlet.NSServletRunner.Servic
    (NSServletRunner.java:533)
    both emails are valid.
    Thank you.
    try using addElement()method of the vector.
    or get all the address as one string represented by _to
    where _to = "[email protected], [email protected]";
         //set to addresss
    InternetAddress to = new InternetAddress() ;
    InternetAddress [] toadd = to.parse(_to);
    msg.setRecipients(Message.RecipientType.CC,toadd);
    i hope this wouldhelp you
    thanks and regards,
    Suraj Berwal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to make more than one person can access the database at one time

    how to make  more than one person can access the database at one time 

    Please post further f'up's in the Access forum.
    In short: for different reasons it is best practice that each user gets its own local copy of the database. This means that you need to split it into a front-end which only consists of the forms, queries, reports etc. Everything which doesn't need to be
    shared. And a back-end, which only stores the data.
    Take also a look at Allen Browne's article:
    Split your Access database into data and application.
    When you've splitted your database, you may often consider to use SQL Server as back-end. Here you may read Armen Stein's
    The Best of Both Worlds: Access-SQL Server Optimization.

  • Is it posible to determine more than 1 contact person in sales order

    Hi Friends,
    My requirement is to send email to multiple recipeints. So I have created 4 contact persons for each mail id for customer xxx01 in order to send email to multiple recipeints at 1 time. But only one contact person gets determined in sales order. Is it posible to determine more than 1 contact person in sales order if yes can any one help me how it is done?.
    Thanks in advance,
    JM

    Hi,
    Maintain Partner function CP in customer maseter and maintain numbers of CP
    If sytem is not allow to mention four contact person number's then in partner function procedure remove tickmark or UNIK from partner function CP
    kapil

  • Insert more than one contact in the same page/document

    Hello,
    I have tried without success to insert more than one contact into the same page of a document.
    For example, if i insert 2 Address book fields in a page, when i drag a contact from the address book then it populates automatically the 2 fields, and it is impossible to separate these fields and to populate them with 2 different entries (on the same page).
    And when you drag more than one contact to Pages, it asks you if you want to create one document per contact.
    Would it be possible to just insert 2 or more different contacts on the same page/document ?
    Thanks in advance for any help,
    Fred.

    Unfortunately, this can't be done with Pages, nor could it be done with AppleWorks. I think the assumption is that you would merge into a letter & one letter sent per person. In checking the 3 postcard templates in Pages 3, none of them have address book fields to drop contacts into.
    There is a workaround, but it might not be worth the effort. Create your postcard as a single, large document in page layout in landscape & merge to a new document. Then, in the print dialog, choose Layout from the drop-down menu that says Copies & Pages & choose 4 from the Pages per Sheet menu. You might also want to add a hairline border for cut lines.

  • SMS to more than one contact

    How I can sms more than one contact at the same time?

    I am very much interested in this topic too. I think it should be updated as soon as possible on the iPhone. It should be fairly simple to just add a conversation to multiple contacts for the way the SMS is structured on the iPhone.

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • How to select more than one slide on Keynote?

    Please, someone knows how to select more than one slide on keynote for IPad?

    // Allow selection to span one contiguous set of rows, visible columns, or block of cells
    table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
    // Allow multiple selections of rows, visible columns, or cell blocks
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

Maybe you are looking for