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...
Similar Messages
-
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
oopsFollow 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 -
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 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 GunnalaHi
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 -
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
srinivasHi 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 -
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 JHi,
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 -
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 YouHi
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 ShampooI 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 -
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
SujaiHi,
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 -
Hi
I have a ODS in which the active records are 608423.
And when i look into the Change log table the records are 1216846 with the status new (N) and 1108438 with status (X) and 1108438 (with status ' ' ).
I did a full load and a delta and this is a Over write ODS. I am little confused with this logic, how it put exactly the double number of records with status (N) in the change log when compared to the active table.
Thx
Thejo.Hi Thejo,
If you changed a key figure then in the change log you'll see one storno (with minus) record for an old KF value and a new record with a new KF value.
Best regards,
Eugene -
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.5Hi,
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.. -
Process Chains and Process Types for ODS Change logs
We have created and used process chains to manage a large amount of our batch processing. I am looking to convert our batch process of deleting data from ODS change logs into a process chain. I have been unable to find a process type that will allow us to do this.
Any thoughts?Hi Lisa,
You can use Process "Deleting Requests from the PSA" for deleting PSA and change log data.
Since the change log is also stored as a PSA table, you can also use this function to delete change log
records. You can find additional information under Deleting from the Change Log.
More info:
Deleting Requests from the PSA
http://help.sap.com/saphelp_nw04/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/content.htm
Deleting from the Change Log
http://help.sap.com/saphelp_nw04/helpdata/en/6d/1fd53be617d524e10000000a11402f/content.htm
Hope it Helps
Srini -
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,
BaskaranHi,
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.NFor your first problem solution is this note: 936644
You might have not mapped the filed in your tarnsfer/update rules?
Maybe you are looking for
-
How to load binary content of a .class file?
Hello everyone, I want to load the binary content of a .class file in a dynamic approach. In more detail, I want it to work in the following approach. When given the name of a class, I can retrieve the binary content of the .class file. I have writte
-
Force IE to open all internet links
Does anyone know of a way to for all web links no matter where a user clicks on them to open in IE. We need to have chrome in our desktop image (for reasons beyond this discussion) but if a user is using Gmail in chrome and clicks on a web link in Gm
-
IPhoto automatically displaying latest imported photos every time
Hi, I have noticed for a while that iPhoto always automatically comes back to the "latest imported" photo album whenever I come back to the iPhoto window. Does any one knows what that means and how to stop it? For instance when I go to another app (l
-
Sync Email, Contacts, Calendar
Hi Guys I got really different answers about my qestion, and really need to get the correct answer please. Is the iphone able to sync the exchange with the webaccess, and get email, contacts and calendar ? I don't mean through Itune, i mean using my
-
I have figured out the audio tracks and the instrument tracks and got them to work. I don't understand the third type. Are they called MIDI tracks? Anyway, let me take a stab at their function. When I activate such a track it plays through my keyboar