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

Similar Messages

  • How to delete a specific request from ODS

    Hi all,
    We have an ODS which we're loading invoices from legacy system. In legacy system, there are two tables for invoices. First one is daily records which is archived on last day of each month. As you guess, second table is  for archive records. We need all of the records from  both tables. Because of performance issue , we don't want to load both tables everyday . So we created two transformation. Since there is no delta option, we need to delete the first table request from data targets before extraction. And delete the request from the second table only last day of month. We're created process chain. But there is no option for deleting only the request from a specific data source or transformation. Are there any solution for this?
    thanks,
    Yigit

    Hi,
    Thanks for your code. But is there any function module to delete most recent request from the ODS.
    I had 2 requirements...One in need to delete from ODS & Other one from Cube.
    FM - 'RSSM_DELETE_REQUEST' will be used to delete from Cube only.
    Can please you send FM & ABAP Code to delete request from ODS.
    Thanks in advance.
    Yigit
    Message was edited by:
            Yigit

  • 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

  • Deleting the latest request from info cube.

    Hi All,
    In our project, we have data from May 2012 to till date. Data is freezed and there is no change of data till May 2014. And there is change in data for current month only ie) June 2014. So i have pulled the full load from May 2012 to May 2014 and loaded in the Info cube.
    I am deleting the current month data and loading only the current month data to Info Cube. So i want to delete the current request in the info cube before loading and load only the current month data.
    Can you pls guide me how to achieve this through Process chain. I am unable to identify which process type will suit my requirement.
    Thanks.

    Hello Vincent,
    As mentioned by you, that there is no change in data from May 2012 to May 2014, you can keep the request which contains this data(for Example Req1). If Request2 contains data from May 2012 to June 2014 then you need to delete this request i.e Req2 and load only data for June 2014. Later you can follow below mentioned process.
    Now coming to option which you are looking for process type to achieve this via process chain, there is a process variant called "Delete Overlapping Request", which is used to delete data from the target based on certain condition depending requirement.
    Hope this resolves your issue. Below document explains steps to achieve the same.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0431c48-5ba4-2c10-eab6-fc91a5fc2719?quicklink=index&…
    Best Regards,
    Venu Gopal K

  • Deleting a request from a cube

    Hi Experts
    I deleted few(old) requests from a cube in quality server. They got deleted, after some time i checked back. Those request are appeared in the request tab with a tick mark under compression status in InfoCube. I am confused !!!
    Can any you clear my doubt...
    Thanks
    Pavan

    Hi RMK,
    is it the same ID-Pavan used by you above??anyways...
    I guess we are dealing here with two scenarios..
    1)If it was Infocube than the solution above i suggested holds true
    2)Ifs its ODS ,the physical requests are still there because you deleted the CHANGE LOG data for those requests...so now there is no WAY you can delete those request PHYSICALLY !!!
    Please check to verify/confirm the same..
    the only way to get rid of those contents is through the SELECTIVE DELETE for those request ..
    However;even after selective delete those request would appear physically in the manage TAB of the ODS ..but if you go to the ACTIVE table content for that ODS  ,the data wont be there ,its deleted.so you can reconcile the reports now.
    Hope it Helps
    Chetan
    @CP..

  • 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 overlapping requests from info cube

    Hello
    I am getting a issue sometimes where the process chain fails to delete a request from the cube on the conditions i have given in this process type. Now i have been digging into this but cannot find much of why would this happen.
    Please can someone tell me if this is a known issue to you. Also please can someone give me some details on which program name gets generated when we pull this process type in a  process chain. what i mean is what is the program running for this process chain as i want to debug and see how does this process type delete the request.
    thanks

    check the class CL_RSSM_REQUDEL and method IF_RSPC_EXECUTE~EXECUTE

  • How to delete a single request from DSO in BI 7.0

    Dear Experts,
    Could you please tell me how to delete a single request from DSO?
    I mean, in DSO if we delete one request it also delete the requests which are above it. But i don't to delete the above it.
    Please suggest me this issue.
    Regards,
    Prathap

    IN DSO--its a very basic thing....
    ACTIVE TABLE and CHANGELOG tables are overwritten after activation of each request.
    So ,each new request has a realationsip with the older request.
    So in the cases:
    1.If you activate the older request it will delete the new one ,because changelog entries have been written from the data of new request on the basis of the older one.
    e.g older request  entries:
    a x 1
    new request
    a x 2
    change log
    a x 1
    a x -1
    a x 2
    so its quite obvious you can't have  a x 2 directly (because in the infocube you will be sending wrong entries by deleting the just the older request and loadning new request).
    2.If you have activate new and old request toghterh then also system will not allow you to delete the newer request alone and you will have to delete both the requests.
    I guess already someone proposed correct solution to you ...thats selective deletion...but rahter than doing selective deletion there is a better way if you want to cancel out a particular request:
    thats request reverst posting
    IN the process monitor of any particular request you can find out the option for request reverse posting..Its good for individual request cancellation(keyfig values will become 0 for that particular request)
    regards,
    rk

  • BW: Error during Delete Overalpping requests from a cube 0PCA_C01

    Hello Experts
    For the past 1 week, I am getting the following error in a process chain when trying to do Delete Overlapping requests from a cube.
    The error I am getting is:
    The chain failed while deleting the overlapping requests from 0PCA_C01 with an error messages "Error when deleting requests for comparison request" & "Deletion of request REQU_DBC7DZ51QY from data target 0PCA_C01 failed"
    CL_RSDRD_REQ_PHYS_DEL:REQUEST_DELETE RSDU_FACT_REQUID_DELETE SQL-ERROR: 0
    reqdel_infocube_with_aggr-0PCA_C01 CL_RSDRD_REQ_PHYS_DEL:REQUEST_DELETE RSDU_FACT_REQUID_DELETE
    Deletion of request REQU_DBCFVY9N1691OYQYNCMUGCSGM(290265) from InfoCube 0PCA_C01 terminated
    Error deleting request REQU_DBCFVY9N1691OYQYNCMUGCSGM from InfoCube 0PCA_C01. Exception: Unknown error
    Any suggestions on how to fix this problem permanently..i mean any SAP Note to be applied or any adjusting the database tables?
    Thanks
    Jyothi

    Hi Jyothi,
      This error usually comes because of presence of zombie ./ bad request. I would suggest you to check few of the tables and search for your request "REQU_DBCFVY9N1691OYQYNCMUGCSGM" in them if you are able to find it then delete that entry from there, there after you should not face error. Check if the request mentioned above is present in the below mentioned tables? If yes delete them from there.
    RSREQICODS, RSTSODS, , RSICCONT, RSODSACTREQ.
    Also check if the notes mentioned in the below thread are applicable in your case?
    Error when deleting requests in cube
    Thanks

  • BW:  Error during Delete Overalpping requests from a cube

    Hello, I am getting the following error in a process chain for the last few days when trying to do Delete Overlapping requests from a cube.   If I do a "repeat" the chain completes successfully.  
    The error I am getting is:
    Error when deleting requests for comparison request REQU_4MNC5NXH00MJI1LRHAFV3I3BH
    Deletion of request REQU_4MQ0NT0ISDRZA444OQRDBGC3X from data target ZZCCA_C11 failed
    Any suggestions on how to fix this problem?
    Thanks.

    Hi Sam,
    The job might be failing because the request might me compressed. Take the request id from the error message(for instance
    REQU_4MQ0NT0ISDRZA444OQRDBGC3X here) and check whether this request is compressed in the target ZZCCA_C11 or not.
    If it is compressed then the data target deletion step will fail obviously.
    If this is the case then change the setting of the compression step in the PC to compress the requests loaded 15 days back or whichever you feel comfortable.
    If this is not the case then please check the job log once why the deletion is failing.
    Hope this helps.
    Regards,
    Vijay.

  • Unable to delete a request from a Cube which is loaded by Open hub to flat

    Hi,
    We have one Cube from which we are transferring data to a flat file by open hub.
    the DTP for the OPEN HUB is delta DTP.
    Now when i am trying to delete a request from Cube its not allowing me.
    Its giving error as request is already updated to the target so delete the request from target first.
    I tried deleting the open hub request entry from RSBKREQUEST table.
    but still its not deleting the request from the Cube.
    Can you please help me in solving this problem.
    Thanks in Advance,

    I think request is having datamart, which is not allowing it to delete.
    You can try to reset (delete)  the datamart by clicking on it in cube request and then try to delete.
    Or if it does not work, you can delete it from RSICCONT table, which will delete the request from cube also.

  • Can't delete some specific music from iPad

    I'm getting frustrated now.  Tried everything but unable to delete a specific album from my ipad.  It has synced with my macbook, but it simply cannot be removed, no matter what!  It shows on the left hand device music drop down, but not as a selected album on the music page.

    Thanks for the response but that's not it. I've deselected sync music from within itunes, and the music is still there
    Any more suggestions?

  • Delete a particular request from a InfoCube  after compression  in sap bi 7

    HI ,
    Issue : I wand to delete a particular request from a InfoCube  after compression  in sap bi 7.0 ; (not in sap bow 3.x).
                can any one suggests me how to do .give me possible solutions.
    Regards,
    EdK...

    Hi,
    You can delete the perticular request from Infocube by useing'RSICCONT'.
    Goto SE16, give the 'RSICCONT' then Select your Cube and Select Execuite.
    It will display the list of requests. you can select the perticular request and deleted from cube.
    Edited by: Suman Reddy.Vuyyuru on Mar 18, 2010 12:38 PM

  • How to delete 100+ released requests from the import queue?

    Hello
    How to delete 100+ released requests from the import queue?
    One by one or there is more convinient way?
    Thanks

    To delete multiple non-imported transport requests, you do the following while in the import queue on STMS:
    1) Highlight the status field of the import queue.
    2) Sort the import queue by the status.
    3) Put your cursor on the first non-imported transport, right-click, and click on Select Block.
    4) Scroll down and put your cursor on the last non-imported transport, right-click and click on Select Block. This will highlight all requests from the first one selection to the last one selected.
    5) Go to menu option Request > Delete.
    If all of the requests in the import queue haven't been imported (no imported, including failed import, requests), you can jump to Steps 3-5.

  • How to delete the duplicate requests in a cube after compression.

    Hi experts,
        1. How to delete the duplicate requests in a cube after compression.?
        2. How to show a charaterstics and a keyfigure side by side in a bex query output?
    Regards,
    Nishuv.

    Hi,
    You cannot delete the request as its compressed as all the data would have been moved to E table ..
    If you have the double records you may use the selective deletion .
    Check this thread ..
    How to delete duplicate data from compressed requests?
    Regards,
    shikha

Maybe you are looking for

  • SAVE_TEXT FUNCTION MODULE USAGE TO SAVE TEXT IN AN ORDER FORM HEADER

    Hello All, The user enters text in a text editor and I want to save the text in the form header using a function module SAVE_TEXT. I think this is the only one for saving the text in an order header text. Can anyone provide me a sample program to use

  • Pinch to zoom stops working

    On my 2011 macbook pro, pinch to zoom using the trackpad stops working periodically ever since upgrading to Yosemite. Rebooting seems to solve the problem. Otherwise, it eventually starts working again, the stops again after a period of time. Anyone

  • Setup Assistant - (PC with two user ID's) Starts up every time - no prefs

    We have 2 ipods, so in my Windows XP PC I've set up one library for "userA", and another for "User B." User A is just a user, UserB is an administrator. Setup assistant pops up every time I start under UserB (the admin). So, based upon the many threa

  • Cfinput=text background color style

    I have a CFFORM format=flash and on one of my text boxes I want the background color of the text box to be either red or green depending on the value of the text box. If the Balance text box value is greater than 0, then the background color of the t

  • Counter reading transfer to system

    Hi Experts,     I want to implement the counter based maintenance, wherein the counter's reading need to be read every day manually at fixed timings. My client is a process industry having a complex structure of Equipment having a 1000s of different