Data Persistence

Can i specify persistence location in MI client.
I want my data persistence to be on a central server.
Then to synchronize data from central server to R3.
client1 client2  client3
      central
      server
Because data dependency exists between clients.
Can anybody throw light on this?

hi,
For the data persistence needs of a mobile client applications, MI offers the Persistence API which is located in the packagecom.sap.ip.me.api.persist.*.
Storage implementation for this concept is a black box for application - it is storage independant. The Persistence API let you store, change, delete and query data. The storage medium used and the technicality of its access is entirely transparent to users of the Persistence API. The MI uses 'bridges' - one for every storage type - to access the physical storage. The bridges dynamically create the necessary statements (for example, SQL-statements to access a JDBC databases) to access the data.
The Persistence API can store data on databases as well as on the file system (that means via standard Java serialization). The currently activated storage type is detected automatically by the MI at runtime. Applications using the Persistence API therefore make best use of the current device features (that means storing on the database if it's there and doing without it, if it's not there).
What ever you store in your client is physically stored in your R/3 System only. your client will have only instances of that data objects.
Even if you use multiple clients, and if you have changed data from any client (say client2), when you do a sync on Client 1 during your next logon, delta-determination takes place. The data you updated from Client 2 gets reflected in Client 1 also.
Hope this enlightened you!
Regards,
Ak.
PS: Don't forget my points if this helps.

Similar Messages

  • Design of reusable data persistence layer with single container

    Hi,
    I am designing an 3-tier application using cmp for my data persistence layer (DPL). The customer now wants to run multiple versions of the application on one server using different data sets for each application. One solution I see, but don't like very much, is to add an application ID to each enity bean in my DPL. However, I would rather run multiple DPL's on different databases and reuse my business logic layer and my presentation layer. Has anybody solved this problem or see the obvious solution that I am missing here?
    Thanks a lot,
    Sandigo.

    Hi KPSeal,
    there is absolutely no relation between the different versions of the application. Although I would prefer to run a single business logic layer it is very much an option to have different versions of the entire application. Could you elaborate on how I would achieve these different versions? Would I have to rewrite the deployment descriptors so that each bean can exist twice or would that give me two instances?
    Thanks,
    S.

  • Local data persistence in Interactive workflows

    I have read through all the threads regarding Data persistence and do understand that form data is stored in xml format. I still have the following doubt:
    For all the custom workflows we are developing for this client (using Adobe interactive forms as the UI in the workflows) we want to have local data persistence. Is there a model which covers data collected through the forms, including those data that are retrieved from SAP at the beginning of the workflow, and those data that are manually entered by the forms user?
    Scenario :<b>  cost xx   - approver 1
                     cost xx + 1 - approver 2
    Form data filled, cost xx and hence a email goes to approver 1.
        Now, details changes and cost for that sales order increases to xx + 1.</b>
    Will my email still be in the inbox of approver 1?
    What if I want data persistence where from the initiation to the end of workflow the data should be persisted irrespective of the changes.

    Hello Kavitha,
    Your workitem will stay where it is unless you've specifically modelled it to react to a change. In standard purchasing you would use a change event triggered from ME22N or the likes, but unfortuantely I'm not in depth familiar with Adobe Forms so I don't know what happens when data is changed on a form once the WF has started.
    However if you want data to remain constant throughout the life of the WF then I'd suggest binding it to a WF container when the doc is first created and then working with that value.
    Hope that helps,
    Mike

  • Data persistence using SQL/J

    Hi !
    I am trying to achieve data persistence using SQL/J.
    The env / tools that I am using are WLS 4.5.1
    Oracle 8i, SQL/J.
    SQL/J works fine with the two - tier applications but with WLS the connectivity is not been arrived at.
    Any help would be wewlcome.
    Thanks,
    Archana

    Are you using an Oracle JDBC driver in WLS or not?
    (1) If the answer is no, then you should replace:
    oracle.sqlj.runtime.Oracle.connect(<url>,<user>,<pwd>);
    (and similarly Oracle.getConnection())
    with:
    import sqlj.runtime.ref.DefaultContext;
    <load JDBC driver, if necessary>
    DefaultContext.setDefaultContext(new DefaultContext(<url>,<user>,<pwd>,false));
    (2) Actually, forget (1): in the middle tier you should never use a default context at all (every thread must have its own connection context):
    DefaultContext ctx = new DefaultContext(...);
    #sql [ctx] { ..SQL statement.. };
    (3) If you do not use an Oracle JDBC driver, then say in your sqlj command line:
    -profile=false
    (this omits Oracle customization and makes the .ser file smaller)
    Also, you only need runtime.zip at runtime, anyway. And for non-Oracle JDBC drivers you can remove the whole oracle.* hierarchy from runtime.zip.
    (4) You do need to deploy those .ser files with the bean. Or use -ser2class and deploy class files with the bean.
    (5) Finally, it appears the WLS deployment tool has not heard about SQLJ - it may only understand .java files. In this case you have to translate all .sqlj files (and the .ser files) into .java files before putting these into WLS:
    (a) run SQLJ over the .sqlj source with the -compile=false option. This produces .java files.
    (b) you can also turn the .ser files into .java files by running:
    java sqlj.runtime.profile.util.SerProfileToClass -nc *.ser
    (issue the line without arguments to get an option synopsis)
    You'd want to do (a) and (b) via a Makefile and not do it by hand more than once.
    (c) During deployment time and runtime you must have runtime.zip (modulo comments in (3)) in the respective CLASSPATHS of the deployment tool and of the server.
    Sorry these answers were rather generic - I still could not tell exactly how you are failing in WLS.

  • Data Persistence in workflows triggered through interactive forms.

    I have read through all the threads regarding Data persistence and do understand that form data is stored in xml format. I still have the following doubt:
    For all the custom workflows we are developing for this client (using Adobe interactive forms as the UI in the workflows) we want to have local data persistence. Is there a model which covers data collected through the forms, including those data that are retrieved from SAP at the beginning of the workflow, and those data that are manually entered by the forms user?
    Scenario : <b>cost xx - approver 1
    cost xx + 1 - approver 2
    Form data filled, cost xx and hence a email goes to approver 1.
    Now, details changes and cost for that sales order increases to xx + 1.</b>
    Will my email still be in the inbox of approver 1?
    What if I want data persistence where from the initiation to the end of workflow the data should be persisted irrespective of the changes.
    Thanks,
    Kavitha

    Hello Kavitha,
    Your workitem will stay where it is unless you've specifically modelled it to react to a change. In standard purchasing you would use a change event triggered from ME22N or the likes, but unfortuantely I'm not in depth familiar with Adobe Forms so I don't know what happens when data is changed on a form once the WF has started.
    However if you want data to remain constant throughout the life of the WF then I'd suggest binding it to a WF container when the doc is first created and then working with that value.
    Hope that helps,
    Mike

  • Fpga data persistence volatility

    I was just wondering about the persistence/volatility of the various memory methods after cycling power to LabVIEW FPGA Devices?  Is it possible to ensure that data persists after cycling power?
    Jordan McBain, PhD
    LabVIEW Controls Engineer
    Revolutionary Engineering
    Solved!
    Go to Solution.

    There aren't that many memory techniques. You can store data on the FPGA either in logic gates, or in RAM. Both of those are volatile - they lose their contents when not powered. Some FPGA boards do have onboard non-volatile FLASH, but that is generally used to store a bitfile to be loaded on power-up. I do not know if it is possible for the FPGA to access the FLASH while running, but if it is you would need to write custom low-level (non-LabVIEW) code to do it, as there are no built-in functions that allow it.

  • Adobe Acrobat 9 Pro - Form data Persistence - Worksheets Education

    Hi
    I am currently using this application to create Worksheets - so clearly an educational context. I create a worksheet using MS word, convert to a pdf file and create editable text fields.  The E-doc is then uploaded on the school's VLE as a 'Read Only' document. These can be downloaded in class or at home.  process works fine if learners answer the questions usng the mainly multiline text fields and print them out immediately. As far as I am aware there is no way of 'binding' the learners answers to a data source within the file (part of the file itself) so that they can upload to the VLE their answered worksheets with their text 'persisting' in the doc, or is there without going through the advanced processes of 'form Submissions' using on line servers etc.  Maybe this is not the way pdf files are meant to be used?
    Hope you can help / clarify

    If you're saying that you want users to be able to partially complete the form, close it, and come back later and retrieve a copy from the server to complete it, then that would require submitting the data back to the server, which would then have to store the data in a database of some sort. When requested, the server could serve the user a form with the saved data populated in the fields. Setting this type of system up is not a simple matter.
    A much simpler approach is to Reader-enable the blank form. The user can then download it from the server to their machine and use Reader to fill-in and save the form. They can re-open it at any time and continue filling it in.

  • What's the solution about data persistence in BPM?

    In some cases,data of completed processes need to be stored and reused in some applications.But in current BPM,I can't find where the data is stored and applications can't find interfaces to acquire these data.For example,if I want to check last month's or season's finished processes including detailed data in a Web Dynpro UI,what's the solution?

    Hi,
    not sure what exactly you are looking for. NW BPM offers a BW integration which allows you to do reporting about such things. Some information can be found here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b072ec-8ae3-2c10-1b96-e2af98b174b3?quicklink=index&overridelayout=true
    Besides that there is a public API introduced in BPM 7.30 which allows you to access data via java api. But I guess the apis offered by the public API are not suited yet for your use case as it does not provide such advanced search capabilities.
    Best regards.,
    Stefan

  • Can flex 2 have local data persistence?

    Guys, I am just checking RIA development environments. I am
    aware the flash has local shared objects as a way of storing data
    on a local machine. Is this available in Flex 2? It is essential
    for the appication I wish to write. Any help welcome.
    Best
    Steve

    Tracy,
    OK that is extremely useful, we do a lot of MD5 already. If I
    may, could I pick your brains for another issue I am grappling with
    on this potential flex project? Is there any way a flex component
    could be built that was associated with a particular file type. So
    that whenever such a file type was offered from an HTML page, this
    component automatically processed it? This would be a parameter
    file that the other parts of flex application would utilise.
    Very Best
    Steve

  • EJB Web Dynpro  - Data Persistence

    What is the recommended way for connecting to oracle database and adding business logic to web dynpro application.?
    We were researching on the CMP entity bean but found that CMP entity bean in SAP netweaver can be
    configured only to connect to the default database. Its too difficult for my consious to digest why anyone will connect only to the default portal database. Is there any way that we could work on CMP entity beans and connect to an external datasource in EP 7.0 ?
    Your valuable feedbacks would be highly appreciated...

    unlike others, I dont think it should be an issue in connecting to an external data base as long as you can telnet / ping to that db server from Portal.
    All you need to create is a JDBC datasource from portal to that database and use that datasource in your application.
    It should be pretty straight forward.
    Did you try this?
    The reason i know it should work is, i am working on MDM and from portal i create a datasource to connect to MDM database for one of the application provided by SAP and it is the standard procedure defined by SAP to create datasource and consume it.
    I just saw, yardon has provided links to help.sap on how to create datasource, so you should be good.
    Let me know if i need to explain more. I can guide you how to create datasource in Visual admin.
    Good Luck
    Regards,
    Nitin
    Edited by: Nitin Mahajan on May 1, 2009 6:50 PM
    Edited by: Nitin Mahajan on May 1, 2009 6:50 PM

  • Shockwave data persistence

    Can anyone point me in the right direction?
    I have a large training program which I am moving online. I
    will therefore need to break it up into a number of different
    shockwave files. The user will log in to the program but how do I
    make their data persist between the different shcokwave
    files?

    You may use
    setPref() and
    getPref() for example.

  • Data persistence when ios app is updated

    I'm saving files in AMF format in the application storage directory (app-storage:/). This works great, but the fles get deleted when the application is updated.
    I'm dsitributing the app internally in the company via our intranet (ad-hoc). The users do not delete the app, they simply redownload the new version.
    Where do I have to save the files in the iOS device so that they are not deleted when the application is updated?
    Thanks

    I know with shared objects if you install an app, save some data then install a newer version via flash all data is erased if you however update the app through the app store the data is saved, for your situation this is not possible since its an internal app. You can save the data externally to a server this way every time the app launches it could check for the correct data but of course this is much more troublesome and time consuming.

  • Data persistence for the different BPM instance

    Hi,
    My scenario is
    I am sending the data from IDOC to IDOC.
    I have run one instance of the interface and successfully processed. I want to use the BPM container values to be persistant for the next instance of the BPM run.
    Is there any way to save the container values available for multiple instances of the interface?
    Thanks
    Mohan

    Hi Mohan
    Short answer: no. You cannot do this.
    However, BPM has a mechanism specifically designed for associating otherwise separate messages: correlations. Basically, by defining a suitable correlation, separate messages are sent to <i>the same BPM instance</i>, thus allowing you to do whatever it is you need to do related to multiple messages.
    If this isn't the type of thing you are looking to do, post some more details of your usage scenario so we can give a more qualified answer.
    Best regards,
    Thorsten

  • Data persistence with JDeveloper extensions

    I have an extension which adds an extra tab at the bottom of the file next to "Source." I have added a design view which shows the GUI representation of the data. I was wondering what are some of the ways I can persist my data when the GUI or file is modified? Is there a hook to detect if the user clicked out of the "Design" tab or if the user clicked "Source tab"?
    Thanks

    DJ,
    An example of using the ActiveViewListener would be something like....
    Creating a new class that implements ActiveViewListener
    package oracle.ide.extsamples.sampleextension;
    import oracle.ide.ceditor.CodeEditor;
    import oracle.ide.view.ActiveViewEvent;
    import oracle.ide.view.ActiveViewListener;
    public class Listeners implements ActiveViewListener {
      @Override
      public void activeViewChanged(ActiveViewEvent ev){
        if(ev.getNewView() instanceof CodeEditor){
          System.out.println("ViewID: " + ev.getNewView().getId());
          System.out.println("Filename: " + ev.getNewView().getContext().getNode().getShortLabel());     
    }Then in your code you add an activeViewListener to the IDE's mainwidow
    private Listeners _listener = new Listeners();
    Ide.getMainWindow().addActiveViewListener(_listener);You can run your extension in debug and set a breakpoint in the Listeners class to see what type the different windows are. Right now, this code will only do the println when it's runs into a source code editor window. It does not print anything when it hits a History or Overview window.
    Hope that helps.
    --jb                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Data Persistence during WebSite transition

    Hi there,
    I have a website that stores some files within on the computer, for example within the program data folder.  Like,
    C:\ProgramData\<company name>\<app>
    For numerous reasons I would like to keep this data there but I am unsure as to what happens when Azure decides to transition my site to another machine or suchlike, will it lose this data?  If it does lose it, what's the best way to handle data that
    I would like to migrate?
    Somewhere out there...

    Anything under D:\home\ will persist with your site when it moves from machine to machine (it's best to use the %HOME% environment variable).

Maybe you are looking for

  • SCCM 2012 R2 Configuration Manager Client Package - stuck "In Progress"

    Hi Team; I’m having 2 issues with SCCM 2012 R2: Issue 1: I'm having a strange issue with the default XXX00002 package - "Configuration Manager Client Package", it will not deploy to the Secondary Site DP. The console is saying "In Progress" - below i

  • Can't login to Mac App store on mac mini. Is it because my ethernet port is fried?

    Hi like many others, I am unable to log in to the mac app store on my mac mini.  I get the error message saying "An unknown error has occured". I believe the ethernet port is damaged after an electrical storm, but I can still get online wirelessly. 

  • Windows 8/Firefox 19/Dell Laptop Any way to decouple High contrast from my color settings?

    I find the following note on Firefox help pages: "Firefox automatically detects if you are using a High Contrast theme and displays everything in your high contrast color scheme. This overrides all other other browser or web page settings, and it aff

  • Can't view QT Pro rotated movie

    I spent several hours trying to rotate a .MOV file taken by my iPhone 4.  I downloaded the MOV file from my iPhone to my Win 7 machine where it plays just fine in Windows Media Player (except for being 90 degrees off).  I couldn't find a native Windo

  • Match not functioning for hashtable keys

    Updated Hello, I'm seeing unexpected behavior and am hoping for a little help. My PS ver is: Major  Minor  Build  Revision 3      8      0      129  Here is a snip that illustrates the issue (reproducible) $aRecords = $null; $aRecords = @{} $aRecords