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
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 AMDear 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 -
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.
-
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] -
PSE 10, Import more than one contact at a time?
Hi guys...
I've been a long time user of PSE...just downloaded the trial of PSE 10. I want to import contacts. PSE gives two choices:
1) 'Outlook"...but does not give the choice of choosing a file, just takes them from the PST file I guess...so there is no way to choose a subgroup opf contacts? It's either all or none?
2) "VCard files"...I exported a vcard file from Google containing 20 contacts. But when I try to import into PSE, only ONE contact is imported?
I gotta tell ya, it's amazing that PSE, version after version after version, still has such an antiquated import function for email addresses. I was hoping PSE 10 would have improved this function, but it hasn't...which means I have to still keep using Picassa, as it is SO much easier to share photos via email, Picassa web albums, etc.
Actually, that's another question...why doesn't PSE include Picasa as a way to share photos? I'd love to be able to upload straight to my Picasa albums via PSE.
So I'm STILL stuck having to use two programs for photo cataloging, editing, sharing.
Thanks...I agree with you that emailing from Organizer leaves much to be desired. I just imported everything from my email client. I don’t think it takes up a lot of disk space.
I guess with Picasa, there is no real need as albums automatically synch to the web.
-
Error: You have more than one Creative players connected. - Recovery Tool for ZEN
My Zen 4GB cannot be turned on anymore after a failed firmware upgrade (The installation hung up). I tried to run the firmware upgrade executable file again but the player must be on. So I tried to hardware reset by switching the power slide on while pressing the play button, but it still doesn't start. I downloaded and ran the Recovery Tool while the player was connected, but an error message appeared: "ERROR: You have more than one Creative players connected. Please remove all but one, click "OK" to exit and then run this program again." - There was no other players connected but the ZEN. Please help... What can I do
I have this very exact same problem with the same model. Did you ever find a solution to this?
-
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. -
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,
JMHi,
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 -
Import more than one file at a time
Is there a way to import more than one file at-a-time to LR?
PC or Mac?
You can import whole folder/directory strctures if you want. In LR click on Import in Library or Shift-Cmd/Ctl-I and the initial Finder/Explorer dialogu should let you choose a Folder/Derectory, not just an individual file, though you should be able to Shift Click multiple folders/files as well.
Don
Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
http://donricklin.blogspot.com/ -
Is there any way to import more than one song at a time
Im importing the songs that i have on my harddrive and i just wanted to know if there was a way to import more than one at a time plz tell me there is because this is boring and it's going to take forever thx
Try the 'add folder to library' option under file on the main menu.
-
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 -
Why can't I send a text message to more than one contact?
With all my previous cell phones I was able to send a single text message to more than one contact. With the iPhone I can only send to one contact and then I have to type the text message again and send to another contact, and so on. Or am I messing a fuction on the iPhone that allows for sending a text message to more than one contact?
No, you are not missing it. That feature is not available on the iPhone.
-
How can I import more than one photo album onto my iPad
Help! Can I import more than one photo album onto my IPad from my PC and if so how?
Yes and it's very easy to do once you know what to do.
Place all of the photo albums that you want to transfer to the iPad into one main photos album on your PC. When your iPad is connected to your computer's iTunes and after you have selected the iPad under Devices, click on the Photos tab and in the Sync Photos from heading - select that main photos album that you place all of your other photos folders into - select each album that you want to sync - and then click on Apply in the lower right corner to sync the photos to the iPad.
iTunes: Syncing photos - Apple -
Sending SMS to more than one contact via Nokia PC ...
I had to send three mates the same message with details of an event coming up. It was going to be long so I wrote it via PC Suite so I could use the PC's keyboard, selected the three contacts and pressed send.
This is probably something for Nokia to think about when they next do not only the phones firmware, PC Suite but even Life Blog.
The message was sent to three contacts as I said... according to the log in my N70 it only went to the first contact... I updated to Life Blog as normal and it was the same.
I need to be able to track messages. the only way round it I can see is type the message three times and do three separate messages instead of one sent to three contacts.
N96-1 + 8G SD~Software Version 30.033~Software Version Date 18-06-09~Type RM-247~P/C 0543713~T Mobile UKAHhrrr....
Just went into message details on my N70 and it does list all three contacts there...
Also if in Lifke Blog if you click properties it shows all three contacts.
Even though I have resolved my own problem I'm sure Nokia could allow there software to show the fact it has gone to more than one contact a little easier.
N96-1 + 8G SD~Software Version 30.033~Software Version Date 18-06-09~Type RM-247~P/C 0543713~T Mobile UK -
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.
Maybe you are looking for
-
How can I remove my company's iCloud Contacts account from a former employee's iPhone and have the current information removed from their iPhone at the same time as well? Will just changing the iCloud password be enough? Our company shares an iCloud
-
Problems with consuming SAP BW WSDL in Crystal Reports 2008
Hello, I am trying to use the WSDL generated from the SAP BW in Crystal Reports 2008 using the XML and Web Services driver, but when I input the WSDL url Crystal does not interpret the url passed in as a WSDL url and the Services, Port and Method dro
-
I am connecting to Oracle Database. I have written the following code to connect to a database 1 Class.forName("oracle.jdbc.driver.OracleDriver"); 2 con = DriverManager.getConnection ("jdbc:oracle:thin:URL","USERNAME","PASSWORD"); 3 st = con.createSt
-
How do I send on GPIB subaddresses?
I am developing an instrument to replace some legacy HPIB equipment. The original equipment responds to data requests on multiple GPIB subaddresses, in non-System Controller mode. How do I address the (embedded RT) GPIB interface, to set this up? Do
-
Technical details of permanent failure: DNS Error: Domain name not found
I have tried to test eprint and keep getting an error. DNS Error: Domain name not found I can print thru my network fine, but I get this error with eprint. My eprint address ends in hpeprint.co Is this correct?