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
Simmi

Hi 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 *

Similar Messages

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

  • 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 of request from ODS which is activated and updated

    Hi all,
    I would like to delete the request from ODS which is activated and updated into data targets, i.e if i have three resquests 1,2,3 which are activated  and loaded into cube..now i would like to delete the between (2) request from ods, it says we have to delete latest first(3) , cant we delete this 2 nd request by doing some sort of settings plz let me know if any body got come to know this...plz
    Many thanks in advance,
    BRB

    Hi
    Did you look at the Online-Docu (link above)? In the administration of the ODS (I think menue 'Manage' in an english environment -> I've none at the moment) where you see each loaded package there you have a button right of the request id (status of data mart). If you press on this a dialog screen appears. There you can press on the trash icon. This resets the delta queue for the specific request.
    You have to do this for request 3 and 2. Then you can delete the request nr. 2. The bw system will then delete this request from the active data and from the change log. After this you can schedule the delta load again. This process will load request nr. 3 to the connected InfoCubes.
    If you do not reset the delta queue you will not be able to load request nr. 3 from the change log.
    As I supose you want not to delete request nr. 3 because of some long duration to upload and activate the whole request again.
    This works fine. I've done the last weeks often because we loaded request with 3 million records and more.
    Regards,
    H.J.

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

  • 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

  • Will selecting 'Delete Account' in iCloud setting on iPad delete the AppleID account, or just delete it from the iPad in question?

    Will selecting ‘Delete Account’ in iCloud settings on iPad delete the AppleID account entirely, or will it just delete the AppleID from the iPad in question?
    I am trying to resolve a problem where someone tried to set up a second iPad on the same Apple ID account. I have partially solved the problem by creating a new Apple ID for the second iPad, but when I went to change the iCloud setting, my only option to change it was the 'Delete Account' button. I just want to make sure that I'm not going to accidentally delete the old Apple ID account because the fist iPad still needs to sync to that ID.

    From the iPhone only.

  • 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

  • Not able to delete the data from ODS

    Hi All,
    I have ODS which is having some requests . All the requests are being loaded with full update only. When I am trying to delete the requests from ODS,  out of 4 requests 2 requests have been deleted but rest of them are not at all deleting .
    As I am working in Quality system, So I don't have the access to delete request from Table level like RSODSACTREQ, RSICCONT etc...
    Can you give any clue to delete the remaining 2 requests.
    Thanks,

    Hi kavitha,
    Does the Request has data mart status.IF yes try to delete the request from the respective DSO's.
    and try to delete the request.
    are you deleting the Whole data from DSO ? - right click on the DSO and select deleted data from the context menu.
    Regards
    Prashanth K

  • Unable to delete request from an ODS

    Hai All,
            I have a requestng in an ODS which I am trying to delete in the Manage ODS- screen by selecting the request and then deleting it. But every time I press delete, I get the trashcan symbol in place of the reporting symbol of the request and when I press refresh , the trash can disappers and the reporting Icon comes back. Any idea why this is happening? I then changed the QM status of both the request and in the Monitor and tried to delete without any luck.
    Can somebody please tell me what the problem is, I have no errors showingup but the request is not getting deleted.
    Thank you.

    Hi Visu,
    Check if you have set the status of the request you want to delete as RED before deleting it..
    We had a similar issue bcoz of this before..
    Also check if all the requests that came in after that are also deleted..
    Ashish.
    Message was edited by: Ashish Gour

  • Unable to Delete the request in ODS

    HI Friends,
          I am facing the problem with deleting request in ODS.
              I deleted the request in cube (PPV Analysis cube). But I unable to delete the request in ODS.
        it is showing the message request is already activated;no further QM action possible.
           My system is upgraded by BI 7.0 one week before only. Please give me solution .
    I am waiting for your reply.
    Thanks & Regards,
    Guna.

    Hi,
    Are there other activated requests on top of this requests?
    In that case it wont let you delete this request unless those requests are also deleted.
    Try to change the status to red and delete.
    Else try this.
    Delete requests manually from the ODS tables.
    1. tcode se16.
    2. delete the request in these tables : RSICCONT (delete activated requests OR
    Make the selective deletion of the contents of that request), RSMONICDP, RSODSACTREQ (give the name of the ODS and the
    request ID and delete all the entries pertaining to this selection in that table.), RSODSACTUPDTYPE.
    The request will be removed from your ODS.
    Note 947481 - P32:ODS: Deleting partially active non-condensed requests 
    Hope this helps.
    Thanks,
    JituK

  • Selective Deletion of the Cube contents in Abap Program of the PChain

    Dear Experts
    I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5
    For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain
    The ABAP Program for this purpose can be generated automatically by the system in the the below navigation
    info cube> Manage>contents > system menu(in the Top)> Status
    but this abap program is changing dynamically every time and hence in the Process chain ABAP Program node is failing with error saying that that program is not available
    I have tried the same way  in the selective deletin navigation path also in the cube manage
    Please let me know how to get the system generated program to use in the Process type-ABAP Program in Process Chain
    Thanks for all in advance
    KSR

    Hi KSR,
    Try this.. start a selective deletion on the cube. you will get a background job running. Get the job name from SM37.
    Now write a ABAP program with the below code.
    parameter: p_Job_Name type sysuuid_c.
    CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
    EXPORTING i_barepid = l_jobnam.
    Execute the above program. Pass the job name which you got from SM37.
    Create a variant with that job name.
    Now schedule this newly created program. This should solve your issue.
    Note : The job name might vary from one server to another (Dev / Qual / Prod). So if you are planning to move your process chain from Dev, then pass the Job name (in prod) as the variant in yr Dev system and then transport it.
    Cheer,
    Balaji Venugopal

  • Delete overlapping requests from ODS

    Hi,
    Since it iss not possible to delete overlapping requests from an ods by any automated process like in info cube.
    Can we still delete overlapping request using abap code or the only way to do it is to delete  data (selective deletion) in a start routine.
    Any tips would be helpful

    Hi ,
    Try the following logic to delete the ovelapping requests from a particular data source.
    *& Report  ZV_DELETE_REQS                                              *
    *&Description:This program is for deletion of eixsting Full requests   *
    *&            from ODS                                                                     *
    REPORT  ZV_DELETE_REQS.
    data: RSICCONT like rsiccont,
          rsseldone like rsseldone.
    data: begin of i_req occurs 0,
          rnr like RSICCONT-rnr,
          end of i_req.
    refresh i_req.
    select * from RSICCONT UP TO 2 ROWS
                      where ICUBE  = 'ZCS_D10'
                      order by TIMESTAMP descending.
      i_req-rnr = rsiccont-rnr .
      append i_req.
      clear i_req.
    endselect.
    loop at i_req.
      select single * from RSSELDONE where RNR eq i_req-rnr and
                      source in ('0CO_OM_OPA_5',
                                 '0CS_OM_OPA_1').
      if sy-subrc eq 0.
        CALL FUNCTION 'RSSM_DELETE_REQUEST'
          EXPORTING
            REQUEST                    = i_req-rnr
            INFOCUBE                   = 'ZCS_D10'
          EXCEPTIONS
            REQUEST_NOT_IN_CUBE        = 1
            INFOCUBE_NOT_FOUND         = 2
            REQUEST_ALREADY_AGGREGATED = 3
            REQUEST_ALREADY_COMDENSED  = 4
            NO_ENQUEUE_POSSIBLE        = 5
            OTHERS                     = 6.
        IF SY-SUBRC <> 0.
          MESSAGE ID sy-MSGID TYPE 'I' NUMBER sy-MSGNO
              WITH sy-MSGV1 sy-MSGV2 sy-MSGV3 sy-MSGV4.
        else.
          message i799(rsm1) with i_req-rnr 'deleted'.
        ENDIF.
        do.
          select single * from RSICCONT where ICUBE  = 'ZCS_D10'
                                          and  rnr    = i_req-rnr.
          if sy-subrc ne 0.
            exit.
          endif.
        enddo.
      endif.
    endloop.
    hope it helps....
    regards,
    raju

Maybe you are looking for

  • How to use Pivot function for group range in oracle SQL

    Hi, Good Morning !!! I need to show the data in the below format. There is 2 columns 1 is State and another one is rate. State     <100     100-199     200-299     300-399     400-499     500-599     600-699     700-799     800-899     900-999     >=

  • Good Software for G3 and Tiger

    I am about to recieve an iBook G3. And will upgrade it to Tiger. And it seems to be a little difficult to find software that works on a G3, I would like to know if any of the apple community knows of any good free/paid software. I would appreciate yo

  • Can't burn movie over 2 hours

    I have a movie that is 2 hr 23 min. In iMovie HD 6.0.4, I added chapters every 15 minutes. When I import into iDVD 7.0.4, of course it says that the project is too big. I change to "Double-Layer 7.7 GB" I also change Encoding to "Professional Quality

  • How to use custom control.

    hi all,     how to use custom controls in screen painter. can i add image to my screen  using custom control. is there any other way to display image on screen. give me some notes about custom control. and sample programs to display image and also th

  • Document to open in applescript

    Is it possible to make a certain file type opened using finder to open an applescript and set filetodostuffwith to that file and skip a choose file dialog at the begging o the script?