Saving state (saveState() restoreState())

Before navigating to another page (by navigation rule) I would like to save the state of current page and after returning back restoring the state. I tried everything possible with saveState() and restoreState() on components and it doesn't work. Pleas can you give me a hint and working example.
Regards Simy

Saving state is automatically done.
For example, Sun's RI saves about ten component trees as a session attribute
when you specify the server state saving method in web.xml
saveState() and restoreState() are invoked only when you specify the client
state saving method in order to save and restore of the local values of
your custom components.
Please explain more about what really you want to do.

Similar Messages

  • How can I use Labview to recall saved states on my HP8920B RF Test Set

    I need labview6.1 to recall saved states on my RF Tester. There is a recall button on the front of my tester, all you have to do is select the state's name and it opens up on the screen. I want Labview to do this work with a click of the mouse. I am using the HPIB (GPIB) interface, which seems to be working with the HP8920 driver (I couldn't find one for the 8920b). If anyone could help me out, that would be great.

    Try *RCL [State name]. Send this command to the 8920B. Sample code included.
    Attachments:
    8920_State_Recall.vi ‏11 KB

  • Error while saving state in 'client' , in ADF faces application

    Thank you for reading my post
    I have an ADF faces application and i get this error and my application does not function correctly , does any one has an idea ?
    thanks
    06/10/17 17:34:38.15 10.1.3.1.0 Started
    06/10/17 17:34:55.546 web2: 10.1.3.1.0 Started
    06/10/17 17:45:49.531 web2: Servlet error
    java.lang.NullPointerException
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    06/10/17 17:46:02.703 web2: Servlet error
    javax.servlet.jsp.JspException: Error while saving state in 'client': 'An established connection was aborted by the software in your host machine'.
         at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:206)
         at _index._jspService(_index.java:473)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:167)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)

    StateManagerImpl.saveSerializedView tries to let UIViewRoot be a session
    attribute and the error message says it should be serializable; certainly it' not.
    I think HttpSession.setAttribute does not claim the object should be serializable.
    I don't know why apache's StandardSession.setAttribute claims so.

  • "Error saving state file"

    I am getting an error that shows up on the alarm screen - it says "Error saving state file:c\program files\national instruments\lookout 5.0\petco.l4t".
    Background:  An old XP pro machine running the application died and was replaced with a new Dell, business class PC, Optiplex 360, Win XP Pro sp3, 2.2ghz dual core.
    After moving the application and setting up the PC, I get the following message every time it trie to say the state file.
    Is this a compatibility problem with the new hardware?
    What can I do?
    any ideas?
    THANKS
    Mark

    Does this machine have an auto-backup feature?
    Some backup applications can actually lock the partition, making it read only.
    Something to check
    Mike
    Mike Crabtree - Lead Developer
    Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
    (866) 964-6948 / (760) 247-9512

  • Saved state is not backuped in HyperV backup for Win2012R2

    I am trying to backup Win2012 R2 VM on my Win2012 R2 hyperv host using VSS.
    Before starting backup my vm is in Saved status.
    But after backup I cant find saved state file *vsv and *bin file in the backup so I am loosing whatever contains I have in saved state.
    Its working fine on Win2008. Is there any change in VSS/Saved state behavior in Win2012R2?
    hypervbackup is the utility  I used to run backup.
    Thanks In advance. Please let me know if more details are required.

    Hi Sir,
    According to your description , one thing came into my mind .
    In 2008/R2 , to backup VM online the hyper-v vss writer must be registered , if not , the VM will run into saved state untill accomplishing  the backup .
    http://blogs.technet.com/b/askcore/archive/2008/08/20/how-to-enable-windows-server-backup-support-for-the-hyper-v-vss-writer.aspx
    If you are in that case ( hyper-v VSS writer was not registered in 2008/R2 ) , actually the backup will perform a file based backup  , it will keep the VSV file there .  
    If you do same backup in 2012 R2 (select VM's folder then backup) , the VSV file should be backed up .
    In 2012/R2 you do not to manually register vss writer , you just need to select VM and backup .
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Preview App Saved State Removal Doesn't Work

    I'm having trouble with my Preview App in Mavericks.  I evidently had too many windows opewn and it became unresponsive, so I had to use Force Quit.  Relaunching opened all the previous windows and the problem was repeated.  After searching the Communities, I learned that the Saved State folder for Preview should be deleted.  Then, I couldn't find the Saved State folder, and, after more time searching, I learned it's hidden in Library of the Go menu (Thanks a lot, Apple).  I trashed the Saved State folder for Preview, but nothing changed: It STILL opens up all the previous windows.  I can't even wrap my brain around how this is possible!
    The machine is a 2010 Mac Pro running Mavericks 10.9.1
    Any help would be appreciated.

    Richard Benson2 wrote:
    Edit: I should have said "Zoom to Fit doesn't work as expected"
    I was hoping to use Preview as a proper replacement for Acrobat but this is really aggravating. The zoom to fit only seems to use the horizontal Preview document space to determine the viewed file's fitment. Which of course is useless if you want to view the whole file in totality at the maximum space available. I simply want 100% of the viewable document area to maximize to the given space, not just 100% horizontal. As it stands there doesn't seem to be a way to do that other than using the scale field and just trial and error the percentage until you get the result...
    Any tips, tricks, workarounds?
    Message was edited by: Richard Benson2 for clarity
    I have had the same issue for over a year, and it's very aggravating, as I used to use it all the time, and still need to, but it just won't work. It will work if an image is too large, but not when it's too small, and it take multiple "zoom ins", and then you can't get it to fit right! I don't know Apple hasn't fixed this key flaw.... No OS update yet, has fixed it.

  • IPad revert to preconfigured saved state on cold boot?

    We're looking to create a saved state for all the apps and OS settings for our many iPads that would reset automatically on a cold boot. Apple Configurator seems to require too much finagling. We're just looking for some kind of scripted solution that could recall our preconfigured settings for each iPad, restoring it to our business's preferred "pristine" condition whenever the iPad is started from a fully off state.
    I've searched for this everywhere online, but I'm not finding what seems like a very common need for a business that relies on iPads.
    Thanks in advance for any resources/apps/info you can provide!

    Is it the same keyboard you tried on all occassions?
    Sometimes there is a little gap, when the I/O-port metal bracket is not in properly.
    Have you tried PS2 mouse and keyboard? Is there any mentioning of this in Device Manager.
    Windows is keen on having USB-things hot-plugged, while that is totally wrong for PS2-things.

  • Win 2012 R2 VM on Win 2008 R2 FOC is backed up with Saved State instead of Snapshot by DPM

    I've posted this question a couple of months ago
    in another forum, but haven't resolved the issue yet. I'm hoping this post could help me troubleshoot this problem once again.
    My question is as follows (copied from previous thread):
    All my Windows 2012 R2 VMs (that run on a 3-node Windows 2008 R2 Fail-over cluster) are backed up by DPM 2012 R2 (also on Windows 2008 R2) using Saved State instead of Child Partition Snapshot. I've checked the list below (twice), but didn't find anything applicable
    to these VMs. 
    Backup (Volume Snapshot) Integration Service is disabled or not installed.
    The virtual machine has one or more dynamic disks.
    The virtual machine has one or more non-NTFS based volumes.
    The virtual machine Cluster Resource Group in a cluster setup is offline.
    The virtual machine is not in a running state.
    A ShadowStorage assignment of a volume inside the virtual machine is explicitly set to a different volume other than itself.
    An App-V drive is installed on the virtual machine that creates a non-NTFS volume.
    I've set the registry setting SystemRestore\ScopeSnapshots to 0 for each VM, and checked the current state with the diskshadow tool (to make sure it wasn't just an erronous datasource text in DPM). 
    Some more information:
    all Windows 2008 R2 servers on this cluster are backed up by DPM using Child Partition Snapshot
    all VMs (VHDs) are located on an HP Lefthand SAN
    I'll appreciate any pointers in finding the root cause of this problem!

    Hi CameO73,
    I'm afraid it is not supported to online backup 2012R2 VM on 2008R2 hyper-v (it is still not supported to install 2012R2 VM on 2008R2 hyper-v host ).
    I have seen a workaround of backing up 2012VM on 2008R2 hyper-v , but not for 2012R2 :
    http://social.technet.microsoft.com/forums/windowsserver/en-US/b687fa93-4de7-4c88-af69-06bb6bf494be/backup-windows-server-2012-vm-on-windows-server-2008-r2-hyperv-saved-state
    Hope it helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • DPM Saved State Limitation

    DPM cannot backup a VM in snapshot/online mode if that VM has a volume that has VSS enabled and it set to store those snapshots on a different volume.  
    1. Is this a limitation of DPM or the HyperV VSS writers?  
    2. Can other backup products that use the HyperV VSS writers backup the VM while it's online?
    3. If a virtualized domain controller is being backed up by DPM as a VM, is Active Directory being backed up properly?  If the Virtual DC is begin backed up with saved state mode, is AD backed up properly?
    http://technet.microsoft.com/en-us/library/hh757970.aspx

    Hi,
    Q1. Is this a limitation of DPM or the HyperV VSS writers?  
    A1. This is a limitation of the Hyper-V integration components installed in the Guest.
    Q2. Can other backup products that use the HyperV VSS writers backup the VM while it's online?
    A2. 3RD party backup products that utilize VSS snapshots should be able to perform online backups like DPM if they support Hyper-V guest protection. However, they will also be effected by any integration component limitations as in question 1
    above. 
    Q3a. If a virtualized domain controller is being backed up by DPM as a VM, is Active Directory being backed up properly?
    A3a.  It's kind of a loaded question - Active directory is protected as part of SystemState protection. That provides more flexibility of how and what gets restored in a more granular form. For actual "Active directory" protection, you should
    also perform systemstate backups. With that said, an online backup is considered application consistent and will contain a consistent AD for that point in time, and should the DC be restored, the AD will be in a good clean state.  
    Q3b.  If the Virtual DC is begin backed up with saved state mode, is AD backed up properly?
    A3b.  All saved state backups are considered crash consistent - the same as if you turned off a machine or power outage occurred without doing a clean shutdown, so that would not be desirable state for a DC. 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Backup of windows 2012 Child Hyperv Server as saved state instead of Snapshot

    I have a windows 2012 DPM server runing DPM 2012, with rollup patch applied.  Im backing up several child servers ruuning on a windows 2008 R2 Hyperv server.  All the windows 2008 child servers backup fine using snapshot, however the 2012 server
    running as a child does a saved state backup, it does not have any dynmic disks.
    Any ideas why?
    Richard

    Hi,
    First, SCS DPM 2012 does not support being installed on a Windows server 2012 or protecting Server 2012 until after SCS 2012 Sp1 ships later this year.
    System Center DPM 2012 is not supported running on Windows Server 2012 until we release System Center SP1 later this year.  We have had reports of DPM 2012 console crashes when navigating to the recovery tab if DPM 2012 is installed on Windows server
    2012.  This issue is fixed in SP1.
    If you are already in this condition,  I recommend you backup the DPMDB, rebuild the DPM server using Windows 2008 R2 install DPM 2012, then restore your current database. The process is explained in the below technet article.
    Recovering DPM servers
    http://technet.microsoft.com/en-us/library/jj244606.aspx
    We also do not support protecting Windows Server 2012 using SCS DPM 2012 until after SC SP1 is released.   Please do not expect any support for DPM 2012 running on Windows Server 2012, or issues while protecting data sources in Windows Server
    2012.
    However, with that said here are the general conditions that make a VM go into a saved state during backup.
    Protecting Hyper-V machines
    http://technet.microsoft.com/en-us/library/hh757866.aspx
    Conditions when DPM fails to back up Hyper-V virtual machines in an online state
    By default, System Center 2012 – Data Protection Manager (DPM) performs a backup of a Hyper-V Virtual Machine (VM) in an online state. However, DPM cannot back up a Hyper-V VM in an online state, if one or more of the following
    conditions are true:
    Backup (Volume Snapshot) Integration Service is disabled or not installed.
    The virtual machine has one or more dynamic disks.
    The virtual machine has one or more non-NTFS based volumes.
    The virtual machine Cluster Resource Group in a cluster setup is offline.
    The virtual machine is not in a running state.
    A ShadowStorage assignment of a volume inside the virtual machine is explicitly set to a different volume other than itself.
    An App-V drive is installed on the virtual machine that creates a non-NTFS volume.
    These conditions are set by the Hyper-V writer. In such a case, the VM is put in a saved state before a snapshot of host volumes are taken (except when the VM is turned off) for a backup. The Hyper-V writer adds the VM in the following format:
    For offline backups: Backup Using Saved State\<VMName>
    For online backups: Backup Using Child Partition Snapshot\<VMName>
    Additional reason if we have less than 300MB free space on a volume in the guest.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • Finder Saved State Issue

    I don't know why, but just starting today I have 3 apps that open on a restart or login. These are not login items.
    Firefox
    ICal (which displays repeated reminders of three weekly events, some going back several days. cancelling only stops them in the current login session)
    Numbers
    I have repaired permissions twice.
    I have reset the pram.
    Via the Go/library by holding down the option key I have:
    Emptied and locked the saved state folder.
    Deleted the finder plist file.
    Deleted my account login items and deleted the login plist file.
    Restart after each.
    I have checked and unchecked the reopen windows box on logout/restart - no difference either way.
    I have created a new admin account that does not exhibit these issues.
    I have had ongoing issues since buying this 10.7.2 mac mini with permissions and older numbers documents opening when starting the numbers applicataion. I know all about the option key on close or closing all windows before quiting the program, none of that has any effect. Also not being able to create backups of numbers files due to write protection issues. I also have the fetching issue on the system folder as well as other folders.
    Part of this and maybe all of this is caused by attempting to migrate files from a mac mini with 10.4.11 on it.
    Is there any hope by doing a clean install and not lose data files/application keys/etc And can that be done by holding down the command R?
    I guess I am out of ideas and would appreciate some input.

    Wow, these type of problems are always hard to diagnose. Could be a software or hardware issue. Let's not forget RAM problems in addition to the HD. What I would do first is look in the system log for kernel messages. If there are i/o problems with the HD they'll be logged there. Also, your Mac Pro has ECC ram. You'll see corrected ECC errors in the log if there's a RAM problem.
    From Apple:
    "If you see more than four ECC errors in 48 hours, it may be a sign of an impending DIMM failure. Before replacing the DIMM, shut down the server and reseat the DIMM.
    Often, a DIMM that is not fully seated will cause failures due to thermal effects on the DIMM connector. If the failures recur, the DIMM is probably about to fail and should be replaced at your earliest convenience."
    In my experience, multiple corrected ECC errors resulted in a very unstable Mac Pro even though they are supposedly corrected and everything is theoretically okay.

  • How to create a shopping cart which will be in saved state

    I am creating the shopping cart using the standard function module BAPI_SCEC_CREATE. After the shopping cart creation, I use the FM BAPI_TRANSACTION_COMMIT , so that the created shopping cart is committed.
    Now , The problem is, if I create a shopping cart using the above process, it gets into awaiting approval state. What do i do to save a shopping cart rather than creating it. I mean to say, the state of the shopping cart should be saved.
    And let me know the procedure to update an existing shopping cart which is in saved state.
    Thanks,
    Karthik Babu.
    Edited by: karthik_pulluru on Jul 28, 2011 12:27 PM

    Hi,
    As per your suggestions, I am using BBP_PD_SC_CREATE FM to create my shopping cart. the shopping cart is being created in HELD state. But, the item details, partner details, account details and org data is not being inserted.
      DATA iv_header type BBP_PDS_SC_HEADER_IC.
      lv_header_ref = '1'.
      lv_item_count = '2'.
      iv_header-guid = 1.
      iv_header-description = 'test for save cart'.
      iv_header-currency = 'USD'.
      iv_header-process_type = 'SHC'.
    *ls header
      ls_header-process_type = 'SHC'.
      ls_header-currency = 'USD'.
    ls_header-subtype = 'EP'.
      ls_header-businessprocess = '1'.
    *lt item
      ls_item-guid = '2'.
      ls_item-number_int = '0000000002'.
      ls_item-parent = '1'.
      ls_item-description = 'Deep Groove Lower Fuser'.
      ls_item-product_type = '01'.
      ls_item-category_id = '00106'.
      ls_item-quantity = '1.000'.
      ls_item-unit = 'EA'.
      ls_item-gross_price = '39.0000'.
      ls_item-price_unit = '1'.
      ls_item-deliv_date =  sy-datum + 1.
    ls_item-be_stge_loc = '0001'.
      ls_item-be_co_code = '1000'.
      ls_item-currency = 'USD'.
      ls_item-be_plant = '1000'.
      ls_item-be_pur_group = '003'.
      ls_item-be_pur_org = '1000'.
    *****To be populated from Header Data
      append ls_item to lt_item.
    account data
      data: ls_account type BBP_PDS_ACC ,
      rt_account_data type BAPIT_ACC.
      ls_account-p_guid = '2'.
      ls_account-acc_no = '0001'.
      ls_account-g_l_acct = '400000'.
      ls_account-cost_ctr = '1000'.
      ls_account-co_area = '1000'.
      ls_account-profit_ctr = '1402'.
      ls_account-acc_cat = 'CC'.
      append ls_account to lt_account.
    *bupa data
      data:
            ls_bup        type BBP_PDS_PARTNER,
            rt_bupa_det TYPE BAPIT_BUP_C.
    ls_bup-parent_guid = 2.
      ls_bup-partner_fct = '00000016'.
      ls_bup-PARTNER_no = '0000000206'.
      ls_bup-mainpartner = 'X'.
      ls_bup-p_guid = '2'.
      append ls_bup to lt_bup.
    ls_bup-parent_guid = 2.
      ls_bup-partner_fct = '00000075'.
      ls_bup-partner_no = '0000000007'.
      ls_bup-mainpartner = 'X'.
      ls_bup-p_guid = '2'.
      append ls_bup to lt_bup.
    *org data
      data: ls_org        type BBP_PDS_ORG ,
            rt_org_det type BAPIT_ORG_C.
    **********Org
      ls_org-proc_org_ot = 'O'.
      ls_org-proc_org_id = '50000011'.
      ls_org-proc_group_ot = 'O'.
      ls_org-proc_group_id = '50000012'.
      ls_org-p_guid = '2'.
      append ls_org to lt_org.
      data e_header type BBP_PDS_SC_HEADER_D.
      CALL FUNCTION 'BBP_PD_SC_CREATE'
        EXPORTING
      I_REF_GUID              =
        I_BAPIMODE              = 'X'
        I_PARK                  = 'X'
        I_SAVE                  = ' '
       I_TESTRUN               = ' '
        I_HEADER                = IV_HEADER
      I_SRC_GUID              =
      I_SRC_OBJECT_TYPE       =
      IT_ATTACH               =
        IV_MSG_SCENARIO         = ' '
       IMPORTING
         E_HEADER                = e_header
      ET_ATTACH               =
        TABLES
         I_ITEM                  = lt_item
         I_ACCOUNT               = lt_account
         I_PARTNER               = lt_bup
      I_CONFIRM               =
      I_LONGTEXT              =
      I_LIMIT                 =
         I_ORGDATA               = lt_org
      I_TAX                   =
      I_PRIDOC                =
      I_HCF                   =
      I_ICF                   =
      I_TOL                   =
       E_ITEM                  = e_item
       E_ACCOUNT               = e_account
       E_PARTNER               = e_partner
      E_CONFIRM               =
      E_LONGTEXT              =
      E_LIMIT                 =
       E_ORGDATA               = e_orgdata
      E_TAX                   =
      E_HCF                   =
      E_ICF                   =
      E_TOL                   =
      E_STATUS                =
        E_MESSAGES              = lt_message1
      call function 'BAPI_TRANSACTION_COMMIT'.
    I pasted my code here. pls tell m ewhere i went wrong.
    Thanks,
    Karthik Babu

  • Saved state?

    Okay, here's a feature in OS X that I didn't know existed and I wonder if you can tell me if it's something new.
    Last night, I wrote a blog and I left my MacBook publishing while I went to bed. I figured the MacBook itself would eventually put itself to sleep after long enough inactivity. It was not plugged in. Then this morning when I came in, it was completely dead. No little breathing white light on the front. Great, I thought--there were some programs that I really should have shut down. I left a few items unsaved.
    On my old PowerBook everything would have been a loss. But on my MacBook when I pressed the PowerButton, I saw a flash and then a faded out version of one of my screensaver slides. A progress bar appeared at the bottom of the screen and my entire last session restored itself from some kind of saved state! This was not merely waking up from sleep--the entire MacBook had been shut down and drained of it's battery. Have you seen anything like this on Macs? I was startled because rarely does a new "feature" slip by me. But this one sure did. And everything came back just as it was before I went to bed and let it lose power.
    Any information about this feature would be appreciated.

    This is a normal feature of the new MacBooks. If your system is active (or sleeping) and the battery runs below a certain point, it will go into "safe sleep". This is the equivalent of "hibernate" on a PC.
    http://docs.info.apple.com/article.html?artnum=302477

  • VDI is automatically going to down and become 'Saved' state

    We are testing the HYper-V 2012 and Windows 8 Enterprise 32 bit. We have created Personal Desktop collection and Created VDI. But this VDI's are frequently going Down automatically and if we check in Hyper-V, the VDI state is showing as 'Saved'. Anybody
    can help us as we are going to decide whether to go with Microsoft or VMware for Virtualization
    Thanks in advance

    the VM should not be going into a saved state when the user is connected.  RDS will only change the state of the VM when an admin chooses to do so manually, or when we need to wake up a VM or after a user logs off. 
    What is the state of Hyper-V when this is happening?  How many VMs are running and does the Hyper-V server have resources available?  are you using dynamic memory on your VMs?
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

  • Deployment Issue: The saved State dictionary contains inconsistent data and might have been corrupted.

    Hi,
    I have been working on a C# project. It all works fine except the installer. I can install the project but if I then repair it and then try to un-install it I get the following error:
    "An exception occured while uninstalling. This excepion will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete --> The saved State dictionary contains inconsistent data and might have been corrupted."
    This error happens whenever I try to un-install/repair/modify it having previously tried to repair it. It seems that in repairing it the .InstallState file becomes corrupted. I can un-install it by replacing the .Installstate file with a working version. However the end users will not know how to do this. Is there any way of fixing this?
    Just in case it is important: It's a Framework 2 project, built in VS2005, it consists of a windows service and a forms application the service relies heavily on SOAP.
    Thanks for any help,
    Joe

    I've got almost the same problem
    I can't uninstall service that was just installed with install util. Error message is
    An exception occurred during the uninstallation of the .Service.WindowsService.ProjectInstaller installer.System.ArgumentException: The savedState dictionary contains inconsistent data and might have been corrupted.
    There was no repair or modify after install.
    Then I had removed .InstallState file and installUtil did not find any problem in savedState dictionary ;-)
    I checked InstallState file but have not found any visible problem with it
    Please take a look if you know what is InstallState file
    https://onedrive.live.com/redir?resid=5622404b58b0055f!132&authkey=!AA0PsRyTJUTdPgk&ithint=file%2cInstallState
    Regards

Maybe you are looking for

  • Global inventory

    Hi, Global inventory is a location on the file system where it keeps information about oracle products installed on a machine. Am i right? Corrections or comments are welcome With regards

  • How to recover a video received in iChat 2 months ago?

    I was able to find the chat by searching for it in the Finder but I tried to click on the videos and it just said the video file name. The chat was from January 24, 2015.

  • Cluster,pool tables

    how can i see cluster and pooled tables in se11 i tried but i am not able to see can any body help in this regard with example

  • No lens profiles in the Camera Raw

    There are no lens profiles in the Camera Raw Lens Corrections tab.  How do I add them?

  • Portal DSAME DisplayProfile bizaare behavoir

    I was hoping one of you could provide suggestions or confirm that you've seen the particular subtle problem described below. Having worked with the Sun ONE Portal 6.0 product for a few months now, we have periodically encountered a situation where th