Insted of selective deletion suggesting to do ringload
Dear all ,
In FIGL cube few of the documents have double data so I have to delete using selective deletion option.
But the client is not angered to use selective deletion option and suggesting to do ringload(key figures just multiply with -1).
So please suggest me the way I can prepare for for this option to correct the double data in the cube.
Regards,
Puru
Hi Tibbilo,
Can you suggest me one example routine in transformation for key figures
For example I have key figures "0CREDIT_LC" credit amount in local currency
at present this is direct assignment from Credit amount local in currency + local currency = 0CREDIT_LC.
so that I follow the same logic to all key figures.
Regards,
Puru
Similar Messages
-
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 on info cube taking long time.
We have a cube with line item dimension and partioned on Fiscal year. When we are doing selective deletions on the cube on 0fiscper (removing the old redundant data) it is taking quite long time (approx 10 hours) to do this selective deletions as there is huge data in the E fact table ,Request older than 4 days are compressed in the cube and it has some millions of records in this table.
Is there any way we can improve the performance of this selective deletion? Any improvements suggestions we are on sap BW 3.5 system.Hi,
The issue is very specific .
I recommend to check if there are defined matching indexes which fit to the where clauses of the delete statements. This will make the access to the record most effient.
All other indexes need to be just deleted for the time-being and re-created after the clean is completed. This will save the time for updating the indexes.
The deletes should be performed in bulks - i.e. many, e.g. 25, 100, more at once. If deletes sqls are send from ABAP to database one by one there is huge overhead in the network traffic time.
Best Regards,
Sylvia -
Set Variant attributes in selective deletion program
Dear all,
I have some problem about set variant attributes in selective deletion program (se38)
I want to set field fiscal year for current year.
Field fiscal year have selection type = "S" and i choose selection variable. It only have Type of variable is "T"
so i go to table TVARVC and create new variable I've set value as below
Selection type S
Number 4
Selection value SY-datum
And it didn't work .
Fiscal year still dispaly "0".
any suggestion?
Many thanks,
Big TreeHi MLS,
You can create this program using the program RSDRD_DELETE_FACTS (in SE38). You just need to provide the selections and generate the ABAP program. Ten you can use this in the process chain, with process type ABAP program.
Hope this helps... -
Selective deletion in DSO for current and previous year
Hi,
Can any one give an idea how can I selectively delete current and previous year data (only). is there any process type that can help me in process chains. This should be before loading a fresh load for the same period. this is for psodo delta.
or
any other alternative, plz. suggest.
Thanks
ganesh
Edited by: Ganesh on Jul 7, 2008 12:08 PMHi,
If you have any date value example posting date or 0CALMONTH.., you can filter the date using the selection conditions and selectively delete the data.
Process:
Manage of DSO->Contents Tab->Selective (with delete Icon)->Deletion selections->give the period->Execute->Start->Yes->continue.
Hope this helps..........
Rgs,
I.R.K -
Help please: Selective Deletion of Infocube data (Sales)
Dear Experts
Am working on a BW 3.5 server
I have been referring to the below SDN posting
<u>Selective Deletion of Infocube data</u>
My scenario is like this..
My Sales data infocube has multiple records with the
same Delivery number and Bill of Lading number
(same material number also).
Some of these records are having "Created" status
others are with "Cancelled" status.
Requirement is to retain latest record based on Billing date
after deleting previous records
having same Delivery number and Bill of Lading number.
Kindly advice a best practice solution.
warm Regards,
AbyJ
============Hi,
I think selective deletion won't be the right solution to your problem.
I would suggest to build up a second cube as a 1:1 copy of your sales cube.
Build a transformation or update rule from your old to your new cube. In the startroutine you can now easily retain latest record based on Billing date
after deleting previous records having same Delivery number and Bill of Lading number by sorting your data package according to this fields. After you have checked it in the new cube, you can either leave that and build the reporting on this cube if possible or in a second step you have to delete data in your old cube and then reload your new cube completely in your old cube. Build a transformation or update rule, easy 1:1 relations and reload data.
An issue for this approach can be the number of records in your sales cube.
Regards,
Juergen -
Selective deletion and reload to DSO to DSO
Hi,
I stuck with an issue where i did selective deletion for 2nd level DSO where there was some wrong billing documents and Repair full reloded from 1st level DSO. Key figure values were uploaded but master data was missing Eq. Company code was missing after reload. Please suggest for this issue. Thank you
Regards,
WrigHi,
Check the data in base ODS and see if it has same values for company codes. If everything is fine, just go for selective deletion of those billing documents again in second level and reload from base ODS. Activate and check it again. -
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 -
Regarding the Generic Selective deletion Program
Hi Gurus,
I have to create a deletion program for any target CUBES/ODS. The program should do selective deletion for ther target on the basis of the parameters provided.
e.g.:
Usually target ZXXXX_XXX is requested to load. ZXXXX_XXX is loaded from DSO ZYYYYYY. So first we have to selectively delete data from both the target and then start loading data. Create a program that should accept the target and selection conditions and then delete the data from the target according to input conditions.
We can consider FM RSDRD_SEL_DELETION for reference.
Please help me with the details of the FM RSDRD_SEL_DELETION & its parameters. Please also suggest if any other solution.
Thanks in Advance,
Sourabh DeoCheck the following details :
Suppose selective deletion on the basis of company code
data: L_THX_SEL TYPE RSDRD_THX_SEL.
data: LN_THX_SEL like LINE OF L_THX_SEL.'' this will contain InfoObject which is to be refered for sel deletion and the range of values for that info object .
data: L_RANGE TYPE RSDRD_S_RANGE. " used for internal calculations
data: L_T_MSG TYPE RS_T_MSG.
data: T_TR_RELOAD TYPE ZIB_TR_RELOAD OCCURS 0 WITH HEADER LINE. "used for internal calculations
SELECT * FROM XYZ into TABLE T_TR_RELOAD. "retrieve company codes from a database table
LN_THX_SEL-IOBJNM = '0COMP_CODE'. '' infobject for company codes .
L_RANGE-SIGN = 'I'.
L_RANGE-OPTION = 'EQ'.
L_RANGE-KEYFL = 'X'.
"affect all the company codes for selective delete retrieved previously by a select to a DB table
Loop at T_TR_RELOAD.
L_RANGE-LOW = T_TR_RELOAD-COMPANY.
APPEND L_RANGE to LN_THX_SEL-T_RANGE. range of values for company code for which data is to be deleted.
endloop.
insert this selection to a table
INSERT LN_THX_SEL INTO TABLE L_THX_SEL.
"call the function for selective deletion
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
I_DATATARGET = 'Cube1 ' "InfoCube you want to do the selective deletion
I_THX_SEL = L_THX_SEL "table containing details abt values to be deleted for the given infoobject
I_AUTHORITY_CHECK = 'X'
I_THRESHOLD = '1.0000E-01'
I_MODE = 'C'
I_NO_LOGGING = ''
I_PARALLEL_DEGREE = 7
I_NO_COMMIT = ''
I_WORK_ON_PARTITIONS = ''
I_REBUILD_BIA = ''
I_WRITE_APPLICATION_LOG = 'X'
CHANGING
C_T_MSG = L_T_MSG. -
When selective deleting , repots are getting lock .
Hi Experts,
When selective deleting , repots are getting lock .Could you please suggest how could element this locking problem . This is daily loadings, daily last 14 days data deleted . Is there any way to reduce the locking time .
Regards,
Prasad.Hi Prasad,
lock is there because of database situation. Only one operation (delete / read) can be done on database level in one moment on the same data. Therefore the lock is correct...
When deleting data from the cube - drop the indexex using the Delete Indexes (Now) button available in the performance tab of the cube - then your deletion will be faster.
Increase performance when deleting data from Infocube
Selective Deletion
http://help.sap.com/saphelp_nw70/helpdata/EN/4e/b71038cba6a169e10000009b38f8cf/frameset.htm
Regards
Andreas -
Selective Deletion from Infocube Only (Not from Aggregates)
Hi,
For the Selective Deletion, i used the FM 'RSDRD_SEL_DELETION' in program. But this FM deletes the data first from Infocube then from aggregate.Because of this, deletion took more time to delete and adjust the Aggregate.
I need an way in which i can delete the data from Infocube only and after i reach to my reconcile period then i will deactivate and actiavted the aggregate, so the data will be consistent in Infocube and aggregate.
is there any to Delete(Selective Deletion) the data only from the Infocube not from its aggregate (for the Performance Point of View)?
Thanks in Advance.
Regards,
Himanshu.Hi
You can try manual selective deletion which will delete data from cube only. check out the below thread.
steps fro selective deletion for cubes and ODS
If you want to delete data from FM only, then try to deactivate your aggregates before you start your selective deletion.
Once deletion is done, you can reload the aggregates
Regards,
Venkatesh -
How to do selective delete of the GL a/c, BA and Co Code from the BWrequest
Hi,
How to do selective delete of the GL a/c, BA and Co Code from the BW request ??
Regards,
VivekCube or DSO?
Cube - manage - notedown the req number - selective deletion - enter req number at REQ ID and give the selection parameters as you need(GL a/c, BA and Co Code ) and execute.
For DSo you can't do selective deletion on request id basis -
Selective deletion based on Calendar Year/Month in process chains
Hi all,
I have a requirement from the business wherein I have to delete the past months data before I load the same data into 6 infocubes using a process chain.
I checked the forums to understand how selective deletion is used in a process chain and I have come to know that RSDRD_DELETE_FACTS program or DELETE_FACTS Tcode can be used to generata a G* program that performs the deletion.
I am to integrate this generated program in my process chain. I have 0CALMONTH(Calendar Year/Month) as the time characteristic in all my infocubes and therefore the only time characteristic available for selective deletion.
My problem is that I am unable to create a dynamic selection for the Calendar Year/Month such that it takes the previous month.To be exact I am unable to use the "D" option in the Selection Variable column for this characteristic.
Please can somebody help me out with this.Hi,
Use this ABAP program code in your Process Chain...
Type Pools
TYPE-POOLS: rsdrd, rsdq, rssg.
Local Internal Tables
DATA: lit_msg TYPE rs_t_msg,
lit_sel TYPE rsdrd_thx_sel.
Local Work Area
DATA : lwa_sel_kf1 TYPE rsdrd_sx_sel,
lwa_range_kf1 TYPE rsdrd_s_range.
Local Constants
CONSTANTS : lc_i(1) TYPE c VALUE 'I',
lc_x(1) TYPE c VALUE 'X',
lc_eq(2) TYPE c VALUE 'EQ',
lc_kf1(11) TYPE c VALUE '0CALMONTH'.
CONSTANTS : lc_cube TYPE rsddatatarget VALUE 'Z_C21'.
Delete Existing cube records
Key Field 1 (CALMONTH)
lwa_range_kf1-sign = lc_i.
lwa_range_kf1-option = lc_eq.
lwa_range_kf1-high = space.
lwa_range_kf1-keyfl = lc_x.
lwa_range_kf1-low = <Value of CALMONTH>.
APPEND lwa_range_kf1 TO lwa_sel_kf1-t_range.
CLEAR lwa_range_kf1.
lwa_sel_kf1-iobjnm = lc_kf1.
INSERT lwa_sel_kf1 INTO TABLE lit_sel.
CLEAR : lwa_sel_kf1.
Selective Deletion through FM
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
i_datatarget = lc_cube
i_thx_sel = lit_sel
i_authority_check = space
i_mode = lc_c
i_no_enqueue = lc_x
CHANGING
c_t_msg = lit_msg
EXCEPTIONS
x_message = 1
inherited_error = 2
invalid_type = 3
OTHERS = 4.
IF sy-subrc = 0.
REFRESH : lit_sel[],
lit_msg[].
ENDIF.
Thanks,
Saru -
How to make a selective deletion in my desktop!
Hy guys!
There are any application to make a selective deletions of files and folders?
Each end of day i need to delete all files present in my Desktop, except the folders setted to be kept.You need to use some sort of criterion. Many exist, including:
tell application "Finder"
delete (every file of desktop whose name is not in {"file 1 to keep.txt", "file 2 to keep.jpg"})
end tell
No folders will be deleted by the script as written.
(75632) -
"Command-i" which was so useful for selectively deleting messages from servers has disappeared in Maverick. I wonder if it has been replaced by something else or should I look into other mail applications.
Hmmm. Which Mail program are you referring to?
in Mac Mail command -i used to bring up the Account info pane on the server (10.8.5)
Now it seems you have to use the gear at the bottom in "Mail Activity" to get the drop down (10.9) :
Maybe you are looking for
-
Download link for Blob content
Hi all, I am using file browse page item to upload a blob data. Here i am able to successfully add the blob data into table name. My question is how should i have a download_link under the file browse page item to download the bob data. I am using ap
-
Sql Loader Skipping fields in a csv file
Hi, I have a comma delimited flat file with more fields than I need and am curious if there is a loader technique to skip some of the fields. E.g. Given a three field file, I want to associate the 1st and 3rd fields with table columns and ignore the
-
every time I swap between my SIM cards with the iPhone all the messages that we're sent whenever the SIM card was not in my phone never show! is there anyway I can stop this and still get the massages?
-
Dear all, When I publish my captivate 7 project, computers can play the project without any problem. But when I try to acces slides with video on it from an IPad/IPhone, it is completely blank. Any help is really apriciated! I have tried the HTML5 tr
-
Drill Across fields mapping with calculate field
I create a calculation field in one view, then when config drill across, i set the calculation field to mapping to a Parameter of target view Save report Then, i open the report in view mode, click the view which config drill across, it get JavaScrip