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

Similar Messages

  • 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

  • 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

  • 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

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

  • Pushing a request from PSA..but says.."Request is already updated in cube"

    Guys,
    Pushing a request from PSA..but says.."Request is already updated in cube". I have deleted before scheduling from psa...i could see the request in yellow/not yet completed list.
    I am couldnt find the request in the cube...but while pushing from psa it says"request already updated".
    Pls Advice,,,Thanks!

    Ganesh,
    Goto Infocube Manage --> Reconstruction Tab --> select request --> Reconstruct and try..
    Hope it Helps
    Srini

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

  • Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer.

    Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer. The version installed on my ipod is 7.1.2(11D257).

    Hi donfrommars,
    Welcome to the Apple Support Communities!
    Please use the following article for information and instruction on deleting the U2 album from your devices and account.
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases
    Have a great day,
    Joe

  • 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

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

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

  • HT4847 I am unable to delete the last backup from icloud, i checked my all device setting but it still say "cannot delete icloud this time because it is in use,"Please tell me what should i do.

    I am unable to delete the last backup from icloud, i checked my all device setting but it still say "cannot delete icloud this time because it is in use,"Please tell me what should i do                             

    It still didn't work...
    Within this commonfiles\apple folder, there is only one folder, labeled "Internet Services." Within this folder, there are 6 folders, labeled:
    APLZOD.resources
    BookmarkDAV_client.resources
    CoreDAV.resources
    iCloud.resources
    iCloudServices.resources
    ShellStreams.resources
    Within all but CoreDAV and BookmarkDAV_client, there are multiple different folders, all labeled starting with a two letter (acronym I believe, for different languages) then .lproj (for example, a folder is labeled "ar.lproj".
    In each of the folders of APLZOD.resources, there is a file labeled "APLZODlocalized.dll."
    In all of the folders containing the multiple .lproj folders, there are likewise "name"localized.dll files contained.
    In the BookmarkDAV_client and Core DAV folders, they each contain only one file, "Info.plist"
    I attempted to delete all of these files, and still, the FileAssassin could not delete them. I unlocked one of them for instance, and I tried to delete the file myself (thru windows explorer and just clicking delete), and I still had the same issue of coming eventually to the window requesting me to "try again" to have permission.
    What can I do?? I'd like to avoid Unlocker, but if it really is a reliable and SAFE program, and someone knows a SAFE place to download it from, I'd appreciate it very much so!!
    thanks!!

  • How to push a perticular request from PSA to Data target using DTP in BI

    Hello all.
      I have mulitple requests in PSA & wanted to move only perticular requests (Randomly,  say first request & last request ) to data target using DTP in BI 7.0. How can we do this.. ? Is there any option in DTP (BI 7.0)for selective loading of requests from PSA to Data Target..
      Thanks in advance..
    Cheers,
    sami.

    Hi,
      It is possible by using 'zero fetch' in DTP
    If you want only the recent req to be loaded.
    1. In PSA, change the status of the recent request to red
    2. Do a zero fetch
    that is processing mode - No data transfer; delta status in source: fetched
    With this processing mode you execute a delta without transferring data.
    3. change the particular request status back to green
    4. Run a delta load
    Regards,
    Priya.D

  • How to delete the duplicate data  from PSA Table

    Dear All,
    How to delete the duplicate data  from PSA Table, I have the purchase cube and I am getting the data from Item data source.
    In PSA table, I found the some cancellation records for that particular records quantity  would be negative for the same record value would be positive.
    Due to this reason the quantity is updated to target but the values would summarized and got  the summarized value  of all normal and cancellation .
    Please let me know the solution how to delete the data while updating to the target.
    Thanks
    Regards,
    Sai

    Hi,
    in deleting the records in PSA table difficult and how many you will the delete.
    you can achieve the different ways.
    1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
    2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
    3.you can restrict the cancellation records at query level.
    Thanks,
    Phani.

Maybe you are looking for

  • Override snap with control plus drag not working on PianoRoll

    I'm new to Logic and found out about a trick called "override snap" in Piano Roll. Basically I need to have Snap set to "beat", select a midi note and, while holding control, move the length of the end of that note to get it snap by division, thus ov

  • System Landscape in XI environment

    Hi, We are having three XI systems, XID (Dev), XIQ(Qtly) and XIP(Prod) and an EPP (Enterprise Portal). Earlier EPP was pointing to SLD of XID. Now we want to revamp the components and install them in a better way. Currently we are thinking of the fol

  • HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T

    hi frnds. currently iam working on SD MODULE I NEED the NET DUE DATE SO HOW TO DO THAT 1 problem plz: HOW TO ADD FIELDS OF BSEG-ZFBDT & BSEG-ZBD1T TOGETHER one is date & other is numeric value so how? one is date & other is numeric value so how to ad

  • Divide Result in decimal or float

    Hi, Here i am doing division calculation for two int values.  payroll   occbeddays   result   2168        2969           0 But i want the result as 0.73 How can i got this? @temp_STATSCAL AVGPAYROLL is money datatype. INSERT INTO @temp_STATSCAL (FACI

  • How to modify build.xml ant to invoke a static init method when building?

    Hello, I´d like to make it as such that when I select to build and clean project in netbeans it calls a specific static init method in one of the project classes (which actually generates the database file). //for that purpose that code is only neede