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

Similar Messages

  • 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 to get a list of PSA tables and change log tables existing in a PC

    Is there a standars table to look up all active DSOs and the change log tables associated to those DSOs?
    and also Data sources and the PSA tables associated to that DS.
    I need to get a list of PSA tables and change log tables existing in a processchain(whioch deletes the data in them time to time)how do I do this in a quicker way?
    Thanks in advance

    Hi Ramya
    Check  RSTSODS table with filter of  User App   CHANGELOG ---> For change log tables

  • How to update the change log table?

    Hi
    I am doing some manipulation on the ODS records and writing few new records directly into the active table of my ODS. how do i update the change log table so that i can do a delta from my ODS to further data targets??
    i see the fields REQUEST, DATAPAKID, PARTNO and RECORD in the change log table. what values should these fields have for my new records??
    Regards
    Sujai

    Hi,
    Please try this option. In stead of writing directly into DSO, do it in another Custom Z DSO. From there, do the FULL load to your previous DSO. This will ensure that the data consistence through the system. Also, do not forget to delete the data from Custom Z DSO once you successfully loaded the data.
    Thanks,
    Saru
    Edited by: P. Saravana Kumar on Apr 1, 2009 6:23 PM

  • Change log table

    Hi gurus
    In my start rotine how do i use change log table for e.g i want to delete the records where RECORDMODE ='x' HOW can i reference change log table.because when i use the start routine is it only good for active table? becasue all the changed i m getting in changelog table and my dtp i m extracting data from changelog table but i want to delete data from that table how do i refer.
    thanks

    recordmode is a part of your source_package as well as result_package.
    hence you can access it is start routine also.
    you can delete the source package where recordmode = 'X'.
    but doing so it may result inconsistency in your change log table.
    the only concern is be sure what you want to achieve as 'X' is before image ( i.e reverse  of new image loaded earlier).

  • What do the Request Nos in Change Log table mean?

    Hi,
    I'm checking the change log tables of some ODSs. In the "Request" column, there are requests starting with ODSR* and REQU. These numbers are the same as the ones seen in the Manage screen under the "PSA Request Number" and "Request Number" cols respectively. I want to know, when does data come under the ODSR requests and when does it come under the REQU* requests.
    BW version: 3.5

    Hi,
    The changelog of the ods is actually the PSA for the export datasource.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 it helps..

  • Need suggestion to get data from change log table of ODS.

    Hello,
    There is a case where i am loading opportunity header data from header ODS and opportunity item data from item ODS in the opportunity cube.
    Status (1= OPEN, 2= WON ETC) of the opportunity are available only in header ODS and not in item ODS.
    While loading data from header ODS to cube, I am loading it directly but while loading data from item ODS to cube i am using active data table of header ODS as a lookup in the update rule from item ODS to cube. I am selecting status from the active data table of header ODS while loading data from item ODS to cube.
    Since active data table will have only after image records, there is some data mismatch in the report as i am selecting data from active data table of header ODS while loading data from item ODS to cube.
    I need to select data from Change log in order to get before image also instead of active data table in order to overcome this issue. Is there any way by which i can do selection from Change log instead of active data table as change logs are generated at run time.
    Please let me know if you have any suggestions.
    Regards,
    Sanjay Chaurasia.

    Hi,
    You can use the changelog table of the DSO.
    Right click manage the Header DSO, go to the contents tab and click Change Log table. There you can see the technical name of the Change Log table.
    In the update rule Routine, give the tech name of Change log table instead of Active table name.
    Hope it helps.
    Krishna

  • How to find out the top ten Change log tables in BW

    I want to know the top ten change log tables in terms of size. Do we have a SAP standard table where we have the following fields : "changlog table name", "number of records" field or "data in size" field.
    Regards,
    Prashant M J

    Hi,
    Click on change log table in the ODS/DSO at the top you see the name as /bic* which is the name of the database table which could also be seen at SE11.
    If you wana see the requests in this change log use rstsodsrequest
    and if you wana see the size in terms of kb, mb DB02 or st04
    use the table name /bic* and click on tables and indexes option in history tab
    DB02 tells you the sizes of the tables present on database. Incase you are not able to your basis team would help you in that
    Thanks and regards
    Kiran

  • How to transfer data in change log table of dso to z-table using abap code

    Hi  can you please explain me how to transfer data in change log table of dso to z-table using abap code ,with out using Function module concept

    PROGRAM NAME:   ZBW_DELTA_TO_GSTAR                                 **
    report ZBW_DELTA_TO_GSTAR no standard page heading
                                     line-size 120
                                     line-count 75
                                     message-id ZBW_MSG_CLS.
    tables:   ZGIV_DLTA_EBV_BB,
              ZGIV_DLTA_EM2_BL,
              ZGIV_DLTA_EM2_BK.
    Selection Screen Definitions
    SELECTION-SCREEN: BEGIN OF BLOCK INNER WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN: SKIP 1.
    PARAMETERS:       EBVBB RADIOBUTTON GROUP ROLL,
                      EM2BL RADIOBUTTON GROUP ROLL,
                      EM2BK RADIOBUTTON GROUP ROLL.
    SELECTION-SCREEN: END OF BLOCK INNER.
    Data:  WS_UPDATE_FLAG  Type C,
           UCounter(9)      Type N,
           ICounter(9)      Type N.
    DATA:  T_ZGIV_DLTA_EBV_BB Type Standard Table of ZGIV_DLTA_EBV_BB,
           s_ZGIV_DLTA_EBV_BB LIKE line of T_ZGIV_DLTA_EBV_BB.
    DATA:  T_ZGIV_DLTA_EM2_BK Type Standard Table of ZGIV_DLTA_EM2_BK,
           s_ZGIV_DLTA_EM2_BK LIKE line of T_ZGIV_DLTA_EM2_BK.
    DATA:  T_ZGIV_DLTA_EM2_BL Type Standard Table of ZGIV_DLTA_EM2_BL,
           s_ZGIV_DLTA_EM2_BL LIKE line of T_ZGIV_DLTA_EM2_BL.
    Standard Internal Tables - Describe usage.
    data: begin of i_AEPSD_O0140 occurs 0.
            include structure /BIC/AEPSD_O0140.
    data: end of i_AEPSD_O0140.
    data: begin of i_AEPSD_O0240 occurs 0.
            include structure /BIC/AEPSD_O0240.
    data: end of i_AEPSD_O0240.
    data: begin of i_AEPSD_O0340 occurs 0.
            include structure /BIC/AEPSD_O0340.
    data: end of i_AEPSD_O0340.
    data: begin of i_GIV_DLTA_EBV_BB occurs 0.
            include structure ZGIV_DLTA_EBV_BB.
    data: end of i_GIV_DLTA_EBV_BB.
    data: begin of i_GIV_DLTA_EM2_BK occurs 0.
            include structure ZGIV_DLTA_EM2_BK.
    data: end of i_GIV_DLTA_EM2_BK.
    data: begin of i_GIV_DLTA_EM2_BL occurs 0.
            include structure ZGIV_DLTA_EM2_BL.
    data: end of i_GIV_DLTA_EM2_BL.
    Miscellaneous Program Variables and Constants.
    TOP-OF-PAGE
    top-of-page.
    START-OF-SELECTION
    start-of-selection.
      Clear: i_GIV_DLTA_EBV_BB,
             i_GIV_DLTA_EM2_BK,
             i_GIV_DLTA_EM2_BL,
             UCounter, ICounter.
      IF EBVBB = 'X'.
        PERFORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      ELSEIF EM2BK = 'X'.
        PERFORM 100_EXTRACT_EM2_BK_DELTA_RECS.
      ELSE.
        PERFORM 100_EXTRACT_EM2_BL_DELTA_RECS.
      ENDIF.
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EBV_BB_DELTA_RECS.
      Refresh:   i_AEPSD_O0140,
                 i_GIV_DLTA_EBV_BB.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EBV_BB .
      Select * From /BIC/AEPSD_O0140
        Into TABLE i_AEPSD_O0140.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0140.
          MOVE-CORRESPONDING i_AEPSD_O0140 TO s_ZGIV_DLTA_EBV_BB.
          MOVE SY-DATUM to s_ZGIV_DLTA_EBV_BB-create_dt.
          INSERT ZGIV_DLTA_EBV_BB FROM s_ZGIV_DLTA_EBV_BB.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EBV_BB FROM  s_ZGIV_DLTA_EBV_BB.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EBV_BB_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BK_DELTA_RECS.
    Refresh:   i_AEPSD_O0240,
               i_GIV_DLTA_EM2_BK.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BK .
      Select * From /BIC/AEPSD_O0240
        Into TABLE i_AEPSD_O0240.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0240.
          MOVE-CORRESPONDING i_AEPSD_O0240 TO s_ZGIV_DLTA_EM2_BK.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BK-create_dt.
            INSERT ZGIV_DLTA_EM2_BK FROM s_ZGIV_DLTA_EM2_BK.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BK FROM  s_ZGIV_DLTA_EM2_BK.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BK_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS
    FORM 100_EXTRACT_EM2_BL_DELTA_RECS.
    Refresh:   i_AEPSD_O0340,
               i_GIV_DLTA_EM2_BL.
      Clear:      UCounter, ICounter, s_ZGIV_DLTA_EM2_BL .
      Select * From /BIC/AEPSD_O0340
        Into TABLE i_AEPSD_O0340.
      IF SY-Subrc = 0.
        LOOP AT i_AEPSD_O0340.
          MOVE-CORRESPONDING i_AEPSD_O0340 TO s_ZGIV_DLTA_EM2_BL.
          MOVE SY-DATUM to s_ZGIV_DLTA_EM2_BL-create_dt.
            INSERT ZGIV_DLTA_EM2_BL FROM s_ZGIV_DLTA_EM2_BL.
          IF SY-Subrc = 0.
            ICounter = ICounter + 1.
          ELSE.
            UPDATE ZGIV_DLTA_EM2_BL FROM  s_ZGIV_DLTA_EM2_BL.
            IF SY-Subrc = 0.
              UCounter = UCounter + 1.
            ELSE.
              Message E067 with SY-DATUM ' ' SY-UZEIT ' '.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "100_EXTRACT_EM2_BL_DELTA_RECS
    END-OF-SELECTION
    end-of-selection.
      perform D1000_REPORT_DATA.
    D1000_REPORT_DATA
    form D1000_REPORT_DATA.
    *Display the title of the program
      write: /25 SY-TITLE.
      skip.
    Diaplay the details of the user and time
      write: /1 'Executed by', 15 SY-UNAME, 30 'Date',
      38 SY-DATUM, 53 'Time', 60 SY-UZEIT.
      skip 2.
      write: /  'Delta Records have been extracted  ',
             /   'Updates : ', UCounter,
             /   'Inserts : ', ICounter.
      skip.
      skip 3.
      write: /20 'End of the report'.
    endform.                                           "D1000_REPORT_DATA
    chgeck it out this also may hep you

  • How to get the Change Log Table name of the ODS from the system table

    Hi,
    I have a list of ODSs in the system and I am interested in finding the corresponding Change Log Table and the number of records in that table.
    Can any one please tell me the name of the system table where this information is stored.
    I dont want to get in this information manully (from the Contents tab of the ODS maintenane).
    Regards,
    Harikiran Gunnala

    Hi
    Go to SE16
    Give the table name as "RSTSODS".
    For User application field give CHANGELOG as input
    and execute. You will get all the list of Changelog tables Along with below mentioned data
    PSA
    Version
    To
    Valid from
    Object Status
    Technical ODS name
    Program Name
    Maint  Program
    Object Name
    Last changed by
    UTC Time Stamp in Short Form
    Partition number
    Regards
    Raj

  • Where to see the images other than change log table

    Dear all,
                   How to view images for extraction's (example Generic )  in  DSO without using Change log table.
    With Regards,
    Baskaran

    Hi,
    There is no other option other than change log table to view the images.
    in PSA..we will get only raw data..i.e...its non other than the data how its posted in source sytem.we can say..this is only copy of source sytem data.
    after PSA,if the datasource is DELTA enabled(which can sustain NEW or CHANGED records-here only we get concept of IMAGES),we have to load this data only to DSO.from there after activation of the data,the data can be updated to further data targets only from CHANGE LOG table which can maintain images.
    Even further targets are also DSOs,we will have to load from this DSO only.so we can see images only in change log table.
    hope this is clear for you.
    Regards
    Ramsunder

  • Need detailed info about Active,New and Change log table in BI 7.0

    Dear Experts,
    I am new to this technology. Can you any one explain in very detail about ACTIVE, NEW and CHANGE LOG tables workflows.
    And also i am requesting you all to give tips to how to study BI 7.0
    Regards,
    Ameer.N

    For your first problem solution is this note: 936644
    You might have not mapped the filed in your tarnsfer/update rules?

  • Reporting on ODS (Change log Table)

    Hi,
    Can we do Reporting on ODS (Change log Table) that can give me the detailed transactions (invoices, cancellation etc) that is stored in the change log table.
    If we can do reporting on the change log table, how can that be done?  Please Help!
    Thanks,

    Hi Bharath,
    See here:
    http://help.sap.com/saphelp_nw04/helpdata/en/49/7e960481916448b20134d471d36a6b/content.htm
    You can use a database table as the source of data:
    http://help.sap.com/saphelp_nw04/helpdata/en/02/cd0b405bacdd5fe10000000a155106/content.htm
    And store in an ODS:
    http://help.sap.com/saphelp_nw04/helpdata/en/30/1d09407448c442e10000000a1550b0/content.htm
    Hope this helps...

Maybe you are looking for

  • Oracle9i installation in w2k

    Hi All I am not obtaining to install the Oracle in mine soon schemes in 1% it asks for to the record 1 or one another valid way and I choose the way and exactly thus it does not probing in the installation and also he does not show to which the archi

  • FNRA - Loan Accrual and deferral

    Hi Experts, Appreciate your help to enlighten me why I encounter "No accruals/deferrals amounts determined"  after running t.code FNRA. Can somebody know prerequisite of the report. Thank you very much.

  • Pie chart with NULL values

    I have a report(pie chart) with year, State, Category(Electronics,Home Appliances, Grocery) and % profit margin. The requirement is in a state if any of the categories is NULL the other two should become null as well for that state so that the whole

  • ??? Import VOB files

    I have some raw footage from a company that shot a commercial for me. I want to import it into FCE and it won't let me. Can i do that? i have no idea what they used to import off of thier camera, all it tells me about the files on the DVD they gave m

  • Curved text to size

    Hi guys i am wondering how to curve text to an inch's size. I know how to curve the text just dont know how to resize it. I am trying to make a half circle stencil with a 17" inside diameter. Cheers