'Null' being added to ArrayCollection during add/update by Dataservice

Environment:
Tomcat 6.0
Livecycle 3.1
Flex SDK 3.5
We have a data service destination setup like this:
     <destination id="Trades" adapter="java">
        <properties>
            <factory>spring</factory>
            <source>lcdsTradeBlotterAssembler</source>
            <scope>application</scope>
            <item-class>com.domain.Trade</item-class>
            <use-transactions>false</use-transactions>
            <auto-sync-enabled>true</auto-sync-enabled>
            <cache-items>true</cache-items>
            <metadata>
                <identity property="uid" type="java.lang.String" />
            </metadata>
            <network>
                <throttle-inbound policy="IGNORE" max-frequency="500" />
            </network>
        </properties>
    </destination>
We implement a custom assembler by extending the AbstractAssembler.
     The fill and refreshFill methods are implemented.
Updates are pushed to the client using a DataServiceTransaction:
     DataServiceTransaction transaction = DataServiceTransaction.getCurrentDataServiceTransaction();
     transaction.createItem(DESTINATION, trade);
     transaction.commit();
After we create items and push them from the server, the refresh method on the Assmbler gets called. We return 'APPEND_TO_FILL'.
The item shows up in the client side managed ArrayCollection. This ArrayCollection is bound to a datagrid.
Problem description:
The above works fine when we run the server and the client locally on the same machine. When the application is hosted on a another part of the network - we see that for some of the updates - a null gets added to the ArrayCollection, instead of the object pushed from the server. We found this by attaching a CollectionChange event listener to the managed ArrayCollection. This causes blank rows to show up in the Blotter. In some cases we have also seen duplicate rows.
We see that the object is delivered to the client but not applied to the ArrayCollection properly. I attached a screen shot of the client side stack where we loose the update.
Calling the refresh() method on the ArrayCollection after the update, fixes the situation. The nulls disappear and the ArrayCollection now has the right data !
Things tried so far:
Throttling the DataService update rate - down to 1 update/sec
Enabling reliable delivery on the Dataservice destination
Handling conflicts - none detected. Client never updated data.
Setting DataService.resetCollectionOnFill property to true
Any pointers would be very helpful

Thanks.
We traced this down to the fact that we have multiple threads reading off a JMS queue and pushing the add/update to the client via LCDS.
Each thread has its own instance of DataServiceTransaction - so this should be ok.
Following up with support.

Similar Messages

  • I keep getting the message on iTunes that my Shuffle (which is current on updates) needs to be restored.  It is showing up in devices, but when I try to add songs to it, I don't get the little progress bar showing me that the song is being added. ***?

    I updated to the new iTunes last week.  Today I plugged in my 4th generation Shuffle to add some new songs.  The shuffle appears in Devices, but when I try to add songs, I'm not getting the progress bar at the top of the screen, so I'm assuming the song isn't being added.  I tried ejecting the Shuffle and plugging it in again, and I got a message that my iPod needed to be restored before it could be used with iTunes -- even though the screen also said the Shuffle is up to date on the software. I finally gave in and restored it, but I continue to get the same message.  When I eject the iPod and try to play it now, I'm getting nothing, and when it is connected to the usb port, the orange light is continually flashing.  I've been trying to figure this out for about 3 hours now, so if anyone could help me, I'd be eternally grateful!

    The 1st and 2nd gen shuffles do not have an automatic syncing mode, like later shuffles and the "big" iPods.  It is maintained manually (or by using the Autofill feature).
    If the iTunes sidebar (along left side of window) is hidden, from the menu bar, under View, select Show Sidebar.  The shuffle appears in the sidebar, under DEVICES, when connected.
    To add songs to the shuffle...  Show a list of songs in the iTunes window.  For example, you can select Music under LIBRARY (in the sidebar) to show your complete iTunes music library list.  Select a song and drag it to the shuffle in the sidebar.  You can do this with more than one song selected.  Alternately, select the song(s), right-click the selection, and choose the command to Add to Playlist -> [name of iPod].
    To remove songs from the shuffle...  Select the shuffle in the sidebar.  To the right, it's Settings screen is shown.  Toward the top, where it says Settings, click on On This iPod (to the right).  The list of songs on the shuffle is shown below.  Select the song you want to remove and press Delete on the keyboard.  You can do this with more than one song selected. 
    NOTE:  At the bottom of the shuffle's list of songs, there are controls for the Autofill feature.  You can also use Autofill to fill your shuffle from your music library or from a specific playlist.

  • I-phone not being recognized by computer , crashed during an update...

    i-phone not being recognized by computer , crashed during an update...

    i am boycotting apple after i fix this issue. they are a terrible company.

  • HT4623 During my update to ios6.1. I was ask for a optional email add, if I entered wrongly, where am I able to reset it?

    During my update to ios6.1, I was ask for an optional email after a 3 security questions. However I have entered an invalid email, where can I change that?

    I am having the same problem.  I think I saw something about VPN and not being able to communicate with Apple web site.  Do you have your protected company email on your phone?

  • I recently updated my iPhone 4s to ios6, and lost 1200 odd contacts. I have a backup from about 4-5 months ago avaiable.  Can I add/update contacts from the back up rather than restore which i assume will literally delete any new contacts added...?

    I recently updated my iPhone 4s to ios6, and lost 1200 odd contacts. I recently sold my macbook air and also my mac book pro, so have no recent backups avaiable.  I have a backup from about 4-5 months ago available on an external hdd as a time machine backup.  Can I add/update contacts from the back up rather than restore?  The reason i wish to do this is because in the update i didnt lose any messages, so all of the people i have met and networked with since that last update those many months ago, i have in my messages listings.  They are all unidentified numbers at present but over time i will be able to work through the messages and based on the conversation recall who each was with.  Also, yesterday, some two weeks after the update had left my contacts list entirely empty... a vast majority just reappeard, though all of them are without any phone numbers, all just emails or facebook contacts.  This is the work of facebook not mac/ios6 isnt it...?  Any help here would be greatly apprecaited.  I am about 2 days from flying to canada and having those contacts would make life a lot easier.

    You should be syncing your contacts with an app on your computer or cloud service (iCloud, Gmail, Yahoo, etc), and not relying on a backup.  If you haven't been doing this, start now and then restore your old backup.  You will then be able to sync the new contacts back into the phone.  However, you will lose all messages, etc newer thant the backup.

  • My Apple TV stalled during an update and now just shows an image of it being plugged into a USB. It won't complete the update and does nothing when I plug it into my Mac via USB.

    2 Apple TVs. The first won't reboot, it stalled during an update and now shows a picture of a UBS plug. Ive tried to plug into my computer, nothing happens. At a standtill.
    The second Apple TV works but only if I send something via Airplay. The remote no longer has any affect. The light on the front of the Apple TV blinks when I push a buttom on the remote but nothing happens.
    Any Ideas? I am starting to think I need to replace them. Thanks.

    Ok, with itunes open on the pc, plug one end of the usb cord into the computer, but not connected to the ipad.
    now, press the power button on the ipad until it turns off.
    Then, press and hold the home button on the ipad at the same you plug the usb cord into the ipad. DON'T LET GO OF THE HOME BUTTON.
    Keep holding the home button until you see the recovery mode message pop on the itunes window.
    When that happens, you should now be able to restore.

  • Cannot add update 8.1.4 after adding update 8.1.3

    Please help me if you can. I had to reinstall acrobat 8 due to a windows reinstall. Am trying to add updates and have gotten as far as 8.1.3. When I try to install 8.1.4, the system seems to tell me that I am missing an interem update. I cannot find one. Can anyone tell me why I am having this problem and if there is a missing update.
    Thanks so much.

    Thanks for responding, Bill. I did check and it showed version 8.1.3  I couldn't get the updates from the help menu but downloaded all the updates from the adobe support webside. I tried twice to add 8.1.4 and each time got the same answer.  I've since looked at the program and it seems to allow me to set passwords and add or delete pages, which is the main reason I am using it.... but I knwo some of the updates were critical so I would like to figure out how to get them.  I've been unable to find if there is an update between the 8.1.3 and 8.1.4

  • Launched software update on MacBook v. 10.5.8 during restart, update stalled now nothing will launch-quits unexpectedly. Help!

    Launched software update on MacBook v. 10.5.8 during restart, update stalled now nothing will launch-quits unexpectedly. Help!

    As long as the report ends up with 'Permissions repair complete' then, as far as permissions go, you are fine. You can ignore the various statements in the report:
    Permissions you can ignore on 10.5 onwards:
    http://support.apple.com/kb/TS1448
    Some general advice on updating Leopard:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site.
    The Combo updater of Leopard 10.5.8 can be found here:
    http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.5.8 update here: http://support.apple.com/kb/HT3606
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.5.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.5.7 to 10.5.8. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious! In fact a second restart can be recommended.
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a week or two while you regularly check their websites for updates.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    [b]If you are updating Safari (or just have):[/b]
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up.  If you have installed an OS update and Safari is crashing, the very [i]first[/i] thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party add-on.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for  problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    /Library/InputManagers
    ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).
    Solutions for troubleshooting installation, startup, and login issues in Mac OS X v10.5
    http://support.apple.com/kb/TS1541?viewlocale=en_US

  • Event Receiver:Item is Being Adding Event Recevier Issue

    Hi All,
     * I had written Simple event receviers(Item is Being Adding) to a site at FarmLevel(Farm Solution) and below is the code for it.
    * In below code I am adding the List name to a Column called "Name" ,when Item is being adding the code is getting loop and inserting unwanted data and updating Column "Name" with it instead of updating when item is added
    *Below if u see there is no value in Column "Name" when I insert values "Mark Devis"(Title) and "In Meeting"(Body) columns
    Can any one help me how can I solve the issue
           Code:
    string listitle = properties.List.Title + "" + "is List Name";
    string siteurl = http://sp2010:8080/personal/Sample/;
    using (SPSite mysite = new SPSite(siteurl))
    using (SPWeb myweb = mysite.OpenWeb())
    SPList mylist = myweb.Lists["Announcements"];    
    SPListItem newitem = mylist.Items.Add();
          newitem["Name"] = listitle.ToString();
          newitem.Update();
    Result:
    Samar

    Hello Samar,
    Try to use before/after properties to update item in list on ItemAdding event.
    http://sarveshspn.blogspot.in/2010/05/using-itemadding-and-afterproperties-to_08.html
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/1ed217b1-9441-4fe1-b3aa-68b2768bdfc7/updating-list-item-value-on-the-itemadding-event-handler-of-an-item-receiver-class?forum=sharepointdevelopmentlegacy
    Also make sure that you have at least contributor right in list to edit data.
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Are tabs saved during an update?

    I've had tabs/browsing sessions lost during previous updates. When new updates come along I look thru FAQ etc to see if they'll be preserved. I never find anything about that, so I never update. Well, that's not true. FF invariably crashes and trashes the session. That's when I know I can update without avoidably losing anything more. Now I'm bothering to ask if my tabs will be saved. Improved restoration is available. Yay!
    Let me also ask: (I know this is too much for one submission but I've had these questions too)
    - That this be put in the FAQ.
    - How to restore a session? I've found and followed the instructions to get and install a session.something file but it didn't work.
    - If I do that, will they add to my present tabs or will they replace them. I'd like to be able to add them in. I've found several session files.
    - Managing tabs has so many tabs there. But it has them by when I last loaded the page. It'd be wonderful if the last session was available to restore since restore session fails often enough.
    - Can we use our email as a login? I've asked questions before but don't remember the logins. FF doesn't remember as it's crashed and burned a few times.
    - Can we get emails when our questions get a response. Forums may be a natural thing to developers. I'd love to be able to code, and forum use may become natural to me then. But now I don't use anyone's forums regularly for anything, or even often enough to be called occasionally. So I can easily miss a response.
    Maybe this has been changed since it's been ages since I last asked for help.
    Thank you

    Hello,
    Unless you are running in [[Private Browsing - Browse the web without saving information about the sites you visit|Private Browsing mode]], your session is always saved - including after you update. If you have '''about:home''' (or "Firefox start page") set as your home page, the bottom right button "Restore previous session" will open all your tabs and windows from your last session (minus the session cookies if you chose to delete them every time Firefox is closed). If you have a different home page set, you can always load your previous session by going to:
    * History (or [[Image: New Fx Menu]] > History) > Restore Previous Session
    * [[Private Browsing - Browse the web without saving information about the sites you visit]]
    Firefox 33 has several security fixes since version 30, so you should definitely update immediately. If you are worried about your tabs, I believe version 30 already includes the feature where you can right click on your tab bar and "Bookmark All Tabs" to a folder. If you find that your previous session isn't being saved and you are not running in Private Browsing mode, then when you restart Firefox, you can navigate to that folder in your bookmarks menu and "Open All in Tabs". Please post back if you are not running in Private Browsing and find that Firefox is not remembering sessions - we can help figure out what is going on and help you fix that.
    I am assuming you are asking about the login for the forums - you can sign in using your username, and if you are having trouble remembering usernames just use the local part of your email address (the "aaa" part of "[email protected]"), assuming it is not already taken. The sign-in page also gives you the option to email your username if you have forgotten it, as well as steps to reset your password.
    Whenever you receive a response in the forums, it will email you, so you do not need to provide your email address in your post as it will only attract spam.

  • How can i add update signed jar file

    I am developing an applet which requires signing to run in a browser.
    I am developing supporting classes. But these class files have to be added
    to the jar. Isnt it??
    But to test the applet i need to load it in the browser each time i modify the class files. So the jar file need to be updated every time. But an
    IOError
    is being displayed when i try to update the signed jar file.
    How can i update signed jar file?? Or is there any othe way to test the signed applet during development??

    How can i update signed jar file?You can't, the signature is there to make sure the content of the jare hasn't been messed
    with.
    Either recreate the jar and re sign it or set up a policy during testing.

  • Can't find a self created group during add group in reporting

    The Operations manager that i am using si 2012. First let me describe what I have done.
    In "Authoring", I have created a new group and added two object which is a Windows server 2012 into the group. Then, I tried to use the Windows Server 2012 report template in "Reporting" to create a performance report. After opened the
    report template, there is an "Add Group" button to choose a group of server which need to run the performance report. I have tried to search that created group using its name with or without the % wildcard. Unfortunately, I failed to search my group.
    I have tried to use just only the % wildcard to retrieve all entries. I still failed to find my group from the list.
    The next thing I did is connect to the Operation manager's database, that is the OperationManagerDW database. From my understanding, all entries of object should be stored in the dbo.managedentity table. I have tried to look up the table which display name
    is my create group but still fail. My created group does not have an entry in the table.
    So, my question is what I have missed to make my group searchable in creating report during add group?
    Thanks a lot.

    Dear Xin Guo,
    I have tried your SQL statement and the return is same as what I have experienced when using the Add Group function when running report. That is, my custom group created in the Authoring cannot be seen. 
    I have also checked the OM log but no error being noticed. It seems to be the tables which store the Group created in Authoring is not synchronize with the entries in the ManagedEntity tables. 
    It this a known behavior or my process on creating a custom group in Authoring is not correct? Actually, I followed the steps as described in Microsoft website. The steps is very straight forward and it is not easy
    miss anything.
    Looking forward for your further advise in working out on this. Since I want to generate reports for a group of computers by using the custom group instead of select all computers one by one every time when I run a
    report. 
    Thanks a lot in advance.

  • Adding supplier text during runtime in SC

    Hi Experts,
    I am doing an enhancement to add supplier text in describe requirement screen. When the item is added to the shopping cart I am doing enhancement at the end of the method in class /SAPSRM/CL_CH_WD_DODM_SC_I_DSC
    method /SAPSRM/IF_CLL_DODM_SC_I_DESCR~ADD_DESCRIBED_ITEM_TO_TABLE to add the supplier text to shopping cart item.
    There is a standard code in method /SAPSRM/IF_CLL_DODM_SC_I_DESCR~ADD_DESCRIBED_ITEM_TO_TABLE which adds the internal note to the item is like
    * set Data to pdo-object
        "prepare call
        lo_pdo_sc ?= mo_pdo.
        "call
        TRY.
            lo_pdo_sc->add_item( EXPORTING is_item   = ls_pdo_item
                                           iv_uname  = sy-uname
                                           iv_account_for_ess = iv_ess
                                 IMPORTING es_return = ls_pdo_item_control
                                 CHANGING  co_message_handler = mo_pdo_message_consumer ).
    * Add internal note as longtext
            wd_main_node = mon_cll_set_facade->get_main_node( ).
            wd_child_node = wd_main_node->get_child_node( name = 'INTERNAL_NOTE' ).
            wd_child_node->get_attribute( EXPORTING name = 'INTERNAL_NOTE' IMPORTING value = lv_internal_note ).
            TRY.
                CALL METHOD lo_pdo_sc->/sapsrm/if_pdo_do_longtext~update_longtext
                  EXPORTING
                    iv_p_guid          = ls_pdo_item_control-guid
                    iv_tdid            = 'NOTE'
                    iv_tdspras         = sy-langu
                    iv_tdformat        = 'X'
                    iv_text_preview    = lv_internal_note
    *              CHANGING
    *                EV_CHANGED         = LV_CHANGED
    *    CO_MESSAGE_HANDLER =
              CATCH /sapsrm/cx_pdo_abort INTO lx_pdo_abort.
                mo_cll_message_handler->set_abort( io_pdo_abort_exception = lx_pdo_abort ).
            ENDTRY.
    * update
            mo_pdo->submit_update( CHANGING co_message_handler = mo_pdo_message_consumer ).
    * because view will be invalidated: clear the mapper reference from the bo_mapper
            mo_parent_bo_mapper->deregister_mapper( io_mapper = me ).
    * refresh whole application because e.g. Total value of sc has maybe changed.
    * updates were performed a step before
            mo_parent_bo_mapper->fire_event_refresh( iv_perform_updates = abap_false ).
    * close window
            lo_window_controller = mo_wd_view_controller->get_embedding_window_ctlr( ).
            lo_window = lo_window_controller->get_window( ).
            lo_window->close( ).
            ev_close_window = abap_true.
    I have done the similar code for updating the long text changing the tdid to HTXT but since I am not adding the item to the SC I have just implemented the update_longtext method. The text is being added to the buffer but not saved and reflected in SC.
    I have implemented the following in the enhancement.
    CALL METHOD lo_pdo_sc->/sapsrm/if_pdo_do_longtext~update_longtext
                  EXPORTING
                    iv_p_guid          = ls_pdo_item_control-guid
                    iv_tdid            = 'HTXT'
                    iv_tdspras         = sy-langu
                    iv_tdformat        = 'X'
                    iv_text_preview    = lv_internal_note
    * update
            mo_pdo->submit_update( CHANGING co_message_handler = mo_pdo_message_consumer ).
    What should I do to save the changed text?

    hello srinivas,
    I am not sure about long text but i have updated PO item in run time.
    Please find the code below may be it will be helpful for you.
    Try the same for SC.
    DATA:    lo_bom_po                  TYPE REF TO /sapsrm/if_cll_bom_po,
                  lo_bo_po_adv             TYPE REF TO /sapsrm/cl_pdo_bo_po_adv,
                  lo_pdo                         TYPE REF TO /sapsrm/if_pdo_base,
                  lo_task_factory           TYPE REF TO /sapsrm/if_cll_taskcon_factory,
                  lo_task_container        TYPE REF TO /sapsrm/if_cll_task_container.
    DATA :  lx_pdo_no_authorization TYPE REF TO /sapsrm/cx_pdo_no_authorizatio,
                 lx_pdo_wrong_mode TYPE REF TO /sapsrm/cx_pdo_wrong_mode,
                 lrcl_current_controller  TYPE REF TO if_wd_controller,
                 lrcl_message_manager     TYPE REF TO if_wd_message_manager.
    lo_task_factory = /sapsrm/cl_ch_wd_taskcont_fact=>get_instance( ).
      IF lo_task_factory IS NOT INITIAL.
        lo_task_container = lo_task_factory->get_task_container( ).
        IF lo_task_container IS NOT INITIAL.
          lo_bom_po = lo_task_container->get_bom_po( ).
          lo_pdo = lo_bom_po->/sapsrm/if_cll_bo_mapper~get_pdo( ).
          lo_bo_po_adv ?= lo_pdo.
        ENDIF.
      ENDIF.
    TRY.
            CALL METHOD lo_bo_po_adv->/sapsrm/if_pdo_bo_po~update_item
              EXPORTING
                it_item = lt_pd_item.
          CATCH /sapsrm/cx_pdo_no_authorizatio INTO lx_pdo_no_authorization .
            RAISE EXCEPTION TYPE /sapsrm/cx_pdo_abort EXPORTING previous = lx_pdo_no_authorization.
          CATCH  /sapsrm/cx_pdo_wrong_mode INTO lx_pdo_wrong_mode .
            RAISE EXCEPTION TYPE /sapsrm/cx_pdo_abort EXPORTING previous = lx_pdo_wrong_mode.
        ENDTRY.
        " don't forget to submit the changes
        lo_pdo->submit_update( ).
    Regards,
    Neelima

  • Resource account password set during User Update process.

    Hi friends,
    I added to the Update WF a step to initialize an account password when, during the update of the user, IDM creates the new resource account.
    This is an initial password (known).
    This event basically happens in two User's Update cases:
    A. when the account was (accidentally) removed from the resource
    B. when a new Role requires to add a new resource account to the user
    In both cases IDM (re)creates the user account on the resource.
    In order to set this account initial password, I check (in the Update WF) the value of 'user.update.toCreate': if it contains the resource name, then I set the pw after the account has been provisioned.
    This method fails during case B. only when, for some reason, the resource account already exists BEFORE the update starts: even if the account is already there, IDM sets 'user.update.toCreate', leading my step to reset the account password to the initial value.
    What could I check in order to avoid it? (I don't want to reset account passwords when linking existing accounts)
    The only way I see at the moment would be to query the resource at the beginning of the Update WF to check if the account is already there...
    MTIA

    Hi,
    Have you found a resolution to this problem?
    Thanks
    Edited by: sun_to_Orcl on Jan 31, 2010 8:28 PM

  • Sync Space Problems as removed apps being added back

    I had a problem with the original laptop in which I had itunes on so I haven't backed up or sync'd my phone for over 6 months. I finally got around to moving the itunes file to another computer.  Now when I try to sync my phone it is trying to add the apps back that were deleted off the phone but were still on the last time on itunes backed up of the phone.  So now the Apps are being added back and before it can complete the sync it runs out of space and cannot complete the process.  Help how can I get around this, thanks.

    You'd think that deleting an app from your iPhone and then syncing the iPhone would tell iTunes that you don't want that application on your iPhone any longer - but that isn't what happens. iTunes is your home base for applications and media. You have to tell iTunes what you want added to your iOS device or removed from your iOS device.
    My habit is to connect my iOS device and immediately select the option to sync newly purchased items from the device to iTunes. Once that's done I select my device in iTunes and look over the applications and media to see that everything I want/don't want is correctly indicated. Then I sync again.
    Step 1 gets all the updated and newly purchased stuff into iTunes. Step 2 makes sure I get only what I want (and exactly what I want) on my device.

Maybe you are looking for