Steps involved in Selective Deletion of Data from Info Cube
Please search...this is much discussed in different threads out here
Hi Experts
I shall be greatful if you can updated me with the detail steps involved in Selective Data Deletion from a Info Cube....as i need to delete data selectively from a Infocube in LIVE system...so there is no second chance for me..
Please update in detail
Thanks in advance
Edited by: Moderator
Not sure how you were searching, but did you come across any of these...
https://forums.sdn.sap.com/search.jspa?threadID=&q=selective+deletion&objID=f131&dateRange=all&numResults=15
Similar Messages
-
How to extract data from info cube into an internal table using ABAP code
HI
Can Anyone plz suggest me
How to extract data from info cube into an internal table using ABAP code like BAPI's or function modules.
Thankx in advance
regds
AJAYHI Dinesh,
Thankq for ur reply
but i ahve already tried to use the function module.
When I try to Use the function module RSDRI_INFOPOV_READ
I get an information message "ERROR GENERATION TEST FRAME".
can U plz tell me what could be the problem
Bye
AJAY -
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 -
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.
thankscheck the class CL_RSSM_REQUDEL and method IF_RSPC_EXECUTE~EXECUTE
-
Selective deletion of data from ODS
Hai,
I need to delete selectively data from an ODS. I know that I have the option of selective deltionin cube. But how can I delete them in ODS?
Thank you.Hi Vasu,
In ODS > right click > Manage on the Contents tab you also have the option of Selective Delete...were you looking for something else? -
Loading data from Info cube to PA
Hi All,
I am trying to load the CVC from Infocube to Planning Area in Development environment.
I am getting error message for mismatch of periodicity of infocube and Planning Area.
how to resolve this. Where do we define the periodicty of infocube ? I don't think so ?
Please help me
Thanks a lot
Prabhat SahayPrabhat,
I understand that you already have the data in the infocube and want to load it into the planning area.
However it is important to ensure that the data in the cube and the planning area have the same periodicity failing which we will run into such issues.
So pls go back to the step of defining the infocube.
In RSA1 if you double click on the infocube name which you are using as source, you can see the details in the right. In that, look for the dimensions section, under that look for the time section. If that contains a calweek or a calmonth and you are using a fiscal variant, this issue occurs.
You have to drop your infocube data, redefine the cube to use FISCAL PERIOD and FISCAL VARNT instead of calweek or calmonth and then load the data back again. You need to ensure you populate the fields FISCAL PERIOD and FISCAL VARNT. You might want to do that with routines in your update rules or your infosource communication structure. REmember to activate the entire structure from cube to data source.
Once you load the data into the cube with the new setting, and then try to copy the data into planning area, it will be successful.
To answer your other question. Yes Time Characteristics is necessary for loading data between cube and planning area.
Hope this helps.
Thanks
Mani Suresh -
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... -
Selective deletion of Data in DSO in a process chain
Dear all,
Is there any standard functionality that allows to selectively delete the data from a DSO (the three tables to avoid delta inconsistencies) in a process chain? The unique option I could see in standard functionality is to delete the entire content.
Any help will be much appreciated.
Thanks&Regards
BegoniaHi.
There is standard FM for such purpose RSDRD_SEL_DELETION.
You should write report (SE38) that using this FM and then run this report within process chain with variant.
Please follow the [example|http://wiki.sdn.sap.com/wiki/display/BI/Schedulingselectivedeletioninprocesschain-%28infocube..%29].
Regards. -
Release of History from Info Cube to Planning Area
Hi Experts,
I am using program /SAPAPO/RTSINPUT_CUBE to load sales history data from Info Cube to Planning area. Most of the data gets loaded but for few CVCs we get following message: -
549 combinationens of InfoCube are not contained in the BasisPlobStru
While checking up these CVCs in transaction /SAPAPO/MC62 and Planning Book I can see that these CVC exist and data is also visible.
Could anyone please help me out with the reason and what should be done to encounter this.
Thanks in Advance.
Thanks and Regards,
Chandanhi Chandan,
First of sincere apologies for not having read the query completely.
regarding your query on 549 combinationens of InfoCube are not contained in the BasisPlobStru, as you have stated that the CVCs exist in the MPOS.
But can you please check if the CVCs maintained in the MPOS are the exact CVCs that are mentioned in the messgae. For example, the message is for location product sales org Country. Can you check if the CVC exists for this combination for which the forecast is being loaded from the source? For example it is possible that data is being loaded for Loc1 Prod1 SalesOrg1 Country1, but the CVC exists for Loc1 Prod1 SalesOrg2 Country1, then such message appears.
So can you check if the exact CVCs are exisitng in the MPOS as indicated in the messages?
Rgds, Sandeep
Sorry again for misreading on your query. -
Deletion of data from change log table and PSA
Hi,
For a DSO I want to delete data from "Chnage log table" and " PSA Tabel".
For the DSO manage screen I have seen " Environment-> " Delete changelog table" from this we can delete chnage log table data as per my understanding.
at PSA Level Mange screen also I have seen " Environment-> " Delete changelog table" from this option also it deletes the data from change log table or it deletes data from PSA table?.
if this option also deletes data from changelog table then how we can delete data from PSA table?
Please clarify meHi,
I am not sure what are you referring to from your point "PSA Level Mange screen also I have seen " Environment-> " Delete changelog table". When ever you click on manage for your psa you will be routed to a popup where you can see all your requests in the PSA table & there after if you click on any single request you will get Environment menu option but there wotn be any change log deletion option available. Please check again? Right clicking on your data source will take you to the manage requests for PSA. You can selectively delete the requests as required.
For DSO when you right click on manage you can directly find Delete change log data option in the Environment tab. there you can select the requests you want to delete.
Also if you want to automate the deletion process then you can simply create a chain and include the steps for PSA deletion & change Log deletion accordingly.
Also it is recommended to keep on clearing the PSA table & Chage log data at regular intervals as it saves the disk space & thus helping in performance optimization
Please refer the below doc at SDN, it will be helpful for you in automating the process of change log deletion & PSA deletion.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
Hope it clears your doubts
Thanks -
When I tried to delete a date from my calendar it disappears for a second but then it comes right back. I tried to edit the same appointment but the calendar will not edit.
Try a Reset...
Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
If no joy... Try a Restore...
1: Connect the device to your computer and open iTunes.
2: If the device appears in iTunes, select and click Restore on the Summary pane.
3: If the device doesn't appear in iTunes, try using the steps in this article to force the device into recovery mode.
From Here
Unresponsive iPad
http://support.apple.com/kb/TS3281 -
Error while deleting the data from DSO
Hi Experts
I am getting the ABAP Dumps when I am trying to delete the data from the DSO Objects in my Systems.
" An entry was to be entered into the table
"\FUNCTION=RSAR_ODS_GET\DATA=L_TH_ISOSMAP" (which should have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.
The insert-operation could have ocurred as a result of an INSERT- or
MOVE command, or in conjunction with a SELECT ... INTO.
The statement "INSERT INITIAL LINE ..." cannot be used to insert several
initial lines into a table with a unique key. "
I have tried with multiple DSO's and Have the same issue. Please need your suggestions.
Regards,
MaheshHi......
I think in the ODS setting Unique Data Records checkbox is ticked........if so.........The DataStore object can be used for loading unique data records...........If the loaded request does contain data that is already in the DataStore object, activation of the request will lead to an error.
Find the request in SE16>>RSICCONT table .........and try to delete there....it may work........
Check this.....
u2022 Note 1007717 -Deleting from Data Store object: Termination w/o log
u2022 Note 998704 - Deleting req from DataStore obj: Status at end of processing
u2022 Note 1037507 - System Termination when you delete from DataStore objects
Regards,
Debjani..... -
How to delete PSA Data from any Table
Pls specify the steps to delete PSA Data from any specific table.
You can delete the PSA requests manually one by one as specified in the previous posts.
You can also trigger the deletion of PSA periodically by using Process chain.
'Deletion of PSA request' is the process type that need to be used.
By this way you can delete all the PSA requests of the table, that are older than certain number of days.
you can also schedule the PSA deletion for more than one table at a time, by including the tables in the same Process chain. -
Deletion of Data From PSA in BI 7.0
Hi All,
my req is tht we are using Full Load info package from DBconnect ..now i want to delete the data from the PSA of the datasource whenever we schedule the info package so that there is only one request in the PSA.
i want to achive this using process chain.....
wt option to select the in the deletion of the PSA process type........and the name of the PSA.Hi,
Please go through following link
[http://help.sap.com/saphelp_nw70/helpdata/EN/b0/078f3b0e8d4762e10000000a11402f/frameset.htm] -
hi all
i have to delete data from a view .i deleted data from all dimension tables but still data exists in one of the table which is a view
can any one give me some inputs
thanks in advance
suryaHi,
Basically the view doesn't contain any data. It is the table which contains the data. So you can find out the tables on which the view is based and delete the data from them. In SE11, find out the definition of view, there you will also find the tables involved.
Regards,
Yogesh.
Maybe you are looking for
-
hiya got a new hard drive installed and couldn't retreive anything off my old hard drive can i get my old purchased items from itunes thanks
-
I will pay you if you can help me with..
Logic studio. I have tons of questions about everything and I dislike reading. If you would be so kind to 'teach' me the programs inside logic studio I will pay you $5 an hour. Reach me at: [email protected] or my aol instant messenger screen name: w
-
Problems XI/PI with displaying adapters in adapter monitioring
Hi everybody, we have yet installed XI/PI 7.0 SP09. In the adpater monitoring we can only see the JPR adapter but no other standard adapters (FILE, JDBC etc) are displayed. Furthermore the adapters could also not be selected during creating a communi
-
How do I get rid of an app update notification that doesn't apply to my version of OS
I have an app on my iMac which is running Snow Leopard. A recent udate has been issued that only applies to Lion OS but the update notification still shows on my App Store. I can't get rid off it even if I try downloading it. Any suggestions please?
-
Full database import(impdp) error
HI ppl, Plz help.. My full database import is failing due to ORA-39126: Worker unexpected fatal error in KUPW$WORKER.LOAD_METADATA [TABLE_DATA:"SYS"."SYS_IMPORT_FULL_04"] SELECT process_order, flags, xml_clob, NVL(dump_fileid, :1), NVL(dump_position,