Problem  to Multiply the Values and Stored in the Same Datatype Variable.

HI,
my Variables are :
data : lv_per    TYPE konv-kwert,
          lv_amt    TYPE KONV-KWERT,
         lv_cost    TYPE KONV-KWERT.
      LV_COST = 2073.00.
      LV_AMT   = 6000.00.
    I want to calculate as lv_per  = (LV_COST /  LV_AMT)  * 100.
    BUT Value coming as 0.00 in lv_per instead of coming correct result as 34.55.
Kindly Help me on the same.

Hello Mahender,
This is definetly problem of fixed-point arithmetic check box. So in which ever main program you are going to include this you
can set FPA check box in it's attribute screen.
Thanks,
Augustin.

Similar Messages

  • How do u get help from apple support with iChat? I was able to chat with support last week to solve my problem but now the same issue is back and I don't see the option to chat now?

    qHow do u get help from apple support with iChat? I was able to chat with support last week to solve my problem but now the same issue is back and I don't see the option to chat now?

    For what it is worth I have noticed a similar issue from the iPad3 while at work and home. At work we have two Apple TV 3rd Generation installed and tied to our A/V system. I believe the issue has to do with a timeout on the broadcast saying "here I am" and allowing devices to connect.
    For example:
    At work we have several Wi-Fi SSID being broadcast from Cisco APs. The only one we can use with the Apple TV is the one that uses a WEP since the others are either setup to be hidden, require web page authentication, or have a login requirement from employees. Essentially, what I believe the issue is that the Apple TV periodically broadcasts a message to other iOS devices that support Mirroring. When the Apple TV does not get a response from a device it goes into a dormant mode and requires either a command from the remote control or a reboot. This has been tested with both the power management enabled and not enabled with the same results.
    As for when I come home, the Apple TV3 has not seen the device in some time and therefore is not broadcasting it's location information. A simple click of the circle or menu keys on the remote will give it the command to start broadcasting again and allow the iPad3 to see the Apple TV. When trying to Home Share the computer can not play (iTunes 11, Win8RTM) until the Apple TV is awoken then it will show up for mirroing.
    This may or may not assist you but, it hopefully explains how the issue may be happening.

  • I have recently upgraded my mac and ipad to IOS7 and find that Safari will not load onto my iPad. It just shuts down the app. Any ideas? I have been onto Mac who took me through a very long iPad robot, but the problem is still the same! Help appreciated

    I have recently upgraded my mac and ipad to IOS7 and find that Safari will not load onto my iPad. It just shuts down the app. Any ideas? I have been onto Mac who took me through a very long iPad robot, but the problem is still the same! Help appreciated

    Do you mean that you did a soft-reset ?
    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data and also Clear History
    If that doesn't fix it then try closing Safari via the iPad's multitaskingbar and see if it works when you re-open it :double-click the home button to open the taskbar and then swipe or drag the Safari app's 'screen' up and off the top of the screen to close it, and click the home button to close the taskbar.
    After trying the above you could also do a soft-reset (even if this is what you've already done it might be worth trying after clearing Safari's cache and closing the app via the taskbar) : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Can't create multiple dependent LOVs from the same bind variable

    Hi all,
    I'm having difficulty creating multiple dependent LOVs from queries based on the same bind variable in my JSF application (JDev 10.1.3.1). Basically I have a static LOV in a af:selectOneChoice component from which users select a value which then becomes the bind variable value for two separate queries that generate two different dependent LOV. Having developed the code along the lines of Steve Muench 's blog (http://radio.weblogs.com/0118231/2006/04/03.html#a685), the first dependent LOV works really well. The first dynamic LOV gets refreshed whenever the list from the static LOV changes, and I can execute other queries based on the values selected.
    The problem arises when I want to create the second dynamic/dependent LOV that has the same bind variable based on the same selected value from the static LOV. Here I would also like the functionality whereby the second dynamic LOV is also refreshed after the selected value in the static LOV changes. Thinking that all I had to do was replicate the methodology used in creating the first dependent LOV, I created the second iterator, invokeAction and other binding components in the PageDef. The executable section now looks like the following:
    <iterator id="SelectStaticQueryViewObjIterator"
                  Binds="SelectStaticQueryViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery1BindParameter"
                  Binds="ExecuteWithParams1" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery1ViewObjIterator"
                  Binds="SelectDynamicQuery1ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>
    <invokeAction id="refreshDynamicQuery2BindParameter"
                  Binds="ExecuteWithParams2" Refresh="prepareModel"
                  RefreshCondition="#{empty requestScope.VariableChanged}"/>
    <iterator id="SelectDynamicQuery2ViewObjIterator"
                  Binds="SelectDynamicQuery2ViewObj" RangeSize="-1"
                  DataControl="DMSApplicationModule1DataControl"/>I now have a problem whereby everytime I change the value of the static LOV, multiple HTML components for the same ADF component are being generated (the LOVs are refreshed via PPR). The surprising thing is that this duplicating behaviour applies to all ADF components listed after the first dynamic LOV in the *.jspx source. For example, I have a <af:outputText="Test Text"/> component created after the first dynamic LOV. Each time the value in the static LOV changes, a duplicate HTML component is created. This also applies to the 'related' second dynamic LOV which is bound to a af:selectOneChoice component - multiple dropdown lists are created. I've checked with the browser's Page Source and there are actually multiple html components being generated with their own unique ADF-generated IDs. I've tried all different options for the Referesh and RefreshCondition attibutes in the second invokeAction element but nothing seems to eliminate this issue.
    Any suggestions about how I might create multiple dependent LOVs from the same bind variable that get refreshed when the selected value changes would be greatly appreciated.
    Thanks
    George

    Hi all,
    Just updating the thread on how I've overcome this issue. As it stood the manner in which I was trying to solve my use case, as described above, was creating an absolute mess. Then with a blank sheet of paper I quickly realised that a much simpler solution would be to create a whole series of master-detail VOs and build my components around them. Thankfully I haven't had any issues going down this path as yet.
    Cheers
    George

  • Duplicate sub vi with the same global variable

    This is a simple question, that probably was answered before:
    I had a sub vi that uses a global variable. Now I need two of these sub vi's working simultaneously in a while loop. The problem is that they are both adressing the same global variable, but I need them to be isolated. How do I do that?
    Thank you.

    Hi Ivan,
    This Developer Zone article explains a little more background about why functional global variables are the best option for you. Happy coding!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Template declaration error when variable assigned is the same as variable declared

    Hi Fedor,
    In comm-central repository, when compiling mozilla/mfbt/Compression.cpp using -std=c++11, it results in an error as follows:
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: Unexpected type name "T" encountered.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: value is not defined.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: No direct declarator preceding ">".
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: A declaration does not specify a tag or an identifier.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: Default template argument cannot be specified on the definition of a class template member that appears outside of its class.
    "../dist/include/mozilla/CheckedInt.h", line 400: Error: Templates can only declare classes or functions.
    "../dist/include/mozilla/CheckedInt.h", line 413: Error: No primary specialization for partial specialization NegateImpl<T, 0>.
    "../dist/include/mozilla/CheckedInt.h", line 416: Error: Too many arguments for template mozilla::detail::NegateImpl<T>.
    8 Error(s) detected.
    After a check on the file CheckedInt.h, it was narrowed down to the following code that resulted in the failure (the variable assigned, isSigned is the same as variable being declared) :
    template<typename T, bool IsSigned = IsSigned<T>::value>
    struct NegateImpl;
    This code, however compiles without problems in gcc-4.8.
    A workaround was to use a different variable declared in the template (e.g. bool IsTSigned = IsSigned<T>). But I just wanted to be sure whether is this a bug in 12.4 Beta or whether coding rules in templates do allow this kind of declaration? Kindly advise. Thanks.
    Regards,
    Brian

    Hi Steve,
    The declaration made below is not valid when -std=c++11 is not used (it causes the same compile-time errors when using July Refresh):
    template<typename U> class IsSigned;
    template<typename T, bool IsSigned = IsSigned<T>::value>
    struct NegateImpl;
    So far, the workaround was to use a different variable declared in the template (e.g. bool IsTSigned = IsSigned<T>).
    Regards,
    Brian

  • How can I use the same Sound variable for multiple sounds?

    I need my program to play many different mp3 files at different times.  I'm reading that you can not load different mp3 files into the same Sound variable.  But there must be a way around this right?  Can I Unload mp3 files some how?  Or can I delete the Sound variable and declare it again?  I don't want to have hundreds of Sound variables so what do I do?  Thank you.

    delete doesn't work in as3.  you must remove all listeners and references including nulling the variables.  for displayobjects, they need to be removed from the display list.
    p.s.  you don't need to create a sound instance until you need to load an mp3 using one.  so, if you're waiting for user input to start loading an mp3, you should wait for that input to create that sound instance.

  • Comparison between entered value and stored value

    An user enters his or her code, the code needs to match the code which corresponds to her code in the file, else the value is set to zero and asks to be re-entered, if correct to proceed.
    Attachments:
    hell.vi ‏63 KB

    And what is the problem?
    Using the constant seems to be working as you describe, is it when you read a file there is a problem? If so could you supply one such file?
    MTO

  • Wi-fi failure and battery problems started at the same time

    I can't get the wi-fi to connect to any network. It stopped working a couple of days ago. I have tried with my own wireless network at home and several other networks as well.
    I have tried the following:
    *Settings->General->Reset->Reset Network Settings
    *Restore to Factory Settings
    *Tried my network without security and with WPA (and yes I know the password)
    *With and without MAC-address filter in Router, added the iPods MAC-address (called Wi-Fi Address in the iPod)
    *Changed channel for my Wi-fi network
    *Tried with and without my wi-fi repeater
    *My router is broadcasting the SSID
    *Tried to join the network when it is found by the iPod, with 1 as strenght but then I get "Could not join the network"
    *Tried to add the network as other network, typing in the SSID the it says that it can't find the network.
    I have tried a mix of the above and as I stated above I have also tried other networks that it has been able to join without problems before.
    Some info:
    iPod Touch 16 GB Model MA627ZG
    Version 2.2.1 (5H11)
    Purchased in December 2007.
    Router: Netgear DG834GT
    Firmware: V1.02.04
    Wireless Repeater D-link DWL-G710
    At the same time as this started my battery started to get drained very quickly. 2 hours of listening to an audio book and the battery is empty again.
    I have wi-fi off
    Auto brightness off
    Fetch new data off
    EQ off
    The iPod gets very hot when attached to my computer via USB to get battery charged and I don't have it in a case.

    I am having excatly same problem. It started about two days ago, but I did not update or installed anything just before this issue came up. It looks like it came from nowhere.
    It feels like the touch is constantly trying to connect to wifi, even if it is sleeping and even if the wifi is off! That would explain the very short battery life.
    I have tried to update to 2.2.1. It did not help. I have tried to restore both to 2.2 (which was on when this issue came up) and both to 2.2.1.
    I tried to revert to older firmware 7.3.2 on my airport express. But it it did not seem to make any difference. My macbook is still seeing the wifi as well as before, so it should not be a router problem.
    as well, to comment on ipod being connected to turned off/hibernated computer. it does not make any difference whether it is connected to it or not. Computer does not suck the energy from the ipod. It can only charge it. So whether it is connected or not, the ipod should discharge slowly, which it does not in our case.

  • Problem while inserting the same value on a primary key column

    hi all ,
    in my application there is a block with a pat_id column "primary key" ,
    if the user inserts the same value in this column , a message appears asking me if i want to save the changes or not ,
    i do not know what changes is the message asking about , and sure i do not want this message to appear to the user
    when he insert the same values by mistake ?
    thanks

    as a primary key field dont fill this with manually try use db seq.
    Use pre-insert trigger .

  • Problem in reusing the declader slider variable in VBox

    There is a slider variable {color:#0000ff}specexpontLevel{color}. This variable is used 2 times in VBox content as per my requirement. But the VBox contents are not visble @ the runtime. If I call the variable only once in VBox then the contents are displayed. Without using VBox, if I reuse in the contents of scene also it is not displaying.
    The NetBeans IDE is displaying the below runtime error
    java.lang.IllegalArgumentException: illegal assignment of group.content: group=Group node=Slider
    {color:#0000ff}*Does this mean the variable cannot be resued in the content? If so the concept of reusability is defeated. If it is intensionally included what is the justification behind it?*{color}
    import javafx.scene.Scene;
    import javafx.scene.text.Font;
    import javafx.scene.text.Text;
    import javafx.stage.Stage;
    import javafx.scene.control.Slider;
    import javafx.scene.layout.LayoutInfo;
    import javafx.scene.layout.VBox;
    var diffusespecconstLevel: Slider = Slider{
    max: 2.0
    min:0.0
    value:0.7
    width : 70
    layoutInfo: LayoutInfo{ width: 70 minWidth: 70}
    var {color:#0000ff}specexpontLevel{color} : Slider = Slider{
    max: 20.0
    min:0.0
    value:5.0
    width : 70
    layoutInfo: LayoutInfo{ width: 70 minWidth: 70}
    var surfaceLevel: Slider = Slider{
    max: 2.5
    min:0.0
    value:1.0
    width : 70
    layoutInfo: LayoutInfo{ width: 70 minWidth: 70}
    Stage {
    title: "Hello World"
    width: 250
    height: 500
    scene: Scene {
    content: [
    Text {
    content: "Hello World! My First JavaFX program!"
    x:0
    y:12
    font: Font {
    name: "Arial"
    size: 12
    VBox {translateY : 20 content : [<font color="#0000ff">specexpontLevel</font>,diffusespecconstLevel,surfaceLevel, <font color="#0000ff">specexpontLevel</font>]}

    Hello!
    could you elaborate your answer please?
    I have the same kind of problem in an application I am working on for now.
    I have the application' scene content inside which I have a node whose id I set to "applicationContent" (this node is a group).
    Upon clicking on menu buttons, I will remove the node having the "applicationContent" id from my application content and will insert another one having the same id.
    The inserted node is generated on the fly upon clicking on the button.
    Method below is executed only once and adds menu buttons to the left of my application.
    Notice the action:function() method that calls the setContent(Node) method when the button is clicked.
      function insertMenuItems(): Void
            var elementCounter: Number = 0;
            var firstY: Number = 160;
            for(currentItem in menu)
                var currentButton:MenuButton = MenuButton
                    text: currentItem.title;
                    layoutX: 8;
                    width: 182;
                    layoutY: firstY + elementCounter * 40;
                    action: function()
                        this.title = currentItem.title;
                        setContent(currentItem.getContent());
                insert currentButton into content;
                elementCounter++;
        }The setContent method is provided here below.
    As you see, it removes the node having the "applicationContent" id and adds the one passed in parameter ("the new application content").
         * Sets the main content of the application.
         * <p>
         *  Each time a menu button gets clicked, the main content of the application
         *  will be replaced by the one attached to the <code>MenuButton</code>
         * </p>
        function setContent(applicationContent:Node):Void
            for(currentNode in content)
                if(currentNode.id.equals("ApplicationContent"))
                    delete currentNode from content;
                    break;
                applicationContent.layoutX = 300;
                applicationContent.layoutY = 500;
                insert applicationContent into content;
        }the "{code}insert applicationContent into content;{code}" line is the one producing the exception, even though, in the end, my content is correctly updated on screen.
    exception happening at this specific line is the following:
    Exception in trigger:
    java.lang.IllegalArgumentException: illegal assignment of group.content: group=Group node=ApplicationContent [id=ApplicationContent]
    at javafx.scene.Group$_SBECL.onChange(Group.fx:209)
    at com.sun.javafx.runtime.location.SequenceVariable.notifyListeners(SequenceVariable.java:157)
    at com.sun.javafx.runtime.location.SequenceVariable.setAsSequence(SequenceVariable.java:259)
    at com.sun.javafx.runtime.location.SequenceVariable.set(SequenceVariable.java:222)
    at com.sun.javafx.runtime.location.SequenceVariable.set(SequenceVariable.java:39)
    at com.sun.javafx.runtime.location.Bindings$BijectiveBinding$2.onChange(Bindings.java:156)
    at com.sun.javafx.runtime.location.AbstractLocation$1.onAction(AbstractLocation.java:220)
    at com.sun.javafx.runtime.location.AbstractLocation$1.onAction(AbstractLocation.java:217)
    at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(AbstractLocation.java:182)
    at com.sun.javafx.runtime.location.AbstractLocation.invalidateDependencies(AbstractLocation.java:254)
    at com.sun.javafx.runtime.location.SequenceVariable.notifyListeners(SequenceVariable.java:150)
    at com.sun.javafx.runtime.location.SequenceVariable.replaceSlice(SequenceVariable.java:324)
    at com.sun.javafx.runtime.location.SequenceVariable.insert(SequenceVariable.java:442)
    at javafxapplication3.FixedRootScene.setContent(FixedRootScene.fx:139)
    at javafxapplication3.FixedRootScene.setContent(FixedRootScene.fx:139)
    at javafxapplication3.FixedRootScene$1.lambda(FixedRootScene.fx:109)
    at javafxapplication3.FixedRootScene$1.lambda(FixedRootScene.fx:109)
    at javafxapplication3.FixedRootScene$1.invoke(FixedRootScene.fx:106)
    at javafxapplication3.FixedRootScene$1.invoke(FixedRootScene.fx:106)
    at javafxapplication3.FixedRootScene$1.invoke(FixedRootScene.fx:106)
    at javafxapplication3.FixedRootScene$1.invoke(FixedRootScene.fx:106)
    at javafx.scene.control.Button.fire(Button.fx:50)
    at com.sun.javafx.scene.control.ButtonBaseBehavior.mouseRelease(ButtonBaseBehavior.fx:78)
    at com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.lambda(AbstractButtonSkin.fx:68)
    at com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.invoke(AbstractButtonSkin.fx:68)
    at com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.invoke(AbstractButtonSkin.fx:68)
    at javafx.scene.Node.impl_processMouseEvent(Node.fx:1679)
    at javafx.scene.Node.preprocessMouseEvent(Node.fx:1705)
    at javafx.scene.Scene$MouseHandler.process(Scene.fx:665)
    at javafx.scene.Scene$MouseHandler.process(Scene.fx:550)
    at javafx.scene.Scene.impl_processMouseEvent(Scene.fx:368)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.fx:496)
    at com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.doMouseEvent(SwingScene.java:388)
    at com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.mouseReleased(SwingScene.java:408)
    at java.awt.Component.processMouseEvent(Component.java:6134)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    at java.awt.Component.processEvent(Component.java:5899)
    at java.awt.Container.processEvent(Container.java:2023)
    at java.awt.Component.dispatchEventImpl(Component.java:4501)
    at java.awt.Container.dispatchEventImpl(Container.java:2081)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895)
    at java.awt.Container.dispatchEventImpl(Container.java:2067)
    at java.awt.Window.dispatchEventImpl(Window.java:2458)
    at java.awt.Component.dispatchEvent(Component.java:4331)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    If yo ucould explain me why the exception fires, i'd be very happy ^^
    Thank you very much in advance for your help!
    Edited by: jerome_jadoulle on Jul 14, 2009 2:00 AM

  • Problem in transporting the Customer exit variable

    Hi all,
    i have careated a variable to capture the current date in my report, with the processing type, Customer Exit. and, its getting populated fine in my DEV environment. basically, i have to compute the number of days, in which net due date is being compared to the current date.  when i transport this to the QA environment, the values for number of days is gettting some junk value, wherein in DEV its showing the exact values. It seems i have to take cetain measures in transportation of the Customer Exit.
    please advice.
    Thanks in advance
    Sneel

    Hello ,
               In the Quality after you run the report check in the layout option>display text elements> variables and check what value is displayed for the use exit variable , if it is correct then problem may be in the selection you gave when you run the report if the user exit variable value is wrong , then set a break point in the code and run the report from rsrt and check where the error is.
    hope it is clear
    assign points if useful

  • Problem with embeding the same view in dynamically created view container

    Hello Experts,
                  I am getiing a dump when i try to embed the same view inside the dynamically created view container of
    dynamically created tabs of a tabstrip
    The requirement go like this, i have 2 views in which i have have to embed the 2nd view to view1 where i have an empty
    tabstrip without tabs. During runtime i create tabs as well as view containers accordingly and then try to embed view2 in tabs.
    I have put the below mentioned code in HANDLEIN,
      DATA: lref_vcntlr  TYPE REF TO if_wd_view_controller,
            lref_comp    TYPE REF TO if_wd_component_usage,
            lv_embed_pos TYPE string.
      lref_vcntlr = wd_this->wd_get_api( ).
      lv_embed_pos = 'FILE_PERS_EDIT/VC_GENERAL'.
      TRY.
          CALL METHOD lref_vcntlr->do_dynamic_navigation
            EXPORTING
              source_window_name        = 'FILE_PERSISTENCE_WND'          " Window
              source_vusage_name        = 'FILE_PERS_EDIT_USAGE_1'       " Source View usage
              source_plug_name          = 'TO_EDIT_LAYOUT'                       " Outbound plug
              target_view_name          = 'PERS_EDIT_LAYOUT'                  " Second view to be embedded
              target_plug_name          = 'IN'                                                  " Second view inboun plug
              target_embedding_position = lv_embed_pos
            RECEIVING
              component_usage           = lref_comp.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_edit_layout_plg( ).
    This works fine for the first time.
    However onaction tab select i change the embeding position( 'FILE_PERS_EDIT/view container name of different tab') of the view2 an try to embed view2 in a different tab.
    At this point i get a dump stating View2 already present in the window 'FILE_PERSISTENCE_WND' of component.
    I think, the view2 embediing has to be removed before i add the view2 in a different tab
    Kindly let me know how to remove view2 embedding from tab1 before i add a view2 to a different tab or is there any other
    means to handle this problem?
    Thanks & Best Regards,
    Srini.

    Hello Srini,
    I found a solution to your problem, because I had a similar task.
    In WDDOINIT I changed the method do_dynamic_navigation to if_wd_navigation_services_new~prepare_dynamic_navigation:
    DATA:
        l_view_controller_api TYPE REF TO if_wd_view_controller.
      l_view_controller_api = wd_this->wd_get_api( ).
      TRY.
          CALL METHOD l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation
            EXPORTING
              source_window_name        = 'WDW_MAIN'
              source_vusage_name        = 'VW_SUB_USAGE_1'
              source_plug_name          = 'TO_VW_CONTENT'
              target_component_name     = 'ZTEST_DYNAMIC'
              target_view_name          = 'VW_CONTENT'
              target_plug_name          = 'DEFAULT'
              target_embedding_position = 'VW_MAIN/VC_TAB.VW_SUB/TAB1_VC'
            RECEIVING
              repository_handle         = wd_this->g_rep_handle.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = 'TAB1' ).
    In the action I first deleted the navigation targets, then navigated to the empty-view and last I called my target view:
      DATA:
        lv_position           TYPE string,
        l_view_controller_api TYPE REF TO if_wd_view_controller,
        lr_view_usage         TYPE REF TO if_wd_rr_view_usage,
        lr_view_***_t         TYPE wdrr_vca_objects,
        lr_view_***           LIKE LINE OF lr_view_***_t.
      l_view_controller_api = wd_this->wd_get_api( ).
      lr_view_usage = wd_this->g_view->get_view_usage( ).
      lr_view_usage->delete_all_navigation_targets( plug_name = 'TO_VW_CONTENT' ).
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' old_tab '_VC' INTO lv_position.
      TRY.
          l_view_controller_api->if_wd_navigation_services_new~do_dynamic_navigation(
          source_window_name = 'WDW_MAIN'
          source_vusage_name = 'VW_SUB_USAGE_1'
          source_plug_name   = 'TO_EMPTYVIEW'
          target_component_name = 'ZTEST_DYNAMIC'
          target_view_name   = 'EMPTYVIEW'
          target_plug_name   = 'DEFAULT'
          target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' tab '_VC' INTO lv_position.
      TRY.
          wd_this->g_rep_handle = l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation(
            source_window_name = 'WDW_MAIN'
            source_vusage_name = 'VW_SUB_USAGE_1'
            source_plug_name   = 'TO_VW_CONTENT'
            target_component_name = 'ZTEST_DYNAMIC'
            target_view_name   = 'VW_CONTENT'
            target_plug_name   = 'DEFAULT'
            target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = tab ).
    Ann.: I my example, I had 3 views: VW_MAIN which embedds VW_SUB. VW_SUB has the tabs in it and VW_SUB embedds VW_CONTENT.
    BR,
    Roland

  • Problem when executing the same subVI in parallel.

    Hey!
    I have created a subVI that I am using in two applications that executes in parallel. For some reason the applications is using the same instance of the subVI, which creates conflicts when the applications are trying to use the same subVI at the same time. Is it possible to solve this problem?
    /Jakob

    Open the SubVI and go to File>>VI Properties. Select Execution and check "Make VI reentrant". This should solve your problem. You should read more about reentant VIs and how they work in the site. They have different kind of uses.
    Try to take over the world!

  • Ipod album problems: Several times the same album

    Hello, since 9 months I try to fix this problem with Ipod/Iphone:
    I have 50 Traks in a album folder Dance Tunes. All informations are same for each track exept artist, but album selection and album name is always Dance Tunes.
    In ITunes it's shown as 1 album with 50 tracks, after synchronisation i have 22 Albums with 2-50 tracks (always random)with the same name: Dance Tunes.
    I have this problems with more than 800 tracks in my playlist and even I delete and reimport, the get the same problems. Rename the album ends with the same 22 albums with random tracks in it.
    Anyone same problem and know how to fix my 180 doubled albums on my iphone?
    I have the problem with windows XP, Windows Vista and Windows 7.
    Thx
    Dan

    The information is there...
    Select all 50 tracks of your Dance Album. Use CTRL-I to Get Info. On the info tab enter *Various Artists* into the *Album Artist* field. On the Options tab set *Part of a compilation* to Yes. Sync the album to your iPhone. ALL artists will be listed in the Artist menu, but the album will be listed once in the Albums menu and once in the Cover Flow view.
    For iTunes I recommend you use the options *View > Column Browser > Group Compilations > On (ticked)* and *View > Column Browser > Use Album Artists > On*.
    tt2

Maybe you are looking for