Value based auditing
Hi,
what is the best way to implement value based auditing? Usually you have to use triggers, but can I also do it with data changed captue?
Peter
Hi,
thx for the link. I already know this page. But I need all the values that have been changed.
On the page you gave me you can find:
"The audit trail does not store information about any data values that might be involved in the audited statement.
For example, old and new data values of updated rows are not stored when an UPDATE statement is audited.
However, this specialized type of auditing can be performed on DML statements involving tables by using database triggers. "
I don't want to use triggers. My question is - do I get eather OLD or NEW - valus with data change capture?
Peter
Similar Messages
-
Value - based Auditing vs. Continuous Auditing
Hi, I just learned about auditing in Oracle. Can anyone help, what is the difference between value - based auditing and continuous auditing?
Thanks in advanceKyroolYoung wrote:
Hi, I just learned about auditing in Oracle. Can anyone help, what is the difference between value - based auditing and continuous auditing?
Value based auditing is actually to capture the changes done over the actual values and is done using triggers . Using trigger's old and new keywords, one can capture the value changes and push them to a table for the record.
I have never heard about something called continuous auditing. May be you meant the standard auditing which is essentially to capture the statement type being executed. This kind of auditing merely would tell you that these many number of DML's(for example) got executed over the table.
HTH
Aman.... -
How to implement context based auditing?
I am looking to implement context based auditing, auditing the reason for a change as well as the before and after values, change time etc.
One method that springs to mind would be to abstract the key tables behind an API and require the change reason whenever any DML is issued but does anyone out there have a better method that would be easier to implement and maintain.
Unfortunately I will be both retrofitting the solution to a current system as well as creating a new solution too so any suggestions would be welcomed.
Thanks in advance for your suggestions.
Ollie.Ollie_J (OCP) wrote:
Thanks for the quick response but the auditing described in the links only audits changes but not fundamentally the CONTEXT of the change.
I need to record why a user was changing data not just what they were changing.This sort of thing, as Pavan has mentioned, is not available within the database. For example, you have updated a parameter through the alter system command so what is the context of this that you would audit in the first place? All what you can audit that what the user has fired i.e the alter statement. I am not sure that this actually would be good idea to do even but still, as suggested, try to use something through the application and/or from the table itself that can help tracking it.
Aman.... -
Value based on the periodic unit price (only with pr.ctrl S)
Dear all,
There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
1 - May I know what is this field about (in between our company using material ledger).
2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
Thanks.
TuffDear all,
Does anyone know my question?
Thanks,
tuff -
Value based on the periodic unit price(only with pr.ctrl S) field in MatMas
Dear all,
There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
1 - May I know what is this field about (in between our company using material ledger).
2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
Thanks.
TuffHi Tuffy,
For your 1st query:
PUP field in Accounting 1 (if ML is active, Price Determination indicator=3) is the result of Actual Costing Run (CKMLCP) closing entry.
For your 2nd query:
In most of the cases the values will be different in Previous Period and Current Period. e.g.Period 6 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 6 for Previous Period (i.e. Period 5). Period 7 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 7 for Previous Period (i.e. Period 6).
The reason for the different values: Price differences, Exchange rate differences, Price/Exchange rate differences from Low lower materials, etc.
Thanks & Regards,
ADI -
Value based on the periodic unit price (only with pr.ctrl S) field in mat.
Dear all,
There is this field in mateial master called "Value based on the periodic unit price (only with pr.ctrl S)" in accounting view 1,
1 - May I know what is this field about (in between our company using material ledger).
2 - May I know why the value of this field are different between our company period 6 and period 7 for this year? what contribute to it? and is it something wrong with different value between two different period or absolutely normal?
Thanks.
TuffHi Tuffy,
For your 1st query:
PUP field in Accounting 1 (if ML is active, Price Determination indicator=3) is the result of Actual Costing Run (CKMLCP) closing entry.
For your 2nd query:
In most of the cases the values will be different in Previous Period and Current Period. e.g.Period 6 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 6 for Previous Period (i.e. Period 5). Period 7 values are the results of Actual Costing Run (CKMLCP) in 1st week of Period 7 for Previous Period (i.e. Period 6).
The reason for the different values: Price differences, Exchange rate differences, Price/Exchange rate differences from Low lower materials, etc.
Thanks & Regards,
ADI -
Preaggregation across value based hierarchy dimension in 11g
Hi All,
I have created a cube with 6 dimensions in olap 11g. One of those six dimensions has only one hierarchy which is value based hierarchy. I have chosen level based aggregation as I know at what levels exactly users are going to query. When I was going through the dimensions to choose levels to preaggregate I noticed there were no options available for my value based hierarchy dimension ( I could see "all" option for the same case in 10g) then I tried to look for definitions of underlying objects just to make sure it will preaggregate data across my value based hierarchy dimension.
I found value set corresponding to my value based hierarchy dimension in <CUBE NAME>SOLVEAGGMAP object , which AWM uses to decide which dimension values to preaggregate but if I do rpr on that value set (rp r<CUBE NAME>SOLVE<DIMENSION NAME>_PVSET) it shows NA so my question is can I pre aggregate across value based hierarchy dimension in olap 11g?
Olap Version: 11.2.0.1
AWM version: 11.2.0.1
ThanksEven if you know exactly which levels your users will query, percent based precompute (e.g. 30%) may still be faster in practice because queries are returned using 'sparse looping' instead of 'dense looping'. This was the single biggest performance advantage of 11g over 10g.
But if you still want to use level based precompute, then you should look at the XML template for the cube (as saved by AWM, for example). In it you should find something called PrecomputeCondition. This defines the set of members that are precomputed. Here is an example I just created using the GLOBAL schema
<PrecomputeCondition>
<![CDATA[
"TIME" LEVELS ("TIME"."MONTH", "TIME".CALENDAR_QUARTER, "TIME".CALENDAR_YEAR),
CHANNEL LEVELS (CHANNEL.TOTAL_CHANNEL, CHANNEL.CHANNEL),
CUSTOMER LEVELS (CUSTOMER.MARKET_SEGMENT, CUSTOMER.REGION, CUSTOMER.SHIP_TO),
PRODUCT LEVELS (PRODUCT.CLASS, PRODUCT.FAMILY, PRODUCT.ITEM)]]>
</PrecomputeCondition>The PrecomputeCondition is also visible through the USER_CUBES view.
SELECT PRECOMPUTE_CONDITION
FROM USER_CUBES
WHERE CUBE_NAME = 'MY_CUBE';You can hand modify this condition in the XML to specify an alternative 'non level based' precompute condition for any dimension. For example, if you define an attribute named 'SHOULD_PRECOMPUTE' on your PRODUCT dimension that is 1 for members to be precomputed and 0 for all others, then you can change the condition as follows.
<PrecomputeCondition>
<![CDATA[
"TIME" LEVELS ("TIME"."MONTH", "TIME".CALENDAR_QUARTER, "TIME".CALENDAR_YEAR),
CHANNEL LEVELS (CHANNEL.TOTAL_CHANNEL, CHANNEL.CHANNEL),
CUSTOMER LEVELS (CUSTOMER.MARKET_SEGMENT, CUSTOMER.REGION, CUSTOMER.SHIP_TO),
PRODUCT WHERE PRODUCT.SHOULD_PRECOMPUTE = 1]]>
</PrecomputeCondition>If you recreate the cube from the XML with this condition, then the PVSET valueset you discovered should contain all dimension members for which the attribute value is 1. This gives you complete control over what is precomputed. Note that AWM doesn't support this form of condition, so it won't show up if you go to the Precompute tab, but it is valid for the server. The PL/SQL below will modify the PrecomputeCondition (for the cube named MYCUBE) without going through AWM.
begin
dbms_cube.import_xml(q'!
<Metadata
Version="1.3"
MinimumDatabaseVersion="11.2.0.2">
<Cube Name="MY_CUBE">
<Organization>
<AWCubeOrganization>
<PrecomputeCondition>
<![CDATA[
"TIME" LEVELS ("TIME"."MONTH","TIME".CALENDAR_QUARTER, "TIME".CALENDAR_YEAR),
CHANNEL LEVELS (CHANNEL.TOTAL_CHANNEL,CHANNEL.CHANNEL),
CUSTOMER LEVELS (CUSTOMER.MARKET_SEGMENT,CUSTOMER.REGION,CUSTOMER.SHIP_TO),
PRODUCT WHERE PRODUCT.SHOULD_PRECOMPUTE = 1]]>
</PrecomputeCondition>
</AWCubeOrganization>
</Organization>
</Cube>
</Metadata>
end;
/ -
Value based hierarchy 11g question
Hi,
in my BMM i've created a level based hierarchy composed of two levels: TOTAL and Audiologist
Total level is setted as Grand Total level and doesn't have logical columns.
At audiologist level insted i drag and drop two logical columns: Audiologist Code and Audiologist Name
Then i created two keys.
First Key: Audiologist Code - Use to display: None
Second Key: Audiologist Code and Audiologist Name - Use to display : YES
Graphically my hierarchy is as follow:
Total-----
Audiologist
Audiologist Code
Audiologist Name
Now i would like that if i drill down Total appear simultaneously two columns: Audiologist Code and Audiologist Name.
Is it possible? I remember that in 10 it was.
It's quite urgent.
ThanksBased on my experience of OWB10gR2 the option to create a "Value Based" hierarchy is only enabled if you create an AW based OLAP model. If you want to create a ROLAP model then I do not think this is possible.
Question is why create a ROLAP model when you could get better performance and more powerful analytical features by using a multidimensional model within an analytic workspace.
Keith -
How to get ATINN value based on material number and Class Type ?
I have below SELECT stmt code which gives the correct value of atwrt based on materil no and ATINN.
However in quality system, it is failing because in quality system "atinn" value is not 0000000381. It is different.
So how can I get ATINN(Internal characteristic) value based on material number and Class Type?
-Obtain the batch characterstic value for the Material******************
SELECT atwrt
UP TO 1 ROWS
INTO v_charvalue
FROM ausp
WHERE objek = mcha-matnr
AND atinn = '0000000381' " 'US80_FRENCH_ON_LABEL'
AND klart = '001'.
THANKS N ADVANCE.Hi SAm,
use the Below function module to get the Atinn for Atwrt for thr Class and MAterial combination..
CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
EXPORTING
classtype = '023' "Class type
object = w_object "Material number with Leading zeros
no_value_descript = 'X' "Default X
objecttable = 'MCH1' "Table name Mara or MCH1 or MARC
TABLES
t_class = t_class "It return the Batch class available for the above combination
t_objectdata = t_char "Return Batch characteristics(ATWRT) and their value ATINN in this table
EXCEPTIONS
no_classification = 1
no_classtypes = 2
invalid_class_type = 3
OTHERS = 4.
Regards,
Prabhudas -
Problem in populating lookup values based on the lookup query from database
HI all
I have problem of population look-up values based on look-up query
I am giving the details what i am trying
I need to populate the values from the UD_LDAP_USR table into the field of UD_USRGRPC_NisNetTriple of type lookup
i planned to set the properties of lookup as like this
look up query as select UD_LDAP_USR_COMMON_NAME as NisNetTriple from UD_LDAP_USR
ColumnNames as UD_LDAP_USR_COMMON_NAME
Column captions as UD_LDAP_USR_COMMON_NAME
Column width as 30
Lookup Column Name as UD_LDAP_USR_COMMON_NAME
But when i try to add ColumnName as wht i mentioned above i m getting invalid property exception,update failed
I am not sure about that are we able to use other Connector table prefix with UD into the another processFrom
Let me give update on this issue
Urgent,struck my work here
thanks
NagarajThanks for the reply raghav
I tried but it was not working
I gave like what u specified but no use
It is throwing exception like set look-up query for the field
Any one help me out on this issue
Edited by: Nagaraju Chowdary on Jan 21, 2013 3:41 AM
Edited by: Nagaraju Chowdary on Jan 21, 2013 3:42 AM -
Parent-child hierarchy (Value based hierarchy)
As anyone created a parent-child hierarchy using Oracle Warehouse Builder or Analytic Workspace Manager. I am using Oracle 10g Rel2 (and AWM) and OWB 10g Rel2.
The values in the dimension table defines the hierarchy.
I don't see an option of creating a value-based hierarchy in OWB though it is mentioned that it supports this particular hierarchy.
In AWM, I am able to create the hierarchy but when I try to view the data in the dimension it gives an error BIB-9531 Invalid hierarchy specified.
Can you please let me know if I am missing something.
Thanks a lot in advance!
Regards,
MaruthiI've done some work with this, and it hasn't been easy going. There is no built-in ability to form a hierarchy of measure columns, at least nothing that can be predefined as the drill for a fact column. For example: I have 220 details of expense that have an exact arrangement with 5 levels and subtotals. Besides the expense detail there are say 4 dimensions, so the expense detail would be the 5th dimension. I have both arrangements in my rpd: 4D and 5D. They can be used together or separately. The 4D basically has 1000's of measures and there is no relationship between them besides the display arrangement in Answers. The 5D has a 5 column dimension that can drill the expense column from Total_Expense down to the 220 rows of detail expense.
-
Value based hierarchy (parent-child)
Does anybody have any experience in modeling a parent-child dimension ( value based hierarchy instead of level based ) in OBIEE?
Swapan.I've done some work with this, and it hasn't been easy going. There is no built-in ability to form a hierarchy of measure columns, at least nothing that can be predefined as the drill for a fact column. For example: I have 220 details of expense that have an exact arrangement with 5 levels and subtotals. Besides the expense detail there are say 4 dimensions, so the expense detail would be the 5th dimension. I have both arrangements in my rpd: 4D and 5D. They can be used together or separately. The 4D basically has 1000's of measures and there is no relationship between them besides the display arrangement in Answers. The 5D has a 5 column dimension that can drill the expense column from Total_Expense down to the 220 rows of detail expense.
-
Hello,
Has anyone created a parent-child hierarchy using Oracle Warehouse Builder or Analytic Workspace Manager. I am using Oracle 10g Rel2 (and AWM) and OWB 10g Rel2.
The values in the dimension table defines the hierarchy.
I don't see an option of creating a value-based hierarchy in OWB though it is mentioned that it supports this particular hierarchy.
In AWM, I am able to create the hierarchy but when I try to view the data in the dimension it gives an error BIB-9531 Invalid hierarchy specified.
Can you please let me know if I am missing something.
Thanks a lot in advance!
Regards,
MaruthiTo create a value based hierarchy:
define the storage as MOLAP, as a minimum create 2 attributes one for the dimension member (define as business in Identifier column), one for the parent member referenece (define as parent in Identifier column), the hierarchy will have no levels. If you add this dimension into a map, you should have a mapping port for both the dimension member and the parent reference. The dimension will use 'Use natural keys from data source'.
There is an expert for simplifying some of this, not sure on when it will be made available on OTN, it drives the creation of the dimensional objects from tables/views etc.. -
Set default value based on current day value and setItems in Design studio
Hello
I have 2 filters on my dashboard - year and month. The default display of the dashboard should populate current year data. Is it possible to create formula to populate dynamic default value based on the current date using setSelectedValue() ?
Also, for the calendar month, the items are set as below
DD_MONTH.setItems(DS_1.getMemberList("0CALMONTH",
MemberPresentation.INTERNAL_KEY, MemberDisplay.TEXT, 12, "ALL");
This displays month values as 01/2014, 02/2014 ... How can I change these value to display as January if mm = 01 and February if mm = 02 etc..
Thanks
SirishaHi Victor,
I have tried using below statment to populate current year as the default selection value for the dropdown. Used it on Startup, but for some reason it loads all the data when the dashboard is opened the first time. Any ideas?
DS_1.setFilter("0CALYEAR",[Convert.subString(APPLICATION.getInfo().dateNowInternalFormat, 4,6)]);
Thanks
Sirisha -
Problems with value-based hierarchies in Oracle 11gR2
Hello,
I have the following problem:
I want to cereate a dimension with 2 hierarchies.
These hierarchies have to be value-based.
It's no problem to fill and display one of them, but when I fill both and try to display them, at the lowest level, the parent-child relevancy is now incorrect.
Let's display this in OLAP Worksheet for Cube Type OLAP 11g :
lcolwidth=20
rpr down nim_2 w 25 NIM_2_PARENTREL
------------------NIM_2_PARENTREL------------------
------------------NIM_2_HIERLIST-------------------
NIM_2 KON AGT
L1_Total_AGT_A NA NA
L1_Total_KONZ_K NA NA
L2_AGT_A_A NA L1_Total_AGT_A
L2_AGT_B_A NA L1_Total_AGT_A
L2_AGT_C_A NA L1_Total_AGT_A
L2_KONZ_1_K L1_Total_KONZ_K NA
L2_KONZ_2_K L1_Total_KONZ_K NA
L3_100_A NA L2_AGT_A_A
L3_100_K L2_KONZ_1_K NA
L3_200_A NA L2_AGT_B_A
L3_200_K L2_KONZ_1_K NA
L3_300_A NA L2_AGT_C_A
L3_300_K L2_KONZ_2_K NA
L4_101_A NA L3_100_A
L4_101_K L3_100_K NA
L4_301_A NA L3_300_A
L4_301_K L3_300_K NA
L5_302_A NA L4_301_A
L5_302_K L4_301_K NA
100 NA L3_100_A
101 L4_101_K NA
102 NA L4_101_A
200 NA L3_200_A
201 L3_200_K NA
300 L3_300_K NA
301 NA L4_301_A
302 NA L5_302_A
303 NA L5_302_A
304 NA L5_302_AAs you see, the lowest level items are only connectet with one of the hierachies, instead connected with both. (100, 101, e.g)
If I build the same dimension in a 10g Cube, the result is now correct.
Let's display this in OLAP Worksheet for Cube Type OLAP 10g :
lcolwidth=20
rpr down nim w 25 NIM_PARENTREL
-------------------NIM_PARENTREL-------------------
-------------------NIM_HIERLIST--------------------
NIM AGT KON
L1_Total_AGT_A NA NA
L1_Total_KONZ_K NA NA
L2_AGT_A_A L1_Total_AGT_A NA
L2_AGT_B_A L1_Total_AGT_A NA
L2_AGT_C_A L1_Total_AGT_A NA
L2_KONZ_1_K NA L1_Total_KONZ_K
L2_KONZ_2_K NA L1_Total_KONZ_K
L3_100_A L2_AGT_A_A NA
L3_100_K NA L2_KONZ_1_K
L3_200_A L2_AGT_B_A NA
L3_200_K NA L2_KONZ_1_K
L3_300_A L2_AGT_C_A NA
L3_300_K NA L2_KONZ_2_K
L4_101_A L3_100_A NA
L4_101_K NA L3_100_K
L4_301_A L3_300_A NA
L4_301_K NA L3_300_K
L5_302_A L4_301_A NA
L5_302_K NA L4_301_K
100 L3_100_A L3_100_K
101 L4_101_A L4_101_K
102 L4_101_A L4_101_K
200 L3_200_A L3_200_K
201 L3_200_A L3_200_K
300 L3_300_A L3_300_K
301 L4_301_A L4_301_K
303 L5_302_A L5_302_K
304 L5_302_A L5_302_K
302 L5_302_A L5_302_K-----
We are using the latest Version of AWM: Version 11.2.0.1.0A
Database:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
"CORE 11.2.0.1.0 Production"
TNS for IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Thank you verry much for any help.11.2.0.2 for AIX was announced in October 2010. See DOC ID 1249584.1
What is being announced?
We are pleased announce the October 19, 2010 release of Oracle Database 11g Release 2 Patchset 1 (11.2.0.2) on HP-UX > Itanium and IBM AIX on POWER Systems.Patchset 10098816
Description 11.2.0.2.0 PATCH SET FOR ORACLE DATABASE SERVER
Product Oracle Database Family
I have looked, but I cannot find a formal bug for this problem. My hunch is that it was fixed as a side effect of other changes, and I know there were several in this area. My simple test case did work in 11.2.0.2, so I hope it is all fixed. But feel free to enter an SR if you want. (If you mention my name in the SR then support should contact me.) You should certainly do this if moving on to 11.2.0.2 does not resolve the issue.
Maybe you are looking for
-
I want to send my Excel files as .pdf by email. I need to know if Acrobat program is best for me. I purchased a PDF file this morning and I don't think I need that. From what I have seen, The Acrobat file is more what I need. If so, then I would
-
Dear All, I want to add an extra screen in HUPAST main screen which would let you insert the batch number or serial number for each product using a z table. pls tell me the method & steps to do the above task. I want to work on screen exit in HUPAST.
-
Using two drives as source/target for copying a disk?
Greetings, Please bear with what is probably a stupid question from a pc ship-jumper Mac newbie. I ordered my new Mac Pro with two Pioneer optical drives in order to, as Apple says, "streamline disk burning". I learned that Toast is the gold standard
-
Problem with submitting to report RM06BZ00 (ME56)
Hi Gurus, My Requirement is to call ME56 transaction with multiple Purchase requisitions and the "Assigned Purchase Requisitions" checkbox should be checked.I am doing it by Submitting to program RM06BZ00.But when the report is executed the Checkbox
-
Can't find the proper sdk exe to start and run the SDK along with classes
Hello: I have downloaded the java sdk development, several versions of it. However, I cannot find not one proper exe file that will open the sdk development interfaces. I have searched my computer and it does seem that I have all the files such as bi