Automate ODS data deletion

Hi all,
I could use the Manage functionality for selective deletion, but I am trying to automate the process. We want to keep a 30 days of data in the ODS, so I am hoping to call the Function Module from an ABAP program executed from a process chain.
Any thoughts?

Hi Datatarget, 
I am not sure, that you can delete old requests in ods, (where new request are present).
As per my knowledge, considering functionality of ODS, it wont allow you to delete the old requests without prior deleting the latest requests.
Plz let me also know if you can do the required thing with the above mentioned program.
Regards
vinay

Similar Messages

  • Logs for ODS data deletion?

    Hi ,
    I want to know the ODS data deletion logs.
    I mean to say I want to know who has deleted the contents of ODS.
    Please help me.
    Thanks,
    Vasu

    In the manage screen of the dso goto reconstruction tab .. Just beside the reconstruction button you will find a button as "Logs" .. click on it .. in the next option you need to select the deletion request from the infocube and select continue ..  It brings in a table with the status and Message .. select the relevant line and click on the application log .. It leads you to the slg1 screen with the inputs and there you just need to execute and it pulls out all the information for you ..
    Hope that helps ..

  • ODS Data deletion

    Hi
    I am trying to delete the data from the DSO. It is showing following dump.
    t text
    Syntax error in program "CL_RSAR_PSA_API===============CP ".
    The following syntax error occurred in program
      "CL_RSAR_PSA_API===============CP " in include
      "CL_RSAR_PSA_API===============CM004 " in
    line 18:
    "The field "E_PARTNO" is unknown, but there is a field with the similar"
    " name "L_PARTNO". "L_PARTNO"."
    I also went to Manage and tried to delete the request. It is not allowing to delete the request.
    Thank you
    Ananya

    Hi,
    Read this note. 1052447  i have given u the link.......
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1052447&nlang=EN&smpsrv=https%3a%2f%2fwebsmp201%2esap-ag%2ede
    Thanks,
    Nagesh.
    Edited by: Nagesh Mule on Feb 7, 2008 6:18 AM

  • Master Data Deletion using ABAP

    Does anybody have an idea of which function is called when master data is deleted?
    I would like to automate master data deletion
    Any suggestion is welcome!
    Thanks
    Ioan

    Hi Ioan !
    Try to look at the FM 'RSDMD_DEL_MASTER_DATA'(in the pgm LRSDMDU12)...but pay attention to the other elements that the system certainly checks in order to complete this type of process !
    Bye,
    Roberto

  • Error in deletion of ODS data

    Hello Gurus,
    We have three ODS's in our project to which we will do daily loads.
    Before full upload we will delete all the present from the ODS's. The deletion process we will do automatically using process chains.
    It was working fine. but from the past week we are getting an error while deleting ODS data. ITAB_DUPLICATE_KEY - Error, Please explain me why we are getting such error and how to rectify it.
    We tried to delete the requests manually one by one from ODS.
    The data is deleting from the Active table but still it is showing that request in the <i>Manage</i> screen of ODS.
    How to rectify this error. kindly give me some inputs.
    Regards,
    Ala.

    Hi,
    In the BW server you can try one of the report program to delete the entire requests in infocube or ods.
    Report program is RSDELPART1
    Just run this report program in se38.
    In the selection screen of the program,give the name of the data target from where you need to delete all the existing requests.
    This technique was once used.
    Please let me know whether it works.

  • Not able t delete ODS data

    Hi Experts,
             I am trying to delete ODS data, but it not getting deleted.
    When I scheduled for deletion (ODS manage) it is showing delete icon for   particular req, after some time automatically it is showing reporting symbol in the
    Place of delete symbol.
    Can u please explain me why ODS not allowing to delete the data.
    Regards,
    Venkat.

    Hi,
    You can't delete a request from the ODS when it is alredy updated into any datatarget or when the request lies under any new request.
    I.e if the request you want to delete is older and if a new request is loaded after the req you want to delete then you can't delete the old request.
    In such a situation delete the requests loaded after the request you want to delete and then delete your request.
    To delete a request that has been updated into any data targget you need to reset the ODS delta status for that request(3rd column under the request tab in the ODS manage screen), and also delete the request from the concerned data target.
    Hope this helps,
    regards

  • Finish date deleted automatically

    If I delete a resource from a taks that is marked as finish, Project automatically (sometimes) marks the task as unfinished.
    Is there any way to keep Project from trying to be too clever? In most cases there was minimal or no work needed, or done by someone else.. this does not matter as the task is finished and I'm only using Project for planning.
    Valgardur Gudjonsson

    Hi Valgardur,
    I've never heard of such a bug. Nevertheless MS Project has a powerful scheduling engine that requires to follow scheduling best practices. Such as not deleting a resource assigned on a task with actual work which results in loosing the actual.
    That being said, many parameters could create such an unexpected behavior such as the task type (fixed work or duration), constraints on the start date, deleting actual start and finish dates, other resources assined on the same task, new task
    creation date parameter (project start or current date), ...
    If you're willing to dig into this issue, please send me your file at guillaumeDOTrouyreATgcosiDOTcom (replace caps) with some more details and I'll be pleased to investigate.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • 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

  • ABAP Dump ITAB_DUPLICATE_KEY deleting ODS data

    Hi,
    We've got an abap dump while trying to delete the ODS data content. The abap dumps registers a ITAB_DUPLICATE_KEY in the program SAPLRSAODS function module RSAR_ODS_GET. We're using BW3.5 patch 4.
    Tried looking at the OSS notes but could not find any relevant oss notes that is on BW3.5. Has anyone manage to solve/experience this issue ?

    look at these previous threads
    What does this runtime error mean?
    "Runtime Error ITAB_DUPLICATE_KEY"
    ITAB_DUPLICATE_KEY dump in the PSA tree or search
    Hope it helps.
    Regards

  • Data deleted in ODS, data coming from the data source : 2LIS_11_VASCL

    Friends,
    I have situation :
    Data deleted in ODS, data coming from the data source : 2LIS_11_VASCL.
    when for the above ods and the data source when trying to delete the request whole data got delted.
    All the data got deleted in the fore ground. no background job has been generated for this.
    I ma really worried abt this issues. can u please tell me what should be the possibilities for this issue.
    Many Thanks
    VSM

    Hi,
    I suppose you want to know the possibilitiy of getting the data.
    If the entire data is being deleted, you can reload the data from source system.
    Load the setup table for your application. Then carry out init request.
    Please note that you would have to take a transaction-free period for carrying out this activity so that no data is missed.
    Once this is done, delta queues will again start filling up.

  • Error Activating the ODS data

    Hi Guys,
    I am facing an error while activating the data in the ODS.
    The data is loading perfectly fine but when activating the ODS data the following error is coming
    <b>Request REQU_3ZI9CZ369HR6SM49OL9ULRVKM, data package 000031 incorrect with status 5 in rsodsacstreq
    System error occurred (RFC call)
    No confirmation for request ODSR_3ZI9DUVOMM02L1I777X5YX9QU when activating the ODS object PA_ODS1
    There is no PSA for InfoSource 8PA_OA001 and source system BWPCLNT641 ( The data laod is without PSA )</b>
    This is happening after we had a BWQ refresh .
    I thought this has something to do with the BASIS guys but they say they checked everything.
    Need Help

    Hi Sidhu,
    There were red requests in the ODS but I deleted them and tried activating the green requests , even when there are only 4 records it is not activating the data.
    I checked the RESREQDONE table but I dont see these requests in there.
    I checked the SM58 there I saw a lot of errors
    <u><b>ALEREMOTE    RSAR_TRFC_DATA_RECEIVED       BWQCLNT641    10/17/2005 18:50:48 ERROR REQU_3ZHNIS265F9F6HJQ8PY838046 PG# 21 In BW</b></u>  
    one line in that is this . can u throw some thought on this. when I try to execute this LUW it says that function module RSAR_TRFC_DATA_RECEIVED doesnot exist or exception raised message. I got these yesterday but today I got only one and when I executed that LUW it gave me the same message but that error message is not showing now
    Regards
    Majeed

  • ODS data activation problem

    Hi,
    I have to load description from the flat file into the ODS since the ODS data needs to be a replica of the flat file.
    As the description is greater than 60 CHAR, I have split the description into 3 infoobjects in the transfer rule, using the individual line routine.
    After data is loaded into the ODS, the technical status as well as the total status is green, but when I activate the request for that corresponding load, the activation fails i.e. the data is present in the 'New Data' table, but it is not moving into the 'Active Data' table.
    Then, I tried a different method.
    I activated the setting in the ODS; 'Activate ODS object data automatically' and tried to load the same data with the same conditions to the ODS.
    This time the loading failed, giving multiple errors like;
    1) Value 'Absence Transactrion Dataload Failure ' (hex. '416273656E6365205472616E7361637472696F6E204461.
    2) Value 'ifying days ' (hex. '696679696E672064617973 ') of characteristic Z_LDES2 contains invalid cha.
    3) Activation of data records from ODS object DES3_ODS terminated.
    4) System error: RSDU_ANALYZE_TABLE_ORA/ ORACLE.
    5) Error getting SID for ODS object DES3_ODS.
    6) Error when assigning SID (details in long text).
    7) Error when assigning SID (details in long text).
    Please provide a solution for this.
    <b>*********Points will be rewarded*********</b>

    Hi Praveen,
    Thanks for the soltion.
    I checked in RSRV. There were no errors.
    So, I tried loading the data again. This time, I got the same error.
    But when I checked the contents of the Active table of ODS, the data was loaded, although in RSMO the status was RED.
    The laoding was successfull as of now, but lets hope this problem doesnt occur again.
    Please help, if you have any idea regarding this problem.

  • Afraid automatic update will delete Ipod songs

    My old computer crashed permanently. I got a new one and now want to transfer the songs remaining on my Ipod onto the new computer. The problem is that I am afraid when I connect the Ipod, the automatic update will delete all the songs off it (since the new library is currently blank). And I can't turn off automatic update without plugging in the Ipod, since that icon in the bottom right of Itunes won't appear unless it is plugged in.
    It's a tricky situation because if I get it wrong once, everything is gone. Any suggestions?

    Welcome, Paulli, to the Apple Discussions!
    I'll answer your question in just a minute but first I've got to say that I hope you take this as an opportunity to learn a very important lesson: Back up your iTunes library as soon as you can after resolving this situation because right now you are only one glitch of your iPod away from losing your music entirely.
    Many people come to the Discussions having lost their music in just such situations and, believe me, it's not a happy time for anyone.
    If you place any importance on your playlists and the data they depend on, you will want to include your iTunes Library files in your back-up regimen as well.
    Anyways, that's the lecture. The answer to your problem should be found in this post:
    MacMuse, "Computer Crashed" #4, 11:49pm Feb 7, 2005 CDT
    Good Luck! But once your music is back on your computer, remember:
    Your music is valuable - please back it up!

  • Data deletion on primary index and secondary index

    Hello, I have a question regarding data deletion in BDB-JE.
    Suppose I have an Entity class which has a primary index and a secondary index, the secondary key does not have outer related entity. So when I want to delete this entity, is it correct we only need to remove the entity from primary index? or I also need to do it for secondary index or just remove it from secondary index and internally BDB_JE will remove it from primary index?
    Thanks
    Anfernee

    You can delete an Entity using the delete method for primary index or the secondary index. When an entity is deleted, secondary index records are automatically deleted. The primary and secondary indices are always kept in sync.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Automatic blocking and deletion flag for temporary unblocked vendors/custom

    Hi All,
    Can you please help me IS there any Standard Reports for the Follwing,
    *"automatic blocking and deletion flag for temporary unblocked vendors/customers in Master Finance SAP machines"*.
    Please reply me as soon as possibly.
    Thanks & Regards,
    Pavithranad.
    Moderator message: please research before asking, do not assign higher urgency than normal.
    Edited by: Thomas Zloch on Mar 3, 2011 2:43 PM

    In XK06, flagging Vendor for deletion, I get warning "vendor xxxxx has open items in company code xxxx". Does this mean open Invoice Items, pending payment in FI? Since this is just warning I can hit enter and go ahead and save.
    - YES YOU ARE RIGHT. IT CAN ALSO INCLUDE OPEN PO.
    But, I can come back to XK06 and UNflag this same vendor for deletion? How would it affect the open items/POs...etc?
    - THAT'S WHY THE MESSAGE IS AN WARNING AND NOT AN ERROR. (My Opinion)
    Does basis has to do some sort of execution in order to actually delete the vendor master from the database? Would basis get a error when there are pending open items for vendors flagged for deletion?
    - NOT RECOMMENDED. ANY DATA CAN BE DELETED THOUGH. IF YOU ARE ON ECC 5.0 OR ABOVE AND USING SE16N TO DELETE, YOU WILL NOT GET AN ERROR.
    What's the advantage of using XK05 (blocking/unblocking) over XK06 (flagging/unflagging for deletion)?
    - NOT SURE IF THERE IS ANY ADVANTAGE.

Maybe you are looking for

  • Mid-2012 Macbook air wifi connectivity, bluetooth interference, and SD slot

    I've had issues with all off these things since right around the time my warranty expired: -Wifi is often slower than all other computers in my house no matter where it is; it doesn't work at all if i have bluetooth on and connected to something. thi

  • Problem with Nokia Camera and Smart Sequence

    Hi, I'm having a problem with Nokia Camera and the Smart Sequence mode. Basically, if you take a picture using nokia camera, and view it in your camera roll, it usually says, underneath the pic "open in nokia camera". Well, if I take a pic using the

  • HOW to use class in different file???

    hi I want to use other class and write them separately in different .java file but when i compile the one who call the class it says it cannot resolve the symbol, which is the class name I call Can anyone help me

  • My scenario ....

    My experience with XI is none but i'm responsable of it in a sapnish company. I went to the sap training one month ago. The training consisted in TBIT40 and TBIT44 (only a part). Everything was OK because SAP was configured properly. The problem was

  • Call phone from app

    Call phone from app How can I call phone number from my app. I use adobe flash cs 5.5 and actionscript 3.0