Selective deletion for Inventory Load
Hi Guru's
I have done loading for Inventory cube 0IC_C03 using the 2LIS_03_BF with Delta load and made mistake in last delta load Compression(No Marker Update).. till July 2011 the Data is fine for our report for calculating the TOTAL QUNATITY STOCK.. so we planned to done the selective deletion for August 2011 to till date.. but we cant find the Time Characteristics in selection to done Selective deletion. Please share your valuable ideas...
Thanks,
Satish.M.R
Hi,
You can delete all the requests from the cube which have been updated from 1st of August onwards.
Just go to the MANAGE screen of the cube and select all the requests which are loaded from 1st of August onwards and delete all of them.
Navesh
Edited by: navsamol on Oct 6, 2011 7:00 AM
Similar Messages
-
Selective deletion for particler cube and rebuild of aggrigates in Psystem
Hi Friends,
1.In my manage data target screen i have 8 cubes but i want do selective deletion from 1st cube ..how i can do ..?
Im thinking like...IN DETILS column i will select.one data target and then i will go to contents tap and then selective deletion for paricler requst ID...is correct to do selective deletion for particler data target out of 8 cubes..plz tell me
2.in production ...while doing selective deletion ...aggregates are failed...means status is in red color...
now,how can i create or build or rebuild those aggrgates again...please and my qns...
Thanks in advanceHi
1. technically Yes its ok to do selective deletion of only 1 cube, incase of delta load you will have to do selective reload to only that cube otherwise data for that perticular selection will get doubled in rest of 7 cubes.
Actually depends on situation in which you plan to do so.
2. its possible to aggreegates get affected due t selective deletion.
Just go to manage->rollup tab of cube and rebuild agreegates.
Hope this helps.
Regards
Sudeep -
Selective Deletion and Data Load from Setup Tables for LIS Extractor
Hi All,
We came across a situation where one of the delta in PSA was missed to load in DSO. This DSO updates another cube in the flow. Since it has been many days since this miss come in our knowledge we need to selectively delete data for those documents from DSO & Cube and then take a full load for the Documents filling the setup table.
Now what will be the right approach to load this data from setup table > DSO > cube. There is change log present for those documents and a few KPI's in DSO are in summation mode.
Regards
Jitendrathanks Ajeet!!!!
This is Sales Order extractor, the data got loaded to ODS just fine, but since the data is coming to ODS from different extractor. Everything is fine in ODS, but not in the cube. Will Full repair request and Full load would it make difference when the data is going to cube? I thought that it would matter only if I am loading to ODS.
what do you mean "Even if you do a full load without any selections you should do a full repair ".
thanks.
W -
No Selective Deletion on Inventory Cube 0IC_C03 via Calendar Day
Hi,
I need to repair my Inventory Cube <b>0IC_C03</b> for a certain date. To do that, I need to perform a <i><b>Selective Deletion</b></i> on the Cube and perform a <b>FULL REPAIR REQUEST</b> limited on that day only.
But to my surprise, I could not find a Calendar Day entry in the "<i>DeletionSelection</i>".
Is there a workaround or do I need to switch on anything?
--JkyleHi Roberto,
You are too humble! Everybody knows you are the <b>ONE</b>
(he heh from the <b>MATRIX</b> movie)
Anyway, I dont think Export Datasource would help. As you may know, Inventory Cube <b>0IC_C03</b> uses 2LIS_03_BX and 2LIS_03_BF data sources. This <b>CUBE</b> is somehow special.
To cut this problem short, I'll go straight to the point. <i>How could I perform INIT via 2LIS_03_BX and 2LIS_03_BF w/o R/3 downtime at all</i>? The reason I came to this <i>Selective Deletion</i> thing is to patch up the mess the INIT would introduce when there are users around by using a REPAIR FULL REQUEST only for that single day...
I hope you get what I mean...
Thanks!
--Jkyle -
Selective Deletion on Inventory Cube 0IC_C03 via Calendar Day
Hello Group
I am trying to do a selective delete to our inventory cube 0IC_C03 and found there is not an option to select day.
Does anyone have any thoughts on how do delete using day? Please note that my cube has been compressed and I do not have a request in the cube.
Thanks
FrankHi Frank,
REPORT ZRSDRD_SEL_DELETION .
DATA:
l_thx_sel TYPE rsdrd_thx_sel,
l_sx_sel TYPE LINE OF rsdrd_thx_sel,
l_s_range LIKE rsdrd_s_range,
l_t_range TYPE rsdrd_t_range,
l_t_msg TYPE rs_t_msg.
******************* 0CALDAY *****************
l_s_range-sign = 'I'.
l_s_range-option = 'EQ'.
l_s_range-low = '20030308'.
*l_s_range-high = .
l_s_range-keyfl = 'X'.
APPEND l_s_range TO l_t_range.
l_sx_sel-iobjnm = '0CALDAY'.
l_sx_sel-t_range = l_t_range[].
INSERT l_sx_sel INTO TABLE l_thx_sel.
CLEAR l_s_range.
REFRESH l_t_range.
************** 0PLANT **********************
l_s_range-sign = 'I'.
l_s_range-option = 'EQ'.
l_s_range-low = 'PLNT'.
*l_s_range-high = .
l_s_range-keyfl = 'X'.
APPEND l_s_range TO l_t_range.
l_sx_sel-iobjnm = '0PLANT'.
l_sx_sel-t_range = l_t_range[].
INSERT l_sx_sel INTO TABLE l_thx_sel.
CLEAR l_s_range.
REFRESH l_t_range.
************** 0MATERIAL ****************
l_s_range-sign = 'I'.
l_s_range-option = 'EQ'.
l_s_range-low = 'MATERIAL'.
*l_s_range-high = .
l_s_range-keyfl = 'X'.
APPEND l_s_range TO l_t_range.
l_sx_sel-iobjnm = '0MATERIAL'.
l_sx_sel-t_range = l_t_range[].
INSERT l_sx_sel INTO TABLE l_thx_sel.
CLEAR l_s_range.
REFRESH l_t_range.
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
I_DATATARGET = 'ZICRT_C37'
I_THX_SEL = L_THX_SEL
I_AUTHORITY_CHECK = 'X'
I_THRESHOLD = '1.0000E-01'
I_MODE = 'C'
I_NO_LOGGING = ''
I_PARALLEL_DEGREE = 1
I_NO_COMMIT = ''
CHANGING
C_T_MSG = L_T_MSG. -
Selective Deletion Before Data Load
Hi Experts - I need to do the data load into Oracle data Warehouse. Before loading data , I need to do some selective deletion from the target table.
In the source dataset I have a date column where I have Max and Min Date . I need to delete the data from the target laying between this Min and Max date.
Any Idea how to do this selective deletion.
Thanks
RCreate a workflow, and declare two local variables, $DateMin and $DateMax, of either date or datetime datatypes, as appropriate. Create a script:
$DateMin = sql('DS','select min([datetime field]) from [incoming table]');
$DateMax = sql('DS','select min([datetime field]) from [incoming table]');
Add a dataflow to your workflow, and connect it downstream of the script. Add two parameters to the dataflow -- let's say you call them $P_DateMin and $P_DateMax. Back in your workflow, in the "Calls" tab of the Variables & Parameters window, set the mapping of the two dataflow input parameters to your two local workflow variables.
In your dataflow: perform a selection of the primary key (the column(s) which constitute the pk) of your target table, filtering on your two input parameter values ($P_DateMin and $P_DateMax. If you want to be on the safe side in terms of preventing blocking issues, send these records into a Data Transfer transform (file preferred, but up to you). Then, downstream from the Data Transfer transform, send the records into a Map Operation transform, mapping 'Normal' to 'Delete'. Then, simply send them into your target table.
You could, of course, just write a SQL script to delete the records, but those are to be avoided as breaking lineage & impact chains.
If all your date or datetime stamp fields on your target table are "whole" dates, with no time portion, and you have a smallish number of dates between your min. and max. dates, and you have a large number of records to delete between those dates, and your target table has an index on the date stamp column, then another approach would be to generate records, one per day, using a Date Generation transform, still making use of your two dataflow parameters. You'd declare the date field so generated to be the (false) primary key, map the records to deletes w/ the Map Operation transform, and then send them into your target, with the "Use input keys" option selected. -
Extraction problem - selection conditions for data load using abap program
Hi All,
I have a problem loading data over a selected period where the selection of date range is done using ABAP routine (type 6). Here though in the request header tab in monitor screen i'm able to see the selection date range populated correctly, no records are being extracted. But if i delete the abap filter and directly give the same date range for selection we are able to extract data. if any body has faced similar problem and have a solution for it please help me with yur suggestion.
Thanks,
nithin.It seems the the data range is not properly set in the routine.
You can check the value of selection period generated by routine in the data selection tab-> execute button is there .
Click it to to test the selection values generated by the ABAP routine..
If the value here seems correct one then paste the code of the routine that u have written with brief logic details that u have applied.
Sonal..... -
Selection Criteria for Delta loads triggered using MDM_CLNT_EXTR
Hi ,
Currently we are required to load data only from two specific account groups . Therefore in the selection criteria in mdm_clnt_extr we maintian these two account groups and extract data.
However, when setting up the delta load there does not to be an option to restrcit the delta to a specify an criteria. Therefore, in our case several records from account groups which are not required are passed on to the MDM system.
Is there a way to address this requirement ?
1. There is an option to run the initial load variants at regular intervals, the problem with this is that in our case we have several variant creates as the R/3 system does not allows extraction on more that 999 records at a time. Therefore at point of time to capture the delta records , if we run all these jobs our network gets choked.
2. Run delta job, but without selection criteria it pulls out records which we don't require
Any suggestions on how this problem can be addressed are welcome ,
Thanks in advance,
Anita GeorgeThanks Michael !
Well, regarding hte ALE settings, we did take a look in bd64 the filters are based on objects which one of these is relevant for customer account groups ? Probably in the future we would require all data, and then is it enogh to remove the filter ?
Can a filter be maintained at the XI level , this would be good as only the required account groups are passed on to MDM . Is there any documentation on available on this ?
Regarding the Import Manager, will have to check this functionality, as it is now no matter how many times we update the map/rename /load/unload it automated imports keep failing.
Our R/3 system seems to have problem extracting more than 999 records, as we tried with different number of records and all those extraction jobs got cancelled. So, currently we are running multiple jobs for the initial load and even this is very time consuming.
Thanks & Regards,
Anita George -
Automatic TO Creation for Inventory loading
Hi ,
Is there any way to create Transfer Order for a material document with 561 movement type (With and without Handling Units ) ?
I believe system doesn't create any TR for intial inventory upload , is that also correct ?
Regards
SandeepDear Sandeep,
You can configure to create the transfer requirement or transfer order creation for 561 movments also. under
customizing path: SPRO --> Logistics Execution --> Warehouse management --> Interfaces --> Inventory Management --> Define Movement Types
In case you want to do with HU management then there will be delivery gets created instead of material document.
so naturally you can putaway or pick using the delivery document.
Kind regards,
Ramana -
WEBI and LOV shown after selective deletion of data
Hi, have the following problem.
I know that the values for LOV are taken from the infoprovider. After making a selective deletion by characteristic in the infocube which has the loading date, custom characteristic like 0CALDAY, the LOV of the universe still says that i can select this data when in fact all the entries in cube has been deleted.
Let´s say at first we have 01.01.2012, 05.01.2012, 10.01.2012 and 14.01.2012. After selective deletion of data loaded the 10.01.2012 i want that the LOV in BO has to be 01.01.2012, 05.01.2012, and 14.01.2012 but what i found is that the entry 10.01.2012 still exist althought it has no data in the infoprovider for this date.... any idea how to "delete" this proposal from the LOV ?
Is it a default value coming from a BEx Query Variable? (set in bex query filters) NO
is it a predefined filter in the MDX universe, sending a default value? NO
is the default value coming from a webi query filter prompt? (set in query panel) YES
There is a characteristic, ZDATEXT-Date Extraction with no master data and created as a reference characteristic of 0DATE.
It is used in the universe as a dimension and then used in a WEBI as a filter (option maintain last values selected unchecked)
Why the prompt still propose this date if there is no data in relation with this date ?
Thanks in advance,
Joaquin Casas Baca-CastexHi,
My understanding is that the BAPI call MDPROVIDER_GET_MEMBERS (as tested in SE37) which is responsible for retrieving the list of values in BW goes against the master data tables, rather than the posted transaction values rolled-up into the Cube.
i believe that some of the infoobject properties 'Query Execution Filter Value Selection' or bex characteristic properties " only return posted values in masterdata" which have some effect on this, although i can't remember if these are consumed in XI3.1.
I know they work in BI4.0 however, when using BICS.
Regards,
H -
Selective deletion and plan data
Hello Gurus,
I am having some doubts
Any one of them,could you please clarify my doubts.
1.By using the selective deletion (for Infocube),I have deleted some records.
when i checked it on the log,In Deletion mode its showing the different values such as D,N and R....
When I deleted the records,it has created 2 requests in log .
onething its showing the status as 'N' and another thing as 'R'
What is this mean.why its differing by requests.
2.Reg plan data,How we are getting this plan data.(I know,based on actual data we are creating),But what is the procedure,how and where we are creating this plan data like R/3 or BW.
Will assign points.
Thanks in advance
Brgds
KumarHi,
As far as plan data is concern, there would be various plan data requirements for an org. let's say 'sales budget' / 'Production Planning' / 'Procurement plan' /
'inventory status'..and so on so forth..
basically when ever there is plan data requirement normaly the concern department has to prepare the paln data for the quater/Half/fiscal year, on either
a legacy system or R/3 system..
If it is from R/3 you are suppose to create a DS and then an infosource and so on..
If it is a Legacy system - then go for the File Upload, after making your flat file
infosource.
Hope this helps..
assign points if useful..
cheers,
Pattan. -
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. -
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 -
Selective Deletion is possible based on request ID?
Hello Friends,
Our Cube is Not Compressed where Aggregate Rollup was done and Compression of Aggregate rollup are done.
In this Case, Can i peform selective delete of data based on Request ID? If yes,
1) Any special procedure and need to take care of any thing?
2) Does Aggreagte rollup and its compression will adjust automatically with next run ? (or) do we need to do any thing for aggregates rollup and its compression?
Thanks
TonyHi,
Before you do Compression you can perform Selective Deletion for Req ID. And it automatically changes your Aggregates also.
Ali. -
Hi All,
To load MM & WM inventory I need to fill BMSEG & RLBES structures. Movement Type 561 for Inventory management & Warehouse Management. I could not find any solution to fill both these structues in one shot (Batch input or BAPI or IDOC).
Please guide.
Thanks
SatishHi,
For inventory load you can use business object: BUS2017.
Maybe you are looking for
-
Hello, I have an issue with connecting client SB1H on Windows, the scenario is as follows: 1.- Server: Suse Linux Enterprise Server 11.3 kernel version: 3.0.76-0.11 IBM NDB and Server are review 69 SP06 2.- Client: Windows 8 Pro Virtua
-
Function to get last friday of each year?
Dear all, I have a technical problem, how can I know the last friday of each year. What function I need to use in order to get this value for each year? Please advice. Best Regards, Amy
-
Can't get JSF scriplet value.
Hi all... I have a problem here when i'm applying EJB with JSF. Here is my code. EJB project package com.ejb; import javax.ejb.Remote; @Remote public interface daoCalculator { String getMessage(); package com.ejb; import javax.ejb.Stateful; impo
-
ABAP error in deleting archived messages
Hello all, We seem to be having a problem when deleting archived messages. The archiving background jobs runs periodically (SAP_BC_XMB_ARCHIVE....). The first part works fine ARV_BC_XMB_WRP...., and i can view the list of the message ids that have be
-
Hello, In our daily data load scheduled for SD Cube, we have 6 requests to be loaded everyday. But due to wrong date entry, the system has shown following error : <b>---- "Time conversion from 0CALDAY to 0FISCPER (fiscal year V3 ) failed with value 1