Selective deletion and delta

Hi Experts,
I am having ODS1 from which I am giving delta to Cube1.
Now scene is , I found that 50 records in ODS1 are incorrect and all these 50 records are in different requests. Hence I am deleting all these records using
selective deletion from ODS1. I am also deleting all incorrect records from CUBE1 using selective deletion.
Now I am bringing correct records from source system using repair full request into ODS1.
My q'n is can I send these 50 records to CUBE1 from ODS1 as delta ?

You can make a generic data source on an infoset about active data on ODS.
Then from this datasource you select the data that you want to delete.
The update rule from generic data source and the ODS will have 1 to 1 update except for the 0RECORDMODE that will have the constant 'R' (reverse image).
The update make the change log correctly for a delta (already activated) from ODS to cube.
Regards,
Sergio

Similar Messages

  • 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
    Jitendra

    thanks 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

  • Selective deletion and repair full request!!!

    Hi,
    I have one DSO which is receiving deltas from Std extractor and is also serving deltas to many data targets (Both DSO and Infocubes)
    Now there comes the need of deleting data in DSO by means of year ( selective deletion )
    I know that i need to adjust the data flow from DSO to other data targets myself!!
    So after doing selective deletion in DSO, can i update datatargets ( of 3.5 version ) with full update so that data is adjusted in correct format for the subsequnet data targets?
    or is there any better option??

    Hi Sujith,
    Difference between Repair Full and  Full Load ;
    1. When we want to pull the history data from the source system(SAP R/3) for the first time till yesterday and trigger / enable the Delta load.
    For Eg; for your client,when the implantation was done ,when the GO Live started, all the history data(sales,Material,Finance etc) would have pulled from the source systems into BW system and enabled the delta load from next day.
    Note: In this scenario ,We use Full Load only for the one time.
    2. In most of the scenarios we will use Full Load for the master data (Daily Load). In few scenarios we will use Full Load for the transaction Data Loads. For Eg: in case if there are no changes happening in transaction data daily (like sales data) ,then we go for Full Load for transaction Data Load also.
    3. If someone has deleted the data in the data target by mistake which was loaded using 'Full Load' ,then we can go for re-loading the lost data using the same normal 'Full Load' option. In this case if you are using a DSO in between PSA and Infocube then if you don't use the selection parameters(Company Code,Profit Center, Sales Organization etc) for the lost data ,then also it's fine. Because DSO has overwrite option. In case ,if you don't have DSO,then you have to use the selection parameters on infopackage/DTP level depending on from which level you are trying to get the data back. i.e Source System or PSA.
    4. We have scenario where the data which was loaded using DELTA load has been deleted from the data target, OR due to DELTA load failure the data didn't get loaded into the data target. Now,we want to get the lost DELTA data back into the target. In this case we can go for using both 'Repair Full' and also 'Full Load'. but depends on the below conditions;
    If we want to use 'Full Load' to get the lost DELTA data,then we should block the users in source system(SAP R/3) from posting the data,and clean up the delta queue . Then stopping the daily process chain in BW system which will bring the DELTA data. Then we can use' Full Load' option.
    But, If we don't want to disturb the daily DELTA load and if we don't want to block the users in source system, then we should use 'Repiar Full Request". Using this option, the daily DELTA load will not get affected.
    Please let me know you are clear with my points.
    Regards,
    Asha

  • Non Cumulative Cube selective deletion and Reload

    Hi,
    We have a typical scenario, where in the company code displays # when we execute the inventory reports at plant level,
    Upon analysis, we did find the Plant to Company code mapping was not maintained at R/3. Now this was fixed, hence we are planning to do selective reload for that particular plant alone.
    Keeping in mind the loading sequence/scenarion for Inventory, can any one advise if we need to do stock init again for this plant and reload the data after selective deletion.
    Or can we directly load from the material movement datasource. Will there be any impact ie: at marker update etc.
    Note: We already have data into this inventory cube for last 2 years.
    The cube contain aggregate compression.
    Thanks
    Ramesh

    Any inputs please
    Ramesh

  • Selective Deletion and Compression

    Hello Folks,
    I have cube with some selective deletions, how can I compress the requests if I have selective deletions? Please advise.
    Thanks,
    Krishna

    Hi Kris,
    Was this request already compressed from which the selective deletion is performed?
    You should have tick mark in your manage section of infocube as highlighted in yellow. If this is the case then you will not be able to compress again.
    Else if this request is not compressed and still giving error. Can you provide the screenshot of error? Is it available in ST22? Or can you check the long text of the error when it is displayed?
    Thanks
    Amit

  • 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

  • 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
    Kumar

    Hi,
    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.

  • 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,
    Pankaj

    check 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 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,
    Wrig

    Hi,
    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.

  • How can i loop over treeview selected nodes and then to delete each node if it's a directory or a file ?

    I have this code:
    if (s == "file")
    file = false;
    for (int i = 0; i < treeViewMS1.SelectedNodes.Count; i++)
    DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
    I know it's a file and it is working if it's a single file.
    On the treeView i click on a file right click in the menu i select delete and it's doing the line:
    DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
    And it's working no problems.
    But i want to do that if i selected some files togeather multiple selection then to delete each file.
    So i added the FOR loop but then how do i delete from the SelectedNodes each node ?
    The treeView SelectedNodes dosen't have FullPath like SelectedNode also doing SelectedNodes[i] dosen't have the FullPath property.
    Same as for if i want to delete a single directory or multiple selected directories:
    This is the continue of the code if it"s not a "file" (else) it's null i know it's a directory and doing:
    else
    file = true;
    RemoveDirectoriesRecursive(treeViewMS1.SelectedNode, treeViewMS1.SelectedNode.FullPath);
    Also here i'm using SelectedNode but if i marked multiple directories then i how do i loop over the SelectedNodes and send each SelectedNode to the RemoveDirectoriesRecrusive method ?
    My problem is how to loop over SelectedNode(multiple selection of files/directories) and send each selected file/directory to it's method like i'm doing now ?

    foreach (TreeNode n in treeViewMS1.SelectedNodes)
    // Remove everything associated with TreeNode n here
    I don't think it's any harder than that, is it?
    If you can multi-select both an item and one of its descendents in the tree, then you'll have the situation that you may have deleted the parent folder and all of its children by the time you get around to deleting the descendent.  But that's not such
    a big deal.  A file can get deleted externally to your program too - so you'll just have to deal with it having been deleted already (or externally) when you get around to deleting it yourself.

  • ABAP to Delete and Reinsert/Reconstruct Requests in a Cube

    I need to write an ABAP that will selectively delete requests from a cube and then reinsert them.   The purpose of this exercise is to execute a modified update rule between the DSO and the Cube.
    I found FM RSSM_DELETE_REQUEST which will delete a request.  
    However I need the following:
    1) A table that will provide the individual request numbers that I want to delete
    2) A FM that will Reconstruct those requests. (There is no "RSSM_RECONSTRUCT_REQUEST) that I can find
    As for #1 above, supposedly table RSREQDONE is supposed to have all the requests.  However I can't find any rows in this table that provide me the request numbers in the Cube I am deleting them from.

    Are you talking about selective delete and reload?
    because if you need to load the data with a new/modified update rule, then i dont know if deleting the request and reinserting or reconstructing (- assuming thats what you mean) the requests will reflect or calculate the values differently based on the new update rule.
    However you could do a selective delete and reload.
    Selectively delete the data for whatever period/selection you require and reload it from the DSO.
    Wont this solve your problem
    Hope it helps
    Regards
    Joe

  • Selective deletion frm DSO based on selection in csv file on AL11 directory

    Hi Experts,
    I have a requirement where I have to automate the Flat File Upload coming from AL11 SAP directory followed by the selective deletion from DSO with the selection in the Flat file (.csv) on the directory.
    The csv file having fixed name and column. We have to take first selection i.e. Date (single entry) from second column and Comp Code from the 4th column (multiple entry).
    based on both the selection i have to perform selective deletion and then file upload.
    Could anybody please help me to write code and steps.
    Thanking you.
    Regards
    Ajay

    check 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.

  • 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,
    Samved

    Hi 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

  • "Delete and Empty" not sending a CMDID_DELETE event

    I'm writing a pretty simple C3PO to do some integration. If a user
    opens an email and selects delete, I get the eGW_CMDID_DELETE event,
    which is great. However if they select "delete and empty" I don't get
    the event. I'm staring at the list of events in the C3PO docs and I
    can't figure out what other event I might get.
    Anyone know what event I should register for in order to handle the
    "delete and empty" command?
    Thanks,
    James
    System specs:
    Windows XP
    C++ C3PO
    Groupwise 6.5.4

    Just to update my question with a bit more data... I decided to
    register for every event listed in the C3PO documentation. Turns out
    that "delete and empty" doesn't send me any events at all (I put a
    breakpoint in CCommandFactory::WantCommand and it was never touched). I
    would definitely appreciate any info anyone has on this. Specifically
    some info on a fix or workaround.
    Thanks,
    James
    James Wells wrote:
    > I'm writing a pretty simple C3PO to do some integration. If a user
    > opens an email and selects delete, I get the eGW_CMDID_DELETE event,
    > which is great. However if they select "delete and empty" I don't get
    > the event. I'm staring at the list of events in the C3PO docs and I
    > can't figure out what other event I might get.
    >
    > Anyone know what event I should register for in order to handle the
    > "delete and empty" command?
    >
    > Thanks,
    > James
    >
    > System specs:
    > Windows XP
    > C++ C3PO
    > Groupwise 6.5.4

  • 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 advance

    Hi
    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

Maybe you are looking for

  • Problem encountered with Adobe premiere Element 4 et DVD sony Handicam

    I have a sony Handycam DCR/DVD203E . Window Vista edition familiale premium service pack 1 .Adobe Première Elements 4 . I take 10 rushes of 2 minutes each . I finalised the DVD for importing it on my computer under Adobe Elements 4 . When i do " add

  • Process not visible in the Communication Channel Monitor

    Hi there I have a scenario where I create multiple text files with my message mapping. First I created the scenario with a single file and tested it. It worked so then I changed the Interface Determination to Enhanced and the necessary occurrences to

  • Need Information Regarding  ESS/MSS?

    Hi All, I am Having Doubts Regarding ESS? In Ess it contains Different Tasks. ->Befenits & Payment ->Career job ->Employee Search ->Personal Information ->Travel management ->Corporate Inf ->Life & Work Events These Tasks Comes Under one WebdynproIve

  • Power pc applications not supported with lion

    I just installed Lion and now I am getting a message that I ca't open my Adobe Photoshop Application CS because PowerPC applications are no longer supported, PLEASE HELP ME SOLVE THIS PROBLEM!!!!!!!

  • Itunes changing names

    Hi everyone, I am having trouble w/ iTunes changing artist names, genres, etc when a song gets played. does anyone know how to stop this from happening. i've tried unchecking the box that allows itunes to order and organize files. thanks. richard