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

Similar Messages

  • Update primary key/delete and reinsert records

    Hi, I have been told to update some fields. The database is new to me, and now I see the field is the primary key (and it has child tables with that as foreign key). The person who told me isn't reachable until next week...
    ...wasn't a bad idea to update pk's? I see it's possible, deferring constraints...
    update primary key
    Re: Update Primary Key
    ...but it's better/safer the script deletes and later re-insert the records, right?
    Thanks

    Always is better be able to undo any change .
    But ¡, why would you update pk's? it's possible but you colud find few problems like:
    - many levels of foreign keys exists.
    - not validate pk
    Look at:
    Re: Novalidate primary key

  • Function Module to delete all the red requests in Info Cube

    Dear Friends,
    Is there any standard FM which can delete all the red requests in the infocube ?
    Thanks & Regards,
    Ashutosh Singh

    you can use RSDD_INFO_REQUID_DELETE.
    you've got to create a program in which you first read table rsbkrequest (where you can find the status of the request)
    then you can use these id's in the function module.
    as a lead check this paper (other objective but same principle)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a7ba9523-0b01-0010-18ab-cf8b3b8c374a?quicklink=index&overridelayout=true
    M.

  • 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

  • ABAP to delete a specific request (last one) from a Cube

    Hello Experts,
    In a process chain, I would like to delete the last request in a cube before proceeding through with the rest of the PC. For that purpose, I have an ABAP program which will retrieve the "last request ID" from the cube, then call FM RSSM_DELETE_REQUEST to delete that request using that ID and the cube name.
    Once in a while, this deletion doesn't work: the request status is set to erroneous and the PC goes on with its life.
    I am currently investigating this issue and have no mean to easily test it, including getting the actual error code from the deletion FM if there is any, so I'm looking for leads or ideas on the possible reasons of such a problem : the cube is fairly simple and doesn't use compressed requests or aggregates. When I delete the request manually, there are no problems.
    Is there any other FM more appropriate to delete a specific request such as the last one? Or some best practices associated with this particular task... I'm very new to SAP Netweaver so don't hesitate to point out the obvious.
    Regards,
    Guillaume

    Hello Matthew,
    I may be wrong, but it seems that "Delete Overlapping Request" won't be enough to obtain the specific behavior I am looking for.
    To give a more detailed description of the context, this specific Cube is used as a history cube, and until a specific date, the latest request, and only this one, not the previous ones which came from the same DTP, must be deleted and then replaced with the new data loaded in the process chain. This data is a value which gets updated everyday but after a specific date (loaded from a table), it's no longer updated and considered "history" and the new data won't replace the previous request but will be added to the cube. Not sure if that was clear
    Here is an example.
    The cube contains three requests, A, B and C.
    At D1, a new request, D, is loaded and since D1 isn't the "specific day", C is deleted (being the last request) and replaced with D. => The cube contains A, B, D.
    At D2, a new request, E, is loaded, and this time time D2 is the "specific day", so D isn't deleted and E is loaded into the cube which now contains A,B,D,E.
    I hope this cleared up the actual purpose of this routine.
    Do you think there is a way (some conditions or something like that?) to set a "Delete Overlapping Request" to achieve this? This would be much simpler than the current solution.
    However, it would still be nice if I could understand what is wrong with the straightforward ABAP program we use in the first place.
    Regards,
    Guillaume

  • Delete Requests of a Cube using ABAP routine

    I have written a ABAP code to get all the requests of a cube. Now I want to delete all the requests which are older than 1 year through this ABAP routine. Please help.
    REPORT ZTEST3.
    TYPE-pools RSSM.
    DATA: i_infocube like rsmonicdp-icube.
    TYPES: l_req TYPE RSSM_T_PART.
    DATA: li_req TYPE l_req.
    CALL FUNCTION 'RSSM_ICUBE_REQUESTS_GET'                
    EXPORTING
    i_infocube = 'ZCOPCBC02'
    IMPORTING
    e_t_request = li_req.

    Maybe this might help :
    Delete multiple requests from DSO using RSMONICDP table

  • Program to delete a specific request from a Cube

    Hi Everyone,
    I've been trying to delete a certain DTP request from a cube but I'm unable to delete it. Is there any ABAP program to delete a specific request from a cube by provinfing requeset ID as the input.
    Thanks,
    Ram

    HI
    SE37RSSM_DELETE_REQUESTGIVE YOUR REQUEST NO & INFOCUBE NAME here. and execute.
    Table is :RSBKDTP contains DTP and target details.
    Hope it helps

  • Delete Overlapping Reqeust in DTP deletes more than one request from cube

    Hi all,
    I have selected the following options in delete overlapping request as we need only one request in the cube.
    Delete existing requests
    Only delete request frm same same DTP
    Selections are
    Same or More comprehensive
    Scenario is:
    DSO>DTP>Cube
    I have set this delete overlapping request in the DTP (in a processchain).
    Now at the time i added this step in Process chain, there were two requests in the Cube (both with the same DTP but first one was 2009 data and second was 2010 data)
    Need was to delete only the latest request from the cube ie 2010 data.
    As per my understanding, i assumed delete overlapping will delete only ONE request i.e. the latest one from the cube with 2010 data.  But when i ran processchain, it deleted both the requests.
    Is that the functionality or is there something I am missing? We need to retain 2009 data and overwrite 2010 data with the new request.
    Suggestions please.

    Hi,
    I suspect that you have not set any DTP filter criteria. Is this the case?
    Are these requests delta DTPs or full DTPs?
    Have you read/applied these notes:
    1155723 P18:DTP:PC: Deleting overlapping DTP requests in PC
    1318438 P21:DTP:PC: Change of instance when DTP in PC repaired
    1147766 P18:PC:DTP:Select only full DTPs for overlapping deletion
    1336410 70SP22: Enhancements to CL_RSBK_DTP=>GET_ALL_BY_PROPERTY
    Rgds,
    Colum

  • Deleting Sales Order Details using BAPI_SALESORDER_CHANGE And Reinserting

    Hi All,
    I need to <b>change a Sales Order</b> in such a way that I would <b>delete all the existing Line Items</b> of that SO And <b>then reinsert new Line Items</b> as generally is the practice of saving a document.(Update Header-Delete Old Item Entries-Reinsert New Present Entries).
    I coded a small test program in ABAP using the <b>BAPI_SALESORDER_GETLIST And BAPI_SALESORDER_CHANGE</b>.
    In order to affect the Qty I have to update the Schedule Parameter also of the BAPI_SALESORDER_CHANGE Function.But this causes a new entry in VBEP.
    eg:
    <b>Before BAPI Calls</b>
    SO-Number:9001
    Header:9001,etc......
    Detail:ItemNo=10,Material=xyz,TargetQty=100,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=100,etc...
    I coded the program such that
    1.I <b>Get the List of Items</b> using BAPI_SALESORDER_GETLIST.
    2.Call the <b>BAPI_SALESORDER_CHANGE</b> filling appropraite   values in Parameters <b>with UpdateFlag = 'D'</b>
    3.<b>Insert new values</b> in OrderItems And Schedule Parameters
    say:
    Detail:ItemNo=10,Material=xyz,TargetQty=25,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=25,etc...
    4.<b>Call the BAPI_SALESORDER_CHANGE</b> filling appropraite values in Parameters <b>with UpdateFlag = 'I'</b>
    <b>The output now becomes.</b>Header:9001,etc......
    Detail:ItemNo=10,Material=xyz,TargetQty=100,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=100,etc...
    ItemNo=10,Scheduleline=2,Req_Qty=25,etc...
    Now After Commit when I see my <b>SO it shows me a qty of
    125</b>.
    I am attaching the code for your analysis.
    Thanx in advance.
    *& Report  ZSM_CHANGESALESORDER                                        *
    REPORT  ZSM_CHANGESALESORDER                    .
    DATA:
    For Calling the GetList BAPI Function
      CUSTOMER_NUMBER LIKE  BAPI1007-CUSTOMER,
      SALES_ORGANIZATION LIKE  BAPIORDERS-SALES_ORG,
      IT_SALES_ORDERS LIKE TABLE OF BAPIORDERS,
      WA_SALES_ORDERS LIKE LINE OF IT_SALES_ORDERS,
      IT_RETURN LIKE TABLE OF BAPIRETURN,
      WA_RETURN LIKE LINE OF IT_RETURN.
    For Calling the ChangeFromData BAPI Function
    DATA:
      SALESDOCUMENT LIKE  BAPIVBELN-VBELN,
      WA_ORDER_HEADER_IN LIKE  BAPISDH1,
      WA_ORDER_HEADER_INX LIKE BAPISDH1X,
      IT_ORDER_ITEM_IN LIKE TABLE OF BAPISDITM ,
      WA_ORDER_ITEM_IN LIKE LINE OF IT_ORDER_ITEM_IN,
      IT_ORDER_ITEM_INX LIKE TABLE OF BAPISDITMX ,
      WA_ORDER_ITEM_INX LIKE LINE OF IT_ORDER_ITEM_INX,
      IT_SCHEDULE_LINES LIKE TABLE OF BAPISCHDL ,
      WA_SCHEDULE_LINES LIKE LINE OF IT_SCHEDULE_LINES,
      IT_SCHEDULE_LINESX LIKE TABLE OF BAPISCHDLX ,
      WA_SCHEDULE_LINESX LIKE LINE OF IT_SCHEDULE_LINESX,
      IT_RETURN_CHG LIKE TABLE OF BAPIRET2,
      WA_RETURN_CHG LIKE LINE OF IT_RETURN_CHG.
    DATA:
      IT_RETURN_CT LIKE BAPIRET2.
    PARAMETERS:
      P_SO LIKE VBAK-VBELN,
      P_CUSTNO LIKE  BAPI1007-CUSTOMER,
      P_SORG LIKE BAPIORDERS-SALES_ORG.
    START-OF-SELECTION.
      SALESDOCUMENT = P_SO.
      CUSTOMER_NUMBER = P_CUSTNO.
      SALES_ORGANIZATION = P_SORG.
    Retrieve the Existing Sales Order details for that Sales Order.
      PERFORM GETREQSODETAILS.
    Delete the Existing Sales Order details from that Sales Order.
      PERFORM DELETEOLDSODETAILS.
    Insert New details for that Sales Order.
       PERFORM ADDNEWSODETAILS.
    END-OF-SELECTION.
      PERFORM COMMITTRANS.
    *&      Form  GetReqSODetails
    FORM GETREQSODETAILS .
      CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
        EXPORTING
          CUSTOMER_NUMBER    = CUSTOMER_NUMBER
          SALES_ORGANIZATION = SALES_ORGANIZATION
        IMPORTING
          RETURN             = WA_RETURN
        TABLES
          SALES_ORDERS       = IT_SALES_ORDERS.
    *delete the Sales Order Details of Sales Orders other than the req.One
      IF NOT IT_SALES_ORDERS[] IS INITIAL.
        SORT IT_SALES_ORDERS BY SD_DOC.
        LOOP AT IT_SALES_ORDERS INTO WA_SALES_ORDERS.
          IF WA_SALES_ORDERS-SD_DOC NE SALESDOCUMENT.
            DELETE IT_SALES_ORDERS.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " GetReqSODetails
    *&      Form  deleteOldSODetails
    FORM DELETEOLDSODETAILS .
      DATA: IRECCOUNT TYPE I.
      IRECCOUNT = 1.
    *Clear all the Inernal Tables And Work Areas
    *and Update the SO Header Index
      PERFORM CLEARDATA.
      PERFORM SOHEADERINDEX.
      LOOP AT IT_SALES_ORDERS INTO WA_SALES_ORDERS.
    *Fill the Order Details Index Internal Table
        PERFORM FILLSODELETEDTLS_INDEX_PARAM
        USING WA_SALES_ORDERS-ITM_NUMBER 'D'.
    *Fill the Order Scedule Index Internal Table
        PERFORM FILLSODELETESCH_INDEX_PARAM
        USING WA_SALES_ORDERS-ITM_NUMBER IRECCOUNT 'D'.
      ENDLOOP.
    *call the Sales Order Change Fumction to delete the Existing Data
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALESDOCUMENT
          ORDER_HEADER_INX = WA_ORDER_HEADER_INX
        TABLES
          RETURN           = IT_RETURN_CHG
          ORDER_ITEM_INX   = IT_ORDER_ITEM_INX
          SCHEDULE_LINESX  = IT_SCHEDULE_LINESX.
    ENDFORM.                    " deleteOldSODetails
    *&      Form  SOHeaderIndex
    FORM SOHEADERINDEX .
      WA_ORDER_HEADER_INX-UPDATEFLAG = 'U'.
    ENDFORM.                    " SOHeaderIndex
    *&      Form  FillSODeleteDtls_Index_param
    FORM FILLSODELETEDTLS_INDEX_PARAM
    USING VALUE(P_ITM_NUMBER) VALUE(P_FLAG).
      WA_ORDER_ITEM_INX-ITM_NUMBER = P_ITM_NUMBER.
      WA_ORDER_ITEM_INX-UPDATEFLAG = P_FLAG.
      APPEND WA_ORDER_ITEM_INX TO IT_ORDER_ITEM_INX.
    ENDFORM.                    " FillSODeleteDtls_Index_param
    *&      Form  FILLSODELETEsch_Index_PARAM
    FORM FILLSODELETESCH_INDEX_PARAM
    USING VALUE(P_ITM_NUMBER) VALUE(P_RECCOUNT) VALUE(P_FLAG).
      WA_SCHEDULE_LINESX-ITM_NUMBER = P_ITM_NUMBER.
      WA_SCHEDULE_LINESX-SCHED_LINE = P_RECCOUNT.
      WA_SCHEDULE_LINESX-UPDATEFLAG = P_FLAG.
      APPEND WA_SCHEDULE_LINESX TO IT_SCHEDULE_LINESX.
    ENDFORM.                    " FILLSODELETEsch_Index_PARAM
    *&      Form  addnewSODETAILS
    FORM ADDNEWSODETAILS .
      DATA: IRECCOUNT TYPE I, ITEMNO TYPE I.
      IRECCOUNT = 1.
    *Clear all the Inernal Tables And Work Areas
    *and Update the SO Header Index
      PERFORM CLEARDATA.
      PERFORM SOHEADERINDEX.
      WHILE IRECCOUNT <= 1.
        ITEMNO = IRECCOUNT * 10.
    *Fill the New Order Details in the Internal Table
        PERFORM FILLSODTLDATA USING ITEMNO 'TEST FG' 37 .
    *Fill the Order Details Index Internal Table
        PERFORM FILLSODELETEDTLS_INDEX_PARAM USING ITEMNO 'I'.
    *Fill the New Schedule Details in the Internal Table
        PERFORM FILLSOSCHDATA USING ITEMNO IRECCOUNT 37 .
    *Fill the Order Scedule Index Internal Table
        PERFORM FILLSODELETESCH_INDEX_PARAM
        USING ITEMNO IRECCOUNT 'I'.
        IRECCOUNT = IRECCOUNT + 1.
      ENDWHILE.
    *call the Sales Order Change Fumction to Insert New Data
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALESDOCUMENT
          ORDER_HEADER_INX = WA_ORDER_HEADER_INX
        TABLES
          RETURN           = IT_RETURN_CHG
          ORDER_ITEM_IN    = IT_ORDER_ITEM_IN
          ORDER_ITEM_INX   = IT_ORDER_ITEM_INX
          SCHEDULE_LINES   = IT_SCHEDULE_LINES
          SCHEDULE_LINESX  = IT_SCHEDULE_LINESX.
    ENDFORM.                    " addnewSODETAILS
    *&      Form  clearData
    FORM CLEARDATA .
      CLEAR WA_ORDER_HEADER_INX.
      CLEAR WA_ORDER_ITEM_INX.
      REFRESH IT_ORDER_ITEM_INX.
      CLEAR WA_SCHEDULE_LINESX.
      REFRESH IT_SCHEDULE_LINESX.
      CLEAR WA_RETURN.
      REFRESH IT_RETURN.
      CLEAR WA_ORDER_ITEM_IN.
      REFRESH IT_ORDER_ITEM_IN.
      CLEAR WA_SCHEDULE_LINES.
      REFRESH IT_SCHEDULE_LINES.
    ENDFORM.                    " clearData
    *&      Form  FILLSODTLDATA
    FORM FILLSODTLDATA  USING    VALUE(P_ITEMNO) VALUE(P_MATERIAL)
    VALUE(P_TARGET_QTY) .
      WA_ORDER_ITEM_IN-ITM_NUMBER = P_ITEMNO.
      WA_ORDER_ITEM_IN-MATERIAL = P_MATERIAL.
      WA_ORDER_ITEM_IN-TARGET_QTY = P_TARGET_QTY.
      APPEND WA_ORDER_ITEM_IN TO IT_ORDER_ITEM_IN.
    ENDFORM.                    " FILLSODTLDATA
    *&      Form  FILLSOschDATA
    FORM FILLSOSCHDATA  USING    VALUE(P_ITEMNO)
                                 VALUE(P_RECCOUNT)
                                 VALUE(P_REQ_QTY)  .
      WA_SCHEDULE_LINES-ITM_NUMBER = P_ITEMNO.
      WA_SCHEDULE_LINES-SCHED_LINE = P_RECCOUNT.
      WA_SCHEDULE_LINES-REQ_QTY = P_REQ_QTY.
      APPEND WA_SCHEDULE_LINES TO IT_SCHEDULE_LINES.
    ENDFORM.                    " FILLSOschDATA
    *&      Form  committrans
    FORM COMMITTRANS .
      DATA:SUCCESSFLAG(1).
      LOOP AT IT_RETURN_CHG INTO WA_RETURN_CHG.
        IF WA_RETURN_CHG-TYPE = 'S'
              AND WA_RETURN_CHG-ID = 'V1'
              AND WA_RETURN_CHG-NUMBER = 311
              AND SUCCESSFLAG IS INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT   = 'X'
            IMPORTING
              RETURN = IT_RETURN_CT.
          SUCCESSFLAG = 'X'.
        ENDIF.
      ENDLOOP.
      IF SUCCESSFLAG IS INITIAL.
        WRITE: 'SORRY SOME ERROR'.
      ELSE.
        WRITE: 'SUCCESSFUL'.
      ENDIF.
    ENDFORM.                    " committrans

    Thanx wolfgang,
    I needed that info.
    As I had mentioned in the earlier posts, I want to delete the old Sales Order Item Details,
    Schedule Details,Basic Price data And Reinsert data in the same.
    I am giving u the algo that I have used.
    1.<b>Get the SalesOrder Details</b> for a particular Sales Order using BAPI_SALESORDER_GETLIST(para:customer & sales Org and then deleting unwanted SO data).
    2.<b>Delete</b> the Sales Order <b>Item Details,Schedule Details</b> using BAPI_SALESORDER_CHANGE.
    3.<b>Commit</b> Transaction(<b>If I dont use this commit Error comes in Step No.7 while Commiting</b>)
    using BAPI_TRANSACTION_COMMIT.
    4.Check <b>Return Table</b> of both BAPI_SALESORDER_CHANGE and BAPI_TRANSACTION_COMMIT.
    5.if Step No.4 is <b>Not okay</b> <b>then Rollback</b>(BAPI_TRANSACTION_TRANSACTIN) <b>and Exit</b> <b>else move to step 6</b>.
    6.<b>Add New</b> Sales Order <b>Item Details,Schedule Details, Basic Price</b> using BAPI_SALESORDER_CHANGE.
    7.<b>Commit Transaction</b> using BAPI_TRANSACTION_COMMIT.
    8.<b>Check Return</b> Log of both BAPI_SALESORDER_CHANGE and BAPI_TRANSACTION_COMMIT.
    9.if Step No.9 is okay then Exit else Rollback(BAPI_TRANSACTION_TRANSACTIN) and move to step 10.
    10.Add Old Sales Order Item Details,Schedule Details, Basic Price from Data available in Internal
    table(Filled in step.1 ) using BAPI_SALESORDER_CHANGE.
    11.Commit Transaction using BAPI_TRANSACTION_COMMIT.
         This <b>works fine in 1 server in which I get the message of Incomplete Data,etc...when I make a Sales Order from va01</b>.
    But in another server where I dont this message,I get <b>error in step  7 or 11 as per the flow</b>.
    The return structure of BAPI_TRANSACTION_COMMIT contains error with Message 'Updating was not possible'. Also the message 'Updation was terminated' cms frm the SAP server.  
         What could be the reason?
    Thanx in advance

  • ABAP Routine for Deleting and creating index for ODS in Process chains

    Any pointers for the ABAP Routine code for deleting and creating index for ODS in Process chains.

    Hi Sachin,
    find the following ABAP code to delete ODS ondex.
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_DROP_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    To create index:
    data : v_ods type RSDODSOBJECT.
    move 'ODSname' to v_ods .
    CALL FUNCTION 'RSSM_PROCESS_ODS_CREA_INDEXES'
      EXPORTING
        I_ODS = v_ods.
    hope it helps....
    regards,
    Raju

  • ABAP dictionary : can we delete and recreate transparent table

    Hi Experts,
             I would like to know if we can delete and recreate transparent table which had already been transported to another server? Will it create any other problem?
             The reason why I want to do this is that I want to transport the table contents and the table was earlier created under the class 'Application table' . Now I want to create it under 'Customizing table' class.
    Thanks in advance

    I think you can change the table's Delivery class in SE11.
    Than you can add your entries in the transport request.
    Follow these steps:
    (1) Create a transport request
    (2) Open it, update mode
    (3) Add a line with R3TR TABU <table name>, select the line created
    (4) goto Menu, Key list and add the two keys list you have created (* is wildcard, mandt+key)
    (5) Save, release and transport your request
    No need to delete and regenerate it.
    Regards,
    Naimesh Patel

  • I have a purchases App in my account that I need to delete. ITunes is requesting billing info to complete the transaction. I have changed my mind and don't what to purchase the app. How do I delete the purchases App?

    I have a purchases App in my account that I need to delete. ITunes is requesting billing info to complete the transaction. I have changed my mind and don’t what to purchase the app. How do I delete the purchases App?

    There is nothing that you can do to get rid of the balance on your own. Contact iTunes Store Support and seek their assistance. I believe that they can reset your balance for you.
    https://expresslane.apple.com/Issues.action

  • How can I keep my audio track, delete a short segment of video, and reinsert a new video clip, without changing the audio with the way it lines up with the original video?

    How can I keep my audio track, delete a short segment of video, and reinsert a new video clip, without changing the audio with the way it lines up with the original video?

    If you have either iMovie 09 or iMovie 11 you can do this easily using the Cutaway feature.
    Go to iMovie/Preferences and make sure that the Advanced Tools are enabled.
    Now you jut drag and drop the 2nd clip onto hte first clip at the frame where you want the Cutaway to start. A popup menu will appear. Choose Cutaway.
    Here is a good Tutorial.
    If you have iMovie 08, let me know. There is a way to do it, but it is more complex.

  • Deletion of last request from PSA & Cube

    Hello Experts,
    I have one Z Infocube in which daily full data had been uploaded....Now in PSA, i have uploaded monthwise data via full load process. but for the current month i have to daily delete the request and then execute the process chain. Is there any method or process type which I can add into process chain that deletes the last date request and same for the DTP Request.
    Please help me out from this as i cant take full load daily.
    Thanks in advance
    Neha

    Hi,
    You can create a selective deletion program using the t-code DELETE_FACTS. Use this program in the process chain and provide variant to delete the previous request.
    PSA Data Deleteion:
    You can delete the request onderthan no.of Days.In the pC Process Types you will find option for Delete the PSA Data.
    Deleting Requests from the PSA :
    http://help.sap.com/saphelp_nw70/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/frameset.htm
    ABAP to delete a specific request (last one) from a Cube  :
    ABAP to delete a specific request (last one) from a Cube
    Process Chain to Delete a previous request with overlapping values :
    /message/6161074#6161074 [original link is broken]
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 10, 2009 7:18 AM

  • Reconstruct requests in BW

    Hi All,
    We had an issue with one of our requests in BW, last night.  It loaded successfully, but some of the content is incorrect.  Since then, two other delta loads were successful as well.  I want to do a reconstruct of the unwanted request, but do I need to reconstruct the one's since then???
    For example:
    - Delta 3
    - Delta 2
    - Delta 1 (Unwanted)
    I want to remove Delta 1, without removing Delta 2 or 3, and reconstruct it from PSA.  Is this possible???
    Thanks,
    John

    Do you want to Delte the Delta 1 Request from the Data Target or want to Keep that Request in the Datatarget.
    If you want to Delete the Deltea 1,it will Delete all the three Requests if your Datatarget is ODS,Then you Can Try by Reconstructing the Other two.
    One more Option is Go for Selective Deletion to Delete the Unwanted Data.
    -Vijay
    Message was edited by:
            Vijay

Maybe you are looking for