Store data in R/3 without page refresh

Dear BSP-Masterminds,
we need to store data in R/3 without a recurrent page refresh. The problem is that our engineers are using PDA's and the page refresh is taking too much time. The engineers are changing equipment data on the PDA's. Every time they click on  save button, the data get send to the R/3 system and the checking, if the data are correct, takes up to 30 sec. Additional the new page refresh on PDA takes another 20 sec. It would be great to find a solution which stores the data somewhere and by hitting the 'final save-button' the data get checked and saved.
The worst case scenario would be a table of around 600 equipment data, so it might be a huge table that has to be stored somewhere. I thought of a client side cookie but I have no experience if it is possible to store such a big internal table and by the way I don't know if this would be possible on a PDA.
Every little hint is welcome!
Regards
Nicola
P.S.: Please excuse any spelling mistakes )

Hi,
Javascript as such can't do it without refreshing the page. You need to use the AJAX function. But you don't need to be scared about it. Just look at the web logs I've mentioned and you'll understand it quickly.
Here's an additional AJAX tutorial
http://www.w3schools.com/ajax/default.asp
Eddy
PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

Similar Messages

  • Update report dynamically? (without page refresh)

    I have a page with several regions, and only one region is visible at a time. Each region contains a report as well as a drop-down to alter the data displayed in the report. Currently each time a drop-down value is changed it submits the page, which causes the "main region" to become visible since it is set by default to display first.
    Is there a basic tutorial I can follow on how to dynamically update the report output without a page refresh?
    Thanks,
    Steve

    Steve wrote:
    I have a page with several regions, and only one region is visible at a time. Each region contains a report as well as a drop-down to alter the data displayed in the report. Currently each time a drop-down value is changed it submits the page, which causes the "main region" to become visible since it is set by default to display first.
    Is there a basic tutorial I can follow on how to dynamically update the report output without a page refresh?The easiest way to do this is using dynamic actions. Create a Refresh dynamic action for each region that executes when the associated select list is changed:
    h4. When
    Event: Change
    Selection Type: Item(s)
    Item(s): <select list associated with region>
    h4. True Action
    Action: Refresh
    Fire On Page Load: Yes or No depending on the requirements of your application
    Region: <region to be refreshed>
    Ensure that the value of the associated select list is submitted into session state before the refresh by specifying it in Page Items to Submit in the Source section of the report region definition.
    There are some dynamic action tutorials on the Oracle Learning Library. Doesn't specifically mention Refresh in the abstract, so it may not cover this specifically, but it is an introduction to dynamic actions in general.
    (It's probably possible to create a single dynamic action to handle refreshing all of the regions: we'd need more comprehensive details of your application, preferably reproducing it or a simplified version on apex.oracle.com.)

  • How to store data in a file without using DB

    Hi all
    I want to develop a small application that could contain at most 10000 records, so if it is possible I want to store the data in a file, therefore the installation of the application can be simplified and the users don't need to add a ODBC dataSource in the control panel before running the program.
    If the above is not possible. Does anyone know how to use Java to programmatically add a ODBC dataSrouce in the control panel in the Windows Platform?
    Thank you very much !
    Kind Regards
    Edmond

    1 ) Save the records into a vector and write it to a file. You will have to load all the records when you read the file though.
    2 ) Use a dsn-less connection. You do not need to have a dsn set up and you can access a file using the bridge driver:
    url = "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ="+file.getPath();
                   //Obtain the driver for the
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   //Create the connection
                   con = DriverManager.getConnection(url, "", "");
                   //Ensure that the connection allows two way commands
                   if (con.isReadOnly()) con.setReadOnly(false);
                   //Create the statement to be executed
                   stmt = con.createStatement();
         //execute the select statement
                   ResultSet rs = stmt.executeQuery("SELECT * FROM \"Sheet1$\"");
    This should work, let me know if it dwosnt

  • Call Java Method on Commanlink action without page refresh

    Hi,
    I have a radio button in my application which on click calls a new JSP page inside DIV tag of the same JSP. Now before calling that JSP Page i want to perform some functionality . So i placed a commandlink on radio like this -
    <h:commandLink action="#{controller.deleteData}">
         <h:selectOneRadio id="licenseType" layout="lineDirection" value="#{controller.licenseType}" onclick="javascript:getServerInfo();">
                 <f:selectItem itemValue="#{dataTableItem}"/>
         </h:selectOneRadio>
    </h:commandLink> What I am looking for is that when a user clicks on Radio, first a Java method named deleteData() is called and then onclick() event of Radio is processed which loads a new JSP Page inside DIV tag beneath the radio button.
    But what happens is that as i click on Radio, command link takes precedence and refreshes the page.
    Is it possible for commanlink to just call the method and don't refresh or reload the page ????
    Plz assist with some code example

    Thanks Milind..... :-)
    I've not tried it as yet but i guess it would wok for radio.
    Is there any such event available for command link or command button too.... in which i just call the method on click and the page may not refresh ?
    Would "actionListener" event like this -
    <h:commandLink actionListener="#{controller.getsaveData}">call a java method and refresh the page or just call the method and leave the page as it is.
    If thats possible can u assist with some code examples ???
    USAGE :_ Actually I have a commandLink on which I have put a graphic Image "Submit" and on clicking of this image I just want the java method to be called but the page should not refresh or reload. Here is the code -
    <h:commandLink actionListener=" action="#{controller.getsaveData}">
                      <h:graphicImage url="/IMAGES/save_changes.JPG" height="27"
                                      width="136"/></h:commandLink>{code}
    Can u assist me with this Plz.{code}{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Oracle 11g OMS: Database Instance Home Tab:  Page Refreshed Timezone Issue

    Hi all...I've searched the forums and search engines for specific information on this issue, but have not seen a viable solution so far. We have Oracle 11g Grid Control 11.1.0.1
    installed on a Solaris V490 using Solaris 10, with an Oracle 11.2.0.1 database.
    The Database instance Home tab for all 50+ databases shows the date and time of the 'Page Refreshed' in GMT. The OS and the Agent software both are configured
    with the TZ set to US/Eastern. All other page displays e.g. Performance, Availability for Data Guard Standby etc. all show the refreshed time in EDT, it is ONLY
    the Home tab for the instance that has the GMT format.
    I have not seen any threads or other information that describes specifically how to correct this or even to change it. There are many related posts about the Agent
    end.properties, the OS /etc/timezone configuration parameters, the TZ environment variable etc. but in my case they are all set properly.
    Does anyone have any additional ideas or suggestions or knowledge about how , or even whether, this can be resolved?
    Thanks!
    DPH

    sqlplus ... Connected to an idle instance.That means the database you're trying to connect with is offline, thus the:
    ORA-01034: ORACLE not availableNo big surprise there, instance (that you're trying to connect with) is offline.
    First, make sure the service OracleServiceXE for the database is running, see the services applet, Start/Run/services.msc and if it does not show "Started" hit the Start button with the OracleServiceXE selected.
    sqlplus sys/admin@XE as sysdbaThat connection attempt uses sqlnet to the XE tnsalias. If you're on the database host the ...@XE part is not needed, better to use:
    $ sqlplus /nolog
    connect /as sysdba;
    ... Connected. #if its running
    -- or use:
    $ sqlplus
    ... username: sys as sysdba
    ... password ...
    Connected.
    -- also try
    $ sqlplus system
    ... password: ....
    Connected.
    select name from v$database;
    ...That also assumes the environment/registry entries have been configured correctly.
    tnsping XE ... Attempting to contact [tnsalias connect details] ... OK (10 msec)That tells you the listener is running. It does not mean anything more than your listener is running at the host and port specified for your tnsalias are correct. It does not attempt an actual database connection. So if the database is offline but the listener is running a tnsping will not identify that particuler "problem".
    lsnrctl status ... Endpoints Summary ... PROTOCOL=tcp)(HOST=chilakamarthy)(PORT=1521)))...That bit of info also verifies the listener is running. Again, check your services.msc applet make sure the service shows Started.
    Edited by: clcarter on Jun 7, 2012 2:15 PM
    clarify tnsping

  • Can SSD which is configured for intel rapid start be used to store data files as a normal drive

    Can SSD which is configured for intel rapid start(No Smart Response) be used to store data files as a normal drive
    Lenovo ideapad u310 with 24 GB SSD Partition , only 4GB has been configured as Hibernate partition for Intel rapid start, rest of the 18.36 GB has been labelled as Healthy(Primary partition).Can this 18.36 GB of SSD be configured to store data files on it without affecting Intel rapid start.

    I think I have discovered the answer to my own question!
    I have disabled Adobe Reader plug-in, and can now see PDFs in Chrome.
    (Steps: Chrome Menu, Settings option, Click Advanced Settings link, then Content Settings button, then select Disable Individual Plug-Ins, and a list of plug-ins is offered to enable or disable).
    I then get a different result depending on whether or not Chrome PDF viewer is enabled - with it enabled I see the PDF document in Chrome, or with it disabled then the option is offered to download it, but either way I can get it it via Chrome without having to run Internet explorer in another browser window.

  • Help with retaining drop down data after page refresh

    Hello:
    Dev environment: JSP/Struts - Using DynaValidatorActionForm for ActionForm
    I have a JSP which, in a simplified version, uses two text boxes and one drop down viz. Name(text box), Country(drop down) and Country Name(text box).
    When the page is first brought up, obviously, the text boxes are empty and the drop down is at it's initial setting of "Select One" which has a value of 0.
    I enter a name, select "Other" from the drop down and click on Submit leaving the "Country Name" text box blank.
    Now, because of the validation I'm performing, if "Other" is selected, the name of the country should also be provided. In this case, obviously the validation fails and the same page is returned via "mapping.getInput()".
    Now the problem is, whatever I put in for "Name" is still retained but the drop down is reset to "Select One". This is causing confusion to the user because the error msg is misleading when it says, "Enter a country name", but in reality the user has to redo the drop down selection also.
    Anyway, is there a way I can make the drop down also retain the data it had prior to the page refresh just like the "Name" text box?
    Any help is greatly appreciated.
    Thanks.
    Here's the code from the "Action" where I do my validation check...
    -------- "Action" Code -----------------------------------------------
    if (tbi.getCountryid() == 10)
    if (tbi.getCountryName().equalsIgnoreCase(""))
    ActionErrors countryErrors = new ActionErrors();
    String errKey = "tbi.countrydata.invalid" + "." + (i+1);
    afflnErrors.add("Invalid Data", new ActionError(errKey));
    saveErrors(request, countryErrors);
    return new ActionForward (mapping.getInput());
    ------------------------------------------------------------------------------

    Are you populating that select box( from database) everytime page refreshes ?
    otherwise it should work as others.
    as a work around, here is a javascript code you can use to prepopulate a option in a select box, but you need to know what value was selected. ( may be set that value in request or session)
    call this function on load of the form.
    // list - is the name of the dropdown
    // selVal - is the value selected.
    function selectListItem(list, selVal) {
    for (i = 0; i < list.length; i++) {
            if (list.options.value == selVal) {
         list.options[i].selected = true;

  • How to refresh captcha without full page refresh

    Hi,
    I am using simple captcha implementation using the following link.
    [http://www.oracle.com/technetwork/developer-tools/jdev/captcha-099103.html|http://www.oracle.com/technetwork/developer-tools/jdev/captcha-099103.html]
    Captcha image refreshes page reload but if i set partialSubmit=true It does not changes the image of the servlet . What is the way to refresh image .
               <af:image  id="iCaptcha"     
                                            source="/captchaservlet"
                                            inlineStyle="width:122px; height:49.0px;"
                                            partialTriggers="cil2"
                                            binding="#{AfProMSDSSearchAction.captchaImage}"/>When I reset the image source by reseting it by javascript it does not refreshes .
      <af:resource type="javascript">
              function loadCaptchaImage() {          
                var captchaURL = "/captchaservlet?rand=" + Math.random();           
                parent.document.getElementById("pt1:s12:iCaptcha").src=captchaURL;
            </af:resource>

    Hi frank,
    I got the solution I can change the Captcha image without full page refresh by just adding temparary request parameter to that image so that url changes and it calls servlet again.
    Below code will add random number as a request parameter to the servlet url so that url changes everytime.
                    RichImage image = (RichImage)JSFUtils.findComponentInRoot("iCaptcha");
                    String randomString= String.valueOf(Math.random());
                    image.setSource("/captchaservlet?rand="+randomString);          
                    RichPanelGroupLayout capImgPGL = (RichPanelGroupLayout)JSFUtils.findComponentInRoot("capImgPGL");
                    AdfFacesContext.getCurrentInstance().addPartialTarget(image);
                    AdfFacesContext.getCurrentInstance().addPartialTarget(capImgPGL);

  • Why there is no datatype which only stores date (without time part)

    Hi All,
    Is there any specific reason for not having a data type which only stores date (without time part) in ORACLE - I am asking this because DATE (without time) is a very frequently used data type in any application.
    Thanks.

    884476 wrote:
    Then why ORACLE is allowing to have scale and precision in a NUMBER data type. If I want to store an integer there is no harm in storin it just as NUMBER. But I habe option to give something like NUMBER(10). But in DATE, the time part is mandatory.a) because there's no need for seperate DATE and DATETIME datatatypes, and b) the time part is not 'mandatory'.
    SQL> create table mytable (x date);
    Table created.
    SQL> insert into mytable (x) values (to_date('01/01/1980','DD/MM/YYYY'));
    1 row created.
    SQL>The DATE datatype contains the Time as well, to make it flexible... a single datatype that can do both things without the need for any conversion between datatypes (either explicitly or implicitly).
    Yes, many application need to have fields on the screen that just show a date, such as a date of birth as you say, but that's simply a display issue, and any application interface will allow for a date format to be specified for displaying the data from the database, so in terms of such "Date only" dates, you would simply use a format mask that ignores the time portion.
    There's absolutely no issue with the fact that it's just a single datatype... it causes no problems... it's perfectly flexible at being used for just dates or for dates and times... so why such a concern?

  • Date Picker - Page Refresh?

    When using a date picker object (AND a LOV list w/submit in our case), is there a way to make the date picker force a page refresh? Otherwise, charts and/or sql report regions do NOT auto refresh their data when a new date is picked unless the users forces a refresh/submit (or in our case the LOV will do it IF the LOV value is changed too)...

    Hi,
    Have you tried to put into Date Picker HTML Form Element Attributes function onChange="doSubmit();"?
    Val

  • How to avoid multiple copies of data in page refresh

    How to avoid multiple copies of data in page refresh

    If you are talking about a page with an insert query, ignore the fact that it's a page refresh.  It's just another way that someone can insert duplicate records.  I like to handle this in my insert query.
    insert into thetable
    (f1, f2, etc)
    select distinct
    value1, value2, etc
    from some_small_table
    where you don't already have that record

  • Repository Data Store not initialized. Please activate the Repository Data Store by navigating to control center page.

    Currently when navigating to Applications/Script Management in UCCX 8.5 I get the following error.
    Error reading Scripts
    Repository Data Store not initialized. Please activate the Repository Data Store by navigating to control center page.
    Under Network Services in Cisco Unified CCX Serviceability I notice the following.
    Cisco Unified CCX Database - Out of Service
    Cisco Unified CCX Cluster View Daemon/Manager Manager/File Manager - Partial Service
    Cisco Unified CCX Engine/Manager Manager/File Manager - Partial Service
    Cisco Unified CCX Engine/Subsystem Manager/Unified CM Telephony Subsystem - Partial Service
    Everything was fine when I went home before the Christmas break.
    I've tried restarting the CCX Database service but it does not start.  I don't want to reboot now as the call center is taking calls just fine.  I can reboot tonight.

    Hi
    I've seen this on a couple of 8.x releases, and it recurs regularly on one 8.5 customer. Definately a bug. They're HA, so the primary DB tends to die and then it limps along with primary server doing call processing, and secondary running the DB.
    Reboots clear it, I've not had chance to read the 75 pages of resolved caveats for SU4 yet to see if it looks like it's fixed :-)
    Regards
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • How to insert delay without using loops, and how can I use variable to store data in labview

    Hi all,
    I am new to Labview and I realized that quite often I am in condition to require a delay beween two functions or elements.. how can we insert a delay in such cases?
    I know how to use delays in a loop. but don't know how to inser some time delay between two elements.
    I have one more question, I know its a bad practice to post 2 questions in 1 thread.
    How can I use a temporary variable to store data, So far I am storing it in an indicator by making it invisible in front panel and making local variable of that indicator, is it the right way to do it ?
    Thanks in advance.

    Generally, LV doesn't have variables in the same sense that most languages do. You can use indicators to perform the same function as variables, but as Adnan pointed out, you run the risk of having race condition and it creates data copies, which is a problem if you have a lot of data. In most cases, you should use wires to perform the function of variables, which is to store data and make it available to the different functions in your code. Instead of thinking about variables, you need to think about data (something like "I have the data coming out of this function. Where does it need to go?").
    Try to take over the world!

  • How to avoid Page Refreshes ?

    Hi !
    i'm new to jsp and i'm trying to avoid total page refreshes each time some data is posted.
    in asp.net there is something called script callback. i'm looking for something either like dhtml DOM Objects or java Applet but in JSP.
    thanks in advanced !!!

    I don't think you can easily.
    ASP.net can do that sort of thing because it is hotwired into the IE browser and windows environment.
    The dhtml DOM objects are still available for client side manipulations, but you can't make any server calls without refreshing a page somewhere.
    One workaround is to do your submits to an "invisible" frame and when that frame loads back copy the values with javascript. Its far from the optimal solution though.
    Cheers,
    evnafets

  • How can I sort lines of data (alphabetically) in the new pages 5.0?

    How can I sort lines of data (alphabetically) in the new pages 5.0?
    It was very simple to do in the previou version of pages.

    I'm not sure why people are torturing themselves with Pages 5 given the nearly universal outcry on this forum and the incredibly negative reviews elswhere, such as the App Store.
    Pages 4.3 should still be in an iWorks folder within your Applications folder.  Just use that.
    Please remember to tell Apple what we need from them at:
    http://www.apple.com/feedback/pages.html

Maybe you are looking for

  • How to do mapping based on value.

    Dear Experts,    I am working on a file-bapi -r/3 synchronous  scenario. From SAP R/3, if error response is coming then we are supposed to write in a file and keep on to some location. If response is successful then need not write to the files, only

  • EoMPLS problem with 6500 and IOS SXF6 + SXE5

    My EoMPLS stopped working after one ge-wan interface gone down and up. Before the down it was working fine. The connection is between two 6500 switches, trough GE-WAN (OSM+4GEWAN) ports. One swith have IOS 12.2(18)SXF6 and the other is using 12.2(18)

  • I lost my hadr drive.

    While it had began to die I backed up all my iTunes songs to a large Flash dreiv.  After I got the system up again with a new HD I installed the latest iTunes.  I tried to reinstal from the Flash dive and got mothing in iTunes.  Then I saw I could re

  • Explain plan cardinallity is way off compared to actual rows being returned

    Database version 11.2.0.3 We have a small but rapidly growing datawarehouse which has OBIEE as its front end reporting tool. Our DBA has set up a automatic stats gathering method in OEM and we can see that it run and gathers stats on stale objects on

  • Unknown Publication Error!

    Please help! I have tried several times during the past 2 days and always get "Unknown Publication Error!". Saving the project, undoing the changes made, restarting computer does not seem to help. PS. The site has been published successfully before.