How to delete an item in adept database

I would like to know how to delete an item in my adept Inventory or/and in my Distributor with a script putting the ID as a variable.
What woud you advise ?
Thanks

Hai Madhu,
It is pretty simple.
First u define a button. and in onAction  Event of the button write the following code.
process is as follows:
1)get the node
2)get the element
3)using the method remove_element() ,remove the element.
<u><b>The Sample Code is as follows</b></u>
DATA:
      node_flighttab                      TYPE REF TO if_wd_context_node,
      elem_flighttab                      TYPE REF TO if_wd_context_element.
    node_flighttab = wd_context->get_child_node( 'FLIGHTTAB' ).
  get element via lead selection
    elem_flighttab = node_flighttab->get_element(  ).
    node_flighttab->remove_element( element = elem_flighttab ).
Follow the above code ,it will definately help you.

Similar Messages

  • How to delete the items in the recycle bin permanently from the windows using Diruse command

    How to delete the items in the recycle bin permanently from the windows  using Diruse command.
    Because most of the time we get out of disk space issues.
    Can somebody help me in giving with an example

    You can right-click Recycle Bin|Properties and choose radio button for
    Don't move files ....
     This one may also help.
    http://technet.microsoft.com/en-us/library/cc784980(v=ws.10).aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to delete all items in the HUB ?

    How to delete all items on shot in the HUB ?

    Hi all,pay attention to the words I've marked in bold in the first answer from the technical support member:  "From the BlackBerry Hub, hold your finger on the date at the top of the list. A side menu will appear. Click on the Garbage Can to delete all messages prior to that date" At first, I also didn't understand how to make it works, but you have to slide until the date is at the top of displayed messages, then you can tap and hold to select all messages preceding that date. 

  • How to delete an item in the table

    hi all ,
    Is anyone there to give me an idea , how to delete the item in the table , by selecting the row. , for the what i have to do , is there any documentation to follow , guide me itys really urgent.

    Hai Madhu,
    It is pretty simple.
    First u define a button. and in onAction  Event of the button write the following code.
    process is as follows:
    1)get the node
    2)get the element
    3)using the method remove_element() ,remove the element.
    <u><b>The Sample Code is as follows</b></u>
    DATA:
          node_flighttab                      TYPE REF TO if_wd_context_node,
          elem_flighttab                      TYPE REF TO if_wd_context_element.
        node_flighttab = wd_context->get_child_node( 'FLIGHTTAB' ).
      get element via lead selection
        elem_flighttab = node_flighttab->get_element(  ).
        node_flighttab->remove_element( element = elem_flighttab ).
    Follow the above code ,it will definately help you.

  • HT1349 how to delete multiple items in itunes

    how to delete multiple items in itunes

    I inported my music files and see that I have multiple copies on my files so now I have multiple copies in iTunes.
    Some are multiples, some are duplicates, some are from different dates and some do not work and have the symbol for this.
    Thus, I must be picky about which ones I delete.
    Looks like I will have to continue deleting manually.

  • How to delete archivelog file at standby database

    Hi All,
    I'm running Physical Standby Database on ASM. At standby database, I can see all logs using asmcmd:
    ASMCMD> ls
    thread_1_seq_14.330.625772527
    thread_1_seq_15.346.625772527
    thread_1_seq_16.329.625772527
    thread_1_seq_17.327.625772559
    thread_1_seq_18.324.625772599
    thread_1_seq_19.341.625772367
    thread_1_seq_2.325.625772329
    But when I run RMAN to delete all these archivelogs, its give me error:
    oradr:/u01/app/oracle$rman rcvcat rman/rman@rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Thu Jun 28 13:50:41 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: AIXDB (DBID=2438430915, not open)
    connected to recovery catalog database
    RMAN> delete archivelog all;
    Starting implicit crosscheck backup at 28-JUN-07:01:50:56
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 06/28/2007 13:50:56
    RMAN-12010: automatic channel allocation initialization failed
    RMAN-06004: ORACLE error from recovery catalog database: RMAN-20001: target database not found in recovery catalog
    RMAN> register database;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of register command at 06/28/2007 13:51:06
    RMAN-08040: full resync skipped, control file is not current or backup
    Even it is not registering it. So how to delete archivelog file at standby database.
    Thanks in Advance
    Rakesh

    This appears related to Bug 3298797 that was supposed to be fixed in 10.2.0.1. The workaround is to switch over to the standby, register the standby and then switch back.

  • How to delete an item from purchade

    How to delete an item from purchade

    From your computer open itunes and click the itunes store icon.  Go to the the App Store tab.  Click on the "Purchased" link, on the right side under App Store Quick Links.  Locate the unwanted app and hover your mouse over the icon and an "X" will appear in the upper left hand corner.  Click the "X" to hide the app from all "purchased" lists.

  • HT3737 how to delete news items?

    how to delete news items?

    Reading List items?
    "To remove webpages from the Reading List, use one of these methods:
    Click the "x" icon that appears on the right of the webpage preview in the Reading List column when the cursor hovers over it.
    Control-click on the webpage preview in the Reading list and select "Remove item"."
    Quoting from below linked article from Apple.
    Reading List
    http://support.apple.com/kb/HT5364

  • How to delete work items

    Hi,
    I'm using XI 3.0 and am trying to delete some Work Items that are sitting in Error status.
    I've tried following OSS note 807906 but cannot see the menu items mentioned (specifically the Edit=>Change option) - can someone explain more clearly how to delete them?
    Thx
    Here is summary of OSS Note:
    "First make sure that the process is actually 'irretrieveably lost', that is, that it has not simply encountered a temporary error (for example, the failure of synchronous sending and so on).
    If you are certain that the process is no longer required, call the log of the affected process (using the process selection (SWF_XI_SWI1)) or the SXMB_MONI, ... and display the work item of the process (Workflows).
    Go to the technical work-item display (if this is not displayed by default) and then select Edit => Change there.
    Under 'Services for Administration', select the 'Logical Deletion' function.
    This function is used to set the process to the 'Logically Deleted' status and to delete all outstanding correlations. The process has then reached its final status and can also be archived"

    brian
    are u luking into deleting error messages. If yes then,
    SXMB_ADM --> Schedule/Delete Jobs
    Delete Messages SXMB_MONI

  • How to delete all items in download folder under bookmark in the shortest time?

    I understand that all downloads from internet and yahoo/google mail are stored in the "Download" folder which I see under bookmark when I want to delete. I think that if the download folder is never emptied, then my mac will slow down. Therefore I want to delete these downloads which I have already seen. How do I delete ALL items in the shortest time? Deleting items, even in groups, takes a long time. Is there a method that I can use so that all items in the folder are deleted in one stroke?
    Thanks.
    Unguja

    Try (first button on toolbar) Organize > Select All (Command + A) to select all items in the right pane in the Library.

  • How to delete the complete contents of database table ? should be empty !!

    Hi Guys,
    I have requirement where i have delete the contents of database table..i have make it empty (no records at all) and then i have to fill it with the records from the excel sheet.
    I can upload data from the excel sheet.
    Please tell me how to delete the complete contents of the database table ??
    Regards
    Rahul

    hi ,
    just write like this,
    delete from <database table>.
    commit work.
    sample code, here edpar is database table.
    delete from edpar." FROM TABLE g_tab_delete.
      call function 'DB_COMMIT'.
      loop at g_tab_edpar into g_wa_edpar.
        insert into edpar values g_wa_edpar.
        if sy-subrc  eq 0.
          move-corresponding g_wa_edpar to g_wa_edpar1.
          append g_wa_edpar1 to g_tab_edpar1.
        else.
          move-corresponding g_wa_edpar to g_wa_edpar2.
          append g_wa_edpar2 to g_tab_edpar2.
        endif.
      endloop.
    that's all it works.
    reward points if helpful.
    regards,
    seshu.

  • How to delete line item from sales order ?

    Dear All ,
                               user is having 20 line items from which 3 line items of which prod order confirmation cancellation is done also goods reversal done now as user tries to delete the line items an info box pops up --> Due to cost management the line item can not be deleted . Can u tell me that if these line item is not deleted than how to delete this ?  sos what user had done that he had selected reason for rejection for these 3 line items so now the total wt is reduced but user is not able to delete the lineitems .
    pl help
    sap11

    Hi
    For those line items you can assign a REASON FOR REJECTION. Automatically the status of those line items will be closed.
    Thanks,
    Ravi
    PS : sorry....please ignore my post.
    Edited by: sankar ravi on May 20, 2008 3:45 PM

  • How to delete line item in a Work Order (only a line created in operation)

    Hi,
    I have created a refurbishment order to refurbish a mechanical seal at external parties. In the work order operation tab, I have created one line items for this purpose and a Purchase Requisition is generated. Suddenly, operation decided to cancel this request and I have problem to delete the Work Order and  Purchase Requisition. I have tried to delete the operation line item but failed. This is the message when try to delete the line item " The last active operation cannot be deleted".  Appreciate help on how to delete this Work Order and Purchase Requisition.
    Edited by: Zahari Yusof on Apr 4, 2008 3:20 AM

    hi
    In Standard SAP while creating an order the short text you are specifying will automatically appear in the first operation,also in order system will ask you to enter atleast single operation ,hence it is not possible to delete the operation line ,
    what you can do this either TECO the order which will clear any open PR for this
    or create another operation with control key for internal activities say dummy with operation no 20 and save,then go in to order in change mode and try to delete the operation line 10 ,i think system will allow you to do that
    regards
    thyagarajan

  • How to delete Transaction Logs in SQL database

    Hi,
    Can any one explain me the process how to delete the transcation logs in SQL database.
    Thanks
    Sunil

    Sunil,
    Yes you can take online backup in MS SQL server.
    The transaction log files contain information about all changes made to the database. The log files are necessary components of the database and may never be deleted. Why you want to delete it?
    I am taking any backup, do i need to turn off the SAP server that is running at the moment or can i take it online
    There are three main types of SQL Server Backup: Full Database Backup, Differential Database Backup and Transaction Log Backup. All these backups can be made when the database is online and do not require you to stop the SAP system.
    Check below link for details
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/89/68807c8c984855a08b60f14b742ced/frameset.htm
    Thanks
    Sushil

  • How to delete line item from delivery?

    Hi Experts,
    Two Invoices are associated with one delivery  delivery ,Now  due to a system error, first invoice didnu2019t generate any accounting document, so we cancel it. On the other hand  second invoice  was ok so we leave it, now we need to cancel the two lines of delivery.
    There are four items in the delivery and two different  billing document has been created for 2-2 line item,now as for last two items billing document is already been cancelled so how to remove this two item from delivery.
    Thanks,
    Dharmesh

    Dear Dham
    Please cancel the both the invoices then only you can delete delivery from delivery you cannot delete line item bcause delivery is the smae for both line items then process accordingly do delivery for line item wise (OR) try to see revenue account determination config in the masters how every try to post with existing
    Revenue account Determination
    Application
    Company Code
    Chart of accounts
    Sales org
    Acc assi Grp customer master
    Acc assi Grp material master
    GL Account for account receivables
    OR you need to find out FI posting period if it is closed trying to for previous monnth then account document will not get genertaed
    ask fi to open posting period try to close
    Regards
    M L Naidu

Maybe you are looking for

  • Problems installing Master Collection CS4

    I have CS4 master collection, i put in the first disk and start the installation (everything) and i keep getting a popup that says "installation error" and it asks if i want to continue installing the remaining components. I clicked continue the firs

  • Sorting playlist issue

    Hard to explain but I'll give it a go: I import all my old CDs into intunes and I number them 1-540 etc. I put the CD in the comments field. I sort the comments field everything is great. Then I make a master playlist with all songs in it. I then cli

  • TS1963 Issues after file migration from PC

    Hi, I'm new to Mac and I've just done a file migration of my photo's from my old PC (using migration assistant after I've been using the mac i.e. not at initial start-up) and I now can't find the files. Looking at previous similar issues on forums pe

  • Internet Explorer 9, 10, or 11

    Internet Explorer 9, 10 or 11 is not showing up in my updates to deploy.  I have Updates and Update Rollups selected under Classifications in Software Update Point Component and I'm getting Internet Explorer updates, but not the application IE.  I ha

  • Active Directory logins - mobile accounts

    Managing 10.4.x workstations and trying to get AD logins to work using OS X AD plugin set to "create mobile home" and "Force local home directory". AD user accounts get stuck at the login window. The user name and password field are greyed out and th