Expression or Calculation tag value are reset to last application saved value when PC reboot

I'm doing daily logging data for daily report and for the daily flow calculation, I'm doing those step:
1- When Timer1 = 11h55 -> Daily_Volume = (Actual_Volume - Yesterday_Volume)
2- When Timer2 = 11h56 -> Yesterday_Volume = (Actual_Volume )
3- When Timer3 = 11h58 -> Log to database Daily Volume
The problem is that when you restart the application or the PC, the calculation tag "Yesterday volume" reset to the last saved value.  
Exemple 2012-01-01 last saved application changes,
- 2012-01-01 my Actual_Volume = 1000 USGal moved to my Yesterday_Volume.
- 2012-01-02 my Actual_Volume (1100 USGal)  - Yesterday_Volume (1000 USGal) = Daily_Volume (1000 USGal) move the Actual_Volume to Yesterday_Volume.
- 2012-01-03 my Actual_Volume (1200 USGal)  - Yesterday_Volume (1100 USGal) = Daily_Volume (100 USGal)
We've got a power shutdown or any PC reboot.  On the 2013-01-01
- 2013-01-01 my Actual_Volume (19000 USGal)  - Yesterday_Volume (1000 USGal) = Daily_Volume (18000 USGal) move the Actual_Volume to Yesterday_Volume.
- 2013-01-02 my Actual_Volume (19100 USGal)  - Yesterday_Volume (19000 USGal) = Daily_Volume (100 USGal) move the Actual_Volume to Yesterday_Volume.
Those values reset to the last application saved value cause bad data in my daily, monthly, yearly reports.  How can we retain calculation tag value to avoid those reset problem?

In Edit mode, File->Modify Process, there is an option "Save state file every xxx minutes". Is this one checked or not?
The value of objects should be saved in the state file when you close the process, or periodically saved according to this setting. The saved value will be loaded next time you open the process.
Ryan Shi
National Instruments

Similar Messages

  • LOV Values Are Not Preserved After Redirect

    Hello,
    I have a page where I have two LOV's on top of the page and interactive report is generated based on the values from LOV's.
    The values are passed to IR report correctly. MY problem is when I change values in LOV 2, LOV 1 values are getting reset.
    Both LOV's Display As is set as Select List with RedirectHow can I make sure that LOV values are preserved even if I change values in either any one of the LOV?
    I am using APEX 3.2
    Thanks and regards
    Edited by: ponic on Jun 22, 2011 7:54 AM

    Thanks for the suggestion.
    I have found another way to resolve my problem.
    http://djbramer.blogs.plymouth.edu/2006/08/14/apex-parent-child-select-lists-and-onchange-submitting/
    By following the above I could preserve values in my LOV's
    Regards

  • Reporting Issue   "Opening Balance values are going to Not Assigned Values"

    Hi Friends,
    Closing Balance values are perfectly showing but opening balance values are going to Not Assingned Values? I am not able to find it out.
    our query is built on PCA Daily Multiprovider.
    Pls Help.
    Thanks
    Asim

    Hi Ravish,
    Here are the details
    Stock values and quantities in the PCA cube of BW never show correctly at an article level due to an opening balance issue.  This reduces our ability to report on stocks at moving average price, i.e. anything that actually matches the financial values in the system. The issue arises because stock at the beginning of the year (quantity and value) for any site is only shown against an article of "Not assigned."  Stock movements during the year are shown against the appropriate article.(If you have a new site, the will have stock assigned against an article up until 31 December and then the 31 December values are shown against "not assigned" for the next year).
    Thanks
    Asim

  • F4 values are not accepted by the screen fields

    I have a field called month in a screen i could get the values for F$ by using below field. My F4 values are there in the domain fixed values so i had to use DD_DOMA_GET.and got the values fron ZMONTH domain. When im pressing F$ i can c input help values like
    01  january
    02 february
    12 December
    boldn i am selecting it the value is not selected or seen in the input/output field of the screen.bold.
    form MONTH_VALUES .
    DATA:
      fs_taba TYPE dd07v.
    DATA:
    it_taba TYPE STANDARD TABLE OF dd07v,
    it_tabb TYPE STANDARD TABLE OF dd07v,
    WA_DD07V TYPE DD07V.
    CALL FUNCTION 'DD_DOMA_GET'
      EXPORTING
        domain_name   = 'ZMONTH'
        langu         = sy-langu
        withtext      = 'X'
      TABLES
        dd07v_tab_a   = it_taba
        dd07v_tab_n   = it_tabb
      EXCEPTIONS
        illegal_value = 1
        op_failure    = 2
        OTHERS        = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT  it_taba INTO fs_taba.
        MOVE fs_taba-domvalue_l TO WA_STATUS-DOMVALUE_L.
        MOVE   fs_taba-ddtext  TO WA_STATUS-ddtext.
        APPEND WA_STATUS TO GT_STATUS.
        CLEAR WA_STATUS.
        CLEAR fs_taba.
    ENDLOOP.
    ULINE.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'STATUS'
                value_org       = 'S'
           TABLES
                value_tab       = GT_STATUS
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
    ENDIF.
    REFRESH GT_STATUS.
    endform.

    Hi,
    If the values are in the value range of the domain then they will definitely come. And you have to trigger some event after selecting the value from the list.
    for example if you want some thing to display after selecting a value from drop down then after selecting the value from the f4 help list press enter or some button kind of thing.
    Thanks,
    Sri.

  • Bdc values are not cleared

    hi BDC Masters,
    i have a scree vith 2 fields  VAR1  AND VAR2.
    in VAR1 = 05 and VAR2 = AM and i get the values...into my internal table I-CREATE
    i am using BDC and passing all my INTERNAL TABLE VALUES to the BDC where it displays all the values that are their in the INTERNAL TABLE which is fine.
    when the user comes and changes the screen values for ex VAR1 = 00 and VAR2 = HL.
    NOW the am able to get values of 00 and HL into  INTERNAL TABLE WHERE VAR1 = 00, VAR2 = HL.
    BUT when i pass this values to BDC am not able to get these values of the internal table that am passing but PREVIOUS VALUES are been displayed instead of the values that am passing now to BDC.
    I am clearing my internal table befor it fills the internal table second time and and reading it.
    when i debug i can see the values fo the second time given values and those values am passing still the OLD VALUES are displayed.
    how can i clear the BDC VALUES?
    can anyone help me pls?
    thank you,
    pasala.

    data : gwa_bdcdata      TYPE bdcdata.
        gwa_bdcdata-fnam = fnam.
        gwa_bdcdata-fval = fval.
        APPEND gwa_bdcdata TO gi_bdcdata.
    CLEAR gwa_bdcdata.
    CLEAR gwa_bdcdata.
      gwa_bdcdata-program    =  prog_name.     "Program Name
      gwa_bdcdata-dynpro     =  screen_no.     "Screen Number
      gwa_bdcdata-dynbegin   =  gc_x.
    Append bdc table and clear work area
      APPEND gwa_bdcdata TO gi_bdcdata.
      CLEAR gwa_bdcdata.

  • BO XI Desk-I graph The negative values are rising form the lowest value up

    The negative values are rising form the lowest value up. Instead of dropping from the Zero-line. Where is the problem originating?  BO FP2.3.
    The positives values are also rising from the lowest value up.
    The problem only occurs withing Desk-I. Within Web-I this problem does not occur.
    Edited by: A. SMULDERS on Sep 7, 2010 10:35 AM

    Hi
    Try with the following symbol in the field
    &ITAB-NETWR(>)&  - will write the sign  as (100.00-)
    &ITAB-NETWR(<)&  - will write the sign  as (-100.00)
    and based on some field  in the program write like
    If itab-shkzg = 'H'.
      itab-netwr = itab-netwe * -1.
    endif.
    and try to print this field in the form.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Saving values of Multiple rows

    hi Friends,
    I am developing Timesheet Tracking System which enables an employee to enter his project details and submit the weekly timesheet to his Project Manager
    I have eight columns and 3 Rows
    Columns
    1. Project Description
    2. Mon
    3. Tue
    4. Wed
    5. Thurs
    6. Fri
    7. Sat
    8. Sun
    Rows
    Leave
    Training
    I have seven textboxes (time1-time7 for values entered in columns Mon-Sun) for all 3 Rows
    i want to save the values entered in the textboxes in the table
    The things is that i m able to save the first row only
    Mon Tue Wed Thurs Fri Sat Sun
    Timesheet Project 6 6 7 7 8 4 0
    Leave 1
    Training 2 1 1.5 1
    how do i save all values all 3 rows
    how do i save values of second row i.e.'Leave'
    PreparedStatement pstmt=con.prepareStatement("insert into poojac_Week26 values(?,?,?,?,?,?,?,?)");
    pstmt.setInt(1,time1);
    pstmt.setInt(2,time2);
    pstmt.setInt(3,time3);
    pstmt.setInt(4,time4);
    pstmt.setInt(5,time5);
    pstmt.setInt(6,time6);
    pstmt.setInt(7,time7);
    pstmt.setInt(8,time1+time2+time3+time4+time5+time6+time7);
    int cnt=pstmt.executeUpdate();
    System.out.println("values inserted");
    the above code is saving values of only first row
    Do help me
    Thanx & Regards,
    Pooja

    hi Friends,
    I am developing Timesheet Tracking System which
    enables an employee to enter his project details and
    submit the weekly timesheet to his Project Manager
    I have eight columns and 3 Rows
    Columns
    1. Project Description
    2. Mon
    3. Tue
    4. Wed
    5. Thurs
    6. Fri
    7. Sat
    8. Sun
    PreparedStatement pstmt=con.prepareStatement("insert
    into poojac_Week26 values(?,?,?,?,?,?,?,?)");
    pstmt.setInt(1,time1);The first Column is a String right? Why are you putting a time?????
    pstmt.setInt(2,time2);
    pstmt.setInt(3,time3);
    pstmt.setInt(4,time4);
    pstmt.setInt(5,time5);
    pstmt.setInt(6,time6);
    pstmt.setInt(7,time7);
    pstmt.setInt(8,time1+time2+time3+time4+time5+time6+time
    );I saw you had values like 1.5, and this is not an int......
    You only made one insert why are you expecting to have two rows inserted????
    You need to make two calls to execute update if you want two insertions.... and you should clear up you mind about the nature of the fields on your table....

  • How Formatted values are calculated in WMI

    Hi,
    i am working on finding system resource information using WMI queries.
    i want to know how the Performance values are calculated, for example as follows
    find PagesInputPerSec from Win32_PerfFormattedData_PerfOS_Memory. 
    i tried to retrieve PagesInputPerSec, running on command line as "wmic path Win32_PerfFormattedData_PerfOS_Memory get PagesInputPerSec".
    most of the times i am getting 0(zero) as result.
    i would like to know how formatted values are calculated(formula to find) ?
    P.S:
    Win32_PerfRawData_PerfOS_Memory giving some value than zero e.g. 31908034
    Thanks,
    KMR

    i am working on finding system resource information using WMI queries.
    i want to know how the Performance values are calculated, for example as follows
    find PagesInputPerSec from Win32_PerfFormattedData_PerfOS_Memory. 
    i tried to retrieve PagesInputPerSec, running on command line as "wmic path Win32_PerfFormattedData_PerfOS_Memory get PagesInputPerSec".
    most of the times i am getting 0(zero) as result.
    i would like to know how formatted values are calculated(formula to find) ?
    P.S:
    Win32_PerfRawData_PerfOS_Memory giving some value than zero e.g. 31908034
    Thanks,
    KMR

  • JSP ${} expressions in JSF tag attributes

    Does anyone know why the expert group decided not to allow ${} style expressions within JSF tag attributes? I understand that a different syntax is needed to implement the 'late binding' #{} expressions used to link input controls to form beans, but not why the JSF tags actually prevent the use of immediately evaluated ${} expressions for accessing variables in the page scope in JSP 2.0.
    I know there has been a lot of discussion about this and other threads mention a security loophole that would be opened up by allowing expressions like #{blah.${someProperty}}, but I'm not sure why this sort of thing would cause a problem. Is there any way to enable this behaviour, such as editing the JSF tag library descriptors to allow runtime expressions (horrible though that sounds)? Or perhaps another JSF implementation that supports both immediately evaluated and late-binding expressions? It seems a rather unnecessary restriction that is going to cause much confusion and mistyping for all...
    Thanks in advance,
    Keith.

    Thanks Adam, I see the problem now. It's a fairly obscure loophole but serious nonetheless. Of course, this problem could also be avoided by not using request parameters within JSF tags as it doesn't affect the majority of legitimate uses for expressions.
    I have to disagree with you about mixing ${} and #{} expressions though. The majority of developers will be used to writing ${} expressions in JSTL and JSP text and so will expect them to do work the same in JSF tags. Judging by the number of posts in this forum about being unable to use page scope variables in JSF tags this issue is already confusing a lot of people.
    As a rule of thumb, "use ${} for expressions that are output to the page and #{} for binding controls to backing beans and invoking methods" (which perform clearly distinct functions) is a lot simpler and easier to learn IMHO than the current one, which is "use ${} for expressions that are output to the page except within a JSF tag, where you use #{} for the same thing and also to update form values and invoke action methods"! (OK, I'm exaggerating a little for effect, but you get the point... :-)
    I agree that mixing both types of expression in the same attribute might be a little confusing, but this is an unlikely edge case that should probably be prevented in value binding or action attributes anyway. It's more of an issue for label values where mistyping one for the other is already very common and, although not especially difficult to debug, is just another pitfall awaiting the unwary JSP developer. I'm not sure that JSP expressions would be much more difficult to debug anyway as the value and method bindings will simply not work, which is pretty obvious as soon as you try and test the thing.
    Is this something that the EG would be prepared to reconsider for the next release of JSF, or perhaps getting the security loophole addressed in the next JSP spec? In the meantime, is there any reason that developers shouldn't enable runtime expressions in the TLD file provided that they're willing to live with the consequences?
    (Sorry to harp on about it, but I've already had several complaints about this after recommending JavaServer Faces for a major development project at ingenta.com.)
    Many thanks,
    Keith.

  • Multilingual Expression for Calculated fields

    Hi all,
    I need to write an expression for a multilingual Calculated field.(The calculation need to take the logon language into consideration). When looging onto the Console however and selecting languages the set languages are not auto selected as it does for Validations. The only fields available for selection is the Primary language fields.
    Is their a way to create a multilingual Expression for Calculated fields and how can I go about it?
    Thanking You
    Chris Huggett

    Hello Chris
    That functionality is not supported in SAP MDM 7.1(5.5)
    You cannot modify from validation filed values by language different than your connection language.
    You can do it manually in Data Manager or during import.
    As usually you can use MDM API for that activity.
    Regards
    Kanstantsin Chernichenka

  • Lead time values are not appearing in the report for current year.

    Hi friends,
    Iam checking a report in production.  where lead time values are displayed as 0 for 1 key figure lead time3 (w/0 dim) . i found there is a formula for this it shows like NODIM ( 'Lead Time 3' ).and there is a value for cal.lead time
    how can i get values in the report.
    Thanks ,
    VRV.

    Hi,
    Although your question is not clear, I understood that the formula built on that KF is NODIM. Basically it means, units of measurement is not considered when calculating.
    Eg: 5 Minutes + 5 Kilograms = 10
    You please try to analyze your KF by the above logic. Then you would be able to figure out why the data is not appearing in the report..
    Assign if helps...
    Regards,
    Suman

  • Missing XML elements are no longer treated as NULL value (MDM 7.1 SP04)

    Hello,
    We have a problem with importing XML files with missing XML segments (and hence missing XML fields) in XML file.
    In MDM 7.1 SP03 (7.1.03.72), missing fields within a missing segment (so no tags at all for segment and fields) were still represented in the import manager as NULL value in the value mapping, making it possible to do value mapping and to import this NULL value into MDM (overwriting existing values in MDM).
    As of MDM 7.1 SP04 (we are running 7.1.04.126) the missing fields within an missing segment are no longer represented in the import manager as NULL value in value mapping!
    I don't know if that's a new 'feature' in SP04 but we are now running into following problem:
    - We are importing customer data from ECC into MDM, where some segments are optional
    - The fields within the (optional) segment are mapped to a multi-valued tuple field
    - When we now import a customer that has values for the optional segment, the tuple field gets filled correctly
    - When the optional data is now removed completely from the customer in ECC, we don't get that segment anymore in the XML file (this is how the Idoc works on ECC side, if all entries from the optionel segment are deleted then the complete segment is missing in the XML file)
    - In SP03 we replaced the existing tuple records with the NULL value (leaving 1 empty tuple record, but this is known issue to SAP, so we've accepted this for the moment)
    - In SP04 we cannot replace the existing tuple records anymore, since when complete segment is missing, the fields within that segment gets no value at all (in source values). So we are not able to replace the existing tuple records with NULL/nothing, leaving the 'old' tuple values in MDM!
    Does anyone have solution for this (that also works with SP04)?
    We already tried to replace the complete record in MDM (instead of updating it, this is possible since we always get the latest (and complete) status of a customer), but we are also mapping the remote key, and hence you are not allowed to replace the record during import!
    Other solution could be to have PI add any missing segment into the XML message, but we first want to make sure that this cannot be handled within MDM Import Manager itself.
    Thanks in advance,
    Marcel Herber
    Edited by: P.H.M. Herber on Apr 27, 2010 3:46 PM

    Hi Marcel,
    I haven't tried it with XML file but i hope it may help you.
    long back i need to send one field with value null if it doesn't come in source file and if it comes then original value.
    What i did, i loaded a file which does not have this field, so in MDM Import Manager, under source hierarchy i created a field say ABC and map this field with target field and its value Null with Null, i also save this property in map using configuration options-->Automap fields when loading map = Yes
    So whenever a file come with missing field ABC, automatically this field get created and mapped with target field and its value Null with target Null.  on the other hand, If this field actually comes in Source File(Delimited, Excel) ABC then this field with its original value gets map with target field value. That time it worked fine.
    Just try and revert with result if it helps..
    Else, using PI is the best option to create that missing segment into the XML message.
    Regards,
    Mandeep Saini

  • Depreciation calculated on credit memo is more than its own value

    Hi,
    We have noticed that the depreciation calculated on credit memo is more than its own values.
    please refer the screen shot below:
    24.05.2010     108,044.64     120     Goods receipt     108,044.64-     0     USD
    24.05.2010     108,044.64     120     Goods receipt     108,044.64-     0     USD
    24.05.2010     108,044.64     120     Goods receipt     108,044.64-     0     USD
    09.06.2010     128,064.75     120     Goods receipt     128,064.75-     0     USD
    22.06.2010     110,601.38     120     Goods receipt     110,601.38-     0     USD
    22.06.2010     7,346.35-     105     Credit memo in acquis. year45,337.47     0     USD
    22.06.2010     7,346.35     100     External asset acquisition     45,337.47-     0     USD
    Please let us know the possible reasons...
    Thanks a lot..

    Hi,
    Here are the details:
    Depreciation start date:21.11.2004
    Operating readiness: 23.12.2004
    Asset value date: 16.08.2010
    useful life: 01 period
    Kindly tell me know in case you need further info
    Thanks..
    Edited by: FI User on Oct 21, 2010 9:47 AM

  • Heirarchy values are not displaying correctly in report.

    Hi,
    I am having a heirarchy field in my report.
    I have 2 local RKF's in my report and 2 manadatory variables(which are FISCAL YEAR AND CAL MONTH).
    When i am executing the report , it is displaying the Heirarchy values with respect to one restricted KF.
    The heirarchy values correspoding to other RKF are not getting displayed properly, it is showing as (NOT Assigned).
    Its giving the correct values for the RKF's but not showing the  heirarchy values.
    I hided the 2nd RKF, then also its showing in the same way.
    Please help me on this,
    Thanks in advance!

    Hi, Saro,
    >
    I have taken a std. report to customize, and the name of the report is Asset Retirements from Fixed Asset module.
    From the existing base query, i have added some query to customize it.
    I have summed  the cost column in the report using summary column.
    For example, im passing a parameters which displays 5 lines in the report output. Im getting the cost value correctly in all the 5 lines, but when i tried to sum all the 5 lines, it is taking the first line of cost value and it is not summing the cost value of all the 5 lines in the report. I dont know why this problem occurs.
    Summary column should be place one level up of the query and set the following values under summary
    Function
    Source
    Reset As

  • Dynamic rows in tables, second line values are duplicated on every lines

    Hello,
    I am building an offline form interfaced with an abap program.
    The abap program is sending a table define like this :
    material  |  batch  | quantity   | unit
    I add javascript in the form in order to add dynamically new rows to this table :
    button ADD :
    TABLE.LINE.instanceManager.addInstance(1);
    //Invoke the recalculate method to include the field values from the added row in calculations.
    xfa.form.recalculate(1);
    button DELETE :
    xfa.form.data.MAIN.table.TABLE._line.removeInstance(this.parent.index);
    // Invoke the recalculate method to update the form calculations.
    xfa.form.recalculate(1);
    My problem is that the data table only have two line, and even if I add new line, the second line values are copied to the next ones...
    Table is well defined as 1 to n..
    Thank you for your help.

    Hello Mr.Louis,
    I'm having a similiar problem.
    I'm using LCDsgn 8.0/Adobe Reader 8.1 and OS is MS Windows XP Proff 2002.
    My Internal Table EMPNO ///  Name  /// City.
    In my case there is no duplication. But, when I add row,
    1. the empty row get added.
    2. I do the entry in Name and City fields and go for addition of another new row.
    3. It adds a new row, but  clears name and city of the previously added row.
    4. When I add a new row again, and enter all values then it modifes with correct value for the row effected in step 3. But entry for new row added get similarly erased.
    Any insight towards the resolution of this would be highly appreciated.
    Regds,
    Srinivasan.

Maybe you are looking for

  • Can I use two different database with DBSystemLoginModule?

    Finally I can login with Database user id by DBSystemLoginModule on Embedded oc4j server. But I confused between [b]jazn-data.xml and system-jazn-data.xml. Which xml do I have to edit for jdbcUrl and jdbcDriver? Now I would like to use two different

  • Password controlled guest accounts on wireless router

    I would like to be able to grant guests temporary access to my home network without giving out my permanent WEP ID.  Is there anyway that I can create a guest account, with a separate password, which I can then eliminate after their need for access i

  • Switch version fail. CCX 8.5.1SU4 - 9.0.2

    Hey All. When i try to switch-version from version 8.5.1su4 to 9.0.2 then after app. 30 min, the cli says "Sync after switch version failed" and then stops. I have tried to reinstall the 9.02 on the inactive partion, but still the same issue. all net

  • All My Files cannot be opened because the item cannot be found

    This just started this morning, before updating from 10.8.2 to 10.8.3: When I click on "All my Files" in the Finder sidebar, I get a little "poof", and nothing appears in the file list area. All other items in the sidebar work OK. If I choose Go > Al

  • Close010 error when reversing old posting in ECC6,0 with MR08

    Hi all, I posted an invoice through tcode MRHR in release 4.6C and I want to reverse it in release 6.0 via tcode MR08. Tcode MR08 displays the document but I received an error message : Systemerrorin CLOSE 010.PleasecontactSAPsupport when I try to sa