Deleted items still apear on EKET Table

Hello All
my question is the following...
why i still see some schedule lines in EKET from deleted items? if i check on EKPO they are delted if i check in me23n they are deleted but they continue to appear on EKET.
how is the deletion process triggered in eket?
thanks in advance

the delivery date of a PO is not stored in EKPO, it is only stored in EKET table.
The quantity in a PO item, is just a total of all quantities in the related schedules.
As long you see a schedule line in the delivery schedule tab in ME23N you will have a record in EKET table, no matter if the PO is marked for deletion or not.
You cannot even the delete the single schedule line, SAP will give you a message to enter a quantity.
if you have many schedule lines per order, then you can delete all but one.
EKET table entries get physically removed when you archive the purchase order, together with EKKO and EKPO records and records from some 100 other tables that belong to the object MM_EKKO

Similar Messages

  • BAPI FOR Deleting a Schedule Line Item from EKES and EKET tables

    Dear All,
    I would like to for deleting one of the line item from EKES (Po Confirmation ) and the respective line item from the EKET(PO Schedule Line Item Table).
    Assume that am allowing the user to select the lineitem from zprogram screen and collecting the PO and Its LIne Item details in an internal table.
    Can i Use
    <b>BAPI_PO_Change</b> , if so , can anybody tell me the steps to follow to use this bapi for deleting the PO lineItems, since i m going to try BAPI for First time.
    pls help me out
    Message was edited by: Raja K.P

    Hi raja ,
    loop at iekko1.
        w_index = sy-tabix.
        item-po_item   = itemx-po_item   = iekko1-ebelp.
        item-quantity  = iekko1-mng01.
        itemx-quantity = iekko1-mng01.
        if iekko1-wamng = iekko1-wemng.
        itemx-no_more_gr = item-no_more_gr = 'X'.
        else.
        itemx-no_more_gr = item-no_more_gr = ''.
        endif.
        append item.
        append itemx.
          clear return[].
          call function 'BAPI_PO_CHANGE'
               exporting
                    purchaseorder = iekko1-ebeln
               tables
                    return        = return
                    poitem        = item
                    poitemx       = itemx.
          if return[] is initial.
          commit work and wait.
          call function 'DEQUEUE_ALL'.
    search for deletion fields which u have to mark 'X'.
    before calling  this BAPi u have to lock the PO by using ENQUEUE.
    <b>
    FU BAPI_PO_CHANGE
    Text
    Change purchase order
    Functionality
    Function module BAPI_PO_CHANGE enables you to change purchase orders. The Change method uses the technology behind the online transaction ME22N.
    Alternatively, the IDoc type PORDCH1 is available. The data from this IDoc populates the interface parameters of the function module BAPI_PO_CHANGE.
    Functionality in Detail
    Authorization
    When you create (activity 02) an Enjoy purchase order, the following authorization objects are checked:
    M_BEST_BSA (document type in PO)
    M_BEST_EKG (purchasing group in PO)
    M_BEST_EKO (purchasing organization in PO)
    M_BEST_WRK (plant in PO)
    Controlling adoption of field values via X bar
    For most tables, you can use your own parameters in the associated X bar (e.g. PoItemX) to determine whether fields are to be set initial, values inserted via the interface, or default values adopted from Customizing or master records, etc. (for example, it is not mandatory to adopt the material group from an underlying requisition - you can change it with the BAPI).
    Transfer
    Purchase order number
    The PurchaseOrder field uniquely identifies a purchase order. This field must be populated in order to carry out the Change method.
    Header data
    The header data of the Enjoy purchase order is transferred in table PoHeader.
    Item data
    The item data of the Enjoy purchase order is stored in the tables PoItem (general item data). Changes regarding quantity and delivery date are to be made in the table PoSchedule.
    Use the table PoAccount to change the account assignment information.
    Services and limits
    Changes to existing items cannot be carried out with the Change method. It is only possible to create new items.
    Conditions
    Conditions are transferred in the table PoCond; header conditions in the table PoCondHeader. A new price determination process can be initiated via the parameter CALCTYPE in the table PoItem.
    Vendor and delivery address
    The vendor address in the table PoAddrVendor and the delivery address in the table PoAddrDelivery can only be replaced by another address number that already exists in the system (table ADRC). Changes to address details can only be made using the method BAPI_ADDRESSORG_CHANGE.
    Partner roles
    You can change all partners except the partner role "vendor" via the table PoPartner.
    Export/import data
    Export/import data can be specified per item in the table PoExpImpItem. Foreign trade data can only be transferred as default data for new items. Changes to the export/import data of existing items are not possible.
    Texts
    Header and item texts can be transferred in the tables PoTextHeader and PoTextItem. Texts for services are imported in the table PoServicesText. Texts can only be replaced completely.
    Version Management
    You can make use of the Version Management facility via the table AllVersions.
    Return
    If the PO was changed successfully, the header and item tables are populated with the information from the PO.
    Return messages
    Messages are returned in the parameter Return. This also contains information as to whether interface data has been wrongly or probably wrongly (heuristical interface check) populated. If a PO has been successfully created, the PO number is also placed in the return table with the appropriate message.
    Restrictions
    With this function module, it is not possible to:
    Create subcontracting components (you can only use existing ones)
    Create configurations (you can only use existing ones)
    Change message records (table NAST) and additional message data (this data can only be determined via the message determination facility (Customizing))
    Attach documents to the purchase order
    Change foreign trade data
    Change service data
    Change or reexplode BOMs
    A firewall prevents the manipulation of data that is not changeable in Purchasing according to the business logic of the purchase order (e.g. PO number, vendor, etc.).
    PO items with an invoicing plan cannot be created or changed using the BAPIs
    In this connection, please refer to current information in Note 197958.
    To change addresses with numbers from Business Address Services (cantral address management), please use the function module BAPI_ADDRESSORG_CHANGE.
    To change variant configurations, please use the function module BAPI_UI_CHANGE. More information is available in the BAPI Explorer under the Logistics General node.
    In the case of changes that are to be made via the BAPI_PO_CHANGE, a firewall first checks whether the relevant fields are changeable. This approach follows that of the online transaction. Here it is not possible to change the vendor or the document type, for example.
    Example
    Example of changes made to a purchase order with:
    1. Change in header data
    2. Change in item
    3. Change in delivery schedule
    4. Change in account assignment
    5. Change in conditions
    6. Change in partners
    Parameter: PURCHASEORDER 4500049596
    Parameter: POHEADER
    PMNTTRMS = 0002
    PUR_GROUP = 002
    Parameter: POHEADERX
    PMNTTRMS = X
    PUR_GROUP = X
    Parameter: POITEM
    PO_ITEM = 00001
    CONF_CTRL = 0001
    Parameter: POITEMX
    PO_ITEM = 00001
    PO_ITEMX = X
    CONF_CTRL =  X
    Parameter: POSCHEDULE
    PO_ITEM = 00001
    SCHED_LINE = 0001
    QUANTITY = 10.000
    PO_ITEM = 00001
    SCHED_LINE = 0003
    DELETE_IND =  X
    Parameter: POSCHEDULEX
    PO_ITEM =  00001
    SCHED_LINE =  0001
    PO_ITEMX =  X
    SCHED_LINEX =  X
    QUANTITY =  X
    PO_ITEM =  00001
    SCHED_LINE =  0003
    PO_ITEMX =  X
    SCHED_LINEX =  X
    DELETE_IND = X
    Parameter: POACCOUNT
    PO_ITEM = 00001
    SERIAL_NO = 01
    GL_ACCOUNT = 0000400020
    Parameter: POACCOUNTX
    PO_ITEM = 00001
    SERIAL_NO = 01
    PO_ITEMX = X
    SERIAL_NOX = X
    GL_ACCOUNT = X
    Parameter: POCOND
    ITM_NUMBER = 000001
    COND_TYPE = RA02
    COND_VALUE = 2.110000000
    CURRENCY = %
    CHANGE_ID = U
    Parameter: POCONDX
    ITM_NUMBER = 000001
    COND_ST_NO = 001
    ITM_NUMBERX = X
    COND_ST_NOX = X
    COND_TYPE = X
    COND_VALUE = X
    CURRENCY = X
    CHANGE_ID = X
    Parameter: POPARTNER
    PARTNERDESC =  GS
    LANGU =  EN
    BUSPARTNO = 0000001000
    Help in the Case of Problems
    1. Note 197958 lists answers to frequently asked questions (FAQs). (Note 499626 contains answers to FAQs relating to External Services Management.)
    2. If you have detected an error in the function of a BAPI, kindly create a reproducible example in the test data directory in the Function Builder (transaction code SE37). Note 375886 tells you how to do this.
    3. If the problem persists, please create a Customer Problem Message for the componente MM-PUR-PO-BAPI, and document the reproducible example where necessary.
    Customer Enhancements
    The following user exits (function modules) are available for the BAPI BAPI_PO_CREATE1:
    EXIT_SAPL2012_001 (at start of BAPI)
    EXIT_SAPL2012_003 (at end of BAPI)
    The following user exits (function modules) are available for the BAPI BAPI BAPI_PO_CHANGE:
    EXIT_SAPL2012_002 (at start of BAPI)
    EXIT_SAPL2012_004 (at end of BAPI)
    These exits belong to the enhancement SAPL2012 (see also transaction codes SMOD and CMOD).
    There is also the option of populating customer-specific fields for header, item, or account assignment data via the parameter EXTENSIONIN.
    Further Information
    1. Note 197958 contains up-to-date information on the purchase order BAPIs.
    2. If you test the BAPIs BAPI_PO_CREATE1 or BAPI_PO_CHANGE in the Function Builder (transaction code SE37), no database updates will be carried out. If you need this function, please take a look at Note 420646.
    3. The BAPI BAPI_PO_GETDETAIL serves to read the details of a purchase order. The BAPI cannot read all details (e.g. conditions). However, you can use the BAPI BAPI_PO_CHANGE for this purpose if only the document number is populated and the initiator has change authorizations for purchase orders.
    4. Frequently used BAPIs for purchase orders are BAPI_PO_CREATE, BAPI_PO_CREATE1, BAPI_PO_CHANGE, BAPI_PO_GETDETAIL, BAPI_PO_GETITEMS, BAPI_PO_GETITEMSREL, and BAPI_PO_GETRELINFO.
    5. For more information on purchase orders, refer to the SAP library (under MM Purchasing -> Purchase Orders) or the Help for the Enjoy Purchase Order, or choose the path Tools -> ABAP Workbench -> Overview -> BAPI Explorer from the SAP menu.
    Parameters
    PURCHASEORDER
    POHEADER
    POHEADERX
    POADDRVENDOR
    TESTRUN
    MEMORY_UNCOMPLETE
    MEMORY_COMPLETE
    POEXPIMPHEADER
    POEXPIMPHEADERX
    VERSIONS
    NO_MESSAGING
    NO_MESSAGE_REQ
    NO_AUTHORITY
    NO_PRICE_FROM_PO
    EXPHEADER
    EXPPOEXPIMPHEADER
    RETURN
    POITEM
    POITEMX
    POADDRDELIVERY
    POSCHEDULE
    POSCHEDULEX
    POACCOUNT
    POACCOUNTPROFITSEGMENT
    POACCOUNTX
    POCONDHEADER
    POCONDHEADERX
    POCOND
    POCONDX
    POLIMITS
    POCONTRACTLIMITS
    POSERVICES
    POSRVACCESSVALUES
    POSERVICESTEXT
    EXTENSIONIN
    EXTENSIONOUT
    POEXPIMPITEM
    POEXPIMPITEMX
    POTEXTHEADER
    POTEXTITEM
    ALLVERSIONS
    POPARTNER
    Exceptions
    Function Group
    2012
    </b>
    regards
    prabhu
    Message was edited by: Prabhu Peram

  • If all my photos and video are stored to iCloud, if I delete some off my iPhone will the deleted items still stay backed up to iCloud forever?

    I Don't have access to a PC and won't be able to buy an Apple laptop (that I dearly want) for another month or so.
    i Desperately need to know if the photos I recently deleted off my iPhone will still stay stored in iCloud backup till I get the laptop and and be able to manage my storage better. Photos are of my kids and I absolutely cannot chance loosing them.
    im worried Icloud will see that I've deleted off my iPhone and also delete from my icloud backup?
    help pls, I have 13 days left in 'recently deleted' items and want to know if they will stay 'somewhere in the cloud' and they are safely stored there.

    set up as new
    see here
    http://support.apple.com/kb/HT4137
    or settings>>general>>reset>>>erase all content & settings

  • Deleted items still using up space?

    iPhone 4, have deleted all videos and nearly all photos off my phone (My Photos and Photo Stream).
    When plugged into my computer, iTunes says there is 4GB of photo space  used up.
    My phone says there are 4 videos still on my phone.  How do I free up the space for the items I have deleted?
    Thx!

    Sure hope you aren't afraid of Unix...
    From the wife's Mac, open Terminal (applications / utilities / Terminal)
    For all of these type in's I say to do, do whats inside the quotes and not the quotes themselves. Or do a copy and paste if you aren't sure on a letter... And press Return after you type them in.
    Type in "cd /"
    Type in "ls -al"
    You should see a .Trashes in here at the top of the list.
    Type in "cd .Trashes"
    Type in "ls" here and see what you get. It will probably be a folder named 501 for the admin account from your Mac.
    If so, do an "rm -R /.Trashes/501/"
    and watch your disk space.
    If it complains to you that you don't have permissions, you will have to type in "sudo rm -R /.Trashes/501/"

  • Comcast deleted emails still apear on my ipad

    how come deleted comcast emails still show up on my ipad? thanks

    Nah,
    Take the fact that Mail on Ipad can't show all my 600 folders.  It actually shows more if I slide down, but it then bounces up ~5 folders as if the list was empty.
    The developers didn't think anyone could have that many folders, and I'm not surprised if they haven't tried with +40.000 mails.
    I made a softlink to my inbox-file.  Now I do have the exact same content in my Inbox folder and my InboxLinkFolder.  On my Ipad the InboxLinkFolder shows the correct content.  But the Inbox folder shows emails that are deleted.  The Inbox sync functionality must have some "too smart algorithm".
    Onother way for me too prove the error could be to delete the account, then recreate the account.  If the Inbox isn't the same for the new account then the Mail app has a bug.  But I don't feel for doing that.
    Other IMAP clients I've used recently: Thunderbird, K-9 (android), Alpine (linux).  All those works with the inbox, but not the Mail-app.

  • Deleted calendar items still appearing on iPhone

    Calendar items deleted on the PC (Outlook 2003 or Entourage 2008 - 12.1.7, - both linked to Exchange Server 2007) remain in the iPhone (OS 2.2.1) calendar. I am using wireless Exchange ActiveSync.
    It was working fine, but has now stopped removing deleted items.
    Calendar items added on the iPhone show up in Outlook/Entourage, so no problem in this area.
    I have tried turning 'off' the Calendar on the iPhone, then turning in 'on', allowing it to re-sync, but this has not solved the problem. My MobileMe accounts are all fine.
    I had Xerox DocuShare client add-on installed on Outlook 2003, but this was installed well before the problem appeared. It have uninstalled it, just to be sure, but the issue was not resolved.
    I am mystified as to why this issue should appear. Any ideas? Thanks in anticipation.

    Thanks for the suggestion Allan.
    I deleted the Exchange account and recreated it. Unfortunately the deleted items still appear.
    I thought it may be linked to the deletion of single occasions of repeating events, but the failure of single events to delete from the iPhone is also apparent. I appreciate the help.

  • When using Time Machine, if I delete items from my computer, will they still be backed up to access later on my external hard drive? In other words, when time machine backs up again, will it delete the files from the back up?

    When using Time Machine, if I delete items from my computer, will they still be backed up to access later on my external hard drive? 
    In other words, when time machine backs up again, will it delete the files from the back up that I have deleted from my computer?

    No, I do not believe so. Time Machine would keep all those now-deleted files in previous backups, and as time goes by those backups might be deleted if you needed room, but it would still keep one backup from each day in last month, as well as one from each week forever, as long as you don't start running out of room, then just the oldest would be deleted to make room if needed.
    I use a backup drive about double the size of my drive to be backed up, so I would guess it will never get to the point where deleted files being replaced by new ones being backed fill up that drive to the point where backups actually have to get deleted.

  • HT1620 I'm getting a message saying update cannot be installed  because it requires 2.9GB of storage,it says I need to delete items in the usage settings. I only have a few apps. and by deleting all of them it still dosen't fix the problem. Any ideas???

    I am trying to install iOS 7.0.2 on my iPhone 4 and I'm getting a message stating it cannot be installed because it requires 2.9GB of storage. It also states I should delete items in my app. usage settings. I have deleted almost all of the apps on this phone and I am still not able to install the update.

    import ur pics to computer and select option to delete from device see
    http://support.apple.com/kb/HT4083
    Peace, Clyde

  • Deleted requisition items still showing in ME57

    Hi, we have a PM order that has two components in the bill of material. They were deleted on the PM order. When we look at the requisition these two components are shown in a deleted status as expected. We have a user that uses ME57 to look at the outstanding requisitions and these two components still appear. This has happened to two different orders in the last several weeks and we have been unsuccessful in getting rid of the requisition in ME57. Any ideas?

    Hi,
    This is the standard vehaviour.
    In the document overview you get all the items of the purchase
    requisitions no matter if they are deleted or not.
    When you convert the deleted item into a PO you will receive message
    06 050 stating that this item is deleted in the purchase requisition.
    This message can be defined as an error message in TA: OLME
    -> Environment Data
      -> Define Attributes of System Messages
        -> System messages
    So it is not possible to order an item which is deleted in the
    referenced purchase requisition.
    Best Regards,
    Arminda Jack

  • BOM table for deleted item

    Hi All,
    In which table shall i get the deleted item from Bill of material. I checked in STPO but in this table after deleting the item it will not appear.
    Regards,
    RBS

    Hi  RBS,
    Please go through the Tables  below Pertaining to BOM
    STPO BOM Item Details
    STPU BOM Sub Items (designators)
    STKO BOM Header Details
    MAST BOM Group to Material
    STZU BOM History Records
    STAS BOM Item Selection
    STPF BOM Explosion Structure
    PLMZ Allocation of bill of material items to operations
    Regards
    Varma

  • Deleted item in PR still appear in PO when convert PR to PO via ME21N

    Hi Expert,
    Is it standard SAP practise where if there is deleted item in PR, then we convert it to PO via ME21N, the deleted item will still appear as available in PO? I know we can just delete it again in PO or just select items that we want to convert to PO but the problem is the person who do PR and PO is 2 different person. Person who convert the PR to PO will not know which one has been deleted in PR.
    Any other way we can set the deleted item in PR not to appear in PO?
    Thanks.

    Hi,
    Yes, it is standard SAP practice if the deleted item in PR shown after converted into PO using ME21N T-code.  The PO line item marked deleted symbol (dust pin) and the respective PO deleted line item PR immediately opened for creating new PO.
    Using ME21N T-code, PO created 2 different person through PO 'Document Overview' open PR converted into PO,
    Once PO converted to the particular PR, that PR is not appear to convert PO for other person. So, other person need not worry which PR deleted and which PR is open to convert for PO. Only display open & released PR for creating new PO.
    This is the standard SAP concept.
    Hope, is useful for you.
    Regards,
    K.Rajendran

  • Deleted items from Ipod Nano to make room for new. Emptied trash. Still getting error message when I try to copy items from ITunes to Ipod. What should I do now?

    Deleted items from Ipod Nano to make room for new. Emptied trash. Still getting error message when I try to copy items from ITunes to Ipod. What should I do now?

    If you delete songs (and other items) from the main iTunes library, yes, you need to empty the Trash because iTunes puts the song files into the Trash.  When deleting items from an iPod, the items are not being deleted from the main iTunes library, so nothing should end up in the Trash.
    Hopefully, you are not deleting items from your main iTunes library, just to sync those deletions from the iPod.  If you are, there is a better way.  You can post back if you want more info...

  • Deleted items are extracted into BW

    Hi,
                I am using the Sales Condition Extractor (2LIS_11_VAKON) to extract all the item  records with condition types. Issue is , if there is a change in Material in the Sales Order Item , user is manually deleting the item  and creating another item to change the material .Users had not cancelled the item in the SO. So ROCANCEL indicator is not picking any values and the  extractor is picking those deleted items as welll without any indicator. We inform them to cancel the item instead of deleting in future . But the issue here is for the  history data. I do not know how to delete the records from the extractor which were deleted already in SAP . VBAP table is not showing those items ,but the extractor is still extracting the items .
    Please let me know is there any way to find those deleted items and delete from the extractor.
    Thanks for your time.
    Thanks & Regards,
    Raja

    Hi Mansi,
    I did the customization for this extractor to check with VBAP and it has worked . Thank you for your suggestion.
    Thanks & Regards,
    Raja

  • Deleted Items Appearing on the FBL3n Report for Open Items

    Hi All
    We just went live and I am facing a huge issue;
    I deleted many migration entries from loads of GL Accounts for multiple Co Codes, but on the FBL3n report, whenI execute with the option of 'Open Items' only, I  still see the deleted items with a green check sitting there.
    How can i get those from being visible?
    Thanks for the support
    RS

    Hi:
                This is standard behavior. Your GL accounts are managed on line item basis hence despite of the fact you reversed the entries they will continue to be shown in open item selection criteria which in fact are not open items. It makes no sense to see a GL account in FBL3N on open item date since this account has been configured on the basis on line item management and i will continue to be shown as line item with green sign . Execute report FBL3N with open item or with all item (with date you give in open item) you will see the same figures and same line items. However you can exclude the reversed entries by fetching reversed with (BKPF-STBLG) field from menu ..settings...special fields and hence excluding the entries having this filed update.
    I hope this will solve your issue.
    Regards

  • Unable to delete items from recycle bin

    Unable to delete items from my trash, it starts to delete then stops along the way, when i open the trash, its still sat there.

    Relaunch the Finder, then from the Finder menu bar, select
    Finder ▹ Preferences ▹ Advanced
    and uncheck the box marked Empty Trash securely. Hold down the option key and try again to empty the Trash.

Maybe you are looking for