Selective deletion of ODS Job cancelled if number of selections exceed 300
Folks,
I am doing a selective deletion of some duplicate records in the ODS. I have identified 8000 records to be deleted and each records has a unique Key.
In the delete options for selective deletion, I enter all the 8000 key values from a notepad and run the job in background, the job gets cancelled immediately giving an ABAP/4 exception raised error and giving a short dump. The short dump doesnt help much as well. However the job runs fine only for a maximum of 300 or so records.
I wanted to know if anyone has faced the same error, or is there a limit to the number of entries we can put put on the selection screen or is there a limit on the number of lines we can delete on an ODS using selective deletion?
Any help appreciated.
Thanks
Raju
Anoop,
I have tried Importing from text file, copy from clipboard also and scheduled the job in background. The max i could go was 300 selections only.
My scenario is the ODS has only one key called BWODSKEY. So each selection I am using in selective deletion corresponds to one record on the ODS to be deleted.
Thanks
Raju
Similar Messages
-
How to automate selective deletion of ods in process chain
Hi,
How can we automate selective deletion of ods in Process chain. I tried with the proceedure. Using T-code "delete_fact" I gave selection parameters and Name of the program and saved this as variant and gave the same program and variant in Process cahin. But it is not deleting data. So plz guide me whether I have missed anything in this proceedure.Hi purushottam,
you have to give to program variants in the process chain for data deletion to take place. in the first program variant include the rsdrd_delete_facts as program name and in the program variant give a variant for your infoprovider selection.
Now again select another program variant and include the name of the program which you get after selecting the infoprovider name and the generate selection program option in the "program for deleting selected entries from the data target" screen " and press execute.
again give another variant for your field selection.
now try execute the process chain. -
Selective Deletion - can the job be stopped?
Hello experts,
we are facing this issue: a selective deletion of approx. 5000 records out of 15 million records was carried out in a cube last friday.
We can see the background job is still running. This is the first time we are doing a selective deletion so we don't know if this is normal that the job is running for so long. If it's not normal, is it safe to stop the job?
Many thanks in advance.
Regards,
InmaThank you for your answer. But is it safe to stop the job? why is it taking so long?
Thanks
Inma -
Selective Deletion and Del. Mode
Hi there,
I selectively deleted some records from an ODS, and afterwards I was checking the deletion log. There are two fields that I would need more explanation.
There are some records in the log with Del. Mode of 'N' and 'D'. Can anyone explain what 'N' and 'D' mean?
Secondly, there is a number of records field. This field actually shows the number of records left in the ODS. Where can I look for the number of records actually being deleted?
Thank you for the help.Hi,
Most likely, you were looking into Change Log rather than deletion log. N and D field stand for New and Delete -- that's when New records are created or existing records are Deleted. The field that stores those values should be called RECORDMODE if I'm not mistaken.
When you do selective deletion from ODS, you just delete records from active table, it doesn't impact Change Log in any way.
Are you sure that Change Table was hit by selective deletion? Did you check that Change Table has been changed after you performed selective deletion?
Cheers,
/RB -
hi all,
we a have a data target which was compressed and rolled up...
please do suggest us how to go for selective deletion if the data target was rolled up???
on what basis we need to do the selective deletion ??
thanks for ur understanding...
suggestions would be highly rewarded
regards
PrinceHi,
in the subsequent datatargets of your ODS:
if the requests are only rolled up, then you can delete those requests; now if your aggregates are collapsed then you'll have to dactivate them and reactivate them after. If not you can simply delete them.
then delete all the requests from your ODS up to the request right after the missing one. This will deactivate you ODS delta init. This is not a problem since when you'll have finished with the above your ODS and subsequent targets will have a consistent status in terms of data.
Reinit your ODS delta without datatransfer, reconstruct your missing request and the subsequent requests in your ODS.
Reactivate them (not all together as a single activation, but separately).
Then load the delta into your subsequent targets.
Now if the subsequent datatargets are collapsed then you'll have to either reinit with full load or selective delete them. the missing request in your ODS still must be reloaded before!
If you go for selective deletion you'll have to find the right selection criteria based on the data of your ODS. For instance if you can ensure that only a selected period is incorrect (all the ODS requests from the missing one to the last only contain data for JAN08) then you can selectively delete JAN08 from your subseq targets and perform a FULL load selecting JAN08 from your ODS.
Then perform an INIT without data transfer... you can then continue your deltas as usual....
hope this helps....
Olivier. -
Selective deletion and selective upload through ABAP coding in SAP BI
Hi,
I have to do selective deletion from an infocube and put the same selections into the filter of DTP entirely through ABAP.
Please specify if there is any such code/function modules/methods available in ABAP.
Best Regards,
Pankajcheck this where i have written in start routine
CALL METHOD P_R_REQUEST->get_TGT
RECEIVING
R_TGT = I_TGT.
CONCATENATE '/BIC/A' I_TGT '00' INTO ACT_TABLE.
CONCATENATE '8' I_TGT '_VA' INTO ACT_TABLE_RSTSODS.
DATA: SOURCE_PACKAGE1 LIKE LINE OF SOURCE_PACKAGE.
READ TABLE SOURCE_PACKAGE INTO SOURCE_PACKAGE1 INDEX 1.
DELETE FROM (ACT_TABLE) WHERE /BIC/ZVERSION =
SOURCE_PACKAGE1-PL_VERSION.
SELECT SINGLE ODSNAME_TECH FROM RSTSODS INTO ZDSNAME_TECH WHERE ODSNAME
= ACT_TABLE_RSTSODS.
DELETE FROM (ZDSNAME_TECH) WHERE /BIC/ZVERSION =
SOURCE_PACKAGE1-PL_VERSION. -
Selective Deletion From Cube and ODS using Process chain
Hi all,
is there any way that i can include selective deletion in a process chain, there is no stand process types for selective deletion, I need to delete the closed items from cube and ods and i need to schedule this??? any ideas?
Thanks,
Shetty.Shetty,
You can delete Data from this using One custom Program. You need to use either RSDRD_SEL_DELETION(function module ) or RSDRD_BUILD_REPORT_FOR_BATCH(Function Module). there is a parameter in above functioen modules I_THX_SEL which needs to be populated using selections.
or
You need to schedule the Background job from Manage screen on Monthly Basis(Provided that selection should be fixed in every month).
I will update the thread with psudo code.
all the best.
Regards,
Nagesh Ganisetti.
Message was edited by:
Nagesh Ganisetti -
Selective deletion job taking very long time
Hi All,
I am performing the selective deletion on cube for the year 2011 and the deletion job is running for a long time (14 hrs). Generally this job takes few mins to execute.
Could you please provide your inputs?
Regards,
Venkat
Job log overview for job: BI_INDX4OSEBBLUUTR6KUTWHGHZLY5ID / 13193500
ime Message text Message class Message no.
3:19:35 Job started 00 516
3:19:36 Step 001 started (program RSINDEX1, variant &0000000000718, user ID ECW7752) 00 550
3:32:48 SQL: 26.02.2012 13:32:48 ECW7752 DBMAN 099
3:32:48 DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA' DBMAN 099
3:32:48 AND INDEXNAME = ' ' AND TABNAME = '/BIC/FZCOG_C06 DBMAN 099
3:32:49 SQL-END: 26.02.2012 13:32:49 00:00:01 DBMAN 099
3:32:53 SQL: 26.02.2012 13:32:53 ECW7752 DBMAN 099
3:32:53 DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA' DBMAN 099
3:32:53 AND INDEXNAME = ' ' AND TABNAME = '/BIC/FZCOG_C06 DBMAN 099
3:32:54 SQL-END: 26.02.2012 13:32:54 00:00:01 DBMAN 099
3:32:54 SQL: 26.02.2012 13:32:54 ECW7752 DBMAN 099
3:32:54 CREATE TABLE "ZBICZFZCOG_C06" PCTFREE 10 PCTUSED DBMAN 099
3:32:54 00 INITRANS 001 TABLESPACE PSAPPBP NOCOMPRESS DBMAN 099
3:32:54 STORAGE (INITIAL 0000000016 K NEXT DBMAN 099
3:32:54 0000001024 K MINEXTENTS 0000000001 MAXEXTENTS DBMAN 099
3:32:54 2147483645 PCTINCREASE 0000 FREELISTS 001 DBMAN 099
3:32:54 FREELIST GROUPS 01) PARTITION BY RANGE DBMAN 099
3:32:54 ("KEY_ZCOG_C06P") ( PARTITION "/BIC/FZCOG_C060" DBMAN 099
3:32:54 VALUES LESS THAN (0) , PARTITION DBMAN 099
3:32:54 "/BIC/FZCOG_C060000001798" VALUES LESS THAN DBMAN 099
3:32:54 (0000001798) , PARTITION DBMAN 099
3:32:54 "/BIC/FZCOG_C060000001799" VALUES LESS THAN DBMAN 099
3:32:54 (0000001799) , PARTITION DBMAN 099
3:32:54 "/BIC/FZCOG_C060000001801" VALUES LESS THAN DBMAN 099
3:32:54 (0000001801) , PARTITION DBMAN 099
3:32:54 "/BIC/FZCOG_C060000001802" VALUES LESS THAN DBMAN 099
3:32:54 (0000001802) , PARTITION DBMAN 099
3:32:54 "/BIC/FZCOG_C060000001806" VALUES LESS THAN DBMAN 099check notes
Note 991372 - Selective deletion from InfoCubes takes a long time
Note 481238 - Selective deletion ends with dump and ORA-00918 -
Code to verify the number of records before selective deletion
In order to archive some old data, I would like to do a selective deletion in the source cube after their transfer in the archive cube by launching a program.
Ive seen in this forum that the name of the function module to do a selective deletion is RSDRD_SEL_DELETION.
Nevertheless, I would like to check before if the <b>number of records</b> of the <b>archiving period</b> in my archive <b>cube</b> is the same as in my source cube.
Who can help me to write the code to do this check with a selection of time? Thanks in advanceHi Domi,
You can do it via the cintents tab in the management function of the infoprovider.
There also is an selective deletion function button. -
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? -
Another Selective deletion question on an ODS
Hello Gurus,
What are the precautions that can be taken before selective deletion on an ODS?
can I ask the Basis to make a backup/copy of the ODS before selctive deletion. By doing this if something goes bad, can we repalce the broken ODS with the copied backup?
Any help is appreciated.
Thanks
SimmiHi Simmi,
If u want to take the backup/copy of the ODS, then u can store them in some temp table using small ABAP program / FM. sothat u can read the deleted data from this table afterwards, if u want.
Hope it helps.
Regards,
Purvang
Assigning Point is to say Thanks in SDN * -
Inventory ODS selective deletion Issue
Hello Experts,
I ran a selctive deletion back ground job to delete all the postings made between 01 Jan 06 & 31 Jan 06, but i have stopped the back ground job suddenly after 6 hours as it was taking a long time.Now when i try to rerun the job with the same selection its getting finished as soon as i start ,and strangely i could still see records made between those postings.Could you think of any reason why i could find some postings???Is there any way i could get rid of these postings and reload with for this selections ???Gregory,
Iam making the right selections coz i have double checked and running the job .....,So thr is no way i could make a mistake thr.
Experts : Plss suggest me if i need to look any other areas ??? -
Selectively deleting load from ODS using Process Chain
Hi All,
I have a requirement in which I have to delete the last load of the current month if any and leave the load of the last month untouched which has to be done using process chain.
I will try to elaborate the condition required like say we have a data for June in the ODS already (date 10) and when the load for July will come it will not touch the June data but on 2 July the load of first July will be deleted without touching the load from June 10. (The PC will run for the first 10 days of the month).
How can this be implemented, There seems to be some FM for this but are there any other method by which the same can be implemented without much use of ABAP.
Any relevant suggestion would be awarded points
Regards,
SamvedHi Bhanu,
Thanks for the reply.
I tried to generate the program but that can be used for selective deletion from the ODS i think soo.
But my requirement is basically to delete the complete request from the ODS and not any selective deletion and at the same time I cannot use the complete deletion option as that will delete the request from the last month also.
Are there any optioin at the level of Info package which can be used for these type of deletion.
Regards,
Samved -
For some reason my phone is using another number and won't let me delete the number and select my own numbers. Any reasons why
Are you talking about iMessage?
-
Selective Deletion using 0REQUID & Date fields in combination
We are running SAP NetWeaver 2004s patch 15 I have tried to run a selective deletion with request ID and date fields but we are getting an SQL error. The cube is compressed but the requests I am after have not been compressed. Is this an activity I should be able to do? I have checked SAP messages and found one but it was for version much older than ours below is the error message I recieve in the Job Log.
Job started
Step 001 started (program RSINDEX1, variant &0000000000098, user ID BROWNAW)
SQL: 2010/12/16 15:06:21
CREATE TABLE "/BI0/0100000703" (DIMID INTEGER
NOT NULL) IN CMC#BTAB
SQL-END: 2010/12/16 15:06:21 00:00:00
SQL: 2010/12/16 15:06:21
insert into "/BI0/0100000703" SELECT DISTINCT
DIMID FROM "/BIC/DZFIGL_STGP" WHERE (
"DIM"."SID_0REQUID" = 109126
SQL Error: SQL0206N "DIM.SID_0REQUID" is not valid in the co ntext where it is used
SQL-END: 2010/12/16 15:06:21 00:00:00
System error: CREATE_TABLE_AS_SELECT/RSDU_EXEC_SQL /BI0/0100000703 206-
Job cancelled after system exception ERROR_MESSAGEThanks for the quick response. I have validated that the data ranges do exist for the requests. Part of our process is to use the same selection to output the data before the deletion is ran so we can validate the number of records that are purged and have a backup of the data in case another issue is discovered at a later date.
When I run this seleciton for output I get over 30k records. Unfortunately I cannot just blow away the requests as most contain data that needs to remain. As well as we use this as a source for delta records that come from multiple sources so the logistics of resetting the delta indicator on the requests and not screwing up other delta's is a big risk. If I should be able to run a selective deletion with request I am hoping SAP can respond with a fix to the issue.
Maybe you are looking for
-
Officejet Pro 8620 All in One Will No Longer Scan in Color
Hello, I have an Officejet Pro 8620 all in one. I was scanning a few items last night and the first few items came out in color fine. Then all of the sudden as I continued to scan the next few images would only scan in black and white. I cannot see
-
Senario maping for sending goods for replacement
Hi All, We have a senario to be mapped in SAP MM. We are into aircraft maintenence business. All our air craft are insured from tip to tail. If any of the part the aircraft shows any problem then it will be send to the OEM and shall be replaced by th
-
ORA-01403 :no data found in apex
dear all Please, not to view this thread as the contents are same posted in another thread with a different subject. i have a form with 6 regions. in one of the region i place a button save. i have a conditional process to insert the data in the tabl
-
Issue - updating .txt file as a dbs source
Hi gyus, I have following problem (CR 8.5) for a subreport within a main report, I use a .txt file as a db source (which I connect to via ODBC). It looks like for example: Year;Col1;Col2 2007;20;30 2008;25;35 I need to add one more column, so it look
-
Hi all, We are implimentining SAP at our client site. The client wants a 7 digit personal number instead of standard 8 digit pers. no. They even dont' want a 0 before the first digit of pers. no. It should be truly 7 digit. Is it advisable to change