BW data loading to cube (delete data before load)
I have a cube which load data from a SQL based source system.
I would like to have a schedule job which first delete current year's data in the cube, then extract and load current year's data from SQL server to cube.
How can it be done? Thanks.
Hi,
If you are using Process chains then use...
Use DELETE_FACTS tcode and genarate the report name i.e. select Data target and Genarate Program then execute it will genarate the program, so create varient for that program and then use it in process chain. i.e.
Start
|
Delete using that Program (with varient on year/month)
|
Load data
Thanks
Reddy
Similar Messages
-
Loaded data amount into cube and data monitor amount
Hi,
when I load data into the cube the inserted data amount in the administrator section shows 650000 data sets. The monitor of that request shows a lot of data packages. When I sum the data packages, the sum is about 700000 data sets.
Where is the difference coming from?
Thanks!Hi ,
If it is a full load to the cube , all the records are updated in it since in a cube data can be overwritten.
If it is a delta load and u want to see why the difference occurs between the records transferred and added in cube ,
u can go to the manage tab in dso , go to the contents tab ,there click change log button at the below , check the number of entries in that table , the number of entries are the added records in cube since only these records are the new records other records with the same key are already present in the cube. -
I downloaded the new updates and now my game Slots Wild will not load, even after deleting and reloading, can anyone tell me how to fix this problem
Hi AP_In_Surbiton,
I am really sorry that you have had so much trouble getting your Caller ID up and going. I'll be happy to help you out with this and get it working for you.
Could you drop me in an email please? Use the 'contact us' form in my forum profile under the 'about me' section. You can find it by clicking on my username.
Thx
Craig
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)”
td-p/30">Ratings star on the left-hand side of the post.
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’. -
Deleting data from a compressed cube
Hi Gurus,
I have an info cube which is getting data fron three different DSO's (DSO1, DSO2, DSO3)
and I have Aggregates to the cube and this whole process is automated in a Process chain
now I have to delete the data in the cube which is getting loaded from DSO2 only
how to achieve this
Thanks
MSS:-)Hi,
You can do Selective deletion but how you do that , is there any field which differentiate between DSO1 , DSO2 & DSO3
based on that fields you make selective deletion
for Dynamic Selective deletion goto the following link
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4001f4b1-189f-2e10-bcb3-87bb0fb428ba
another option is to create infoset/ multiprovider based on DSO1 & DSO3
Best Regards
Obaid -
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
SameerThe 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... -
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
NileshHi 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 InfoCubes 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 -
Question on Deleting data from data target
Hello Experts,
I have one quesiton, what is diffrence when we right click on data target and " delete data" and when we right click on data target and go to manage and delete particular request.
is it same thing or diffrent ?
Please help.
Regards
KrishHi Krish,
If you right click on data target and choose delete data option then you have the option of deleting data from Fact table alone or from Fact table and the Dimension tables too.
The other options will delete the data only from the particular request Fact table.
Thanks and regards
Balaji -
Erase data from open hub destination data service
Hi,
I'm getting an error trying to delete data from a cube, for which data are extracted using open hub service and loaded into a table.
The error given is the following:
Request updated in 1794 already by 1795 target DTPR_4EEX9CGGXLTU2QIPWUAIEUDZK DTP request (ZRAPPEL)
Message no. RSM077
Diagnosis
One or more DTP requests have already updated the request.
Procedure
Firstly, delete all update requests from your targets. Then you can delete the source request.
Zrappel data is the open hub destination. But it is clear where requests for this destination, to let me delete the cube data.
Thanks.Hi,
Procedure
Firstly, delete all update requests from your targets. Then you can delete the source request.
Follow the same steps above , that means delete the requests from the Cube Zrappel.
right click on the cube -
> Delete Data
now the syatem will promt you asking
Do you want to delete the content of data target Zrapple ?
say yes for it .
hope this will solve your problem
santosh -
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 CarrierRichard,
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. -
Delete the records which have the Data values are NULL before load data to BPC model
Hi Everyone,
I am loading the data from flat file to BPC Model (10.0 Version).
Source data (Flat file) looks like below:
RP_Employee RPT_Currency Data
Test USD 8
Test1 USD
Test2 USD 6
My user requirement is that to delete the records which have the Data values are NULL before load data to BPC model.
So,Please let me know how can i meet to this requirement.
I am thinking that,it is possible by using start routine BADi. If i am correct please let me know process like creation of class and BADi implementation.
Thanks in advance!!Hi Nilanjan,
Please see my source data below:
Account Client Employee Time Data
123 XYZ Vishu 2014.01 300
456 2014.01
789 ABC Alexander 2014.02 200
If you see the second record,
If data value is ZULL, then the Employee or another dimension is also NULL.
So I want to delete second records.
If it is Start routine please share the code and steps to do.
Thanks in advance!!
Regards,
Viswanath -
Do we have to load data in BPS cube before entering values ?
Hello,
Can someone explain me the flow of data in BPS. Like I have created a copy of a regular cube and will be working on that making it into a transactional cube (as per help.sap). So do i need to load the same data in tran. cube from R/3 as load in regular cube. or do I just have to create the planning folders and layouts and let the user enter their planning values?
Do we have to send the data that users input back to R/3 ?
In short if someone can explain me the flow of data it would be great.
Thanks a lot in advance.Hi,
If you are working on funds management then I think there's an extractor for it and clients usually plan and retract the data back to SAP. Again, loading of data is not just for comparing plan and actuals the client might be reporting on the data.
BPS is a part of BI, the main area that is normally implemented first is the BW part which is for reporting and then go for BPS.
What I am not sure is these are very generic questions can you be more specific as to what's the problem you are facing. All the points mentioned by you will be handled/answered during a blue printing session.
thanks -
Process Chain which loads data to a cube
Hi All
Please help me create a process chain in BI 7.0. I have to load the data in to a cube and before that i need to delete the existing request in the Cube. I think i should use " Delete overlapping requests from Infocube". In the maintain variant for this process type what object types i need to add. Do i need to add both Execute infopackage and Data transfer process objects.
Regards
NagaHi Ravi
I am loading the data from PSA to Cube using DTP. Actually my data source is export datasource (8ZHYP- prefix 8). So accroding to your answer i should use DTP object type in the process type delete overlapping request. But when i create a variant for that process type it is getting Indexs > Create Index > Data Transfer Process > Request to delete data in the infocube.
I just want to delete the data in the infocube before i load the data. So can i delete all the remaining processes.
Regards
Naga -
I am loading a cube from a cube. There is data which meets my info package selection criteria in the source cube but I get 0 records transferred, added to the cube. There is no delete in start routines.
Just before loading I have selectively deleted all records from the target cube so as to not disturb existing delta mechanism
The load I am making is full repair
Can someone assist
ThanksHi Akreddy
I am not sure "Repair full to Cube"...!
Still the following is my opninon abt your issue...
It seems there is some miss map ..Just one quick check in the DTP monitor in which step your getting 0 records . Is it Data package level or transformation level or routine level..
Identify the step where the transfered records is nullifying then dig through the step..or post the waning or message in this forum so that its pretty easier to get answered..
Hope its clear a little..!
Thanks
K M R
"Impossible Means I 'M Possible"
Winners Don't Do Different things,They Do things Differently...!.
>
akreddy wrote:
> I am loading a cube from a cube. There is data which meets my info package selection criteria in the source cube but I get 0 records transferred, added to the cube. There is no delete in start routines.
>
> Just before loading I have selectively deleted all records from the target cube so as to not disturb existing delta mechanism
>
> The load I am making is full repair
>
> Can someone assist
>
> Thanks
Edited by: K M R on Aug 16, 2010 2:01 PM -
Deletion of Data in Inventory Cube -Effect of Marker
Hi,
We would like to delete some OLD data from our Inventory cube,Will it effect the Marker.If yes, how and is there any way out where we can find out where the marker has been set i.e upto what request or to which date,any table which stores the marker update or method by which we will come to know as to where the marker is set.Suggest apart from running the Report which has non cumulative KFs.
Scenerio.
I have loaded data for 4 month,(say Jan,Feb,March and April ) in Inventory cube,say each month one request so 4 requests all together. I will compress all three OLD requests (for Jan ,Feb and March) which r OLD and I keep the latest uncompressed (April). The compression happens with Marker update only(Without the Check).we are running the report to check the change in values.
Suppose if I delete data of Feb, Will my Marker get Effected ???
Rgds
SVUHi SVU123,
We would like to delete some OLD data from our Inventory cube.
Will it effect the Marker.If yes, how and is there any way out where we can find out where the marker has been set i.e upto what request or to which date,any table which stores the marker update or method by which we will come to know as to where the marker is set.Suggest apart from running the Report which has non cumulative KFs.
I think, this you can check in /BI0/L0IC_C03. For each plant/material (validity determining characteristic) you will have two record maintained in this table. The record with request SID = 1 will tell you when the marker was last updated for that plant/material.
I think, all the marker values are stored as reciept cumulative key figures with 0CALDAY as 31/12/9999. Check, if this is the case in List cube/ Efact table(not sure on Efact table though).
Deletion should not disturb the marker value if the restriction of material and 0CALDAY is given.
This will avoid deletion of the marker value, which I assume is stored in 31/12/9999.
Also, ensure that you are not deleting the values which have not been used in Marker calculation,(dates greater than dates when the marker was last compressed
Suggest you to check the whole deltion in Quality or make a copy cube in production and work on repairiing it.
Scenerio.
I have loaded data for 4 month,(say Jan,Feb,March and April ) in Inventory cube,say each month one request so 4 requests all together. I will compress all three OLD requests (for Jan ,Feb and March) which r OLD and I keep the latest uncompressed (April). The compression happens with Marker update only(Without the Check).we are running the report to check the change in values.
Suppose if I delete data of Feb, Will my Marker get Effected ???
I think, it shouldn't. But I suggest you to try this before..
Hope this helps,
Best regards,
Sunmit. -
Input ready query is not showing loaded data in the cube
Dear Experts,
In Input ready query we have problem that it is not showing the values which was not entered by throught hat query. Is any settings in input ready query that we can do to populate the loaded data on the cube as well as data entered through Input ready query itself.
Thanks,
Gopi RHi,
input ready queries always should display most recent data (i.e. all green and the yellow request). So you can check the status of the requests in the real-time InfoCube. There should exist only green requests and maybe at most one yellow request.
In addition you can try to delete the OLAP cache for the plan buffer query: Use RSRCACHE to do this. The technical names of the plan buffer query can be found as follows:
1. InfoCube\!!1InfoCube, e.g. ZTSC0T003/!!1ZTSC0T003 if ZTSC0T003 is the technical name of the InfoCube
2. MPRO\!!1MPRO, e.g. ZTSC0M002/!!1ZTSC0M002 if ZTSC0M002 is the technical name of the multiprovider
If the input ready query is defined on an aggregation level using a real-time InfoCube, the first case is relevant; if the aggregation level is defined on a multiprovider the second case is relevant. If the input-ready query is defined on a multiprovider containing aggregation levels again the first case is relevant (find the real-time InfoCubes used in the aggregation level).
Regards,
Gregor
Maybe you are looking for
-
My videos started DOWNLOADING instead of STREAMING, please help
Hi, I use to be able to show streaming video's on my site, created with Apple's iWeb and Compressor. Now, the videos I add to the site do not stream they download; they show the QuickTime logo; it takes quite some time for the videos to appear. I use
-
Dynamically create document type Item Attribute using WF_ENGINE.AddItem API
Hi Is WF_ENGINE.AddItem API , supported to create document type Item attributes dynamically ? If yes how do we set the display name of the attribute. If no then is there is any other method to dynamically create document tyoe item attribute? Thanks
-
Do you get a refund if i delete an app i paid for?
Do i get a refund if i want to delete an app i paid for?
-
This Crash Report Appeared After I deleted (/System/Library/PrivateFrameworks/ProKit.framework) and installed updated - ProKit 7.0 PLEASE HELP - THANKS Process: Logic Pro [2956] Path: /Applications/Logic Pro.app/Contents/MacOS/Logi
-
Possibility of message notification without always visible tray
greetings readers, i moved to openbox WM after using gnome for some time. i love the fact that i can undecorate applications and gain more usable screen real estate. i realized how unnecessary the top and bottom panels in gnome were ... until i start