Deleted operations appearing in IW40

Hi there,
IW40 report shows operations that have been deleted whereas in other reports like IW49 / IW37 we can remove deleted operations from the list through status exclusive field.
Is there any way that IW40 report doesnʼt display deleted operations? This is affecting user reports. I canʼt think of any solution as of now.
Any suggestions?
Regards,
Salman

Hi,
As there is no filter function then it not possible to remove the operations with deleted status. It would not be possible to use output filter anyway as all the status values are grouped together for display so not possible to access the individual status values.
Possible solution would be to copy the existing code and make your own version.
Following code area in SAPDBAFI could be adjusted.
      LOOP AT viafvc_tab.
        h_objnr_tab-objnr = viafvc_tab-objnr.
        APPEND h_objnr_tab.
      ENDLOOP.
If viafvc_tab-bedzl is zero then remove that entry from viafvc_tab
This internal counter will always be zero in case of a deleted operation.
-Paul

Similar Messages

  • Deleted operation item still appear in IW49N

    Hi Gurus,
    I create a maintenance order, with operation as below:
    0010 Replace Fuel Filter
    0020 Replace Dust Filter
    But then the first operation item I delete, and I create a new line item, and it become
    0020 Replace Dust Filter
    0030 Replace Oil Filter
    It done and document can be saved.
    But while I open the maintenance report using t-code: IW49N, the whole operation item appear
    0010 Replace Fuel Filter
    0020 Replace Dust Filter
    0030 Replace Oil Filter
    Why it can happen ? I think, report must only show:
    0020 Replace Dust Filter
    0030 Replace Oil Filter
    Can anyone give me suggestion ?
    Thx in advance.

    hi trick ,
    Yes you would be getting all the operations .. but if you dont want deleted one then use the option of status inclusive and status exclusive option like for removing deleted operations from display in status inclusive you can put REL , in exclusive DLT and select outstanding tick mark and check up ..you can also use selection profile for better selection purpose..
    regrds
    pushpa

  • FileInfo.Delete method appears to run in background

    My app is set up to delete output file before regenerating them.  It appears that the delete operation is running on a basckground thread.  I am not certain what is happening but here is what I do know.
    If the process to create the data to be written out runs quicker than normal, the file creation timestamp remains unchanged.
    If I add a 1 second delay after deleting the file, the file creation timstamp is always the current time.
    My users rely on the file creation timestamp to locate the latest changes.
    Any ideas on how to change this behavior without adding a call to sleep()?
    Mac

    I think it's not about background thread. Instead you're bitten unexpectedly by
    file system tunneling.
    Try to get the system administrator
    disable it for you and see if the symptom disappears. (Mind you, a few common programming techniques rely on this behavior so disabling it could break things. Always set up a test server to simulate normal operations for some time before deploy the change
    to production. If you confirmed this is indeed the source of issue but cannot verify the possible impact, you're advised to seek for other techniques like saving the timestamp on database/NOSQL.)

  • Sync from iPhone to iCal on MacBook has failed since the latest iPhone upgrade, yesterday.  It's worked in reverse, and all other sync operations appear to have worked.  Any solutions, that I may not have already tried (over and over)

    Sync from iPhone to iCal on MacBook has failed since the latest iPhone upgrade, yesterday.  It's worked in reverse, and all other sync operations appear to have worked.  Any solutions, that I may not have already tried (over and over)
    (Sorry, first time user of these forums, and it's confusing in it's own right)

    You may have to try deleting all the music from your phone (by going to Settings>General>Usage>Music, swipping All Music and tapping Delete), then sync it all back on with iTunes in order to fix this.

  • Delete operation is not working to delete selected row from ADF table

    Hi All,
    We are working on jdev 11.1.1.5.3. We have one ADF table as shown below. My requirement is to delete a selected row from table, but it is deleting the first row only.
    <af:table value="#{bindings.EventCalendarVO.collectionModel}" var="row"
    rows="#{bindings.EventCalendarVO.rangeSize}"
    emptyText="#{bindings.EventCalendarVO.viewable ? applcoreBundle.TABLE_EMPTY_TEXT_NO_ROWS_YET : applcoreBundle.TABLE_EMPTY_TEXT_ACCESS_DENIED}"
    fetchSize="#{bindings.EventCalendarVO.rangeSize}"
    rowBandingInterval="0"
    selectedRowKeys="#{bindings.EventCalendarVO.collectionModel.selectedRow}"
    selectionListener="#{bindings.EventCalendarVO.collectionModel.makeCurrent}"
    rowSelection="single" id="t2" partialTriggers="::ctb1 ::ctb3"
    >
    To perform delete operation i have one delete button.
    <af:commandToolbarButton
    text="Delete"
    disabled="#{!bindings.Delete.enabled}"
    id="ctb3" accessKey="d"
    actionListener="#{AddNewEventBean. *deleteCurrentRow* }"/>
    As normal delete operation is not working i am using programatic approach from bean method. This approach works with jdev 11.1.1.5.0 but fails on ver 11.1.1.5.3
    public void deleteCurrentRow (ActionEvent actionEvent) *{*               DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("EventCalendarVOIterator");
    // Get an object representing the table and what may be selected within it
    ViewObject eventCalVO = dcItteratorBindings.getViewObject();
    // Remove selected row
    eventCalVO.removeCurrentRow();
    it is removing first row from table still. Main problem is not giving the selected row as current row. Any one point out where is the mistake?
    We have tried the below code as well in deleteCurrentRow() method
    RowKeySet rowKeySet = (RowKeySet)this.getT1().getSelectedRowKeys();
    CollectionModel cm = (CollectionModel)this.getT1().ggetValue();
    for (Object facesTreeRowKey : rowKeySet) {
    cm.setRowKey(facesTreeRowKey);
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)cm.getRowData();
    rowData.getRow().remove();
    The same behavior still.
    Thanks in advance.
    Rechin
    Edited by: 900997 on Mar 7, 2012 3:56 AM
    Edited by: 900997 on Mar 7, 2012 4:01 AM
    Edited by: 900997 on Mar 7, 2012 4:03 AM

    JDev 11.1.1.5.3 sounds like you are using oracle apps as this not a normal jdev version.
    as it works in 11.1.1.5.0 you probably hit a bug which you should file with support.oracle.com...
    Somehow you get the first row instead of the current row (i guess). You should debug your code and make sure you get the current selected row in your bean code and not the first row.
    This might be a problem with the bean scope too. Do you have the button (or table) inside a region? Wich scope does the bean have?
    Anyway you can try to remove the iterator row you get
    public void deleteCurrentRow (ActionEvent actionEvent) { DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("EventCalendarVOIterator");
    dcItteratorBindings.removeCurrentRow();Timo

  • Need to Set Current Row when Using Built-in Data Control Delete Operation?

    I have an af:table bound to a ViewObject (VO) collection (no Entity Object) - within each row, I include a column that contains a 'Remove' command button so the user can remove the row. I add the command button by dragging/dropping the built-in delete operation from the VO on the Data Control Palette. When I use this as is (no changes), the Remove button always deletes the first row in the collection, not the selected row. Do I need to add code to set the current row, and if so can someone please provide an example and specify where I need to add? thanks.
    ------ .jspx af:table with command button to remove each row ------
    <af:table value="#{bindings.ListView1.collectionModel}" var="row"
    rows="#{bindings.ListView1.rangeSize}"
    first="#{bindings.ListView1.rangeStart}"
    // note: I don't have any code added for selectedRow or makeCurrent - assuming this is built-in?
    selectionState="#{bindings.ListView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.ListView1.collectionModel.makeCurrent}">
    <af:column>
    <af:commandButton actionListener="#{bindings.Delete.execute}"
    text="Remove"
    disabled="#{!bindings.Delete.enabled}"/>
    </af:column>
    ---------- corresponding pagedef file ------------
    <bindings>.....
    <action id="Delete" IterBinding="ListView1Iterator"
    InstanceName="SrchDataControl.ListView1"
    DataControl="SrchDataControl" RequiresUpdateModel="false"
    Action="30"/>
    </bindings>
    Note: I also tried solution posted on following thread, but again, only first row is deleted, not the selected row?: Delete and Commit
    Message was edited by:
    javaX

    I just want to delete (or remove) it from the VO. Data for this VO is not on the database.
    The function is doing what I want it to do (delete from the VO), its just always deleting the first row, versus the selected row. I select the command button next on a column next to an item further down in the list and it deletes the first row. The problem is setting the selected row to be removed - I thought setting the current row would be taken care of by the SelectListener?
    selectionState="#{bindings.MyIspListView1.collectionModel.selectedRow}"
    selectionListener="#{bindings.MyIspListView1.collectionModel.makeCurrent}"

  • About a month ago a song randomly appeared in my songs list and when I tried swiping to the left to delete the song it wouldn't slide over to show the delete button. The delete slide appears with all of my other songs except that one. P.S. iCloud is off.

    About a month ago a song randomly appeared in my songs list and when I tried swiping to the left to delete the song it wouldn't slide over to show the delete button. The delete slide appears with all of my other songs except that one. The ICloud songs are turned off and it wasn't iTunes Radio. 2 more songs like this have appeared and I can't delete them from both my iPhone or my computer (they don't even show up on my computer). If somebody knows how to fix this that would be amazing! Thank You.

    Have you:
    - Restore from backup. See:                                                
    iOS: Back up and restore your iOS device with iCloud or iTunes
      - Restore to factory settings/new iOS device.            
    If a PC
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

  • How do I delete photos and photo albums from my iPhone? The instructions given do not work. No "delete" symbol appears next to the album name, and no trash can icon appears below most of the pictures the computer just put on my new iPhone 4.

    How do I delete photos and photo albums from my iPhone 4? The instructions given do not work. No "delete" symbol appears next to the album name when I press "Edit," and no trash can icon for me to click appears below most of the individual photos in the albums the computer just loaded on my new iPhone 4. When I synced the new phone the computer added these photo albums without permission from me. They are now taking up about 3 GB of memory on my phone. I would like very much to get rid of these photos from the phone. How do I do this?

    To delete photos from your device
    In iTunes, select the device icon in the Devices list on the left. Click the Photos tab in the resulting window.
    Choose "Sync photos from."
    On a Mac, choose iPhoto or Aperture from the pop-up menu.
    On a Windows PC, choose Photoshop Album or Photoshop Elements from the pop-up menu.
    Choose "Selected albums" and deselect the albums or collections you want to delete.
    Click Apply.

  • Is there any way to actually delete messages from my iPhone? I have already synced my iPhone, updated it, and deleted all of my backups but the messages I have "deleted" still appear in the spotlight search.

    Is there any way to actually delete messages from my iPhone? I have already synced my iPhone, updated it, and deleted all of my backups but the messages I have "deleted" still appear in the spotlight search.

    If you already have an iPhone backup or an iCloud backup, just follow the instructions on the page below
    http://www.whatsapp.com/faq/en/iphone/20888066
    If you didn't back up your iPhone, try to use WhatsApp Pocket to recover your chats:
    http://www.fireebok.com/whatsapp-pocket.html

  • ADF delete from more than one table with single delete operation

    Hi all,
    I have a scenario in which I am trying to delete record(s) from 3 tables.
    My jspx page looks like this:
    Column1:drop down from 1st table
    Column2:drop down from 2nd table
    Column3:drop down from 3rd table
    Delete Commit
    I have created a view object which has these three tables as entities. I drag dropped the view object and displayed these three columns.
    Now when i select any one or all three or any two out of these and click delete, only the "column 1" gets deleted from 1st table. The remaining two tables remain unaffected.
    Y is this so?
    Can't I use one delete operation for all three tables' DML operation in single go?
    Thanks.

    If you have a business case that requires deleting from 3 tables at once when removing a single row in a view object then you may look for the problem in you data model...
    Until then I'd suggest to create a database view providing the information you need (plus the PKs fron the individual tables) and creating entity and view objects based on this view. An "instead of dele" trigger attached to the view can do the actual delete operation on the 3 tables.
    bye
    TPD

  • Table in which deleted operations are stored.

    Hi,
         We are writing a report and for that i need the value of work hrs , so i would like to know in which table deleted operations of Maintenance order are stored ....
    regrds
    pm

    Hi,
    All the operations time values are found in AFVV, this includes the deleted operations. Also read AFVC for operation number, etc. The key to both these tables is AUFPL field (available in AFKO via order number).
    To decide if a particular AFVV record is deleted or not it is necessary to look at the JEST table. JEST can be accessed via Object Number, this has the format OV + AUFPL + APLZL. If the entry with status I0013 is active (no inactive flag) then this operation is deleted.
    -Paul

  • Delete Operation in JDBC Sender Adapter not works

    Hi,
        I have one student table which contains the fields ID,Name,BirthMonth,BirthYear,ReadFlag fields. ReadFlag is a character field or lenght 1 which contains only values either 'Y' or ' '. 
         I want to execute delete operation in this table ie to delete the records which contains the readflag = 'Y'. So, I set the below values for the following parameters.
    DELETE FROM student WHERE READFLAG = ' Y '
    Query SQL Statement : SELECT * FROM student WHERE readflag = 'Y'
    Update SQL Statement : DELETE FROM student WHERE READFLAG = 'Y'
    Poll Interval : 60 Seconds.
        There are more records in this table which contains readflag = 'Y'. But, the Adapter does not delete those records from the table i.e delete operation is not executed. At the same time, in Comm. Channel monitoring it does not show any error, but the delete operation is not carried out in the table.
         I tried after 'COMMIT' the table also. But it does not work. What could be the reason ? or How to use Delete Operation effectively on the table ?
         Kindly help me friends to solve this problem.
    Thanking you.
    Kind Regards,
    Jeg.

    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm >>>
    <i>Adapter Work Method
    You must add an indicator that specifies the processing status of each data record in the adapter (data record processed/data record not processed) to the database table.
    The UPDATE statement must alter exactly those data records that have been selected by the SELECT statement. You can ensure this is the case by using an identical WHERE clause. (See Processing Parameters, SQL Statement for Query, and SQL Statement for Update below).
    <b>Processing can only be performed correctly when the isolation level for transaction is set to repeatable_read or serializable.
    Example
    SQL statement for query: SELECT * FROM table WHERE processed = 0;
    SQL statement for update: UPDATE table SET processed = 1 WHERE processed = 0;
    processed is the indicator in the database.</b></i>
    try with repeatable_read or serializable !!!
    Also go thru this thread - DELETE Querey in JDBC SENDER

  • ADF view : auto commit delete  operation

    I have created a ADF table with add and delete operation. When I perform delete operation it is not committing automatically.
    Can you please suggest the way to auto commit the delete operation.
    Thanks,
    Kiran

    User,
    please always tell us your jdev version as the solution might depend on it.
    There is no auto commit in ADF. You can program it so that after an add or delete the data gets committed but there is nothing done automatically.
    if you use a bounded task flow you can drag the operation from the data control onto the task flow and navigate to it after you have done the add or delete operation.
    Timo

  • Select Statement Blocking Delete Operation

    Hi Experts,
    In a Single table am trying to do delete operation but it has been blocked by simple select query.
    Database setting : Read Committed Snapshot already set to ON for that database.
    Any Idea why SELECT blocking DELETE.
    FYI : Before Select statement I could noticed the following setting "set transaction isolation level  read committed".
    Kindly Advise
    Regards,
    Nandhu

    FYI : Before Select statement I could noticed the following setting "set transaction isolation level  read committed".
    Hi NandhuJana,
    1. Did you read
    Uri Dimant's response?
    Please try to remove this statement and check again
    2. When we ask you for DDL+DML , the idea is to let us the option to (1) reproduce the issue in some cases, (2) get the best information which is the real database structure, queries, etc'. In this case for example I do not see the isolation level statement
    in your code and we need it to understand what is happening :-) The order and structure (nested transactions for example) of statements is what important here.
    3. you can check your isolet level using one of those options to make sure what is going in your script:
    SELECT TRANSACTION_ISOLATION_LEVEL = CASE transaction_isolation_level
    WHEN 0 THEN 'Unspecified'
    WHEN 1 THEN 'ReadUncommitted'
    WHEN 2 THEN 'ReadCommitted'
    WHEN 3 THEN 'Repeatable'
    WHEN 4 THEN 'Serializable'
    WHEN 5 THEN 'Snapshot'
    END
    FROM sys.dm_exec_sessions
    where session_id = @@SPID
    GO
    DBCC USEROPTIONS WITH NO_INFOMSGS
    GO
    I hope this is helpful :-)
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Deleted operation in workorder

    Hi
    I had deleted operation in the work order after release of work order
    How can change the material group in the operation which is deleted
    sicne it is not allowing for teco
    when the operation was created the material group restiction was not there
    but after 2 years we have put the  material group restriction
    How can I change the material group of that operation which I am able to  retrieve in work order
    Regards
    pratap

    Pratap,
      Ideally you may want to change your TECO validations logic to NOT to consider operations with the "DELETION FLAG" set. That should take care of your current issue and future problems of similar nature.
    Regards
    Narasimhan

Maybe you are looking for