Moving branch nodes up/down not reflecting in tree

The dataprovider to tree is an xml which is bindable.
When i print after adding dragged item at the dropped index
and remove the dragged item, the tree shows correctly i.e.,
print tree using trace.
but nothing gets reflected in the screen.
heres the code below:
var dropTarget:Tree = Tree(event.currentTarget);
var dropIndex:int = dropTarget.calculateDropIndex(event);
dropTarget.selectedIndex = dropIndex;
var droppedItemNode:XML = dropTarget.selectedItem as XML;
var droppedItemLabel:String = droppedItemNode.@label;
var droppedItemParentNode:XML = droppedItemNode.parent() as
XML;
var droppedItemParentLabel:String =
droppedItemParentNode.@label;
// onDragDrop(event)
// add to drop target
var insert:XML = draggedItemNode;
var inserted:Boolean =
dropTarget.dataDescriptor.addChildAt(droppedItemParentNode, insert,
(dropIndex));
trace("insert " + insert);
trace("inserted at " + droppedItemParentNode + " index: " +
dropIndex);
// remove from dragsource.
var children:XMLList =
XMLList(draggedItemParentNode).children();
for(var j:int=0; j < children.length(); j++) {
if( children[j].@label == draggedItemLabel) {
trace("removed from dragsource: " + children[j]);
var del:Boolean = delete children[j];
break;
Please advice.
Thanks,
Lucky

Hi Jinsuh,
I have coded it manually (don't know if there's another way), but here's the code I've used.
If pVal.ItemUID = "m_List" Then
    If pVal.CharPressed = 38 Then 'up
        oForm = oApplication.Forms.ActiveForm
        oMatrix = oForm.Items.Item("m_List").Specific
        If (pVal.Row <> 0) Then
            oMatrix.Columns.Item(pVal.ColUID).Cells.Item(pVal.Row - 1).Click(SAPbouiCOM.BoCellClickType.ct_Double)
        End If
    ElseIf pVal.CharPressed = 40 Then 'down
        oForm = oApplication.Forms.ActiveForm
        oMatrix = oForm.Items.Item("m_List").Specific
        If (pVal.Row <> oMatrix.RowCount) Then
            oMatrix.Columns.Item(pVal.ColUID).Cells.Item(pVal.Row + 1).Click(SAPbouiCOM.BoCellClickType.ct_Double)
        End If
    End If
End If
Hope it helps,
Adele

Similar Messages

  • Not reflecting the sales offices for top down manual planning hierarchy

    Hi Experts,
    Please help me on this issue.
    I hava an Hierarchy like from District to Offices
    for eg: for district-                'ZBHDEL' I have salesoffice like 100, 101, 102, 103,105.
    like wise for other district          'zbhyd' i have salesoffices like 200, 201, 202.
    I have created the Mannual layout with Hierachy datamodel with BPS characteristics, TOP-DOWN, AND enabled check entry.
    In the additional setting i have select All Possible combinations.
    District at Headerlevl, along with Product and Division
    and selected salesoffice at Leadcoloumn.
    My Planning levell and package contains : for sales office slected Hierarchy at planning level. 
    BRAND
    Base Unit
    Company code
    Country
    Currency
    Division
    Fiscal year/period
    Fiscal Year Variant
    PRODUCT
    SIZE
    Sales District
    Sales Office
    Segment
    Version   
    *The Prolem is when i input some plan for a district ZBHDEL from the other layout, WHEN I RUN THE sALES OFFICE hIERARCHY
    Mannual Layout its not reflecting the sales office where i have to plan for the salesoffices by seeing the values
    of planned District.
    where as for one district i can able to see the sales offices. even i have maintained the masterdata at Infoobject level.
    Can anybody please help me out.
    thanks
    Deenu
    Edited by: deenu prasad on Aug 4, 2010 7:07 AM

    Create hierarchy for sales district info-object in following way.
    Sales District         Text Node                          Level 1
    Sales Distirct         Characteristics Node         Level 2         
                                  value 1 = ZBHDEL
                                  value 2 = ZBHYD
    sales Office          Characteristics Node         Level 3
                                  values will be according to district (include diff sales offices for diff districts in level 2)
    restrict district to this hierarchy in planning level and plan according by both approaches (create 2 seperate layouts):
    Top down  - to plan at main node i.e. sales district
    bottom up - to plan at sub node  i.e. sales office

  • AR Down Payment Invoice Does Not Reflect in BP Master Data...

    We have placed a sales order for a BP. 
    We select payment means and accept the payment
      In the background a AP Down Payment Invoice is created
    When we view the BP master data - the account ballance window does NOT reflect this "down payment"
    If we select the golden arrow at account ballance, uncheck "reconciled transactions" you can see the payment and AP down payment and they clear each other out.
    The problem is that when the final invoice is created it is not obvious that a down payment has been received.  Even if you are simply working at the BP master data window, it is not obvious that a down payment has been received. I belive our process is correct because If you click the TDP box, the payment is listed and will be applied to the final invoice.
    It simply does not alert the user that a payment had been received. 
    What are we doing wrong?????\
    Thank you!
    Edited by: Andrew Bleier on Feb 4, 2009 1:27 AM

    Keith Taylor
    You are right this feature is only available in Version 2007A.  There account posting happen purely due to the pay SAP has been designed and the configuration of GL Accounts.
    To make fundametal change to the core product is very difficult if you explain me your business process exactly as you do, I could think of alternatives.
    Please let know.
    Suda

  • Down Payment entries not reflecting in J1INMIS report

    Dear Guru's,
    TDS deducted at  the time of down payment made to vendor is not reflecting in J1inmis report.
    Is J1INMIS report does not reflect down payment entries?
    What will be the reason for this?
    Which alternative report to followed for J1INMIS !!!
    Waiting for your positive reply.
    Regards,
    Sany.

    Hi Sany,
    To update Business Place & Section Code, execute the program given below. After execution of the program run T.Code J1INPP and your issue should get resolved. Let me know if this works.
    Ask the Abaper to write the following Code & execute the program:
    REPORT  ZFI_BUP_SEC_CHANGE.
    TABLES : BSIK,BSAK,BSEG.
    parameters: PA_BELNR TYPE BSEG-BELNR OBLIGATORY,
                PA_BUKRS TYPE BSEG-BUKRS OBLIGATORY,
                PA_GAAHR TYPE BSEG-GJAHR OBLIGATORY.
    PARAMETERS : PA_BUPLA TYPE BSEG-BUPLA NO-DISPLAY,
                 PA_SECCO TYPE BSEG-SECCO NO-DISPLAY.
    PA_BUPLA = 'MUM'.                               (Note : Use the Business place & section Code Used
    PA_SECCO = 'MUM'.                                         in your company code).
    START-OF-SELECTION.
    PERFORM CHANGE_DATA.
    END-OF-SELECTION.
    *&      Form  CHANGE_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM CHANGE_DATA .
    DATA : LT_BSEG TYPE TABLE OF BSEG WITH HEADER LINE,
           LT_BSIK TYPE TABLE OF BSIK WITH HEADER LINE,
           LT_BSAK TYPE TABLE OF BSAK WITH HEADER LINE.
    BSeg updation
    SELECT *
    INTO CORRESPONDING FIELDS OF TABLE LT_BSEG
    FROM BSEG
    WHERE BUKRS  = PA_BUKRS   AND
          GJAHR  = pa_gaahr   AND
          BELNR = PA_BELNR.
    LOOP AT LT_BSEG.
      IF LT_BSEG-BSCHL    = '25' OR LT_BSEG-BSCHL = '26'
         OR LT_BSEG-BSCHL = '27' OR LT_BSEG-BSCHL = '28'
         OR LT_BSEG-BSCHL = '35' OR LT_BSEG-BSCHL = '36'
         OR LT_BSEG-BSCHL = '37' OR LT_BSEG-BSCHL = '38'
         OR LT_BSEG-BSCHL = '39'.
        LT_BSEG-BUPLA = PA_BUPLA.
        LT_BSEG-SECCO = PA_SECCO.
        MODIFY BSEG FROM LT_BSEG.
        Write : / LT_BSEG-BELNR, 'Update For BSEG', LT_BSEG-BSCHL,
                  LT_BSEG-BUPLA,LT_BSEG-SECCO.
      ENDIF.
    ENDLOOP.
    Bsik updation
    SELECT *
    INTO CORRESPONDING FIELDS OF TABLE LT_BSIK
    FROM BSIK
    WHERE BUKRS  = PA_BUKRS   AND
          GJAHR  = pa_gaahr   AND
          BELNR = PA_BELNR.
    LOOP AT LT_BSIK.
      IF LT_BSIK-BSCHL    = '25' OR LT_BSIK-BSCHL = '26'
         OR LT_BSIK-BSCHL = '27' OR LT_BSIK-BSCHL = '28'
         OR LT_BSIK-BSCHL = '35' OR LT_BSIK-BSCHL = '36'
         OR LT_BSIK-BSCHL = '37' OR LT_BSIK-BSCHL = '38'
         OR LT_BSIK-BSCHL = '39'.
        LT_BSIK-BUPLA = PA_BUPLA.
        LT_BSIK-SECCO = PA_SECCO.
        MODIFY BSIK FROM LT_BSIK.
        Write : / LT_BSIK-BELNR, 'Update For BSIK', LT_BSIK-BSCHL,
                  LT_BSIK-BUPLA,LT_BSIK-SECCO.
      ENDIF.
    ENDLOOP.
    BsAk updation
    SELECT *
    INTO CORRESPONDING FIELDS OF TABLE LT_BSAK
    FROM BSAK
    WHERE BUKRS  = PA_BUKRS   AND
          GJAHR  = pa_gaahr   AND
          BELNR = PA_BELNR.
    LOOP AT LT_BSAK.
      IF LT_BSAK-BSCHL    = '25' OR LT_BSAK-BSCHL = '26'
         OR LT_BSAK-BSCHL = '27' OR LT_BSAK-BSCHL = '28'
         OR LT_BSAK-BSCHL = '35' OR LT_BSAK-BSCHL = '36'
         OR LT_BSAK-BSCHL = '37' OR LT_BSAK-BSCHL = '38'
         OR LT_BSAK-BSCHL = '39'.
        LT_BSAK-BUPLA = PA_BUPLA.
        LT_BSAK-SECCO = PA_SECCO.
        MODIFY BSAK FROM LT_BSAK.
        Write : / LT_BSAK-BELNR, 'Update For BSAK', LT_BSAK-BSCHL,
                  LT_BSAK-BUPLA,LT_BSAK-SECCO.
      ENDIF.
    ENDLOOP.
    ENDFORM.                    " CHANGE_DATA
    Thank You.

  • Down payment not reflecting in report

    Dear All,
    I have created a project Budjeted it, made the PR PO GRN, MIRO  which all is reflection in budget/actual/commitment... report,
    but i also did DPR using F-47 and F-48 but the values from this transaction is not reflection in the report.
    Pls guide
    Regards,
    Mandar

    Hi Mandar,
    This is verymuch possible in single report, do the following steps you will see these all in Single report under Tcode: S_ALR_87013558.
    1. Go to T-ocde CJE5
    2. Select the form 12KST1A
    3. Ensure that the Form is in Change mode.
    4. On your right side you will see columns, after the last column on the blank space double click or click + icon on tool bar, a pop-up will come, in that pop-up select radio button Key figure with characteristics.
    5. A new window will open, here you enter the following
    Version : 0, valutype : 12,  object type: P.
    6. Click on change short text and right the text as Downpayment.
    7. Click conform.
    8. Now in menu> Extras> Drill down display --> select rows/columns, now select the new column also and save, so that this column will appear in the reports.
    This you can do yourself, just need to take authorisation for CJE5 T-code. once u do this your client managemnt can see the data in one report.
    Thanks
    Regards
    kishore

  • Failover did not happen when one node went down!!! PLEASE HELP

    Hi gurus,
    Yesterday one disaster struck my RAC database. We have two node cluster and it is 10.2.0.2, both of them located in different sites, yesterday suddenly power went down and the one of the network switch went down and got destructed, node one of RAC database was connected to that switch, but the failover did not happen to the node two as this should be the case when one node goes down the other should be available for all the node one sessions/connections.
    when I tried to ping/telnet the node 1, it was not happening because the switch was down, the network guyz connected the cables to other switch available. When I connected to the node 1, it was showing "Oracle is not available" message.
    And when I tried the other node, it was the same case but I did not see any error in alert log file. Then my TL restarted both the nodes and then the database was available.
    I am very confused that how the failover did not happen and how the database went down, PLEASE suggest something to how to identifiy what was happened. Thanks & Regards

    Thanks for your reply,
    after the network switch was replaced we connected to both the nodes and found that the instances are down with no reason given in the Alertlog file. We just restarted both the instances and then the database was up and the clients connected to both the instances with equal sessions on both the instances. I want to know that whether the failover can be done at the application side or it should be done on the database side i,e; in tnsnames.ora file with the required parameters? as in our scenario there is no failover configuration in the tnsnames.ora file.
    Thanks & Regards

  • What about Bug  - FRM-47316: Branch nodes with no children are not allowed

    Hi friends,
    I've just executed another inherited application (Win XP, forms 6i, client/server)..and.. the first on the screen:
    FRM-47316: Branch nodes with no children are not allowed
    The application has a "tree menu".. I supose the problem appears when it's trying to load menu nodes...
    I've searched in metalink, and it only appears a post (483897.995) saying that this is a bug, but...I can't understand if it's already solved in Forms 6i
    Any ideas?
    Thanks,
    Jose.

    Hi friends,
    I've just executed another inherited application (Win XP, forms 6i, client/server)..and.. the first on the screen:
    FRM-47316: Branch nodes with no children are not allowed
    The application has a "tree menu".. I supose the problem appears when it's trying to load menu nodes...
    I've searched in metalink, and it only appears a post (483897.995) saying that this is a bug, but...I can't understand if it's already solved in Forms 6i
    Any ideas?
    Thanks,
    Jose.

  • Did download OS X Mountain Lion and see the features in my applications, but not reflecting in my APPS purchases.

    did download OS X Mountain Lion and see the features in my applications, but not reflecting in my APPS purchases.
    also this takes huge amount of time, almost 10 hours to download, even using 3G Net connection.

    Hi kiwirudy,
    I've had the same problem more than once since I started trying to download my 14 April purchase of OS X Mountain Lion.
    I found a property list called manifest.plist in my ~/Library/Application Support/AppStore folder which had a Boolean property called failed checked. I unchecked it and afterwards I was able to resume my download.
    Here are some steps I've found useful:
    Close the Mac App Store.
    make a copy of the  ~/Library/Application Support/AppStore folder. For some strange reason the Mac App Store likes to just delete it in some circumstances, which will mean that one has to start one's download again from the very beginning.
    Double click on the manifest.plist in one's ~/Library/Application Support/AppStore folder.
    This should open it in Property List Editor.
    Expand all the nodes (holding down the alt key and clicking on the highest collapsed node should do it.
    Find a key called failed of type Boolean and uncheck it.
    Save the manifest.plist and close it.
    Open the Mac App Store.
    The red message "an error has occured" should now be gone and one should be able to resume one's download.
    In the event that the ~/Library/Application Support/AppStore folder gets deleted:
    start the download again (it will start from the beginning), pause it and close the Mac App Store.
    copy your backup copy of the pkg file back to its sub-folder (it's a numbered folder in the ~/Library/Application Support/AppStore folder).
    Open the Mac App Store and resume your download.
    It should continue from where it left off.
    This has worked for me so far. I'm holding my breath. Don't know if I'll still be alive when it's finished.
    Regards
    Nic
    Message was edited by: n c h

  • Java Server node and dispatcher not coming up in ECC

    Hi,
    We are using ECC6.0,We have moved the node 2 to node 1, java is not coming after cluster has moved to node 1.
    We are getting the folloeing error
    #1.5 #005056B83E3D00000000001000005CCC0004AA6F7B4BAF13#1313295693490#com.sap.engine.core.configuration##com.sap.engine.core.configuration#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Error occurred: Secure Store lib Dir does not exist F:/usr/sap/ECQ/SYS/global/security/lib
    engine
    =======================================================
    com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred: Secure Store lib Dir does not exist F:/usr/sap/ECQ/SYS/global/security/lib
    engine
         at com.sap.engine.core.configuration.impl0.ConfigurationManagerImpl.initInternal(ConfigurationManagerImpl.java:139)
         at com.sap.engine.core.configuration.AbstractConfigurationManagerImpl.init(AbstractConfigurationManagerImpl.java:164)
         at com.sap.engine.core.Framework.loadSingleManager(Framework.java:582)
         at com.sap.engine.core.Framework.loadManagers(Framework.java:258)
         at com.sap.engine.core.Framework.start(Framework.java:190)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.boot.FrameThread.run(FrameThread.java:61)
         at java.lang.Thread.run(Thread.java:534)
    #1.5 #005056B83E3D00000000001200005CCC0004AA6F7B4BB178#1313295693490#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Loading: ConfigurationManager returned false! #
    #1.5 #005056B83E3D00000000001400005CCC0004AA6F7B4BB2CD#1313295693490#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######Thread[Thread-1,5,main]##0#0#Error#1#/System/Server#Plain###Kernel not loaded. System halted.#
    #1.5 #005056B83E3D00000000002100005BBC0004AA6F7DB600BF#1313295734008#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######Thread[Thread-1,5,main]##0#0#Fatal#1#/System/Server/Critical#Plain###Critical shutdown was invoked. Reason is: Error getting confirmation reply during attach to cluster.#
    Thr 24504] Sun Aug 14 04:21:43 2011
    [Thr 24504] JHVM_RegisterNatives: com.sap.bc.krn.perf.PerfTimes
    [Thr 24504] JHVM_RegisterNatives: com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 24504] JLaunchISetClusterId: set cluster id 103414950
    [Thr 23852] Sun Aug 14 04:22:14 2011
    [Thr 23852] JLaunchIExitJava: exit hook is called (rc = -334)
    [Thr 23852] **********************************************************************
    [Thr 23852] *** ERROR => The Java VM terminated with a non-zero exit code.
    [Thr 23852] *** Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    [Thr 23852] *** for additional information and trouble shooting.
    [Thr 23852] **********************************************************************
    [Thr 23852] JLaunchCloseProgram: good bye (exitcode = -334)
    Please suggest me
    Vijayashree.R

    Hi,
    Are Java directories move to node 1 (i.e. Java directories are part of clustered disk or not) ?
    Thanks
    Sunny

  • DataGrid not reflecting changes after INSERT into Table. Delete from Table does.

    Wow, it's been a while.
    Hope you guys can help.
    This is my DataGrid:
    <DataGrid DataContext="{StaticResource TableAssetsViewSource}" ItemsSource="{Binding}" x:Name="TableAssetsDataGrid" AutoGenerateColumns="False" EnableRowVirtualization="True" Margin="15,10,10,10" RowDetailsVisibilityMode="VisibleWhenSelected" Grid.Column="1" HeadersVisibility="Column" CanUserResizeRows="False" IsReadOnly="True">
    <DataGrid.CellStyle>
    <Style TargetType="DataGridCell">
    <Setter Property="BorderThickness" Value="0"/>
    </Style>
    </DataGrid.CellStyle>
    <DataGrid.Columns>
    <DataGridTextColumn x:Name="NodeColumn" Binding="{Binding node}" Header="VS Number" Width="*"/>
    <DataGridTextColumn x:Name="SerialColumn" Binding="{Binding serial}" Header="Serial Number" Width="*"/>
    <DataGridTextColumn x:Name="NameColumn" Binding="{Binding name}" Header="Asset Name" Width="*"/>
    <DataGridTextColumn x:Name="TypeColumn" Binding="{Binding type}" Header="Asset Type" Width="*"/>
    <DataGridTextColumn x:Name="_dateColumn" Binding="{Binding date}" Header="Date Allocated" Width="*"/>
    <DataGridTextColumn x:Name="PoColumn" Binding="{Binding po}" Header="Purchase Order" Width="*"/>
    </DataGrid.Columns>
    </DataGrid>
    This is where I add a new Row to the Table:
    Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs)
    Dim cbblocation As ComboBox = Me.FindName("LocationComboBox")
    Dim row As DataRowView = DirectCast(cbblocation.SelectedItem, DataRowView)
    Dim cbbtext As String = row.Item("node")
    Dim cbbtype As ComboBox = Me.FindName("comboBoxType")
    Dim cbbtext2 As String = cbbtype.Text
    Dim RETAILISOAMDDataSet As Retail_ISO_AMD.RETAILISOAMDDataSet = CType(Me.FindResource("RETAILISOAMDDataSet"), Retail_ISO_AMD.RETAILISOAMDDataSet)
    Dim RETAILISOAMDDataSetTableAssetsTableAdapter As Retail_ISO_AMD.RETAILISOAMDDataSetTableAdapters.tableAssetsTableAdapter = New Retail_ISO_AMD.RETAILISOAMDDataSetTableAdapters.tableAssetsTableAdapter()
    RETAILISOAMDDataSetTableAssetsTableAdapter.AddNewAsset(cbbtext, txbSerial.Text, txbName.Text, cbbtext2, Date.Today, txbPO.Text)
    node = cbbtext
    Dim mp As New MainPage
    mp.RefreshGrid(node)
    Me.Close()
    End Sub
    The RefreshGrid method:
    Public Sub RefreshGrid(node As String)
    Dim RETAILISOAMDDataSet As Retail_ISO_AMD.RETAILISOAMDDataSet = CType(Me.FindResource("RETAILISOAMDDataSet"), Retail_ISO_AMD.RETAILISOAMDDataSet)
    Dim RETAILISOAMDDataSetTableAssetsTableAdapter As Retail_ISO_AMD.RETAILISOAMDDataSetTableAdapters.tableAssetsTableAdapter = New Retail_ISO_AMD.RETAILISOAMDDataSetTableAdapters.tableAssetsTableAdapter()
    RETAILISOAMDDataSetTableAssetsTableAdapter.FillByNode(RETAILISOAMDDataSet.tableAssets, node)
    Dim TableAssetsViewSource As System.Windows.Data.CollectionViewSource = CType(Me.FindResource("TableAssetsViewSource"), System.Windows.Data.CollectionViewSource)
    Dim be As BindingExpression = BindingOperations.GetBindingExpression(TableAssetsViewSource, CollectionViewSource.SourceProperty)
    be.UpdateTarget()
    End Sub
    And this is what I use to delete a row from the table (and without doing anything special, the DataGrid auto-updates with the changes):
    Private Sub Button_Click_4(sender As Object, e As RoutedEventArgs)
    If TableAssetsDataGrid.SelectedIndex = -1 Then
    MsgBox("You have selected nothing to Delete!", MsgBoxStyle.OkOnly, "Nothing Selected")
    Else
    Dim dgv As DataGridTextColumn = Me.FindName("NodeColumn")
    Dim row As DataRowView = DirectCast(Me.TableAssetsDataGrid.SelectedItem, DataRowView)
    Dim dgvText As String = row.Item("node")
    Dim dgv2 As DataGridTextColumn = Me.FindName("SerialColumn")
    Dim row2 As DataRowView = DirectCast(Me.TableAssetsDataGrid.SelectedItem, DataRowView)
    Dim dgvText2 As String = row.Item("serial")
    Dim dgv3 As DataGridTextColumn = Me.FindName("NameColumn")
    Dim row3 As DataRowView = DirectCast(Me.TableAssetsDataGrid.SelectedItem, DataRowView)
    Dim dgvText3 As String = row.Item("name")
    Dim dgv4 As DataGridTextColumn = Me.FindName("TypeColumn")
    Dim row4 As DataRowView = DirectCast(Me.TableAssetsDataGrid.SelectedItem, DataRowView)
    Dim dgvText4 As String = row.Item("type")
    Dim dgv5 As DataGridTextColumn = Me.FindName("_dateColumn")
    Dim row5 As DataRowView = DirectCast(Me.TableAssetsDataGrid.SelectedItem, DataRowView)
    Dim dgvText5 As String = row.Item("date")
    Dim dgv6 As DataGridTextColumn = Me.FindName("POColumn")
    Dim row6 As DataRowView = DirectCast(Me.TableAssetsDataGrid.SelectedItem, DataRowView)
    Dim dgvText6 As String = row.Item("po")
    Dim RETAILISOAMDDataSet As Retail_ISO_AMD.RETAILISOAMDDataSet = CType(Me.FindResource("RETAILISOAMDDataSet"), Retail_ISO_AMD.RETAILISOAMDDataSet)
    Dim RETAILISOAMDDataSetTableAssetsTableAdapter As Retail_ISO_AMD.RETAILISOAMDDataSetTableAdapters.tableAssetsTableAdapter = New Retail_ISO_AMD.RETAILISOAMDDataSetTableAdapters.tableAssetsTableAdapter()
    RETAILISOAMDDataSetTableAssetsTableAdapter.RemoveAsset(dgvText, dgvText2, dgvText3, dgvText4, dgvText5, dgvText6)
    Dim cbb As ComboBox = Me.FindName("cbbLocation")
    Dim row7 As DataRowView = DirectCast(cbb.SelectedItem, DataRowView)
    Dim cbbtext As String = row.Item("node")
    RefreshGrid(cbbtext)
    End If
    End Sub
    --------- End of Edit
    It is bound to a Dataset which gets it's data from a SQL Database.
    Loading the Data and Filtering the data based on certain conditions work 100%. The problem I am having is as follows:
    I have a form on the Page that takes input and inserts a row into the Database. When this happens, the DataGrid won't automatically reflect the changes (even if I recall the Fill Method of the Dataset). No matter what I do, I have to refresh the entire page
    and THEN Fill the Dataset to see any changes.
    This is what strikes me as odd...
    When I do a delete row operation on the Database (Custom Method on the Dataset with conditions), and just Fill the Dataset again (without doing anything special), the row deletes and the changes is reflected IMMEDIATELY.
    What am I doing wrong here? Why would Delete Row reflect the changes on the DataGrid but no Insert Row?
    Thanks in Advance.
    (P.S. I am very rusty with my developing skills, I haven't done this in YEARS)

    >>And what about the the most important question, how exactly is TableAssetsViewSource defined in the XAML markup and what is
    its Source property set or bound to? And what about the reproducable sample...?
    Here is the Markup of the TableAssetsViewSource:
    <Page.Resources>
    <local:RETAILISOAMDDataSet x:Key="RETAILISOAMDDataSet"/>
    <CollectionViewSource x:Key="TableRegionsViewSource" Source="{Binding tableRegions, Source={StaticResource RETAILISOAMDDataSet}}"/>
    <CollectionViewSource x:Key="TableLocationsViewSource" Source="{Binding tableLocations, Source={StaticResource RETAILISOAMDDataSet}}"/>
    <CollectionViewSource x:Key="TableAssetsViewSource" Source="{Binding tableAssets, Source={StaticResource RETAILISOAMDDataSet}}"/>
    </Page.Resources>
    The ItemsSource of the DataGrid is bound to the TableAssetsViewSource:
    <DataGrid DataContext="{StaticResource TableAssetsViewSource}" ItemsSource="{Binding}" x:Name="TableAssetsDataGrid" AutoGenerateColumns="False" EnableRowVirtualization="True" Margin="15,10,10,10" RowDetailsVisibilityMode="VisibleWhenSelected" Grid.Column="1" HeadersVisibility="Column" CanUserResizeRows="False" IsReadOnly="True">
    Just remember, this code was auto-generated with the drag & drop onto the Page, so I did little in terms of setting the actual bindings.
    All in all, what I have done so far works as intended, except that when I want to add a row to the table it does not reflect, and that it only shows after refreshing/restarting the application.
    I will try and put together a reproducable sample.

  • Database Connectivity takes long time if one of the Node is down .. ??

    Hello All,
    Env: 10.2.0.4 on Solaris 10
    I have 2 nodes.
    When Node1 server is down, it takes long time to connec to the database.
    tnsping would give "OK(2050ms)". Below is the tnsalias.
    RAC_test  =
      (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST=20.268.169.123)(PORT= 1521))
         (ADDRESS = (PROTOCOL = TCP)(HOST=20.268.169.127)(PORT= 1521))
         (LOAD_BALANCE = yes)
              (CONNECT_DATA =
            (SERVICE_NAME = DK.com)
          (FAILOVER_MODE =
            (TYPE = SELECT)
            (METHOD = BASIC)
            (RETRIES = 180)
            (DELAY = 5)
    )I put the trace on sqlnet.ora and found that first it pings to the "20.268.169.123",
    since the Server is down there will not be any reply and this consumes the delay and
    later it would ping "20.268.169.127" and connect to it.
    If i keep "20.268.169.127" above "20.268.169.123" in tnsalias, and keep "LOAD_BALANCE=no",
    it gets connected very fast, as its directly connecting to Node2. In tnsping i get Ok(40ms).
    How do i reduce the connect timing if i use the first step. Why does it take long time for
    Oracle Client to understand that the Node1 Server is down ?
    TIA,
    J J

    I hope the IP's you are using in the TNS are Virtual IP's.
    You must use Virtual IP's / hostnames for the failover to be quick. If Node 1 is not available then then it's (Node 1's) virtual IP would also get assigned to Node 2 hence all client connections are still able to get a response from the Node Virtual IP address without needing to wait for TCP/IP timeouts. This helps clients to get notified immediately that node 1 is unavailable and the connection tries the 2nd ip/host in the connect descriptor.
    Hope this helps.
    - Siba

  • HT1923 Hi, my Ipod classic is not reflecting in Itunes (latest version) but I can see it in Computer as a hard disk. Kindly assist

    Hi,
    My Ipod classic is not reflecting in Itunes which I have recently downloaded but it reflects in my computer as a hard disk.
    Please give me a solution.
    Thanks

    Try Resetting Your iPod while it's connected to the computer.
    Hold down the Menu and Select buttons until you see the Apple logo (or Menu & Play/Pause in older models).
    This will often get it recognized. It may take several attempts.
    Also see these (if you haven't found them already):
    Your Windows PC doesn't recognize iPod
    iPod does not appear in iTunes or on the desktop
    iPod appears in Windows Explorer but does not appear in iTunes

  • 2 node cluster down and can't boot

    HI,
    Due to power problem my 2 node cluster (both the node) got down all of a sudden abruptly. Now i can not boot any node. Is giving following error:
    Rebooting with command: boot
    Boot device: /pci@1c,600000/scsi@2/disk@0,0:a File and args:
    SunOS Release 5.10 Version Generic_127127-11 64-bit
    Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Hardware watchdog enabled
    Jun 25 13:54:55 svc.startd[8]: svc:/system/cluster/cl_boot_check:default: Method "/usr/cluster/lib/svc/method/svc_boot_check start" failed with exit status 1.
    Jun 25 13:54:56 svc.startd[8]: svc:/system/cluster/cl_boot_check:default: Method "/usr/cluster/lib/svc/method/svc_boot_check start" failed with exit status 1.
    Jun 25 13:54:56 svc.startd[8]: svc:/system/cluster/cl_boot_check:default: Method "/usr/cluster/lib/svc/method/svc_boot_check start" failed with exit status 1.
    Jun 25 13:54:56 svc.startd[8]: system/cluster/cl_boot_check:default failed: transitioned to maintenance (see 'svcs -xv' for details)
    Hostname: clnode1
    Requesting System Maintenance Mode
    (See /lib/svc/share/README for more information.)
    Console login service(s) cannot run
    Root password for system maintenance (control-d to bypass):
    Could any one suggest me how to solve this?
    Thanks in advance

    Following is the log file:
    root@clnode1 #
    root@clnode1 #
    root@clnode1 # svcs -l cl_boot_check
    fmri svc:/system/cluster/cl_boot_check:default
    name Sun Cluster boot check
    enabled true
    state maintenance
    next_state none
    state_time Wed Jun 25 15:02:20 2008
    alt_logfile /etc/svc/volatile/system-cluster-cl_boot_check:default.log
    restarter svc:/system/svc/restarter:default
    dependency require_all/none svc:/system/filesystem/usr:default (online)
    root@clnode1 #
    root@clnode1 #
    root@clnode1 #
    root@clnode1 #
    root@clnode1 # cat /etc/svc/volatile/system-cluster-cl_boot_check:default.log
    [ Jun 25 15:02:14 Enabled. ]
    [ Jun 25 15:02:19 Executing start method ("/usr/cluster/lib/svc/method/svc_boot_check start") ]
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/sc_failfast:default: not found
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/rpc-pmf:default: not found
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/sc_ng_zones:default^J^J#^J# The following is the list of services that this script tries to disable^J# when booting a non-global zone in non-cluster mode. While booting in a^J# cluster mode nothing is done to change the state, thereby the following^J# services keeps the same state that it was in before the boot.^J#^JCLUSTER_LOCAL_ZONE_OTHER_SVCS=svc:/system/cluster/sc_restarter:default^J^J^Jif [ ! -f /lib/svc/share/smf_include.sh ]^Jthen^J^I#^J^I# This is an smf service. It should run only on Solaris 10 and above.^J^I#^J^Iexit 0^Jfi^J^J. /lib/svc/share/smf_include.sh^J^J#^J# Get the zone name.^J#^JZONENAME=global^JERROR=0^Jif [  -ne 0 ]; then^J^Iecho Error: not found
    [ Jun 25 15:02:20 Method "start" exited with status 1 ]
    [ Jun 25 15:02:20 Executing start method ("/usr/cluster/lib/svc/method/svc_boot_check start") ]
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/sc_failfast:default: not found
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/rpc-pmf:default: not found
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/sc_ng_zones:default^J^J#^J# The following is the list of services that this script tries to disable^J# when booting a non-global zone in non-cluster mode. While booting in a^J# cluster mode nothing is done to change the state, thereby the following^J# services keeps the same state that it was in before the boot.^J#^JCLUSTER_LOCAL_ZONE_OTHER_SVCS=svc:/system/cluster/sc_restarter:default^J^J^Jif [ ! -f /lib/svc/share/smf_include.sh ]^Jthen^J^I#^J^I# This is an smf service. It should run only on Solaris 10 and above.^J^I#^J^Iexit 0^Jfi^J^J. /lib/svc/share/smf_include.sh^J^J#^J# Get the zone name.^J#^JZONENAME=global^JERROR=0^Jif [  -ne 0 ]; then^J^Iecho Error: not found
    [ Jun 25 15:02:20 Method "start" exited with status 1 ]
    [ Jun 25 15:02:20 Executing start method ("/usr/cluster/lib/svc/method/svc_boot_check start") ]
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/sc_failfast:default: not found
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/rpc-pmf:default: not found
    /usr/cluster/lib/svc/method/svc_boot_check: svc:/system/cluster/sc_ng_zones:default^J^J#^J# The following is the list of services that this script tries to disable^J# when booting a non-global zone in non-cluster mode. While booting in a^J# cluster mode nothing is done to change the state, thereby the following^J# services keeps the same state that it was in before the boot.^J#^JCLUSTER_LOCAL_ZONE_OTHER_SVCS=svc:/system/cluster/sc_restarter:default^J^J^Jif [ ! -f /lib/svc/share/smf_include.sh ]^Jthen^J^I#^J^I# This is an smf service. It should run only on Solaris 10 and above.^J^I#^J^Iexit 0^Jfi^J^J. /lib/svc/share/smf_include.sh^J^J#^J# Get the zone name.^J#^JZONENAME=global^JERROR=0^Jif [  -ne 0 ]; then^J^Iecho Error: not found
    [ Jun 25 15:02:20 Method "start" exited with status 1 ]
    root@clnode1 #
    root@clnode1 #
    root@clnode1 #
    root@clnode1 #
    root@clnode1 #
    root@clnode1 #

  • BPM 11g Role Assignment not Reflected on BPM Workspace

    Hi,
    I'm having trouble with role maping in JDeveloper for my BPM 11g project, where the server groups mapped against a particular applcation role is not reflected in BPM workspace.
    I'm mapping application roles with server groups in the Organization section of my BPM project in JDeveloper, but when I open the Administration section of the BPM workspace, I see that the appropriate section is blank where there should be the server group assigned.
    I have confirmed that the server groups are in place, and have users associated with them. I even tried ti with the Administrators groups of WebLogic, with the same results.
    However, when I deployed this same project on an Oracle On Demand server, the JDeveloper role maapping was successfully deployed along with my process. Could anyone please provide some insight in this matter?
    I'm working on JDeveloper and SOA 11.1.1.5
    Thanks,
    Debojit

    HI,
    In 11g you have the concept of Global Links. You can refer to http://docs.oracle.com/cd/E23943_01/user.1111/e15175/bpmug_ext_apps.htm#BACCACGI fro example of how this can be acheived
    I think there are also some samples on java.net for Oracle BPM Suite however this appears to be down at the time of posting so I can not validate this.
    Hope this helps
    Regards Dave

  • Paymnet document not reflecting in REGUH and REGUP table

    Hi Expert,
    I have run f110 and payment is made to respective vendor,but the  payment document is only reflecting in PAYR table and not reflecting in REGUH and REGUP,tables
    can anybody explain me  reason for such kind of situattion
    Thanks in advance
    Regards
    Pankaj

    hi,
    Please check the logic implemented for down payment. Basically, the check printing will have two categories 1. Payment against invoice 2. Down Payments.
    In the first case we normally use F-58 transaction, when you process the transaction cheque will automatically get updated and tables PAYR, REGUH and REGUP will be updated.
    In case of down payment we use F-48 and then assign the chequq manually - during this process tables PAYR will be updated but not REGUH and REGUP. Hence we need to go BSEG table.
    Please check the logic implemented for down payment scenario for "Amount 
    regards,
    santhosh kaparthi

Maybe you are looking for

  • HELP URGENT How do I use an activation key to re-activate my 30 day trial ?

    I am asking this question on behalf of my sister-in-law who is on dial up in a rural area and recently purchased an iMac with the 30 day trial of i-work. She purchased an activaion key on line but does not know how to re-activate the existing softwar

  • GENERATING ORACLE REPORT IN ADF

    Hi, i need to generate offer letter for student. an admin will need to generate offer letter of student bases on their intakeId, branchId, degId, and typeofferletter. currently im doing this in adf form. from here how to transfer the information in a

  • How can I access Excel spreedSheet from JSP under Unix

    I have Jrun webserver running on Unix. I want to write a JSP application that will open Excel spreedsheet. Please let me know if anyone has done this kind of thing. Thanks.

  • Table for PO header conditions and values

    Hi All My requirement is that I have to print all the PO header conditions and its values in PO.From which table I can get PO header conditions and its values.I know there is table KONH for header conditions but how do I fetch data from table KONH fo

  • Swing ActionListener help?

    Hi there, I'm trying to get to grips with Swing and I'm reasonably comfortable with laying out the GUI now. However, I'm still trying to get to grips with ActionListeners. As I understand it, you can have any old class as an ActionListener as long as