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
Tony

Hi,
Before you do Compression you can perform Selective Deletion for Req ID. And it automatically changes your Aggregates also.
Ali.

Similar Messages

  • Function Module to Delete ODS Data based on Request

    Hi All,
    Is there any specific function module to delete ODS data based on Request.
    I found the program RS_DEL_ODS_1 which is using the FM RSAR_ODS_API_DEL.
    But this FM is deleting the request at PSA level.
    Is there any alternate FM?Or is there any ABAP Program or so?

    Hi,
    Deletion of specific request is not perimitted for ODS objects. You can delete the most recent request, but if you delete any previous requests, all the requests up to that request will also be deleted.
    You can do it by write an ABAP program to identify the specific requests to be deleted for ODS.
    Regards
    CSM Reddy

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

  • Init selection deleted - recover possible?

    Hi,
    I am selectively initialising the attributes for the business partner. It concerns a new datasource with new attributes for the business partner.
    As we have 5,2 million business partners I am initialising this part in ranges.
    As for now I had 9 selective inits run properly. One init went wrong this night and I wanted to delete this "red" init in the infopackage settings. I selected only this one, however now all my inits are deleted.
    Does anyone know how to restore these init selections? I can see a delta still present in SMQ1 in CRM, in RSA7 in CRM the delta is suddenly 0.
    Would appreciate any kind of help!
    Kind regards,
    Hans de Klein

    Hi Hens,
       Just check the red request is available in PSA and try to load from there.If not then you have to do init again.
    Only option if the data is available in PSA in correct status.
    Hope you can solve this.
    Regards
    Gopal

  • How to go for selective deletion if the request is rolled up???.. URGENT!!!

    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
    Prince

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

  • Does Delete Overlapping Requests drop the BIA index like Selective deletion

    Hi,
    Does Delete Overlapping Requests process in a chain drop the Accelerator index like Selective Deletion does?

    Hi,
    No is does not.
    -Vikram

  • How to delete the data based on concurrent request Id

    Hi
    from account receivable to gl i am posted a cheque through concurrent program.
    right now my problem is I want to delete that data in database tables based on concurrent request id.
    how to delete that data based on concurent request id, Please give me some suggessions

    What is the application version ? what exactly you want to achieve ?
    Direct deletion is not recommended in oracle application database.
    regards,

  • 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

  • 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 delete the rollup and compress request from the cube

    Hi Experts,
    I have a requirement, one request was updated into the cube and it was been rollup and then compressed.  As the request was compressed so based on request id we cant perform the deletion.
    So it is possible with selective deletion.  Now before performing the selective deletion do i need to deactivate the aggregates. 
    Help me out on this.
    Regards
    Prasad

    Hi.........
    U hav to deactivate the aggregates................bcoz.........Selective deletion is only possible with uncompressed requests...............ie from F fact table...........after compression data moves from F fact table to E fact table.............. you can't do selective deletion on E fact table.........So first deactivate the aggregates............then do the selective deletion..............then again activate the aggregates..............and do the aggregate filling job manually in RSA1..............but I will suggest u delete the request...............bcoz any how u hav to deactivate the aggregates............and in case of selective deletion u hav to be very particular................if ur load is not taking much time............then delete the request and repeat the load............
    Regards,
    Debjani...........

  • Deleting duplicate rows based on three columns in Oracle 8i

    Hi all,
    The database we use is Oracle 8i.
    The query below raises the too_many_rows exception when I launch an application. So I want to delete the duplicated rows :
    select polarisation_1, polarisation_2
    into v_pol1_tech, v_pol2_tech
    from v_cfh_lien_element
    where nom_lien = p_nom_lien
    AND num_canal_1 = p_num_canal_1
    AND freq_emise_1 = p_freq_emise_1;
    Notice that with many possible values of the parameters p_nom_lien, p_num_canal_1 and p_freq_emise_1 then the exception is raised.
    So how to delete generally the duplicated rows based on the three columns "nom_lien" , "num_canal_1" and "freq_emise_1" ?
    Thank you very much indeed.

    Check the other thread with same question deleting duplicate rows based on three columns in Oracle 8i

  • Selective Deletion of Infocube data

    BW experts,
    I have a scenario where in "rough" data already stored in an InfoCube will be replaced by a more "intelligent" data from another source. The deletion/replacement of data should happen without manual intervention (cause flat file data files arrive at a schedule time and should be loaded "automatically"into the cube) What are my options here? I currently know that it is possible to delete infocube contents using function module 'RSDRD_SEL_DELETION' (perhaps do it in the Update Rule).
    1) Is there another way (more "SAP Standard" or more "intelligent")?  I need to delete based on characteristics  that can be found in the file (e.g. the file has data for 0MATERIAL, 0CALWEEK).
    2) What are the "watch outs" for using function module 'RSDRD_SEL_DELETION'?
    Please advise.
    Thank you very much.

    Hello Emmanuel,
       In ABAP programe Just used the Infocube Name and the selection condition on what basis you want to delete.
    See Below the code.
    *add the fiscper selection in L_THX_SEL table for seletion of data
    CLEAR L_SX_SEL.
      L_SX_SEL-IOBJNM = '0FISCPER'.
        CLEAR L_S_RANGE.
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPTION = 'EQ'.
        L_S_RANGE-LOW = TFISCPER.  "yr data.
    *--this is imortant otherwise data wil not delete
        L_S_RANGE-KEYFL = RS_C_TRUE.
        APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
      INSERT L_SX_SEL INTO TABLE L_THX_SEL.
    **get the selection for company
      CLEAR L_SX_SEL.
      L_SX_SEL-IOBJNM = '0COMPANY'.
        CLEAR L_S_RANGE.
        L_S_RANGE-SIGN = 'I'.
        L_S_RANGE-OPTION = 'EQ'.
        L_S_RANGE-LOW = VARIANT.
    *--this is imortant otherwise data wil not delete
        L_S_RANGE-KEYFL = RS_C_TRUE.
        APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
      INSERT L_SX_SEL INTO TABLE L_THX_SEL.
    *function module for selective deletion..
    CALL FUNCTION 'RSDRD_SEL_DELETION'
      EXPORTING
        I_DATATARGET              = 'IFIBIV'
        I_THX_SEL                 =  L_THX_SEL
      I_DEL_ACTIV               = RS_C_TRUE
      I_DEL_UPDATE              = RS_C_FALSE
      I_DEL_CHANGE              = RS_C_FALSE
      I_AUTHORITY_CHECK         = RS_C_TRUE
      I_MODE                    = RSDRD_C_MODE-CHOOSE
      I_THRESHOLD               = '0.1'
      I_PARALLEL_DEGREE         = 1
      I_NO_LOGGING              = RS_C_FALSE
      I_NO_COMMIT               = RS_C_FALSE
      I_NO_ENQUEUE              = RS_C_FALSE
      I_SHOW_REPORT             = RS_C_FALSE
      I_TRANSACTIONAL_ODS       = RS_C_FALSE
      CHANGING
        C_T_MSG                   =  L_T_MSG
    EXCEPTIONS
      X_MESSAGE                 = 1
      INHERITED_ERROR           = 2
      INVALID_TYPE              = 3
      OTHERS                    = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Hope This will help.
    In Start Routine there is no disadvantage to delete the data from data package.
    But it depened on the scenario and requirement.
    Regards
    Gopal

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

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

Maybe you are looking for

  • Oracle VM Server 2.2.1 as VM Ware Guest

    Hi, I have download and installed Oracle VM Server 2.2.1 and Oracle VM Manager 2.2.0 in a VM ware virtual machine. After installing Oracle VM Manager i wanted to access https://127.0.0.1:4443/OVS, for that i tried changing to GUI, but its not working

  • Lots of Permissions Need Repairing?

    I'm fairly certain this is normal, but figured I'd run this by the world... Is it normal to have alllllllll  these damaged permissions? Repairing permissions for “Macintosh HD” Permissions differ on "System/Library/Java/JavaVirtualMachines/1.6.0.jdk/

  • Location field in resource

    Hi experts,         i want to  know what is the use of the field location in resource(CRC1) basic data view...??? can we take location into reporting purpose..??? Regards, Joseph.

  • Can you add video to a fluid grid project in CS6

    Hi Again; I'm thinking about the upgrade to CS6  to help with my video problem in CS 5.5 and was wondering if you can add video to a fluid grid web project.  From what I watched on the web, it looks like everything is a one page web site with links t

  • SEARCHING FOR A MONOTONE PLUGIN

    Hi I'm currently using CS5 to create images to compete in club competitions, enter national exhibitions and gain distinctions (CPAGB) etc I produce both prints and dpi images and am particularly keen to develop monotone images I've currently achieved