Delete change log

HI BI Expert,
I have got the requirement to delete change log using process chain. I have included the Objecty Type callled Change Log Table and DSO as object name and finally included this process after activating data on DSO process. Whenever, I scheduled the process chain or ran it immediately as well in order to delete change log. But this process does not seem to be working at all. The number of records on change log table is the same as before.
The process chain is as follows;
1. Variant
2. load data to PSA and then DSO
3. Delete PSA data (older than 30 day)
4. Activate DSO Data
5. Delete Change Log (older than 30 day)
Please kindly suggest me what I need to do to make this process working.
Thanks for your help.

hi,
hope u can include all the PSA and change log deletion in different chain and try to trigger the chain weekly, since if u do as in ur chain and if u miss any records and you have to disturb the source again.
try to delete the change log manually and chk if working.
Ramesh

Similar Messages

  • Delete change log data

    I was going through posts regarding delete change-log data but I am bit confused with the answers.My data is moving from ODS to CUBE and for the performance reasons I want to delete Change-log data from PSA and keep only 3 day requests.My question - if I delete Change-log  whether it effects the delta data from ODS to CUBE.Change-log maintains images so If I keep only 3 requests there will be images of only those 3 request data.If this happens then it will effect all the delta data going into CUBE
    Let me know your suggessions
    Rgs,

    Hi,
         Yes, you can delete the data from the Change Log unless until you do not need to re-construct the data again from the change log table.
         As a good principle for safety reasons if data is not too large, you can keep the data for 7days. This will ensure us to be safe. If something went wrong on week-end say 2 days were gone and on 3rd day the user has identified and raised a ticket on this. Forth day will be for analyzing and re-construction.
        So, unless until if the data is not too large, you can keep it for 7 days in the Change log table and the rest you can delete. As said by the other members, deletion of Change Log table does not affect the delta as it compares with the Active Table and creates a Before Image and After Images records and updates in the Change Log Table.
    Raj

  • Problem delete chang log from process chain BW 7.01

    We have upgrade BW from 3.5 version to 7.01 version two month ago.
    Now I realized that the process chain running one a week to delete PSA and change log don't work well after upgrade.
    The process chain end without errors (status is green), but the change log are not deleted.
    In the test system I try to delete the Change Log in 2 mode:
    1-with the variant "Deletion of Requests from the Change Log " and the datastoreobject = myods and all the option (correct request, incorrect request and "Delete Activation Requests Only"). In the log i see this messagge
    The following excluded selections will be processed:
    No excluded selections found
    The following included selectiosn will be processed:
    Pattern: DataStore = 0FIGL_O06, InfoArea = *
    The following reqeust selections were set:
    Number of days = 0000000010, Successful = X, Incorrect = X, Curr. Requests =
    The following change logs were selected:
    2-with the variant "Deletion of Requests from PSA " and the datasource= 8myods and all the option (correct request, incorrect request).  In the log i see this messagge
    The following excluded selections will be processed:
    No excluded selections found
    The following included selectiosn will be processed:
    Pattern: DS = 80FIGL_O06, LS = BWTCLNT100, IS = , AC =
    The following reqeust selections were set:
    Number of days = 0000000015, Successful = X, Incorrect = X, Load requests =
    The following PSAs were selected:
    In both case the change log is not deleted.
    I can delete the change log only using Manage screen of my ods and then using Menu -> Environment ->Delete Change Log Data.
    Anna Maria

    I see that this topic is still active/unanswered...
    We're having the same problem, but not just changelogs, also for PSAs. We have a weekly process chain that does housekeeping on our BW system, cleaning up PSAs and changelogs, compressing cubes, realigning time-dep masterdata and renewing indexes.
    The PSA chain runs fine and about 90% of all PSAs get deleted, but there are some datasources (all of them are of type 8* datamart datasources) that don't get their PSAs deleted. It says "The following PSAs were selected:" and then nothing happens...
    I tried all tickbox combinations and checked that there are no PSA entries blocked by invalid partitions. Manual deletion (via "manage" in the datasource) works fine, but is tedious and time consuming.
    Also, most of the 8* datasource PSAs do get deleted. Just a handful (+/- 25) get skipped somehow.
    Any ideas?
    Thanks,
    Eduard
    PS: We're still running 3.5-style backend dataflow, but will eventually get converted to transformations and DTPs. But that's not on our agenda (yet).

  • How to delete Change log data from a DSO?

    Hello Experts,
    I am trying to delete the change log data for a DSO which has some 80 Cr records in it.
    I am trying to follow the standard procedure by using the process chain variant and giving the no.of days but somehow data is not getting deleted.
    However the process chain is completing successfully with G state.
    Please let me know if there are any other ways to delete the data.
    Thanks in Advance.
    Thanks & Regards,
    Anil.

    Hi,
    Then there might something wrong at your Chang log deletion variant.
    can you recreate changlog deletion variants and set them again.
    Ty to check below settings with new variant.
    Red mark - won't select
    Provide dso name and info area, older than and select blue mark.
    blue mark - it will delete only successfully loaded request which are older than N days.
    Have you tested this process type changlog deletion before moving to prod per your data flow?
    Thanks

  • Delete Entries of Change Log Table

    Can any one tell me when do we require to delete the content of the change log table of standard DSO. I am just fresher to SAP BI.
    Thank You

    Hi
    Deleting data from the change log for an ODS object is recommended if several requests, which are no longer required for the delta update and also are no longer used for an initialization from the change log, have already been loaded into the ODS object. If a delta initialization for the update exists in connected data targets, the requests have to be updated first before the respective data can be deleted in the change log.
    Only a temporary, limited history is then retained. The change log can possible become so large you might want to reduce the amount of data volume and delete data for a specific time period.
    How to Delete it
    Since the change log is also stored as a PSA table, you can use the function for deleting data from the PSA to delete data from the change log.
    In the ODS object administration, use the main menu to choose Environment -
    > Delete Change Log Data.
    Or
    Go to the PSA tree.
    Use the main menu to choose Settings -
    > Display Generated Objects, so that you can display the InfoSource for your ODS object. Your InfoSource has the same name as your ODS object, along with the prefix u20188u2019.
    Use the context menu to choose Delete Change Log Data.
    Santosh

  • After deletion ODS change log, Delta upload OK?

    Hi all,
    Now I am reducing data from BW server. For this purpose, I will delete ODS change log. Both of data "from ODS" and "to ODS" are uploaded by Delta Upload.
    If I delete change log after last delta initialization, is there any problem to next delta upload?
    For example, the last delta initializing was done April 1. And I delete the change log up to April 30. After this operation, can be expected any problem to Delta upload?
    Bamboo Shampoo

    I dont think it will cause any issue with next delta loads.
    Data goes from ODS to its targets from change log table.
    But I think better have strategy like..'delete change log data only for requests older than say...1 month or 2 months..'
    so that if u have problems with recent data loads..u can reload easily..
    u can also try cleaning up old requests from the PSA tables in the system..
    cheers,
    Vishvesh

  • Change Log/Delete PSA

    Hi Gurus, I am on 3.5. When I go to RSA1, then to PSA. Select a a request, right click and select "Delete PSA Data". Why does it say "PSA / Change Log". Does it mean, I am deleting Change Log data too?

    Bigtoja,
    That may happen in case of ODS. For ODS change log data and PSA (for subsequent target from this ODS) are stored in the same table (change-log of the ODS table) . Those data are identified in the same table as "ODSR" for change log entries and "REQU" for PSA entries.
    Hope this helps!
    VJ

  • How do i know change log deletion is happening or not

    I have whole bunch of DSO's mentioned in the process chain which deletes change log entries evryweek. Now somebody raised that couple of change logs in the PC are not deleting. I have checked that process chain last ran in 24-feb FRIDAY and there are abviously entires in change logs as we are having new requests coming in everyday.
    Is there any way that I can check and 100% confirm whether those change logs in question have deleted to 0 after feb 24thFriday(PC last ran) or not. please suggest whther i would be able to know now other than waiting till next friday and see if deletion is happening or not.

    Ramya
    DSO --->Manage -
    >Environment -
    >Delete Change Log Data
    Here you can either give number of days or a date before which change log should be deleted.
    But when you execute this option do you see one check box Only Successfully Booked/Updated Request
    a)Is this checked and disabled? If yes, check how many targets gets data from your DSO ( Display Data flow will give you that) . Update all those target from this DSO.
    b) If not checked, just try to delete anything before 25 Feb..so 24th onward everything should be deleted.
    After you input the date, press Start -
    > and then Job . Job log will show whether it was delete properly or not.
    Before deletion check the number of entries in Change Log table and do the same after deletion.  This will tell you whether deletion was successful or not
    Regards
    Anindya

  • Change Log Table entries without Dates and How to Delete these entries !!

    Hello Experts,
    I was analyzing Change Log tables of some DSOs and figured out in some tables we don't have Date Column and some tables with date columns but many entries with "00/00/0000" date.
    Any ideas on this ? Any idea how records can get into the table without dates and if SAP provides a safe way to remove them (without dates) ?
    Many Thanks in advance, Please help.
    Regards,
    S. Patel

    Hi Sunil
    Date fileds 00/00/0000 means date are blank..that means either you did not get  them from source system or the transformation is not mapped.
    Do not delete change log selectively, that might affect your delta  loads.
    Rather delete  old change log ...
    From DSO administration ---use the main menu to choose Environment ® Delete Change Log Data.
    For more information you can check the log below.
    Cheers
    Anindya

  • Deletion of data from change log table and PSA

    Hi,
    For a DSO  I want to delete data from "Chnage log table"  and " PSA Tabel".
    For the DSO manage screen I have seen " Environment-> " Delete changelog table" from this we can delete chnage log table data as per my understanding.
    at PSA Level Mange screen also I have seen " Environment-> " Delete changelog table" from this option also it deletes the data from change log table or it deletes data from PSA table?.
    if this option also deletes data from changelog table then how we can delete data from PSA table?
    Please clarify me

    Hi,
      I am not sure what are you referring to from your point "PSA Level Mange screen also I have seen " Environment-> " Delete changelog table". When ever you click on manage for your psa you will be routed to a popup where you can see all your requests in the PSA table & there after if you click on any single request you will get Environment menu option but there wotn be any change log deletion option available. Please check again? Right clicking on your data source will take you to the manage requests for PSA. You can selectively delete the requests as required.
    For DSO when you right click on manage you can directly find Delete change log data option in the Environment tab. there you can select the requests you want to delete.
    Also if you want to automate the deletion process then you can simply create a chain and include the steps for PSA deletion & change Log deletion accordingly.
    Also it is recommended to keep on clearing the PSA table & Chage log data at regular intervals as it saves the disk space & thus helping in performance optimization
    Please refer the below doc at SDN, it will be helpful for you in automating the process of change log deletion & PSA deletion.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
    Hope it clears your doubts
    Thanks

  • Can we delete the change log table of ods?

    hi bw gurus,
    can we delete the newdata,active and change log table of ods?how?what is the advantage?
           OR
    can we delete the contents of new,active,change log table of ods?how?what is the advantag?
    thanks in advance
    srinivas

    Hi Srinivas
    Yes, You can delete the contents of changle log table but not the contents of new data and active data table.
    Before deleting the change log data you have to make sure that the requests are not required for further delta extraction or for reconstruction purpose.
    Steps
    1. Goto Manage screen of your ods
    2. Click on Environment tab and select the option " Delete change log data".
    Adv:
    To free up the disk space.
    Assign points if it is useful for u.
    Regards
    Saddy

  • Need of Change log deletion for a DSO, when DTP delta Init with Active Tabl

    Hi,
    Thanks for your time, please help me with the following
    Scenario: I have Cube1 being updated from DSO1 with DTP delta, for quite some time. As per new requirement, I would need to create new data mart such that Cube2 gets updated from DSO1.
    In order to Configure the delta, I am Considering Following options, please let me know, which one is right one.
    Note: DSO1 is in Overwrite Mode.
    Create one DTP with update Mode "Delta" , and "Active Table".  I knew Delta Changes are captured in change log, but my understanding is, when you execute the DTP for the First time, it fetches the records from Active Table. And from 2nd Run onwards the very "same DTP" without "any changes" get the records from change log, even if we choose "Active Table".
    is my understanding is Right?
    Do I have to consider deleting the change log, because DSO1 is in Production from quite some time which is in Overwrite mode?
    Do I have to create a DTP  with Delta and Active Table, run the dtp Once(Init), then choose "Change Log for subsequent runs explicitly
    please help me with these. I have reviewed many sap help articles and sdn threads but none of them were helpful. all of them explains, difference b/w active table and change log table, also gives scenarios like use a full DTP and then 2nd DTP with Delta without Data transfer. I am not looking for that kind of details.
    Appreciate any help, Thanks again
    Edited by: curious maven on Mar 28, 2011 8:35 AM

    Hi Uma,
    Thanks for your response.
    to your question, If I need to load all the data from DSO1 to Cube1, answer is NO. if you read my post once again,
    Existing Flow is : DSO1 --> Cube1 (Means, Active Table and Change Logs of DSO1 already Filled Up)
    Requirement is: DSO1 --> Cube2. (Need to Init the Delta, and Detlas going forward)
    My Questions:
    (1) Imagine, DSO1 has 10 requests, so we see resepctive data in Active Table as well as Change Log. As a matter of fact, Data is being updated to DSO1 in Overwrite Mode, so all the changes(10 requests equivalent) would be captured in Change Log, which in turn helpful / used when we do Delta from DSO1 to any Cube, in my case, it used to update to Cube1. As per new requirement, it needs to update to Cube2.
    My assumption is, if I choose "Active table and Delta in Extraction Tab" in DTP, During First Run (Delta Init), Data would be fethed from Active table. And the 2nd Run Onwards, delta records would be fetehced from Change Log automatically, even if we don't change the selection from Active Table to Change Log.
    Is My Assumption Right?,
    in this process, Do I have to Delete Change Log
    (2) Do I have to Explicitly change DTP setting from "Active Table to Change Log" Once Delta Init has been run with setting "Active table" inorder to get Deltas from DSO1 --> Cube2 ?
    Appreciate your help
    Edited by: curious maven on Mar 30, 2011 3:14 PM
    Edited by: curious maven on Mar 30, 2011 3:29 PM

  • Duplicate records in ODS change log

    Hi Experts,
    I have loaded records  from R/3 to ODS (psa and then data target).
    Records looks good in ODS active data.
    Then I did a delta load from ODS to InfoCube and I have recevied are the changed entries to Cube.
    Then, I checked the ODS and the Datamart status was Checked.
    But, when I did a delta load again after couple of days from ODS to InfoCube, I received some duplicate records. I have checked the Change Log of ODS and the duplicate records were there.
    I am not sure why my ODS is transporting entries from the ODS request for which there was a datamart status already checked.
    ( I cannot do selective deletion because there are about 1000 duplicate entries and in random order..).
    I beleive my best bet would be to:
    1. Delete both the delta load requests (the request with correct records and the request with duplicate records) from InfoCube.
    2. Remove datamart status from ODS
    3. Delta load from ODS to InfoCube
    Please let me know if this will solve the issue or I will still get the duplicate records in InfoCube?
    Also, do I need to Delete Change log data?

    Hi Ramesh,
    The entries in Active Data of ODS looks good. No duplicates.
    When i checked Change log,
    I had entries in ODS change log from two differnent requests.
    Request1 (Full repair request via PSA) in ODS (ODSR_xxxx1) has records the same as in R/3
    (eg., entry for DocumentA has keyfigure as value +$1000)
    Request2 (Delta Load via PSA) in ODS (ODSR_xxxx2) has two records with posive and negative keyfigues
    (eg, entries for DocumentA has keyfugure as value +$1000 and DocumentA has keyfugure as value -$1000)
    So, not sure if I should call these records as 'duplicates'.
    But, I see 3 entries in InfoCube for DocumentA with keyfigure values as +$1000, -$1000 and +$1000.
    I beleive the ODS change log should actually cancel the earlier +$1000 and load the new +$1000 entry.
    But, it seems to be not replacing the old one.
    I hope i am clear.

  • ODS Activation Returns 0 records in the Change Log

    Hi All,
    I have question regarding the Change Log build after the ODS req has been activated.
    BW system - SAP NetWeaver BI 7.0 - Level 15
    Upon loading a delta request into the ODS and Activating, it adds no records to the change log table.But the active table gets correct records
    Checks I Did
    ODS -> Menu-> Environment -> Delete Change Log Data.
         No job scheduled or runing to delete the change log reqs (sm37)
    RSRV - Check the Status of the Generated Program of a Data Store Object
    ODS - reactivation to see if it works..
    ODS Manage - Auto Req Processing set Quality status, Activate DSO to Yes.
    The Activation Log shows at the end that they were no changed records added:
    Data pkgs 000001; Added records 0; Changed records 0; Deleted records 0                 
    Log for activation request ODSR_4APQQHKM459YNO7CIGCE0629U data package 000001...000001  
    Activation of records from DataStore object C_PUR_C sucessfully finished               
    U table for DataStore object C_PUR_C deleted successfully                              
    Job finished                                                                               
    Can anyone help on the above issue??
    Thanks
    Rao

    Hello Siggi,
    Referring to the previous post:
    I have a situation where few documents are not transferred to Change log during DSO Activation, though the After image values of these records are reflected in Active table.
    I have found one common pattern for those documents which are not recorded in Change Log.
    They have two pairs of After and Before image records.
    First Pair like this: Eg: Overall status as the only data field.
    Sales Doc     Overall Statuls   Recordmode
    1001             C                      X
    1001             A                      
    Second pair:
    1001            A                      X
    1001            C                     
    If we consolidate all these 4 records there seems to be no change for any data fields. Should I consider this as the standard behaviour while activating DSO - causing these records not to get recorded in change log?
    Or is there any SAP Note that can make sure the change log gets populated in such case.
    Hope my details are clear to you..
    - Varma

  • Ods change log

    hi all
    i wish to schedule the change log deletion for my ods zods1 . however , I am not sure how i can find the ODS change log table name . please guide .
    thanks
    oops

    Follow this menu path right click on ODS -> Manage -> menu environment -> delete change log data. once you go to the screen of delete change log you will see different option to delete right away or schedule for montly deletion.
    Hope it is helpful to you.
    York

Maybe you are looking for

  • More than one condition for a formula

    HI We have another field that has to 5 values, and if the field is blank, we have to write on the report 'Missing'. I am not sure how one codes for this. If else if else etc?

  • Icon problem in photoshop cs4

    when I place a tool icon  such as the move or hand over a picture it shows up three times exp: ( ### ) how can I correct this problem?  to show only one exp: ( # )  using Photoshop  cs4

  • Classpath

    Good evening, I've searched a lot about this issue and tried several things, but still couldn't get to a solution. I've coded my program with BlueJ. From BlueJ, it runs perfectly, but when I try to run it from the command prompt, I'm getting the erro

  • Bringing photos in at a higher dpi

    I use Photoshop Elements 2.0 with a 6.2mp camera and the photos come into PSE at 180dpi and 11x17. I'm thinking about a new 8.5mp camera and shot some test shots. They came into PSE at 72dpi at 24x35. If I convert the photo to 300dpi it becomes a 4x6

  • Premier issues

    Hello everyone, I am trying to figure out an issue I have with Premier. First let me describe my system then the issue: my system: Dell Precision T7400 Windos 7 Ultimate 64 bit 2 processor Intel Xeon @ 3.20 and 3.19 GHz 24 GB RAM NVIDIA Quadro FX 580