Code to delete a node from the tab that satisfy the given condition

Hi Experts,
I have a scenario of escalation i.e.,  Deletion of the message details from the table of a tab when that row of details move to second tab based on status condition. I am unable to delete the escalated row details from first tab.
Can any one provide me the code..
Thanks & Regards,
Priya

Hi Priya,
Let me know whether my following assumption is right or worng !!
You have two tables in different tabs and trying to move some rows from table1 in tab1 to table2 in tab2.But you can;t able to delete the rows in table1 of tab1 ..is that correct ??
You can use wdContext.node<NodeName>().removeElement(IWDNodeElement) to delete a row from a table.
Ex :
wdContext.nodeEmployee().removeElement(wdContext.nodeEmployee().getElementAt(0));
will remove the first element from the node.
Regards,Anilkumar

Similar Messages

  • How to retrieve the nodes from the Database on JTree and many more

    I am facing a problem with JTree. I want to retrieve all the nodes from the MS-Access database on the Frame(i.e. Frame will display the JTree), then I also want to perform function like Edit, insert , delete and Drag and Drop opeartion on the JTree and the database should also updated accordingly.
    So, if you have any idea or if you have some code to look for then please send it to me.

    I am facing a problem with JTree. I want to retrieve all the nodes from the MS-Access database on the Frame(i.e. Frame will display the JTree), then I also want to perform function like Edit, insert , delete and Drag and Drop opeartion on the JTree and the database should also updated accordingly
    pls give me code

  • How do I delete a movie from the iTunes-cloud?

    How do I delete a movie from the iTunes-cloud? I don't want to hide it I want to delete it even if it means I can't download it again..

    Oh sure you can delete it from the computer. I thought that you wanted to permanently delete it so that you can never access it again. In fact, in some countries, you can delete movies and then download that again at no charge as long as you use the same Apple ID.
    Launch iTunes on your computer and click on the movies tab under the Library heading, find the movie and right click on it and select Delete.

  • How to delete a node from a node network

    How do I delete a node from a node network?
    <P>
    <OL>
    <LI>Follow the instructions on page 30 of the Calendar Server (CS) 3.x Admin Guide,
    and page 62 of the CS 4.0 Admin Guide "Deleting (excluding) a Node from the
    Network".
    <LI>Shut down the Directory Server.
    <LI>Backup the LDAP directory to an LDIF file.
    <LI>Edit this LDIF file and delete references to the
    6 calendar reserved users for the node to be deleted.
    <LI>Restore the LDAP directory with this changed LDIF file.
    <LI>Run unidbfix -export -n all
    <LI>Edit the resulting remotenodes.ini
    files and delete all
    references to the node to be deleted.
    <LI>Run unidbfix -import -n all
    <LI>Start the Directory Server.
    <LI>Start the Calendar Server.
    <P>
    Note: This next step is for Calendar Server 3.x * ONLY *
    <P>
    <LI>Run unireqdump -delete
    to delete all requests to the node
    to be deleted.
    </OL>

    Divya wrote:
    Hi,
    I'm using forms6i.
    I want to delete unselected nodes from a tree
    How can it be done??
    ThanksIf you mean empty branches as unselected nodes,
    set Allow Empty Branches property to 'No' in the Trees property.

  • Delete duplicate entriess from the internal table its urgent pls help.

    Hi friends,
    Hope everybody is doing good,Here is m query on delete duplicate data from the intenal table.
    I have an internal table which contain data in the following format.
    Doc No Comp Cod Vendor Assignment
    1500000009 JM11 00000000
    1500000008 JM11 20070212(Repeating)
    1500000007 JM11 20070212
    1500000006 JM11 00000000
    1500000005 JM11 00000000
    1500000004 JM11 00000000(Repeating)
    1500000003 JM11 00000000 (Repeating)
    1500000002 JM11 00000000
    1500000001 JM11 20050302
    1500000000 JM11 00000000
    1500000003 JM11 10000088
    1500000001 JM11 10000088
    1500000030 JM11 10006260
    1500000010 JM11 10006269
    1500000008 JM11 10006269
    1500000006 JM11 10006269
    1500000004 JM11 10006269
    if you see the document numbers,there are some document number which are repeating here,there are some document numer which contain vendor number but not the assignments,some of the document numbers contain the assignments but not the vendors.
    If my internal table contain this kind of data with repeted document numbers than i want the document number which contains only the vendor number.
    Pls help me with the appropriate logic,its urgent.
    Thanks a lot
    mrutyun^

    Hi,
    <u><b>Deleting Adjacent Duplicate Entries</b></u>
    To delete adjacent duplicate entries use the following statement:
    DELETE ADJACENT DUPLICATE ENTRIES FROM <itab>
    [COMPARING <f1> <f2> ...
    |ALL FIELDS].
    The system deletes all adjacent duplicate entries from the internal table <itab>. Entries are
    duplicate if they fulfill one of the following compare criteria:
      Without the COMPARING addition, the contents of the key fields of the table must be
    identical in both lines.
      If you use the addition COMPARING <f1> <f2> ... the contents of the specified fields <f1>
    <f2> ... must be identical in both lines. You can also specify a field <fi> dynamically as
    the contents of a field <ni> in the form (<ni>). If <ni> is empty when the statement is
    executed, it is ignored. You can restrict the search to partial fields by
    specifying offset and length.
      If you use the addition COMPARING ALL FIELDS the contents of all fields of both lines
    must be identical.
    You can use this statement to delete all duplicate entries from an internal table if the table is
    sorted by the specified compare criterion.
    If at least one line is deleted, the system sets SY-SUBRC to 0, otherwise to 4.
    Examples
    DATA: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA ITAB LIKE HASHED TABLE OF LINE WITH UNIQUE KEY COL1.
    DO 4 TIMES.
    LINE-COL1 = SY-INDEX.
    LINE-COL2 = SY-INDEX ** 2.
    INSERT LINE INTO TABLE ITAB.
    ENDDO.
    LINE-COL1 = 1.
    DELETE TABLE ITAB: FROM LINE,
    WITH TABLE KEY COL1 = 3.
    LOOP AT ITAB INTO LINE.
    WRITE: / LINE-COL1, LINE-COL2.
    ENDLOOP.
    The output is:
    2    4
    4   16
    The program fills a hashed table with a list of square numbers. The DELETE
    statement delete the lines from the table where the key field COL1 has the contents 1 or 3.
    Regards,
    Bhaskar

  • Ipad mini cannot delete unwanted app from the purchase list

    Ipad mini cannot delete unwanted app from the puchase list . too many app there

    You can't permanently delete any items from your purchase history, but you should be able to hide them via your computer's iTunes : http://support.apple.com/kb/HT4919 - if your iPad is on iOS 7, then after hiding them on your computer you may need to log out of your account on your iPad by tapping on your id in Settings > iTunes & App Store and then log back in for them to be hidden in the Purchased tab in the App Store app on it (the last time I hid an app I needed to do that).

  • How can I create a fIlter to delete only "junk" from the server?

    One of my E-mail accounts is that of a major client. I handle their customer service online. Normally our protocol is to always leave all messages on the server, so for that one Thunderbird account, I have it set to never delete messages on the server.
    But the account recently started getting a lot of junk messages. Thunderbird is doing a remarkable job at marking those and placing them in the junk folder for that account. I would like to create a filter that could remove them from the server, preferably those more than "x" days old so I could monitor the activity to be sure that no important message are removed.
    I did notice that in "Filters" I can create a custom filter from a header of my choice, but can't seem to create what I want which is:
    - after mail is marked as Junk by Thunderbird to delete those messages from the server if they are older than "X" days (my choice of "X").
    - not delete any other messages from the server for that account

    I believe that did it! Thank you. I am running those changes on a secondary E-Mail address for the same job and server and it appears to be working properly.

  • Getting Error while deleting a field from the 'Z' Structure

    Hi All,
    I have created a 'z' structure in which i have 5 fields, now i want to delete one field from the structure, but it is giving me error like Invalid Change.
    Its a structure so i cant activate and adjust as we do for Tables.(se14)
    So pls help me out asap.
    thanks & Regards,
    Dhruv Shah

    Thanks for Quick Reply.
    I have not used this field in any FM/ Report.
    I have tried log off and then log on. but it make no difference.
    Now the Other scenario is that i want to change the datatype of this field to TEXT25.
    But it is also not allowing me to change because currently datatype is TEXT20.
    So now how can i change the length from 20 to 25.
    Regards,
    Dhruv Shah

  • When using a Seagate 1T external hard drive and Time Machine to back up hourly, if I delete photo files from the Mac hard drive before the next back up, are these retained on the Seagate drive or will they be lost (overwritten) in the next backu in the ne

    Does Time Machine erase previously saved files if, say, photos are deleted from the Macbook upon the next update, or will they be stored indefinately despite the current status of the files stored on the computer? Eg. can I bckup photo files to a Seagate 1T disc and then delete them to make more room on the computer in the knowlwdge that they are always going to be on the Seagate disc? Sorry if this is very elementary but I have not used a back up before like this, and am not sure how successive backups are overlaid or retained. Thanks!!

    TM is not designed to do what you ask. As Allan wrote TM is an incremental backup not an archival solution.
    If you delete a file from the HD it will eventually be removed from the TM backup (if it ever makes it on to the backup at all).
    How long before it is removed depends on a number of factors, TM disk drive size being one factor but not the only one.
    Material that is impossible to replace and is important to you (image files usually fitting that description) need to be backed up to as least one other drive and preferably more for long term storage.

  • Can not delete Twitter mentions from the Hub

    Can not delete Twitter mentions from the Hub. When I delete, they reappear in a few minutes.

    I had the same problem,so i just deleted Twitter altogethet. Like was said before it must be bug among many they seem to have,including password compromises

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

  • How do I delete a file from the Adobe Reader for iOS?

    How do I delete a file from the Adobe Reader for iOS?

    Read this:
    http://forums.adobe.com/thread/1012973?tstart=0

  • Delete  flat file from the local drive after downloading in the program

    how to <b>delete flat file from the local drive after downloading in the program</b>
    I am using gui_upload to upload flat file data in internal table. and after that i dont want that flat file in the disk. i want to delete it.

    Once the file has been uploaded into the internal table call the<b> FILE_DELETE </b>method of the class  <b>CL_GUI_FRONTEND_SERVICES</b>.
    DATA: v_rc TYPE i.
    CALL METHOD cl_gui_frontend_services=>file_delete
    EXPORTING
    filename = 'C:\TEMP\MATERIAL.TXT'
    CHANGING
    rc = v_rc
    EXCEPTIONS
    file_delete_failed = 1
    cntl_error = 2
    error_no_gui = 3
    file_not_found = 4
    access_denied = 5
    unknown_error = 6
    OTHERS = 7.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards
    Kathirvel

  • Delete a file from the KM in a Web Dynpro application

    Hello,
    We need to delete a file from the KM in a Web Dynpro application.
    We have a file name (filename.txt) and its path (/documents/Test/), how can we completely delete the file from the KM?
    Thanks,
    Gil

    Hi venkata reddy,
    You wrongly mentioned  system admin instead of content admin
    Go to Content administration not in the system administration
    if u delete the file manually in the portal  you can go with
    go to Content administration  -> KM Content -> go to Particular document -> just tick the check box which doc u want delete -> go to selection -> u will find delete .
    Regards,
    P.Manivannan

Maybe you are looking for

  • Page should be accessed by one user at a time

    Hi friends, I have a new requirement where webpage should be accessed by one user at a time.Suppose if one user is using the page ,the other user should not be having the privilage to access tht page.NOw how to go about..If possibel pls help me with

  • How to avoid system events "ignoring" lines in applescript?

    Hello! I am trying to write a very simple script that will trigger macros on another application, however when the script is executed, it skips a couple of lines which makes the whole process go erratically. This is the code i'm using: tell applicati

  • I lost my XS key on an old version of Logic Gold. What can I do?

    Hello, I have been using an old version of Logic Gold 5 on a G4 tower since 2003. I recently moved and as it goes with any move, things got lost, including my old blue eMagic XS key! I'm wondering what I can do to get my program to open now. I am not

  • Dispatcher and server0 not started.

    Hi, After java upgrade dispatcher and server0 not started. Since Server0 was not running, Note 1163719 does not help. Is there other solution? trc file: "/usr/sap/BWT/DVEBMGS10/work/dev_dispatcher", trc level: 1, release: "700" node name   : ID107195

  • Oracle license question. please help

    Whether testing or staging environment required to buy oracle licensing or not?