Transaction attributes and isolation not working as expected why ? !

I have three beans participating in a TX
SeatBean ---- entity (BMP)
Res --------entity (BMP)
AgentBean --- session (SFSB)
AgentBean has bookSeat (seatNumber, amount) method that is being called by the client.
The Agent bean bookSeat (seatNumber, amount) method locates the seat bean with the given seat number if the booked field is null (means the seat is open for booking)
It sets the values for booking the seat (inserts a new record in Res table using ResBean and updates the Seat table using SeatBean )
In the AgentBean I make a check if the booked filed is Y or null.
If the field is Y it throws a RemoteException.
I gave Tx attributes in the ejb-jar.xml for ALL the beans as follows
In ejb-jar.xml <trans-attribute>Required</trans-attribute>
In weblogic-ejb-jar.xml
<transaction-isolation>
     <isolation-level>TRANSACTION_REPEATABLE_READ</isolation-level>
I opened two windows as use1 and user2
User1 makes search for a seat finds seat1 is not booked
User2 makes search for a seat finds seat1 is not booked
User1 books the seat
User2 books the seat (user2 action is initiated immediately after user1 initiates the action)
Use1 and user2 actions are successful. There are two records in Res table.
The seat table reflects the last changes. i.e user2 action.
My questions are
1.user2 should not get any search result till user1 intiated TX is complete
( i.e user2 should got get any search result till user1 commits or roll back because TRANSACTION_REPEATABLE_READ )
Why is that not happening?
2.Since user1 books the seat for customer1 and sets booked = Y in seat table
user should not be able to book the seat. but user2 actions are reflecting in DB.
What is going wrong?
Can any one explain?

The following szenario will executed as follows:
User1 makes search for a seat finds seat1 is not booked
User2 makes search for a seat finds seat1 is not booked
User1 books the seat
User2 books the seat
Use1 and user2 actions are successful. There are two records in Res table.1.) Agent Bean is a session bean with CMT:
User1: | AgentBean.searchNotBookedSeats()
Tx1 | call other EJBs with the same transaction
| context (required)
v <-- return
**) at this point the transaction is finished, the
isolation level is not used
User2: | AgentBean.searchNotBookedSeats()
Tx2 | call other EJBs with the same transaction
| context (required)
v <-- return
User1: | AgentBean.bookSeat(...)
Tx3 | Res.create(..) same transaction context
v <-- return
User2: | AgentBean.bookSeat(...)
Tx4 | Res.create(..) same transaction context
v <-- return
In this case there are four transaction used. The easiest way to
prevent that there exists more than one reservation for one seat is
to use a database constraint. That's the way I would solve the
problem.
Here is another solution:
2.) Agent Bean is a stateful session bean with BMT and the isolation
attribute is higher or equal REPEATABLE_READ:
User1: | AgentBean.searchNotBookedSeats()
Tx1 | call other EJBs with the same transaction
| context (required)
v <-- return
**) the method starts a transaction but does not
finish it.
User2: | AgentBean.searchNotBookedSeats()
Tx2 | call other EJBs with the same transaction
| context (required)
v <-- return
**) this method blocks until Tx1 will be finished
User1: | AgentBean.bookSeat(...)
Tx1 | Res.create(..) same transaction context
v <-- return
**) the method finish the transaction
User2: | AgentBean.bookSeat(...)
Tx2 | Res.create(..) same transaction context
v <-- return
In this case the isolation level will be used. The whole system is
blocked for the time between searching and booking a seat.
Thats not very good :-(
Best Regards and mery christmas
Markus

Similar Messages

  • Function keys F11 and higher not working as expected

    Since I installed Leopard, my F11 through F15 keys act strange, the rest works OK. I use an external MS Comfort Curve keyboard with v6.2.1 (latest) of the Intellitype keyboard driver. I have switched off all keyboard shortcuts for function keys. I have set the System Preference to use the function keys as regular Function keys. Now the F11 is dead, the F12 is the eject, F13 through F15 are dead too. Switching the preference on or off only affects the F1 through F10 keys. There's no change for the F11 through F15 keys.
    When I switch to Parallels 3 with Windows XP, the F11-key acts the same as the PrtScn (which is F13) key, the F12 key does nothing, F14 (ScrLk) and F15 (Pause/Break) are dead.
    This IS annoying since I work on AS400 machines where you really need F11 and F12 + F23 (shift-F11) and F24 (shift-F12). Under Tiger, I did not have this problem - all settings worked as expected.

    Software updates of all concerned programs ans OS's have resolved the issue.

  • SOLVED kinda : New Graphic card and PulseAudio not working as expected

    Hello,
    I just changed my RadeonHD 4670 for a 7870, now when I type "aplay -l"  I get a lot of HDMI outputs, although only one on the card...
    I think this confuses PulseAudio and I get no sound... (with previous card it worked all fine)
    if in default.pa I specify the alsa sink device=hw:0,3 directly, I do get sound, but then in pavucontrol I do not get the advanced sub-menu anymore which makes me think something is not working properly...
    What should I look at?
    Thanks!
    Last edited by gee (2013-11-29 05:19:01)

    well I finally found a hack that worked.
    I changed the extra-hdmi.conf in /usr/share/pulseaudio/alsa-mixer/profile-sets file to :
    [Mapping hdmi-surround-extra0]
    description = Digital Surround 5.1 (HDMI 0)
    device-strings = hdmi:%f,0
    paths-output = hdmi-output-0
    channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
    priority = 1
    direction = output
    [Mapping hdmi-surround-extra3]
    description = Digital Surround 5.1 (HDMI 3)
    device-strings = hdmi:%f,0
    paths-output = hdmi-output-3
    channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
    priority = 1
    direction = output
    I only need one of these two, somehow they both work...
    But next time pulse gets updated I'll have to remember to fix that again... not just a workaround not a fix.
    Last edited by gee (2013-11-29 05:20:37)

  • Color lookup shapers and preluts not working as expected.

    The color lookup adjustment layers do not seem to recognise shaper or pre-luts. Has anyone been able to get this working?  Is there any documentation or specifications on this topic?  I seem to be just getting the very basic "how to use a color lookup" catagories.
    Thanks in advance

    Cs6 13.01.
    We have tried .3dl but the files were not showing up to select and load.  .cube seems to be visible.  Is there any documentation on what photoshop is actually doing to the image to be visible on the monitor..ie gamma 2.2 adjustments on the incoming files .icc profile?

  • Guides and Tools Not Working As Expected

    I'm running Adobe Photoshop CS4 on Mac OS X 10.6.6 (10J567).
    I've recently run into an issue that is quite frustrating.  When attempting to drag a horizontal guide from the top ruler, a vertical guide appears at my cursor instead.  Likewise, when I attempt to drag a vertical guide, a horizontal one appears instead. 
    Sadly, the guides aren't the only issue.  When attempting to use the selection or crop tools, the selection expands in all directions when dragged.  Also, when most tools are selected, the eyedropper icon is what is shown rather than the appropriate cursor.
    I've tried removing preferences during Photoshop startup (Command+Option+Shift).  I've also gone as far as to uninstall CS4 and re-install...to no avail.  Has anyone encountered this?  Has anyone found a fix for it?
    I have found this link: http://kb2.adobe.com/cps/881/cpsid_88159.html, though that indicates a problem with CS5, not CS4.
    Any assistance anyone can give would be much appreciated!

    Is this a new problem, or has it been happening since you installed CS4? Did it just happen with the last update from Apple? The previous version?
    Any other applications affected that you know of?
    I'm just chasing shadows, here, but this might help narrow things down. Also, are you using a Wacom or non-Apple keyboard, or any other HIDs? I had a problem with the function key lock not 'sticking' across reboots, so would seem to lose some functionality - not the same as you're describing, but perhaps worth noting.
    As the technote says Adobe is working with Apple, it seems like a collision with keyboard shortcts. Perhaps you could check any mappings or custom shortcuts, as well as the keyboard settings and tweak them.
    Sorry I can't provide more insight, but I'll keep an eye out for possible solutions.
    -Scott

  • Container-Managed Transaction Type Attributes not working as expected

    I am having a problem with the container-managed transactions not working as expected. I have 2 methods that work as follows:
    MethodA{
    for(a lot)
    call MethodB;
    @Transaction Type = RequiresNew
    MethodB{
    EntityManager Persist to database
    I want the code in MethodB to be committed to the database when methodB returns. The problem is that I am running out of memory and MethodA is failing. When methodA fails after numerous calls to MethodB nothing is persisted to the database.
    It is my understanding that when using requires new transactions that a new transaction is started for each call to the method and ends when the method returns while the calling method transaction is suspended.
    How am I misunderstanding the requiresNew transaction attribute. What can I do to make a batch insert into my database that will not run out of memory (commit when a methodB returns)?
    Thanks in advance.

    The problem is that EJB invocation semantics for security, container-managed transactions, etc.
    only apply when an invocation is made through an EJB reference. In your case, you are directly
    invoking the implementation method from within the bean. The EJB container has no idea that's
    happening. It's no different than invoking a utility method.
    In order to get the behavior you'd like, you need to retrieve a reference to your own bean and invoke
    through that. You can use SessionContext.getBusinessObject() to get the EJB reference for the
    business interface through which the method in question is exposed.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Notification "Launch the app and go to the library" not working as expected

    Hello,
    we are sending notification "Launch the app and go to the library" - but it's not working as expected, it's still just launching app with last open folio.
    Whats wrong there? Do we need v30 app? We have V29, but this is not mentioned in documentation.
    Thanks
    Martin

    Ah.
    Ok, now it's clear.
    Anyway i would appreciate possibility to force viewer to switch to library view after new issue is detected, even without notification. Quite often requested feature - "there is new cover in Newsstand, but customer don't know how to download new publication easily".
    Martin

  • AFS ARUN Size Substitution Not Working As Expected

    Hi All,
    I need help with this. If any one of you have worked with AFS ARUN size substitution, kindly provide me with some details on how can I set it up. I am specially interested in setting up size substitution with two-dimensional grids.
    I have setup some examples but it does not work as expected.
    Here is a small example:
    Say I have a size 28/30, 28/32 .........29/30....
    What I want to achieve is that during ARUN if there is a shortage of stock in 28/30 then the remaining requirement qty should be confirmed from size 28/32.
    with my setup after 28/30 it goes into looking for stock in 29/30, which is what I do not want.
    Any inputs will be really appreciated.
    Thanks!!

    srdfrn wrote:
    Hi YOS,
    I tried importing a PCX image into CVI 2010 and then sizing the image to the control and didn't see the behavior you have been describing.  Would you mind posting an example (alongside an image file) that demonstrates this?
    Also, one thing I noticed is that PCX images appear to be quite dated.  Could upgrading them to a JPEG or PNG format be an option for you?
    Thanks,
    Stephanie R.
    National Instruments
    Stephanie, thanks for the reply.
    I am very sorry to state that I made a mistake.
    VAL_SIZE_TO_IMAGE indeed works.
    What fails to work is VAL_SIZE_TO_PICTURE. (Second option in Fit Mode attribute in control editing panel)
    I tried with JPEG and it's the same.
    I am attaching an example.(Load_Image.c & ONEP_3Trow_POS1.JPG)
    A panel with two picture rings.
    - SW_1 remains at the intended size and the loaded picture is not clear.
    - SW_2 will fit to picture size and looks OK.
    Appreciate your support,
    YOSsi Seter
    Attachments:
    Load_Image.c ‏2 KB
    ONEP_3Trow_POS1.JPG ‏4 KB

  • DB Adapter polling as singleton process is not working as expected

    Am using poller DB adapater to control the transaction per seconds to the downstream system and i want this poller process as singleton (One instance should be in running state at a time).
    As suggested in oracle documents , below is the parameters configured in composite.xml file.
    <service name="polling_Mange_Alert_Events"
      ui:wsdlLocation="polling_Mange_Alert_Events.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/Application1/int_app_manageAlerts/polling_Mange_Alert_Events#wsdl.interface(polling_Mange_Alert_Events_ptt)"/>
      <binding.jca config="polling_Mange_Alert_Events_db.jca">
      <property name="singleton">true</property>
      </binding.jca>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
      override="may">1</property>
      <property name="jca.retry.backoff" type="xs:int" many="false"
      override="may">2</property>
      <property name="jca.retry.maxInterval" type="xs:string" many="false"
      override="may">120</property>
      </service>
    Below is the JCA file parameters configured :
    <adapter-config name="polling_Mange_Alert_Events" adapter="Database Adapter" wsdlLocation="polling_Mange_Alert_Events.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/DB/vff-int-fus" UIConnectionName="PT_APPINFRA" adapterRef=""/>
      <endpoint-activation portType="polling_Mange_Alert_Events_ptt" operation="receive">
        <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
          <property name="DescriptorName" value="polling_Mange_Alert_Events.ManageAlertEvents"/>
          <property name="QueryName" value="polling_Mange_Alert_EventsSelect"/>
          <property name="MappingsMetaDataURL" value="polling_Mange_Alert_Events-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="TRANSACTION_STATUS"/>
          <property name="MarkReadValue" value="Processing"/>
          <property name="PollingInterval" value="10"/>
          <property name="MaxRaiseSize" value="5"/>
          <property name="MaxTransactionSize" value="5"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
          <property name="MarkUnreadValue" value="Pending"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>
    This poller process is running on clustered environment (2 soa nodes) and it is not working as expected as singleton process.
    Please advise to solve this issue ?

    Hi,
    1.Set Singleton property outside   <binding.jca> like this:
    <binding.jca config="polling_Mange_Alert_Events_db.jca"/>
      <property name="singleton">true</property>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
    2.Also you can try setting these values in jca file:
    <property name="RowsPerPollingInterval" value="100"/>
    <property name="MaxTransactionSize" value="100"/>
    3. try to increase the polling interval time.
    Regards,
    Anshul

  • Namespaces not working as expected

    Hi, I've got problems with namespaces not working as expected. When I isolate a process into a new network and mount namespace, a newly mounted file system will be visible to all processes.
    Steps to reproduce:
    $ sudo unshare -mn bash
    bash# mount -t sysfs sysfs /sys
    bash# exit
    $ cat /proc/mounts
    Result:
    /proc/mounts will contain a new line for sysfs. This means the /sys/fs/cgroups directory will appear to be empty as the new sysfs is mounted over the old However you can undo it by
    sudo umount /sys
    Expected result:
    The /sys directory will only be new inside the bash process started using unshare and not anymore once you exit bash.
    Did I understand something wrong? Or might this be a bug in the kernel?
    Note that when using
    unshare -m bash
    without isolating the network namespace it will refuse to mount sysfs as it is already mounted or busy. Strange.

    Hello, because sysfs is shared, see unshare(1) for more details.

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers and firefox

    Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers, firefox, and when trying to move any file from the downloads folder.
    This is a serious pain.
    Please help.
    WB

    Yes, all I can tell you is that Finder does not have that function in ML. Your system is "working as expected".
    You can file feedback here.

  • Subtraction of two key figures normalized to result not working as expected

    Hello SAP Community!
    I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
    In order to explain the problem I am facing please analyze below text:
    1) Let's assume I have below data:
    LOAD MONTH  PLANT    MATERIAL HORIZON MONTH     FORECAST UNITS
    200805         PLANT-A  MAT-1            200805         510,235.00
    200805         PLANT-B  MAT-1           200805          74,240.00
    200805         PLANT-A  MAT-1           200806         438,721.00
    200805         PLANT-B  MAT-1           200806          74,240.00
    200805         PLANT-A  MAT-1           200807         356,981.00
    200805         PLANT-B  MAT-1           200807          74,240.00
    200806         PLANT-A  MAT-1           200805               0.00
    200806         PLANT-B  MAT-1           200805               0.00
    200806         PLANT-A  MAT-1           200806         510,235.00
    200806         PLANT-B  MAT-1           200806          74,240.00
    200806         PLANT-A  MAT-1           200807         438,721.00
    200806         PLANT-B  MAT-1           200807          74,240.00
    2) Then, assume I have a comparison report, restricted by load month for two months May and June 2008 (filter restricted by two month variables) with FORECAST units spread accross columns for whole horizon (two months also in this case).
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Comparison Units (June 2008) 510,235.00  438,721.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Comparison Units (June 2008)  74,240.00   74,240.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    3) Now, let's suppose we want to know the proportions (%) of Base vs Comparison units, so
    we normalize forecats to results an we get the below report:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    4) Finally, let's suppose we want to know the deltas (differences) of Base vs Comparison
    units, for both number of units and %. The report now look as below:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  1.77%       2.74%
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %  -1.77%      -2.74%
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    5) PROBLEM:
    In my report, the "Delta base vs. comp. units %" is not working as expected and
    calculates number of units just as "Delta base vs. comp. units" does instead of calculating the % difference.
    So my report looks as follows:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  71,514.00  81,740.00 <<<WRONG!!
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %       0.00        0.00
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    The formulas are:
    a) Delta base vs. comp. units %
      Delta base vs. comp. units % = Comparison Units % - Base Units %
    b) Delta base vs. comp. units
      Delta base vs. comp. units = Comparison Units - Base Units
    The KFs
    - Comparison Units %
    - Base Units %
    Are RESTRICTED key figures (restricted to Base and comparison month variables) which
    are setup as:
    1) Calculate Result As:  Summation of Rounded Values
    2) Calculate Single Value as: Normalization of result
    3) Calculate Along the Rows
    The KFs
    - Delta base vs. comp. units %
    - Delta base vs. comp. units
    are FORMULAS setup to:
    1) Calculate Result As:  Nothing defined
    2) Calculate Single Value as: Nothing defined
    3) Calculate Along the Rows: user default direction (grayed out)
    Thanks for the time taken to read in detail all of this. Long text but necessary to understand what the problem is.
    Any help is highly appreciated.
    Thank you.
    Mario

    Hi,
    The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
    I hope this will solve your issue.
    Regards,
    S P.

  • Events in SubVi not working as expected

    Hi, I am reposting this question as my previous one didn't resulted in any satisfactory conclusion.
    I have attached my Vi's which are not working as expected. If I remove ONE subVi and its associated 3 controls and two indicators, the other one works just fine, but when I add two SUB Vis, it goes messy. I am trying to learn this way, I am sure it can be done many other ways, but please help me finding out the problem doing it this way as in my final MainVi, I would like to use 8 such sub Vis. Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Main.vi ‏11 KB
    SubVi.vi ‏12 KB
    SubVi_2.vi ‏15 KB

    Your main problem is DATA FLOW.  A loop cannot iterate until EVERYTHING in it has completed.  So, as you have it, you have to have both event structures execture before you can go back to look for the next event.  So if you insist on having these subVIs, they need to be in seperate loops.
    BTW, you can get away with a single subVI.  Go into the VI properties and make it reentrant (preallocated clone).  Then each call of your subVI will have its own memory space.  A lot easier to maintain that way.
    And I know you said you didn't want alternatives, but here's how you can do it all with a single event structure in your main loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Main_MODTR.vi ‏10 KB

  • T42p vista fn + f3 and fn + f4 functions (turn off screen and sleep) not working correctly

    Hi -- I recently installed windows vista on my T42p.  It works fine except that the fn+f3 and fn+f4 functions do not work as expected.  Before installing the hotkeys driver, the fn+f4 function worked correctly while f3 did not (going to sleep worked, turning the monitor off did not).  I then installed the recommended hotkeys driver.  Now fn+f4 makes the monitor turn off while f3 does nothing ... fn+f4 is supposed to put the laptop to sleep.  On top of this, if i select "sleep" from the start menu, the computer turns the monitor off instead of going to sleep.
    Presumably, the sleep button could still be telling the computer to go to sleep, but the actual operation of going to sleep is now broken?  Just a guess.  Anyways -- anyone know how to resolve this so that fn+f3 turns my monitor off and fn+f4 puts my computer to sleep?

    I've too this problem, but more, my sound mute wasn't worked (for deblock, but it can block it few second before...) 5 days in 5-6 instalation of three version of winxp: winxp ru x64 sp2, winxp es/ru sp3 x32.
    eventually I've found and ran "TPOSDSVC.exe" in instalation directory and it give an opportunity  deblocking the sound volume!!!!!!!!!!!! and I don't need more functions 
    volume levels and brightness adjustment worked well without OSD (before I ran TPOSDSVC.exe) and with OSD.
    and now I don't know worked this bustered sound driver in winxp x64.
    ThinkPad T61 7664

Maybe you are looking for

  • Text Elements in Web Template

    Hello. In my web template I wish to display the Variable Values and also the last time the query was changed (MODTIME) + ROLLUPTIME... This seems to be tricky, because if I check the SHOW_VARIABLES option, and include MODTIME and ROLLUPTIME as genera

  • LR 1.3.1 Importing D70s Images

    This issue was reported under 1.3 but it continues to occur under 1.3.1. I shoot JPG & RAW with my D70s. Dell D630 w/4 GB memory running Windows Vista Ultimate. Using a Delkin CardBus reader and both a SanDisk Ultra II 2 GB card and a Lexar x80 1 GB

  • [WHLK] The error message pops up while installing WHLK build 10022/10031 on Server 2012

    Hi all, There is no error message on WHLK build #9926. But the error message pops up on installing build 10022/10031. Did you get the same problem while installing WHLK build 10022/10031? Here is the s=installion step: Launch "HLKSetup.exe" on Server

  • Sockets through NAT

    I was wondering if there is any way to connect two computers behind seperate routers (or other NAT devices) without any port forwarding. I was thinking of having the computers each attempt to initiate a connection to fool the router, but I'm not sure

  • Assign keys (note-on) to patches

    Hi everybody, I am using MainStage 3 with my stagepiano (Kawai MP-10) which has wonderful keyboard action but only few MIDI controllers. I am looking for a way to quickly change patches from my keyboard. I have lots of patches, so clicking through th