Error Updating Lead Owner?

This is a really odd error, and I'm not quite sure what's going on.
The premise is this: When a Lead's Owner changes, we want to change all Leads of that Company and Line of Business to the same owner.
My code works, somewhat.
It works fine unless there are more than 10 Leads at the same company with the same opportunity type. This is because the default page size for queries is 10. When I change the page size(to anything), I get the following error:
System.Web.Services.Protocols.SoapException: Error while processing argument urn:/crmondemand/xml/lead:ListOfLead for operation LeadUpdate(SBL-EAI-04316)
Here is the update portion of the code:
Lead.LeadWS_LeadUpdate_Input lui = new Lead.LeadWS_LeadUpdate_Input();
Lead.LeadWS_LeadUpdate_Output luo;
lui.ListOfLead = new Lead.Lead1[LeadIDs.Count];
for (int j = 0; j < lui.ListOfLead.Length; j++)
lui.ListOfLead[j] = new Lead.Lead1();
lui.ListOfLead[j].LeadId = LeadIDs[j];
lui.ListOfLead[j].OwnerId = CommonOwnerID;
luo = LeadRef.LeadUpdate(lui);
Note: the Lead.cs file has a namespace of Lead(this is avoid duplicate code for our web services package that I'm writing. Several proxy classes contain similar code under the same names.
Note that LeadIDs is a List<string> that, through the query stores each Lead ID returned.
LeadRef is the Lead.Lead object with the correct URL
Any thoughts?

Hi user635035!
I've the same limitation problem than you when I try to process (update) my User list (500 users and growing!)...please, could you so kindly to write me a few lines about how do you "step through" the whole list 10 (or 20... taking advantage of the limitation!) at a time?
I'm currently developing in C#
Your help would be very apreciated!
Thanks in advance!
Noël

Similar Messages

  • Error"Update was terminated' while doing picking and data was not saved

    hi experts,
    I have created a sales order. for that i created a deliery.then i created shipment .and i have put pick qty and batch.
    it gives a message Express document " Updated was terminated "received from author XXXX.
    and picking is not saved and i'm not able to do PGI.
    Please help me.....
    Thanks in advance,
    ria

    Hai,
    Analyse this error in ST22 - ABAP runtime error or in SM13 - update request.The system will show the error update records in red color. Click the error & see the problem in funciton module.THis may be because of no ranges problem or any changes in print out program. Also if u have any BADI activation for the sale order & any changes in this program also leads to this error.

  • ERROR: Update mode C is not supported by the extraction API - R3 11

    Hi gurus,
    I just tryed to implement the solution I found at this link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    The data source is based on an Infoset on the KONV R/3 Table.
    I setted the AIM delta process and I did all the activities as written in the document.
    The process works if I load data to bw in "full", with "Init without data transfer" and "delta" mode. Of course if I change a Purchase document, it will be posted in the delta queue and then loaded to bw with the next delta load.
    The "initialize delta process" (with data) doesen't work and returns the following error:
    Update mode C is not supported by the extraction API
    the error code is R3 11.
    have you any idea about it???
    Thanks!!!
    Regards!
    Matteo

    Hi,
    for me it sounds quite simple. It is that the update mode 'C' get flagged as 'not allowed' for this extractor. Did you check with rsa3? I guess you will get the same error message. May be you can start debugging in rsa3 to find the place where the update mode gets checked.
    Anyway, it shouldn't be a issue as you have a workaround. May be you should raise a error message at sap because of this.
    regards
    Siggi

  • Error publishing from Muse - "error updating device redirect setting"

    After recent upgrade of Muse I am getting an error message when publishing. The pages are published correctly but there is an error which prevents the final completion of the process. message = "Error updating device redirect settings click resume to try again." it never works. What is up? is this a Business Catalyst error or a a Muse error?

    I turned off the firewall, logged out from Creative Cloud and restarted my computer. After rebooting, I logged in to Creative Cloud, open Muse and connect to Business Catalyst without no problem,

  • When trying to update my CC apps, the update fails. I get this error: Update Failed. There was an error installing this update. Please try again later or connect customer support. This is currently happening for InDesign, Photoshop and Bridge. I had this

    When trying to update my CC apps, the update fails. I get this error: Update Failed. There was an error installing this update. Please try again later or connect customer support. This is currently happening for InDesign, Photoshop and Bridge. I had this problem previous and was able to fix by doing a complete wipe of my computer and reinstalling CC. However, I should not have to wipe my computer clean everytime I need to do a CC update. HELP!

    Hi,
    Please download the updates directly from the link below:
    WIN: All Adobe CC 2014 Updates: The Direct Download Links for Windows | ProDesignTools
    MAC: All Adobe CC 2014 Updates: The Direct Download Links for Mac OS | ProDesignTools
    Regards,
    Sheena

  • Error 'Update Was Terminated' - While clearing an open item

    Hi,
    We are facing a problem where we receive an error - "Update Was Terminated" when we try to clear some entries for 3-4 vendors (posted in period 12 of year 2006. it happens only for those 3-4 vendors). We have identified the problem as follows:
    1) We ran program SAPF190 and found that there is a defference in the 'debit balance' and Total of line items' for these vendors. I ran program SAPF71 (in Quality server) which rectified some entries. However, some entries still remain incorrect and these entries that still remain incorrect are ones - "which have a posting date of 10 oct 2006, but the posting period picked up by the document header is period 12, instead of period 7". Now, some other documents posted for the same vendor on the same date have picked up the correct posting period i.e. 7. I am really baffled at how this actually happened and howcome the system allowed it??
    2) After running program SAPF190, there were some entries that got corrected (these entries were just not captured by the system in the balance field, and did not have the same problem as the entries mentioned above where the wrong posting period was picked by the system). When i tried to clear the line items for the vendors whose entries had been rectified, it still gve the update error. When i checked the number range status, i noticed something very odd:
    "The number range status shows a number much higher than what the system is automatically picking for the documents (e.g system picks 230 as the document number when posting, but the number range staus in FBN1 shows current number as 256). Also, once 256 is reached (i posted 26 documents for it) and we post the 257th document, the error remains and the status number now moves up 100 places to 356). At this time if i post another document it picks the number 258 instead of 356...and if i keep posting documents till 356 is reached, im sure when i post the 357th document, the status will jump to 456)
    Can someone please help me here!! I dont understand how and why this is happening!!
    Thanks!!
    Regards,
    Angad

    >
    Ravi Sankar Venna wrote:
    > Hello,
    >
    > Please let me know the ERROR name you are getting and what is the transaction code you are using to clear. (F.13 or F-44)
    >
    > Try to analyze the dump in ST22.
    >
    > Regards,
    >
    > Ravi
    Hi,
    The error is "Update was terminated" . It sends this message to my inbox!! After searching a bit i found about the two reports - SAPF190 and SAPF071. After running them i found some balance mis-match. I ran the two programs and it rectified those mis-matched entries!! However, even after that, it is giving me the same "update was terminated" error. We are using F-44 for clearing.
    This error is coming only for those entries which we had posted using a user-exit. Basiaclly these are entries for late payment which were programmed to be posted directly at the time of invoicing. I just checked the code of the exit, and these entries were (astonishingly) made directly into the BKPF and BSEG tables (infact the posting period was hard-coded to '12', which is why even when my posting date for these documents is 10.10.2006, it still enters posting period '12' in the header instead of '7'.). Therefore, there were balance mis-match when we saw the monthly balance in FK10N and compared it with the line items total for that month. However, on running report SAPF071, it corrected those entries, but the update error problem still persists!!
    The exact error:
    Update was terminated
    System ID....   QAS
    Client.......   100
    User.....   MOHGYA323233
    Transaction..   FB1K
    Update key...   4A206A2D00E5001202000000C0A80A35
    Generated....   04.06.2009, 11:24:59
    Completed....   04.06.2009, 11:24:59
    Error info...   F1 805: Clearing: Line item 001

  • Error while adding owner property in nw bpc 10.1 unified model

    Hi,
    currently we are working on NW BPC 10.1 unified model.
    while adding owner property in BW system for work status we are getting below error.
    "Characteristic owner is not mapped to any attributes in the SAP HANA model."
    Please suggest us where to add this owner property.
    Regards
    Anitha p.

    Hi Gregor,
    Thanks for your reply.
    we applied that note.
    We have few doubts while creating work status and BPF.
    Our dimension is /ERP/COSTCNTR, so we have added ZPERF and ZREV attributes in ZCOSTCNTR and we have implemented BADI BADI_RSBPCB_SETUSER (enhancement spot RSBPCB_SETUSER).
    My doubt is while creating ZCOSTCNTR infoobject do I need to take a copy of /ERP/COSTCNTR? I am getting short dump while doing this.
    Regards
    Anitha

  • Error updating adobe download assistant from version 1.0.6 to 1.2.9

    i am getting an error updated adobe download assistant from version 1.0.6 to 1.2.9.  "The application cannot be installed due to a certificate problem.  The certificate does not match the installed application certificate, does not support application upgrades, or is invalid.  Please contact the application author.

    Sammybobammy89 what Adobe software title are you trying to install?  To resolve your current error remove version 1.0.6 prior to installing version 1.2.9.

  • Error Updating table condition table 372 in J1IIN

    Hello all,
    I am facing the problem while working in ECC 6.0 environment in the transaction code J1IIN.
    I have maintained the condition type JEXP ( A/R BED %) as 14% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like error updating the table condition table 372
    I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
    I tried to maintain a different access sequence for the condition type JEXP i.e a new Access sequence(ZJEX) and also a new condition tpe (ZJEP). We don't have other Excise condition type in our Pricing procedure.
    In the access sequence except condition table 372, I have maintained all other condition tables.
    Still the error is persisiting. Can anyone put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Also while debugging it gives a message "An exception (CX_BADI_INITIAL_REFERENCE) occured".
    Does this help in anyways.
    Gurus plz give u r suggestions.
    Thanks in advance,
    Regards,
    Karthik.

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Error updating the table condition table 372 in J1IIN

    Hello all,
    I am facing the problem in the transaction code J1IIN (In CIN).
    I have maintained the condition type JEXP ( A/R BED %) as 16% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like Error updating the table condition table 372
    I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
    I tried to maintain a different access sequence for the condition type JEXP i.e In the access sequence except condition table 372, I have maintained all other condition tables.
    Still the error is persisiting. Can anyone put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Gurus plz give ur suggestions.
    Thanks
    Srinivas

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Error updating the table 372

    Hi Gurus,
    I maintained the JCEP ( A/R Cess %) as 3%. While iam saving the Excise invoice the system is throwing the error like error updating the table condition table 372
    Gurus plz give u r suggestions.
    regards,
    jyothi.
    Edited by: jyothi. on Feb 25, 2008 7:26 AM

    Hi Murali!
    Even I am facing the same problem while working in ECC 6.0 environment. I  am continuing in the same post as I feel it is most relevant post to continue the issue instead of opening a new issue.
    I tried to maintain a different access sequence for the condition type JEXP i.e a new Access sequence(ZJEX) and also a new condition tpe (ZJEP). We don't have other Excise condition type in our Pricing procedure.
    In the access sequence except condition table 372, I have maintained all other condition tables.
    We have maintained the values against table 357- Country/Plant/Control Code.
    Still the error is persisiting. Can you put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Thanks in advance,
    Regards,
    Karthik.

  • Error updating .mac message...FIx doesn't work???

    I get the "there was an error updating .mac" error message when trying to publish my website. I've tried the File > Publish all to .mac route and I still get the same error message. Any ideas what I do now? Any other suggestions or alternatives?

    I get the "there was an error updating .mac" error message when trying to publish my website. I've tried the File > Publish all to .mac route and I still get the same error message. Any ideas what I do now? Any other suggestions or alternatives?

  • My iphone 4 after ios 5.1 update. had error updating.my phones now in recovery mode now.usb to itunes.keeps saying!itunes doesn't recognise phone ,after update done now error.i recall doing a firmware update for the old 5.0 update.happened again.i recall

    my iphone 4 after ios 5.1 update. had error updating.my phones now in recovery mode. usb to itunes when switched on.doesnt recognise. after update done.yes updates itunes.trued different usb ports. etc . for restore .but nothing.says my phones backed up in preferences.on itunes.but can get back up.i recall doing a firware update for the last os 5.0 update..but forgot where the link was .do i have to buy a new phone ?

    UPDATE: I attempted to bypass activation using the emergency call 112 to get into the homescreen, but the call failed, in fact, even 911 will not go through and give me a call failed. (before you yell at me for dialing 911, I'm a firemedic )

  • Error - Update Product Data in Solution Manager

    Hello,
    We are currently downloading the Enhancement Package 4 in SOLMAN via Maintenance Optimizer, however, after choosing the Technical Usages in step 2.1, it shows an error in step 2.2 (Select OS/DB Dependent Files):
    Error : Update Product Data in Solution Manager
    Has anyone encountered the same problem? Would it be fine to continue on the next step after selecting the files which you need for your operating system-database combination.
    Any information is highly appreciated. Thank you.

    Hi Jaypee,
    Check guide How-To Install EHP4- A practical guide. Solution of this problem is documented there. you can download it from http://service.sap.com/erp-ehp
    Extract from this guide for this problem:
    Make sure that you update the product data in SAP Solution Manager. This is described in SAP Note 1277035 which is referenced from the collective SAP Note 1122966. If you do not update the product data, you might get an error message after the stack calculation. The message text explains the problem in more detail.
    Thanks
    Sunny

  • Error Update was terminated at time of VFO1

    Dear All,
    I have created sales order with ref to contract no through standard  BAPI ,now i am going to create bill with ref to sales order (which i have created through BAPI),while saving the bill it will give me error Update was terminated and in SBWP .i have received mail that contains:
    Transaction..   VF01
    Update key...   4A98C715DA854584E10000000A08351C
    Generated....   29.08.2009, 16:34:28
    Completed....   29.08.2009, 16:34:29
    Error Info...   M2 815: Error while determ. loc. crcy: exchange rate type M
    After that i have created as sales order without use of BAPI with same contract number ,and after that i have created bill with ref to sales order at that while saving it give me no error
    so pls help me out on this,

    Can you contact you functional team showing the below message
    Error Info... M2 815: Error while determ. loc. crcy: exchange rate type M
    Check ifthe below note give you some help.
    Note 1362966 - BAPI: FAGL_PLANNING - incorrect exchange rate type is used
    Thanks
    Rishi Abrol

Maybe you are looking for