Deleting Data from Infocube before loading

We are doing full loads by "Plan Version" into our CCA cube. We do these full loads each night. Eventually a "Plan Version" will stop changing and we can discontinue loading.
My question is there a way we can delete data in the cube by "Plan Version" before the new request is loaded. Right now it deletes overlapping request after the load but this is inefficient.
We would like to delete the data before we load.
We are doing this using a process chain in order to drop indexs first then reload and update statistics.
Thanks
Richard
Message was edited by: Richard Carrier

Richard,
You can do full replacement load of your plan data by changing your plan data load infopackage which persumably have the selection to load plan data i.e. 0vtype 20-90. 
In the Data target tab of the infopackage, select the update data target for the cube(s) in question and click on the automatic loading of identical/similar requests from the infocube (the column to the right of the pencil) and click on delete existing requests button and tick
a) full or initial data load  and selection are the same or more comprehensive.  I typically like to tick also the
boxes for infosources are the same, datasources are the same and source system are the same. 
This will load the infopackage as you normally do and after that immediately delete any same or encompassed requests.  i.e. if current value type selection is 20-90, it would delete a request for 20 as well as a value type for 40 and one for 50...
Hope this helps,
Mary
Hope this helps.

Similar Messages

  • BW Statistics: Deleting Data from InfoCubes.

    Hi,
    I want to see data in BW Statistics: Deleting Data from InfoCubes.
    I am working on  BI 7.
    I have set the infoprovider in Tcode RSDDSTAT.Marked 2 Infocube statistics ( X) and OLAP(2).
    Already activated the BI Statistics.
    I am deleting data from one of the cube . But when I go to cube 0BWTC_C11(BW Statistics: Deleting Data from InfoCubes)
    It is not showing any data .
    I can't see any data in RSDDSTATDELE table also
    Do I need to do any other setting ? Am I missing any steps?
    I need to dislay the log for deleted request /deleted data  ?
    I need to display the log for deleted infoobject/infopackage also? Where can i get this ?
    Pls guide  .
    Regards
    Nilesh

    Hi Venkat,
    I can not able to see in the report also . I have tried 0BWTC_C10/0BWTC_C10_Q251 to 254.
    Whenever I am doing to delete it individullay it goes to table SDDSTATDELE .But whenever I am deleting whole data from cube or request ID  it is not updating  table RSDDSTATDELE.( which is further used to get data )
    <b>I got this from SAP help .</b>
    The characteristic can have the following characteristic values C,N,D and T:
    C (Choose): The system automatically chooses the best delete mode. This is N or D.
    N (Create New): If over 10% of an InfoCube’s data records are to be deleted, the system replaces the InfoCube fact table with a table with data records that are not to be deleted.
    If you want to delete more than 10% of the records, the system creates a new table, copies the data records you want to keep to the new table, deletes the old table and then renames the new table.
    D (Delete): If you want to delete less than 10% of the data records, the system deletes these individual records directly from the InfoCube fact table.
    <b>T<b> (Truncate): If you want to delete all data records, the system deletes all data records from the tables, but retains the tables in the database.</b></b>
    So how to see these records? I am doing full upload to cube 0BWTC_C11(BW Statistics: Deleting Data from InfoCubes).
    Before this do I need to extract data for other CUBE also.
    Pls suggest .
    Regards
    Nilesh

  • Delete data from infocube which is older than 7 days.

    Hi Gurus,
    I have a Cube with the time dimension characteristic as 0CALDAY. This cube gets data from a DSO ,which has 0calday as one of its key fields, in Delta mode. I am in a need to delete the data with calday in the previous week. i.e SY-DATUM - 0CALDAY >= 7 in the infocube.
    I just tried to create a transformation such that both the data target and the source is the above mentioned DSO and used the technical rule group to set the record mode as "D" for the older records and it works fine with the DSO.
    But the Cube still has the data. Just the keyfigure becomes zero. But i want to completely delete the data. I do not want to use "DELETE-FACTS" or the FM "rsdrd_sel_deletion."
    Please help me get out of this problem.
    Thanks in advance,
    Rajesh.

    Hello Rajesh
    Not sure if I understood the problem correctly, but what I understood is you need to keep only last 7 days data in the cube and anything else got loaded earlier should need to be deleted.
    If this is correct then can you delete the whole cube content and load only last 7 days data from DSO to cube via DTP filter ( or some start routine).
    In this case first time delta ( or full) will never read from change log table but it will read from active table of DSO only
    Regards
    Anindya

  • How can i Read and Delete data in Infocube

    Can some help me how to read and delete data in infocube before loading data from direct DSO.
    I should be able to read and delete condition with combination (0FISCPER, 0COMP_CODE).
    Let us say we load JAN, comp _ code : 0001 (10 records )and JAN comp _ code :003 (30 records ) and JAN, comp _ code : 004 (20 records ) to infocube
    second time if DSO gets data of JAN, comp _ code : 0001 (40 records ) it doent need to be 10 old + 30 new, it can be 9 old 21 new lay i need to delete 1 old rec which i dont need. so that is the reason i want delet all JAN, comp _ code : 0001  recods before loading.
    Can some one help me

    Hello,
    You could use the selective deletion available with the cube to get the selective data for 0FISCPER, 0COMP_CODE combination deleted.
    If you go in the manage of cube & Content tab, you would find the selective deletion option at the bottom of screen.
    If you enter the option, you could give your selections for deleting the records and run the job.
    Please let me know if you need any more help.
    Regards,
    Pankaj

  • Delete Overlapping Requests from InfoCube: Before or After the Generate Ind

    Hi,
    Delete Overlapping Requests from InfoCube Before or After the Generate Index of the Infocube? Why?
    I think "After", but the system (transaction RSPC)suggest 1.Generate Index 2.Overlapping Requests from InfoCube ...
    Thanks
    Alessandro

    Hi Alessandro,
       Bottom Line Index will speed up the Process. While loading the Data you need to delete the Index.
    Index will degrade the performence while updating or modifying DB Entries(Loading). Index will improve the performence while reading the DB(Reporting).
    It's not with BW. all RDBMS need this.
    Regards,
    Nagesh.

  • Open HUB ( SAP BW ) to SAP HANA through DB Connection data loading , Delete data from table option is not working Please help any one from this forum

    Issue:
    I have SAP BW system and SAP HANA System
    SAP BW to SAP HANA connecting through a DB Connection (named HANA)
    Whenever I created any Open Hub as Destination like DB Table with the help of DB Connection, table will be created at HANA Schema level ( L_F50800_D )
    Executed the Open Hub service without checking DELETING Data from table option
    Data loaded with 16 Records from BW to HANA same
    Second time again executed from BW to HANA now 32 records came ( it is going to append )
    Executed the Open Hub service with checking DELETING Data from table option
    Now am getting short Dump DBIF_RSQL_TABLE_KNOWN getting
    If checking in SAP BW system tio SAP BW system it is working fine ..
    will this option supports through DB Connection or not ?
    Please follow the attachemnet along with this discussion and help me to resolve how ?
    From
    Santhosh Kumar

    Hi Ramanjaneyulu ,
    First of all thanks for the reply ,
    Here the issue is At OH level ( Definition Level - DESTINATION TAB and FIELD DEFINITION )
    in that there is check box i have selected already that is what my issue even though selected also
    not performing the deletion from target level .
    SAP BW - to SAP HANA via DBC connection
    1. first time from BW suppose 16 records - Dtp Executed -loaded up to HANA - 16 same
    2. second time again executed from BW - now hana side appaended means 16+16 = 32
    3. so that i used to select the check box at OH level like Deleting data from table
    4. Now excuted the DTP it throws an Short Dump - DBIF_RSQL_TABLE_KNOWN
    Now please tell me how to resolve this ? will this option is applicable for HANA mean to say like , deleting data from table option ...
    Thanks
    Santhosh Kumar

  • Deleting data from a table where there are no indexes on the table

    Hi
    We have one interface program for one time process.When I was testing the process it was taking too much time to load the data around 1000 records.
    it happens in 2 steps
    1 puts into stage table
    2 puts into base table
    in the process/package I have delete statement that deletes data from stage table before each process.
    Stage table did not have any indexes but the base table has(obvisiosly)
    any idea?
    please help me on this.
    Thanks,
    Y

    Hi,
    Please post the application/database details along with the OS.
    Is this interface program a seeded or custom one?
    Please enable trace on this concurrent program as per (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12) and generate the TKPROF to find out why it takes that long to load/delete the data.
    Thanks,
    Hussein

  • Deleting data from DSO(0FIGL_O10) & IC(0FI_GL_C10)

    Hi All,
              I would like to know whether Deleting Complete data from InfoCube(0FI_GL_C10)/DSO(0FIGL_O10) & then doing Fresh init-Update from the Source-Systems(We have two) would create any problems.
    If there isn't going to be any problem apart from the time, Please explain the Procedure?
    Please Reply.
    Regards,
    Srikar

    Hi all,
            Thanks for the replies.
            The reason I wanted to delete the entire data was because by accident someone had deleted the Initial source-system
    assignments for one SS(We have two SS; the other one is working properly). So i have decided not to delete the entire data from the Data-Targets(0FIGL_O10 & 0FIGL_C10) as the data from other SS is working properly.
           Data has been loaded only once(Init-Update) from the SS in which i am having the problem. However it was Loaded a long way back & has been data-marted to the InfoCube. Moreover, Init-Load is still present in the PSA.
          1.  I want to know whether reloading the PSA(Init-load) data to ODS is going to reassign the Initial SS assignment.
               A) If yes, Do i need to first delete the Init-Data Request from the DSO(which has been data-marted) & from the InfoCube
                      as  well. and do i need to change the Requests from Green to Red(In both IC & DSO).
               B) If No, then what am i supposed to do?
    Regards,
    Srikar

  • Error while deleting data from a write optimized DSO using a Process Chain?

    Dear Bwers,
    I am facing a strange error while using process chains to delete data from data target which is a write optimized DSO. The process shows as failed but the data gets deleted in the DSO. The error message is as below. Did anybody have a similar problem? Any suggestions.
    Thanks
    Raj
    Error while deleting content of InfoCube/DataStore object ZLSD_G03
    Message no. RSDODSO153

    Please, check if you get any short dump in ST22 related to this issue.

  • Deleting data from a cube

    Hi,
    I added a info object to a dimension in a cube. now i want to delete the info object from the cube. But since the cube has data in it, i cannot do it unless i delete all the data from the cube. When i select 'delete data', i'm given 2 options, delete fact table only and 2nd option delete fact table and dimension table. what is the difference between the two and what option should i select.
    i then need to load the cube back from ODS. the cude right now is setup in the proce4ss chain to do a delta load every day. would this be affected after i delete the data and load it again from the ODS?
    Thanks
    Sameer

    The way I understand your question is...
    1) You have data in the cube from which you have to remove an infoobject
    Ans: To acheive this, you have to delete the data from the cube
    2) You have deleted the data and then deleted the IO, activated the cube and the update rules from the ODS which feeds this cube
    3) Now you have to reload the deleted data from the ODS. But you already did an init and you are loading delta's from this ODS to the cube through process chain.
    Ans: As you've already deleted the whole data from the cube, do a full load from the ODS (you can do this even when delta initialization is done) to your cube by creating a new infopackage under the export datasource of the ODS. This will capture all the records from the ODS. Then to be on the safe side so as not to load any duplicate records...go the infopackage that you've used to do the full load (you can even create a new Info package)...SCHEDULER -> Initilization options for source system -> Delete the existing INIT -> Then do Init again...
    Leave the delta infopackage as is and let the process chain take care of the deltas from now on...
    Hope this helps. Let me know I am missing something here...

  • "Transfer structure  does not exist" while deleting data from a DSO

    Hello experts,
    while deleting data from a DSO I get the following messages:
    @5B\QInformation@     Database table /BIC/AAKIVO1400 was deleted and recreated
    @5C\QError@     Transfer structure  does not exist
    When I try it twice process works without any problems. I get then the following msgs:
    @5B\QInformation@     InfoCube / DataStore object "AKIVO14" contains no data (yet)
    @5B\QInformation@     Database table /BIC/AAKIVO1400 was deleted and recreated
    So I think the first deletion works but ended with errors. What could be the reason?

    Please check if data from new and chage log table is also deleted.
    For the error message : Do you have 3.5 flow ? Check your transfer structure , if it is active and then again try to right click and delete data from DSO.
    - Monika

  • What is the difference between methods of deleting data from cube

    Hi,
    Is there any differences, pros and cons for deleting data from cube by:
    1) deleting the specific request loaded into the cube
    2) using selective deletion with specific characteristic values
    Assumption for the above is both the options will delete the same data set.
    Thanks and regards.

    Hi BW Beginner,
    Yes, of course, there are differences.
    Selective Deletion:
    PROS: You can use to delete data that satisfies a certain criteria (e.g. some characteristic values).
    CONS: I think this locks the whole cube during deletion
    Deletion by request id:
    PROS: You can easily delete all data that belongs to a certain request id (i.e. you can easily delete a bad load).
    CONS: If you have already compressed the cube, you can not use deletion by request id to delete a certain request.
    Hope this helps.

  • How do you get deleted data from the app Tote M'Notes back on iPad ????

    How do I get deleted data from app Tote M'Notes back???...Not displaying in my notebook anymore...also how do i retrieve data from apps stored in Icloud?

    Why don't you use the fully-qualified-domain-name (FQDN) of your GW and perform a re-direct to this ?
    This should be known (and everytime the same), addtionally you won't have any problems if there's any load balancer in between or in fron of the GWs.
    Secondly you'll have problems to get the IP -address if there's any proxy server involved.
    /ulf

  • How to Read data from Infocube

    Dear Friends,
    I have requirement to read data from Infocube.
    I know the Function module(FM) which SAP provided. The FM name is RSDRI_INFOPROV_READ.
    But when i am trying to execute this FM in SE37, it giving "Error generating the test frame" message.
    I called this FM in start routine, it giving error while loading.
    If any using this please let me know, how to use this. If any have sample code, please share.
    Thx
    Raj

    Hi,
    i used to check documentation all time, but this time I forgot to check.
    It is well documented. thx for igniting my mind.
    bye
    Raj

  • How to Extract Data from SAP and Load it into Essbase

    Hi All,
    Can you recommend some ways to extract data from SAP and load it into Essbase?. I have no knowledge about SAP, not sure how I can perform this task. Can I use ODI for this job?
    Thanks

    hi,
    Not sure if this helps but give a try
    you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
    or
    below are steps
    1. In EASPATH\console, open components.xml in a text editor.
    2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
    3. Save and close the file.
    4. In EASPATH\console\bin, open admincon.lax in a text editor.
    5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
    6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
    7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
    8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
    9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
    let me know if it works :)

Maybe you are looking for

  • How to use function v( ) for bind variable 30 char

    I have the following process, try to load columns from table to the page. One of the column complains about > 30 char cannot use bind variable. I change to V('c1.OBJ_OUT_SOURCIING_WAD_TYPE') but still not work. Please help; BEGIN FOR c1 in ( SELECT *

  • Remote Connection Issue in Oracle JRockit

    Hi, I Tried configuring Jrockit and integrating weblogic server with it. I was successfull in monitoring the locally deployed app through integrated weblogic in JRMC 4.0. Please suggest if the following steps mentioned are proper or not. 1) Installed

  • Time Dependent Collect Pattern BPM

    Hi, I need to collect messages during certain time interval using BPM in my scenario. I have used the exactly same pattern as given in SAP BASIS 7.0 SWC under namespace http://sap.com/xi/XI/System/Patterns with name  BpmPatternCollectTime. The proble

  • Invalid Password error on Instance Deletion

    Hi, OS: Windows 2000 Oracle Version: 8.1.7.0.0 Whenever I try to delete an instance through Database Configuration Assistant, I confirm that I'm sure I want to delete it and I then receieve a DBCA-00012 Invalid Password error. I haven't even entered

  • Without selection screen how can we featch the file.

    Hi all,      without selection screen(parameter,select-options iam not using these both.) how can we featch the flat file what ever it may be (file format is xls.textor any thing) how ot do...plz it's urgent for me. Regards, Krishna,