Delete blank records from the cube

Hello;
We just upgraded from 3.5 to 7.0.  When we started running our queries for the Inventory cube, we were getting an error message of "Error:  The validity interval has the initial value as lower limit".
When I checked the cube, I found records that were blank, such as no dates, plants, etc..  I then tried to see if I can delete those records, but I cannot find a way to do this.  Can someone tell me how to delete the blank records or any records from the cube directly?  When I run the queries from the ODS, I do not get any errors at this time.
Any information, suggestions or HELP is greatly appreciated.
Thanks,
Maximina Barry

Hello Maximina,
You could try writing in some code that would delete the records which have some fields as blank in the start routine of the transformation that connects the ODS to the cube . So that the next time you load data from the ODS to the cube .. they would stay deleted .
Hope it helps.
Just to add ...
refer -> Need Sample Code to delete records from Cube using  SE38 Editor
Thanks,
~Vj
Message was edited by:
        Vijay Gopinath

Similar Messages

  • I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY WUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ??

    I HAVE A SOURCE TABLE WITH 10 RECORDS AND TARGET TABLE 15 RECORDS. MY QUESTION IS USING WITH THE TABLE COMPARISON TRANSFORM .I WANT TO DELETE UNMATCHED RECORDS FROM THE TARGET TABLE ?? HOW IT IS ??

    Hi Kishore,
    First identify deleted records by selecting "Detect deleted rows from comparison table" feature in Table Comparison
    Then Use Map Operation with Input row type as "delete" and output row type as "delete" to delete records from target table.

  • Deletion of data from the cube

    Hi,
    In our sales cube i want to delete the raws from the cube where there is no data for invoice quantity.
    Likewise in my material master i want to delete the raws without division.
    Is there any permenant solution. I suppose we can write routine.Where should i write the routine ? i mean at update rule level or transfer rule level or start routine will be the best option.Which one will be faster and why ?
    Regards,
    Viren.

    Hi,
    I understood, that the records are already in the cube.
    Selective deletion will not work because you can't select on keyfigure values.
    So create records with RECORDMODE = R (Reverse Image) for these records you want to dissappear. Get the relevant records into a flatfile, upload these records with recordmode R with all keyfigures inverted. The incorrect values will the vanish.
    A Deletion with recordmode = D is not possible for cubes.
    For the Material-Records:
    Within the updaterules, get the relevant Materialrecords into an internal table.
    (SELECT * FROM /BI0/PMAT_SALES into itab_mat_del WHERE DIVISION is inital.)
    For these MasterDatarecords: check in the sid-Table, if the relevant materialnumbers are in use already (Check Flags in the sid-Table).
    loop at itab_mat_del into wa_mat_del.
    select single * from /BIC/SMAT_SALES where
    MATERIAL = wa_mat_del-material.
    if CHCKFL is initial.
    if DATAFL is initial.
    if INCFL is initial.
    If they are not used, the can be deleted by using the function module RSDMD_DEL_MASTER_DATA.
    endif.
    endif.
    endif.
    This should be implemented within the updaterules. (Didn't I said that already??)
    hth
    cheers
    Sven
    Message was edited by: Sven Muntermann

  • Deleting Info objects from the Cube

    Hi All,
    I am deleting 2 characteristics from the existing cube that already has queries . Would doing this make the existing queries or workbooks un-useable??. The characteristics are no more required for use in the existing queries.
    Thank you

    Yes. They will become unusable..
    Please delete them from the queries, workbooks before really deleting from the cube..
    Regards,
    Hari

  • Deleting existing  record from the oracle

    My sender is a proxy,there is one field here which changes say cfield.Xi doesnot send some records if the change field status is 0 or 1 or 2,for other records it sends data to to the JDBC Receiver.When the Sender Cfield status changes from 0 or 1 or 2 to other values,only this  corresponding record must be deleted from the the receiver JDBC.How to do this?
    Thanks,
    Srinivasa

    Hi Srinivasa,
    Use the JDBC receiver document format  with action DELETE.
    1) Develop Mapping Program in such a way that it creates Statement only when it is not 0,1 and 2.
    Use the Createif function.
    2) To delete only the corresponding records map the primary key value to key field
    chk this :
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    regards
    Ganga

  • How to delete Duplicate records from the informatica target using mapping?

    Hi, I have a scenario like below: In my mapping I have a source, which may containg unique records or duplicate records. Source and target are different tables. I have a target in my mapping which contains duplicate records. Using Mapping I have to delete the duplicate records in the target table. Target table does not contain any surrogate key. We can use target table as a look up table, but target table cannot be used as source in the mapping. We cannot use post SQL.

    Hi All, I have multiple flat files which i need to load in a single table.I did that using indirect option at session level.But need to dig out on how to populate substring of header in name column in target table. i have two columns Id and Name. in all input file I have only one column 'id' with header like H|ABCD|Date. I need to populate target like below example. File 1                                    File2     H|ABCD|Date.                      H|EFGH|Date.1                                            42                                            5  3                                            6 Target tale: Id    Name1     ABCD2     ABCD3     ABCD4     EFGH5     EFGH6     EFGH can anyone help on what should be the logic to get this data in a table in informatica.

  • Deleting existing  record from the oracle if same record number is passed

    Hi all ,
    My requirement is as follows.
    There is one condition in XI which restricts certain work groups,These work groups will be changing contantly.
    Now my requirement is that ,if a record number say 100 exists in my oracle database,when the same record number is passed again,it should delete the old record which is already in the database and insert this new record.In other words all the records which are sent must be inserted with out duplication.
    How to achieve this functionality through XI.
    let me know.
    Thanks,
    Srinivasa

    Hi ,My target structure is
    Target->Statement->Attachments-
                                                     action=UPDATE_INSERT
                                                      table=xxxxx
                                                    ->access-
                                                                   Field1                                                                               
    Field2  
                                                                   Field3   
                                                                   Field4   
                                                                   Workgfoup
    Now let me noe what are thte modifications required in this structure to achieve my functionality.
    Thanks

  • Can not delete record from the master block ,frm-40202 field must be entere

    hi ,
    i have built a form which contain master and details blocks
    the problem is
    when i try to delete a record from the master block it gives me new serial for the transaction and when i try to save it, it says
    >frm-40202 field must be entered
    where this field is required and i cant save it
    although in another form when i delete from the master it gives me the previous record and it works properly
    if any one has any ideas pls help me
    thank u
    ------- the master block has a trigger when-create-recoder
    Declare>v_dummy number;
    Begin
    Select nvl(max(ERNT_NO),0) + 1 >Into v_dummy
    From LM_RENT_EXPNMST >Where cmp_no = :LM_RENT_EXPNMST.cmp_no
    And brn_no = :LM_RENT_EXPNMST.brn_no>and fiscal_yr = :LM_RENT_EXPNMST.fiscal_yr;
    >:LM_RENT_EXPNMST.ERNT_NO := v_dummy;
    END;
    IF :PARAMETER.RNT_NO IS NOT NULL THEN
         :LM_RENT_EXPNMST.RNT_NO:=:PARAMETER.RNT_NO;
              :LM_RENT_EXPNMST.RNT_YR:=:PARAMETER.RNT_YR;
         :LM_RENT_EXPNMST.CUST_DESC:=:PARAMETER.RNT_ADESC;
    END IF;Edited by: ayadsufyan on May 8, 2013 2:03 PM

    If this is a FORMS question you should mark this one ANSWERED and repost your question in the FORMS forum
    Forms

  • Deleting a record from Master data

    Hi all,
    I need some help with deleting a record from the master data.I did go to the master dta maintenance screen and selected the record to be deleted. I saved it. I received the message, "master Data record cannot be deleted".
    I then went into transaction slg1 to check for the details of the record. A message stating " Master data record XXX is being used in the cube /BIC/Dzzzyyy312.
    This record is no longer needed by the end user and was requested to be deleted. Could some one tell me if there is a possibility to delete this unused masterdata record. Your suggestions are appreciated.
    Regards!

    Hi Sumana,
       Check this...Similar Post..
    MAster data deletion throws a dump
    Hope it helps
    Srini

  • Delete overlapping requests from info cube

    Hello
    I am getting a issue sometimes where the process chain fails to delete a request from the cube on the conditions i have given in this process type. Now i have been digging into this but cannot find much of why would this happen.
    Please can someone tell me if this is a known issue to you. Also please can someone give me some details on which program name gets generated when we pull this process type in a  process chain. what i mean is what is the program running for this process chain as i want to debug and see how does this process type delete the request.
    thanks

    check the class CL_RSSM_REQUDEL and method IF_RSPC_EXECUTE~EXECUTE

  • Customer Exit Variable to fetch the data from the cube..

    Hello Gurus,
    I am having a requirement to select the latest changed record from the cube while executing the query.  where we are having the Calday as the date with a variable .
    I suggested my client we can filter it at the DSO leve or Data loading level but my client dont want to distrurb the existing design so he want to perfrom the changes at the Query level only.
    For Example we are having below records in the cube.
    PO             Material     Calday       Qty         Price
    101            ABC          1/12           100         10
    101            ABC          2/12            100         10
    101            ABC          3/12            100         11
    I am having Calday in the selection screen as the variable.
    Now from the above example i need to show the record which has been changed on 3/12.
    For this i am planning to write the customer exit variable on the calday , when the user enter the range of Calday then i will fetch the whole records which fall in between the range and i will sort each PO with respect to the date and i will pick those which are the latest records.
    My Concerns:
    !. Kindly let me know if it is possible and what are the other things that i need to consider.
    2. Did it will impact the performance.
    Waiting for your quick replies
    Thanks & Regards
    KK

    Hi Mate,
    Sorry for late reply.
    By d way in your word.
    initially when the user enter the date range as the vairable input. suppose 1/12 to 31/12 then i will pick all those records which fall in this range.
    suppose the records are
    PO Date
    P1 01/12
    P1 02/12
    P2 02/12
    P2 03/12
    P3 03/12
    P3 04/12
    In the customer exit variable Now for each PO i will sort the date in ascending order and i will pick the last record to display it in the Report.
    The ouput will be
    PO Date
    P1 02/12
    P2 03/12
    P3 04/12
    Now hope you are aware about exit variable concept.
    so what value will pass in the calday filter.
    here after sorting on each PO , you will get 3 different dates, 02/12 for P1
    03/12 for P2
    and 04/12 for P3
    Now if you are aware about exit variable concept, then you will pass this three date to CALDAY(I_t_VAR_Range-low = ...)
    but how query will understand that for P1 calday filter value is 02/12, for P2 calday filter value is 03/12.... and so on...
    actually i have also experienced this kind of issue 1-2 years before, i have tried same thing at that time without thinking and stuck with this problem..
    By d way you can also learn from your mistake.. so just try ur logic and then you will understand what is the problem?
    By d way this will not work, parallel you can work on other solution.

  • How to Delete the dimension from the cube ?

    Hi ,
    how to Delete the dimension from the cube ?
    i have added the new dimension by assiging one characteristic to that dimension .
    now i  want to delete it ,
    but system saying that   Dimension ZXXX  contains InfoObjects; deletion not possible .
    how to delete it ? any help .
    Thanks

    Make sure you donot have any data in cube. If you have some data in cube, then you will not be able to see Delete option.
    Right click on the cube-->Delete data.
    Then double click on the cube>Goto Edit mode> select the IO under that Dimension> right click> now you will be able to see the Delete option (provided you have deleted all the date from Cube)
    Then right click on Dimension-->Delete
    Regards,
    Pavan

  • Delete record from the form and from the database

    hi,
    i want delete record from the form and the database ,but the record is only delete from the from !!!
    this is my code :
    if //condition then
    delete_record;
    commit;
    end if ;
    Any solutions ??
    thnx

    You have unique key field(s) on the table you are trying to insert which actually restricts you from inserting the same value again.
    When you are deleting the record and issue commit there is a record to be inserted in the table which is a duplicate that's why you are getting this unique error.
    As oracle is not able to insert your commit fails and stops your deletion of record from table

  • How to delete the child record from the database

    how to delete a parent and child record from the database can we do it in the servlet and my database is oracle

    I'm not sure I understand the question but you could certainly use the JDBC API from within your servlet to access and modify a DB. You could also use an EJB layer to access your DB and accomplish the same tasks.

  • How to delete the single record from the  ODS

    HI,
       I want to DELETE  the particular record from ODS.. how to delete that..
    plz give me the solution.. it's urgent..
    with regards
    @jay

    Hi Prakash,
        You can delete a particular record from ODS by specifying the key field name in Selective deletion button available in Contents tab in the manage screen of ODS. But it will only delete the record from the active data table and not from the Change log and new data table . You should be very carefull if you are doing in Production system as there is chance of deleting other records accidentally.
    Go to Selective deletion button - > Click on delete selection -> Enter the key field values of the record you want to delete-> Press save button to save as Variant -> Go back and click on selection button -> Chosse the background job type -> Click on start button.
    Regards,
    Prakash

Maybe you are looking for

  • Error when printing a PDF direct from SAP archive

    Hi together, I try to print a PDF direct from SAP archive and I got the error ""C:\Program files\Adobe\Acrobat 7.0\reader\AcroRd.exe" /p /h" not found. In the internet I found several topics which describe this way to print a PDF without open the Acr

  • Error code -50 when downloading music

    I keep getting an error code -50 when I download music..it happens sporatically, about every third song I attempt to download. I have sent endless emails to suport..and no one has an answer--i've done the diagnostics and sent them to support--disable

  • Custom converter for selectManyCheckbox

    I am having the following problem/general question regarding custom converter and a selectManyCheckbox tag: The value property of the selectManyCheckbox tag is referring to a List of Transfer Objects (TO). For this example it is a UserRoleTo, which c

  • Expanding my Power Mac G5.....

    Hello All, I am looking to expand my Power Mac G5 (PCI Slots) with the following cards....will they all work? Thanks in advance. Card going in slot 2: http://www.sonnettech.com/product/allegro_usb2.html Card going in slot 3: http://www.lacie.com/prod

  • I have a Canon MG6120. When I start it I get error code 5050. Does anyone know how to resolve this?

    I have a Canon MG6120 all in one. When I start it I get error code 5050. Does anyone know how to resolve this, besides power off/ power on? Solved! Go to Solution.