Select records without deletion marker?

I am trying to load data from the datasource 0INSP_CHAR, but I get a number of errors because I see duplicate records. Most of the records has a deletion-marking, but how do I select the records without deletion marker when I can only set a to- and a from-value? The records I want has no entry in the field so I cannot think of any entry that will select the correct records...   Selection A to V and Y to Z does not work...
An other subset of the records differ only on a 'valid from'-field. So I thought I could put the data in an ODS and then select the record with the most recent 'valid from'-date. But I cannot see how to make sure that the newest record overwrite the older one. Is that because the setup I am planning is impossible...?
An other strange thing is that the datasource has five characteristics and two other fields that are not mapped to an info object. I can use them for selection, but I cannot load the data to BW...?
Regards,
Christian Frier

Hi Christian,
normally if you make your attributes time depending in the attribute screen of 0insp_char you should be able to load the data. If you want to get rid of the 'deleted' records, create a start routine in the transfer rules and delete all records from datapak with that flag.
Your second question should also be solved by having everything time dependent.
regards
Siggi

Similar Messages

  • Delete master record without deleting corresponding details

    Hi all,
    If we have a master-detail relation and we delete the master record, the “Implement cascade delete” flag can be selected to delete the detail records also.
    Now, what if I don’t want to delete the detail records, but instead set the corresponding attribute (that points to the master) in this record to null.
    For ex when deleting a department record, I need to set the “dpartmentId” field of all the corresponding employee records to null instead of deleting these records.
    Is there a configuration that can be made to tell ADF automatically do this?
    Thank you.

    No, adf doesn't have such a mechanism. You can program it yourself by unsetting the cascade delete flag and before removing the master iterate over the child records and set the fk value to null.
    Our you do this in the db using a trigger.  In this case you have to refresh the child vo too.
    Timo

  • Deleting selected thumbnails without deleting slideshow images

    Thank for your responses in advance. I'd like to create a slideshow in adobe muse, but only show selected thumbnails to direct me to specific images within the slideshow. When I delete a thumbnail then my larger slideshow image deletes as well. I don't want that to happen. I have all my portfolio images on one slideshow, but I don't want thumbnails for every image, just the first image of each project. Is this possible in Muse? Thanks!

    Hello,
    I have a workaround for the same.
    1. Please Select the thumbnail that you want to be invisible.
    2. Double click on the thumbnail so that the "thumbnail image" is selected.
    3. Drag and Drop the image outside the Slideshow.
    4. Place an invisible rectangle over the thumbnail container (this will remove the existence of hyperlink as well)
    Now try to preview the page. Image will show in the slideshow but thumbnail will not exist.
    You can also visit out Idea page to place a feature request to provide an option to make thumbnail hidden.
    Ideas for features in Adobe Muse
    Regards
    Vivek

  • Filtering records with deletion flag in Query report

    Dear Friends,
    We are using ECC6.00 (EHP4) for one of our QM requirement, i have created a query in SQ01 with the tables QMEL,AUFK,AFKO,QMFE etc., to get the details of production order and notification.
    The report will list out the production scheduler wise, order wise, defect wise quantity with the notification number also in the display.
    For notifications which are created wrongly, the users set deletion flag. The same i.e., notifications with deletion flag should not appear in the report and hence i have called the field and filtered the value in the output (i.e., field value not equal to X where X is for deletion flag set records).
    Everything works fine upto this, but when users (to carry out analysis) send the data to the spread sheet, the filter values are removed and all records are populated in the excel sheet (even records with deletion flag).
    To select and display only records without deletion flag, i want to introduce coding in the query. Kindly tell me whether this is possible, if so where and what code should be written to meet my requirement.
    The records with the deletion flag (notifications) should be eliminated from the selection and display.
    Experts help required.
    Regards,
    M.M

    Dear Raymond Giuseppi,
    Thank you for your reply. The code syntax had been corrected based on your information. Unfortunately the code doesn't filter the records. On further investigation , it was observed that the field KZLOESCH doesn't get updated and hence a field had been created in the infoset wherein the following  coding is written
    clear : w_dlfl.
    data : w_inact type char1.
    select single inact into w_inact from jest
    where objnr = qmel-objnr
       and stat = 'I0076'
       and inact ne 'X'.
    if sy-subrc = 0 .
      w_dlfl = 'X'.
    else.
      w_dlfl = ''.
    endif.
    The field name is W_dlfl.
    In the above condition how and where should i include the code given by you. Since the field KZLOESCH is not updated how should we get the data from the field w_dlfl be exempted from selection?
    Kindly provide solution.
    Regards,
    M.M

  • Can we  change datatype  without deleting records ?

    Hi all ;
    Without deleting records in a table  , can we  change datatype in oracle 10g and 11g ?
    SQL> desc emp
    Name                                      Null?    Type
    NO                                                 NUMBER
    NAME                                            VARCHAR2(10)
    CITY                                               VARCHAR2(15)
    DEP_ID                                          NUMBER
    SQL> select * from emp;
            NO NAME       CITY                DEP_ID
            1   madhir   calcutta                10
    SQL> alter table emp modify(dep_id  varchar2(5));
    alter table emp modify(dep_id varchar2(5))
    ERROR at line 1:
    ORA-01439: column to be modified must be empty to change datatype
    SQL>  select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    See 'Modifying an Existing Column Definition' in the DBA Guide
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/tables006.htm#i1006645
    Use the ALTER TABLE...MODIFY statement to modify an existing column definition. You can modify column datatype, default value, column constraint, column expression (for virtual columns) and column encryption.
    You can increase the length of an existing column, or decrease it, if all existing data satisfies the new length. You can change a column from byte semantics to CHAR semantics or vice versa. You must set the initialization parameter BLANK_TRIMMING=TRUE to decrease the length of a non-empty CHAR column.
    If you are modifying a table to increase the length of a column of datatype CHAR, realize that this can be a time consuming operation and can require substantial additional storage, especially if the table contains many rows. This is because the CHAR value in each row must be blank-padded to satisfy the new column length.
    And the ALTER TABLE statement in the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_3001.htm#SQLRF01001
    modify_col_properties
    Use this clause to modify the properties of the column. Any of the optional parts of the column definition (datatype, default value, or constraint) that you omit from this clause remain unchanged.
    datatype You can change the datatype of any column if all rows of the column contain nulls. However, if you change the datatype of a column in a materialized view container table, then Oracle Database invalidates the corresponding materialized view.
    You can omit the datatype only if the statement also designates the column as part of the foreign key of a referential integrity constraint. The database automatically assigns the column the same datatype as the corresponding column of the referenced key of the referential integrity constraint.
    You can always increase the size of a character or raw column or the precision of a numeric column, whether or not all the rows contain nulls. You can reduce the size of a datatype of a column as long as the change does not require data to be modified.The database scans existing data and returns an error if data exists that exceeds the new length limit.

  • How to delete same name records from datagrid,while i am selecting one of the record and delete

    hi friends,
    i am working in flex 4 mxml web application with action script....i am using a data grid and one delete button outside the gird.
    i have two records in the same name in grid, when i click one record from the grid and click delete means that time ,both records will delete from that grid
    which record having the same name..
    how to do this?
    any useful suggesssion or snippets code for this..
    Thanks in advance,
    B.venkatesan.

    hello,
    first get the length of the datagrid.
    suppose your datagrid id is db and you want to delete the the row which have same name .....
    first get the selected row and from that name of the selcted row.
    supoose selected name is
    var index:int=db.selectedindex;
    var selname:string =bd.dataprovide.getItemAt(index).name;(name id datafield of the column).
    now you got the selected name search for the same rows in datagrid.
    var totallen:int=(db.dataprovider).length;
    for(var i:int=0;i<totallen;i++)
        var  checkduplicate:string=bd.dataprovide.getItemAt(i).name;
       if(checkduplicate==selname)
         db.dataProvider.removeItemAt(i);
    this will delete all the row which are with same name with selected row name...
    Gajanan Hiroji | [email protected] | www.isacglobal.com

  • How to delete a games record in game center without deleting the app?

    i want to delete one of my games record on game center without deleting the game app itself
    what should i do?

    Hi,
    Sounds like what you want to do is evict the item from the cache, rather than remove it.  Evicting the item is effectively saying the entry in the cache is out of date, and Coherence should retrieve it from the database should a new request for the key come in.
    You can set up eviction either through config, (to evict after a period of time or when the cache reaches a certain size), or pragmatically using an entry processor, (which calls remove(true) on the entry passed to it. The 'true' means evict rather than delete).
    Hope this helps,
    Andy

  • How to select a record and delete using sereen painter in alv

    Hi experts i have displayed a table in selection sereen
    in alv by using table control(sereen painter).
    My request is to display the database table records
    when i press F8.
    I also have two buttons one is 'DELETE'
    and another one is 'INSERT'.
    My request is i have to select a particular record in
    the output and if i press the 'delete' button means
    then the selected record should be deleted in that table
    and also in database table.
    Like if i insert a new record means then the record
    should be inserted in that table and database table...
    Kindly plz send the coding immediately............

    Hi,
    create a module in ur  PROCESS AFTER INPUT fro eg
    MODULE select.
    select * from db into table itab.
    module delete.
    db-field = wa-field(this is the field u r going to delete in ur  table control and in database table).
    append wa to itab.
    delete <db table> from itab.
    module insert.
    db-field = wa-field(this is the field u r going to insert in ur table control and database table )
    append wa to itab.
    insert <db table> from itab.
    regards,
    dhaya..

  • How I will delete on selected records ?

    Hi fiends,
    I have two database table records in a internal table(  with work area) .
    There have multiple records with same material number.
    This records displaying in module pool program.
    Where I can select individual records.
    How I will delete on selected records ?
    Give some idea.
    Thanking you.
    Subash

    Hi Subash,
    After selecting data into internal table you can delete duplicate date.
    Try like this.
    delete adjacent duplicates from itab comparing matnr.
    This will help you maintain unique record.
    Regards,
    vijay

  • How do I delete part of a column without deleting the whole column

    I'm trying to deleting certain cells within the same column but I don't know how without deleting the entire column.  It sounds so simple but I'm sure I'm overlooking something.  Thanks.

    jackiego26 wrote:
    Bummer! Thought there would be something similar to Excel. 
    Excel describes this in different terms, and the Excel user goes through a different set of steps, but the reality is that in Excel as in Numbers you are shifting content from one set of cells to another, not 'deleting cells'.
    If you were actually 'deleting cells' from rows 2-11 of a column, then shifting all cells right of the deleted cells into the space left by the 'deleted' cells, one of the results would be that at the right edge of the table, rows 2 through 11 would end one column 'earlier' than the rest of the rows (from which 'cells' had NOT been deleted.
    Excel: Select the cells whose content is to be replaced, tell Excel to 'delete cells'. Tell Excel which direction to move content to fill the cells. Excel moves that content into the emptied cells.
    Numbers (method 1): Select the cells whose content is to be moved. Copy. Select the first cell that is to receive the content. Paste.
    Numbers (method 1a): Select the cells whose content is to be moved. Drag the content to the first cell that is to receive the content. Drop.
    Numbers (method 2): Select the cells whose content is to be moved. Press shift-command-X (or go Edit > Mark for Move. Select the first cell to receive the content. Press Shift-command-V (or go Edit > Move.
    Regards,
    Barry

  • How to save the selected records from Table control in dialog programming

    Hiiiiiiii Every1
    Actually the problem is like this:-
    I have to select some records from table control and then want to save the selected records in DB table.
    Example
    I have some rows having inforamtion bout employees...
    Now what i want is that when i click on 'SAVE' button then these selected rows should be moved into DB table.
    Sachin Dhingra

    see below example, I have added INSERT option after DELETE option.
    REPORT demo_dynpro_tabcont_loop_at.
    CONTROLS flights TYPE TABLEVIEW USING SCREEN 100.
    DATA cols LIKE LINE OF flights-cols.
    DATA: ok_code TYPE sy-ucomm,
          save_ok TYPE sy-ucomm.
    DATA: itab TYPE TABLE OF demo_conn.
    TABLES demo_conn.
    SELECT * FROM spfli INTO TABLE itab.
    LOOP AT flights-cols INTO cols WHERE index GT 2.
      cols-screen-input = '0'.
      MODIFY flights-cols FROM cols INDEX sy-tabix.
    ENDLOOP.
    CALL SCREEN 100.
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE read_table_control INPUT.
      MODIFY itab FROM demo_conn INDEX flights-current_line.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      save_ok = ok_code.
      CLEAR ok_code.
      CASE save_ok.
        WHEN 'TOGGLE'.
          LOOP AT flights-cols INTO cols WHERE index GT 2.
            IF  cols-screen-input = '0'.
              cols-screen-input = '1'.
            ELSEIF  cols-screen-input = '1'.
              cols-screen-input = '0'.
            ENDIF.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDLOOP.
        WHEN 'SORT_UP'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) ASCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'SORT_DOWN'.
          READ TABLE flights-cols INTO cols WITH KEY selected = 'X'.
          IF sy-subrc = 0.
            SORT itab STABLE BY (cols-screen-name+10) DESCENDING.
            cols-selected = ' '.
            MODIFY flights-cols FROM cols INDEX sy-tabix.
          ENDIF.
        WHEN 'DELETE'.
          READ TABLE flights-cols INTO cols WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              DELETE itab.
            ENDLOOP.
          ENDIF.
        WHEN 'INSERT'.
          READ TABLE flights-cols INTO cols WITH KEY screen-input = '1'.
          IF sy-subrc = 0.
            LOOP AT itab INTO demo_conn WHERE mark = 'X'.
              itab1 = itab.
              modify itab1.
            ENDLOOP.
          ENDIF.
          if not itab1 is initial.
            INSERT dbtab FROM TABLE itab1.
          endif.
      ENDCASE.
    ENDMODULE.

  • I have 1,400 items in my in-box and would like to delete them en masse. Is there any way to do this without deleting them individually? Thank you

    I have 1,400 items in my in-box and would like to delete them en masse. Is there any way to do this without deleting them individually?

    Select the Inbox folder to see emails.
    click on first email to get focus.
    Hold down 'Ctrl' key and press 'A' key
    This will highlight /select all emails.
    they will appear as conversations in the Message Pane
    Clickon Delete.
    when it has finished - you do have a lot of emails :)
    Right click on Inbox and select 'compact' - this removes all marked as deleted emails.

  • Say in selection screeen (ie is in select-options) i have selected record r

    say in selection screeen (ie is in select-options) i have selected record range from 1000 to 2000 but in the final display list i sholud not get 1200 to 1300 records it should be hide how is it posible
    Thanks
    Basu

    Hello Math,
    There are two ways of restricting the records with 1200 & 1300 values in output list display -
    1. Either restrict the records while selecting the data from database using SELECT query. This can be achieved by ranges table populated with the values, which won't select the 1200 & 1300 records.
    Find the following code for this -
    TABLES: TAB1.
    RANGES: R_FLD1 FOR TAB1-FLD1.
    R_FLD1-SIGN = 'I' .
    R_FLD1-OPTION = 'EQ'.
    R_FLD1-LOW = '1000'.
    R_FLD1-HIGH = '2000'.
    APPEND R_FLD1.
    R_FLD1-SIGN = 'I' .
    R_FLD1-OPTION = 'NE'.
    R_FLD1-LOW = '1200'.
    R_FLD1-HIGH = '1300'
    APPEND R_FLD1.
    SELECT * FROM TAB1
        INTO IT_TAB1
        WHERE FLD1 IN R_FLD1.
    2. Select the data first in internal table first and then delete the entries having 1200 & 1300 values.
    Find the following code for this -
    TABLES: TAB1.
    RANGES: R_FLD1 FOR TAB1-FLD1.
    SELECT * FROM TAB1
        INTO IT_TAB1
        WHERE FLD1 IN R_FLD1.
    IF SY-SUBRC EQ 0.
      SORT IT_TAB1 BY FLD1.
      DELETE IT_TAB1 WHERE ( FLD1 = '1200' ) OR  ( FLD1 = '1300' ).
    ENDIF.
    Hope this helps you.
    PS If the answer solves your query, plz close the thread by rewarding each reply and marking it Solved.
    Regards

  • How to join regions without deleting notes in the right region.

    How to join regions without deleting notes in the right region?
    Every time I try to join two regions, the notes in the right region are cut, even though both regions are on the same track and are touching each other. 
    This is so frustrating. I searched on some other sites and Garageband Help section, but for some bizarre reason, I can't find any explanation of this basic topic.
    Tony

    Tony, the two Regions in your screenshot (green, yellow) are Take Regions (they have a Take number in the reft upper corner), which are Regions that contain multiple Regions and you can select any one to be the active (played) Region. You cannot merge those Regions. You have to delete the unwanted Regions inside first. click on the number, select the Region you want and then click again and select "Delete unused Takes"
    If you don't want to create Take Regions, select the "Cycle Recording" checkbox in the Preferences ➤ General Window
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Info record without Plant

    Hi,
    I have got standard inforecord created without plant  and with plant for a given material code and vendor code combination. I put tick mark in deletion indicator in condition tab for without plant as I want to use info record with plant only.
    But since I put deletion indicator in condition tab, its net price and effective price became zero.
    Now when I am trying to create PO, even though correct inforecord exists with required condition value with plant, system is finding inforecord without plant with zero effective price and giving error message "Maintain Pricing Condition In Info record".
    Kindly suggest how I can remove info record without plant and generate PO with info record with plant.
    Thanks & Regards
    Ratna

    Remove deletion flag in ME15,
    Extend info record for vendor,material,purchase orgn,plant using ME11,press enter,maintain price in condition tab.
    Edited by: Jeyakanthan A on Jul 8, 2010 12:59 PM

Maybe you are looking for

  • Hierarchy not getting displayed

    Hi, I have changed the hierarchy by manual update i.e i have added a node to the hierarchy . And after that i have saved and activated the hierarchy . It was giving an error saying "Number of nodes in the node is more than the hiearchy ". The solutio

  • How can I fix iCal that keeps popping up and asking for my ID

    ICal keeps popping up and asking for me to make sure my password and ID are entered correctly. I have been up on my accounts and done this endless times. I have a POP account that I want to add to the list of accounts under ICal's preferences, but I'

  • Need badi which triggers immediately after saving the vendor master data

    Hi all.     I need a badi which triggers after vendor master (xk02) is changed . The badi should trigger after the data base commit ( i.e after all the changes have been stored in data base tables). Pls let me know Thans in advance.

  • How do I stop the "Reset Firefox" prompt appearing when there is no need for it?

    Every time I start Firefox I now get the reset firefox prompt in the status bar: "It looks like you haven't started Firefox in a while. Do you want to clean it up .... etc." I use Firefox practically every day, so it is not true that I haven't used i

  • Showing vista applications on my mac

    I am trying to help my elderly father (who is in another state) with his computer, but he is on a PC and I'm on a Mac. Does anyone know a way to run or view Vista and its programs on my Mac, so that I can see what my dad is seeing so that I can direc