Using FGA in Oracle 9i on tables that store XML data

Hello,
Our company wishes to use FGA policies to log transaction data for updates that take place in our software (Web based software using Oracle 9i Enterprise Edition (9.2.0.6.0))
This is working just great for logging transaction information on all of our tables except for those that hold XML data. It seems that the XML code is causing an error as it attempts to write in to an audit entry. I have requested information on the specific errors that are being generated, and do not have the exact messages to post yet - but I was hoping that someone out here could comment on FGA and XML data logging, if this is even possible in 9i, or if particular add-ons or updates may need to be made to the database before this can be expected to function as desired.
Thank you in advance,
Sabrina Goodpaster
Database / Configuration Management Specialist
ENVISAGE Technologies, Corp.
1441 S. Fenbrook Lane
Bloomington, IN 47401

Is the intent to audit tables containing XML or to audit changes to the XML? There is a huge difference.
Also, working in software as older than my car isn't helping you. How about applying a few patches or upgrading to something supported?

Similar Messages

  • How to find table that store real data for field 'BETRG' ?

    1) datasource  0HR_PY_1 include field 'BETRG' in R/3 source system; extract structure HRMS_BIW_PY1 for datasource 0HR_PY_1, however structure is not used for stroing data. Question: how can we find table which store real data for the field  'BETRG'?
    2) If I want to add one type call department leader type which already defined in one enhanced HR table, to calculate the total amount using field 'BETRG'  according to department leader type. Should I enhance datasource  0HR_PY_1 by adding department leader type or create new view based on enhanced HR table and another table that include 'BETRG' data, also create new datasource based on this view later on?
    Thanks!

    Hi,
    Check this for Payroll Data (Transaction Data) 0HR_PY_1
    http://help.sap.com/saphelp_nw70/helpdata/EN/a5/94e8288eec11d4b2fb00010220c65f/frameset.htm
    The extractor for payroll results reads data from payroll cluster PCL2, not from standard tables.
    thanks,
    JituK

  • SRM table that store PO data

    Hi,
    what is the table name for a table in SRM that stores PO data.
    Thanks in advance

    in SRM too many tables contain SC, PO, invoice etc...
    each one having a GUID... tables with H are header tables and I are item tables.
    what exactly you need?
    check CRMD_ORDERADM_H (I - item) , BBP_PD* etc tables..

  • Use of PL/SQL to populate table columns from XML data file

    I'm trying to find the easiest way to transfer data from a flat file that is in XML format into a traditional Oracle table. Not retaining the XML but actually map an XML element to a column so standard SQL, Forms, Reports, etc can access like it was created using a Form.
    Example: Table A has column names Tom, Dick and Harry and the XML file has elements Tom, Dick and Harry and I just want a function that maps and inserts/loads the data into Table As individual columns.
    The process needs to be easily initiated by an end user. The user gets the XML data file via an email attachment and needs to do something like a Concurrent Request to pull in the file and load it. Using PL/SQL would be great.
    I appreciate any help that can be provided.

    Hi,
    HELP!!!!!
    We are having the same problem and we are using oracle 10ir2.
    We create an object type (sql type globally not in a package):
    CREATE OR REPLACE TYPE G_EX AS OBJECT
    ( EX_ID NUMBER ,
    EX_CON VARCHAR2 ( 100 ) ,
    EX_L VARCHAR2 ( 30 ) ,
    EX_T VARCHAR2 ( 4000 ) );
    CREATE OR REPLACE TYPE G_EX LIST AS TABLE OF  GEX AS ;
    then we insert data through a bulk collect within the package with the table declared of this array of object types:
    v_table G_EX _LIST:= NULL;
    SELECT G_EX (ex_id
    ,ex_con
    ,ex_l
    ,ex_t )
    BULK COLLECT INTO v_table
    FROM exs_lookup;
    I am using the syntax (below) but it gives PL/SQL: ORA-00902: invalid datatype
    sometimes not always:
    SELECT G_EX ( ex_id
    ,ex_con
    ,ex_l
    ,ex_t )
    BULK INTO v_data_record
    FROM TABLE (v_table)
    WHERE ex_id = p_key;
    where p_key - is a number type
    and v_data_record is a G_EX object type.
    I was wondering if anyone else encountered a similar problem, and knows what we may have done wrong. Since we dont understand why this piece of code is throwing this ora-00902 errors occasionally not always.
    Also, if we restart the database up once this errors occurs it appears to stop throwing this ora_00902 error for a lenght of time. Then it comes up with the ora-00902 error again (why?)
    thanks

  • How to use XML data stored in table column in XML Data Definition

    Hi,
    We are using BIP 5.6.3 (Oracle EBS R12).
    We have a table which stores XML data in a column. Is there a way we can use this XML data through a SQL query in XML Data Definition of BI Publisher report instead or writing whole SQL query to fetch same data from Oracle EBS?
    Can some please provide a sample SQL query that we should use in Data Definition?
    Thanks!

    Mark,
    Thanks. This is exactly what I was looking for.
    After doing @Name in both places (SELECT and WHERE clause) it worked.
    Now I have one more question.
    There are multiple DIMENSION tags in my xml, and I want to see the NAME attribute values for all of those DIMENSIONs. The following query returns
    ORA-19025: EXTRACTVALUE returns value of only one node.
    Cause: Given XPath points to more than one node.
    Action: Rewrite the query so that exactly one node is returned.
    SELECT
    extractValue(value(x), '/AW/@Name') as "AW",
    extractValue(value(x), '/AW/Dimension/@Name') as "DIMENSIONS"
    from
    OLAP_AW_PRC,
    table(xmlsequence(extract (xmltype(AW_XML_TMPL_VAL), '/AWXML/AWXML.content/Create/ActiveObject/AW'))) x
    where
    extractValue(value(x) , '/AW/@Name') = 'OMCR4'

  • Store XML data as relational data into Oracle tables using Java and XMLType

    I want to store xml data into an Oracle 11g table as relational storage, not as CLOB or Binary storage. Then I should also be able to query and fetch this data from table into an XML file.
    Any hint on how to write java code using XMLType to achieve this?
    Any help would be appreciated.

    Thanks for the explanation. I still have few confusions. I will try to elaborate my requirement with a simple example...
    I have the following xsd and xml files. "note" would be the table in database and "to", "from", "heading" and "body" would be the columns of note table. "Tove", "Jan", "Reminder" and "Don't forget me this weekend!" would go as data in one row of note table.
    How do I create note table with the xml schema (xsd file)?
    Should the note table be of XMLType or the columns?
    How do I load the XML data into the columns of note table?
    How do I retrieve the row of note table as XML file?
    XML Schema:
    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.xxxxx.com"
    xmlns="http://www.xxxxx.com"
    elementFormDefault="qualified">
    <xs:element name="note">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="to" type="xs:string"/>
          <xs:element name="from" type="xs:string"/>
          <xs:element name="heading" type="xs:string"/>
          <xs:element name="body" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    XML Data:
    <?xml version="1.0"?>
    <note>
      <to>Tove</to>
      <from>Jan</from>
      <heading>Reminder</heading>
      <body>Don't forget me this weekend!</body>
    </note>

  • How to store XML data into Oracle Table

    I had trouble to store XML data into Oracle Table with XDK (Oracle 8.1.7 ). The error is:
    C:\XDK_Java_9_2\xdk\demo\java\Test>java testInsert Dept.xml
    <Line 1, Column 1>: XML-0108: (Fatal Error) Start of root element expected.
    Exception in thread "main" oracle.xml.sql.OracleXMLSQLException: Start of root element expected.
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:2263)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1333)
    at testInsert.main(testInsert.java:8)
    Here is my xml file:
    <?xml version = '1.0'?>
    <ROWSET>
    <ROW num="1">
    <DEPTNO>10</DEPTNO>
    <DNAME>ACCOUNTING</DNAME>
    <LOC>NEW YORK</LOC>
    </ROW>
    <ROW num="2">
    <DEPTNO>20</DEPTNO>
    <DNAME>RESEARCH</DNAME>
    <LOC>DALLAS</LOC>
    </ROW>
    <ROW num="3">
    <DEPTNO>30</DEPTNO>
    <DNAME>SALES</DNAME>
    <LOC>CHICAGO</LOC>
    </ROW>
    <ROW num="4">
    <DEPTNO>40</DEPTNO>
    <DNAME>OPERATIONS</DNAME>
    <LOC>BOSTON</LOC>
    </ROW>
    </ROWSET>
    and here is structure of table:
    Name Null? Type
    DEPTNO NOT NULL NUMBER(2)
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    and here is my Java Code:
    import java.sql.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class testInsert{
         public static void main(String[] args) throws SQLException{
              Connection conn = getConnection();
              OracleXMLSave sav = new OracleXMLSave(conn,"scott.tmp_dept");
              sav.insertXML(args[0]);
              sav.close();
              conn.close();
         private static Connection getConnection()throws SQLException{
              DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
              Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@amt-ebdev01:1521:mydept","scott","tiger");
              return conn;
    Could you help me ? Thanks !

    The problem is that you need to pass avalid URL , Document...
    Please try this code instead:
    import java.net.*;
    import java.sql.*;
    import java.io.*;
    import oracle.xml.sql.dml.OracleXMLSave;
    public class testInsert
    public static void main(String[] args) throws SQLException{
    Connection conn = getConnection();
    OracleXMLSave sav = new OracleXMLSave(conn,"scott.temp_dept");
    URL url = createURL(args[0]);
    sav.insertXML(url);
    sav.close();
    conn.close();
    private static Connection getConnection()throws SQLException{
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@dlsun1982:1521:jwxdk9i","scott","tiger");
    return conn;
    // Helper method to create a URL from a file name
    static URL createURL(String fileName)
    URL url = null;
    try
    url = new URL(fileName);
    catch (MalformedURLException ex)
    File f = new File(fileName);
    try
    String path = f.getAbsolutePath();
    // This is a bunch of weird code that is required to
    // make a valid URL on the Windows platform, due
    // to inconsistencies in what getAbsolutePath returns.
    String fs = System.getProperty("file.separator");
    if (fs.length() == 1)
    char sep = fs.charAt(0);
    if (sep != '/')
    path = path.replace(sep, '/');
    if (path.charAt(0) != '/')
    path = '/' + path;
    path = "file://" + path;
    url = new URL(path);
    catch (MalformedURLException e)
    System.out.println("Cannot create url for: " + fileName);
    System.exit(0);
    return url;

  • Table that stores the business role and user id mapping

    Hi,
    i want to know the table that stores the Business role and the business role and user id mapping in CRM system.
    Thanks in Advance.
    Regards,
    Pricy

    Hi Mary,
    There is no direct table but there is a way to find it.
    HRP1263 is the table where business roles are stored when maintained at org level. These are stored against the Position.
    For getting user ID and position linkage refer table HRP1001.
    In HRP1001 table use below criteria to get the User and Position.
    OTYPE = CP
    SCLAS = US
    SOBID = User ID
    ENDDA = 31.12.9999
    Get the OBJID
    Query the HRP1001 table again with following
    OTYPE = CP
    OBJID = OBJID from above Query
    ENDDA = 31.12.9999
    SCLAS = S
    SOBID = Thats Position.
    Pass the position to HRP1263 as below.
    OTYPE = S
    OBJID = POSITION
    PROFILE - Thats business role assigned for the given position and user.
    Hope this is helpful.
    Regards,
    Naresh

  • Currency tables that stores description of currency after decimal points.

    Hi ,
    I need table that stores description of currency
    for example : for INR its Rupees and paise...
    I need table that stores paise,Cents for Dollars etc..
    Table TCURC will show Rupees, Dollars...but doesnt show paise,,cents etc..
    Thanks in advance
    Kashyap.

    hi,
    you can get number of decimals for currency from TCURX table.
    To read them in program use SPELL_AMOUNT function module.

  • Table that stores movement types and reversal movement type?

    I want  to take a movement type 561 and look that up in a table and find the reversing movement type in a program.  is there a table that stores the movement type and reversing movement type

    Hi
    Table T156 has got movement type control and details. Where as other T156* tables stores other details directly or indirectly used b yMovement types
    T156A
    T156B
    T156C
    T156F
    T156H
    T156HT
    T156K
    T156M
    T156N
    T156Q
    T156S
    T156SC
    T156SY
    T156T
    T156V
    T156W
    T156X
    Regards
    Virender Singh

  • Table that stores user license information

    Which is the table that stores the user licensing information? How do i make license changes to a large number of users at once?

    Hi
    Check this [Link|http://www.erpgenie.com/sap-technical/security/list-of-useful-reports-on-sap-users]
    Regards
    Uday

  • Table that stores field label, language wise

    Hi,
       Is there any table that stores the field label of a data element, language wise ?
    For example, the field 'kunnr' has label as 'Customer' in EN
    and  'Client' in FR .
    I need to know this FR label where i am given only the field and language .
    How to know ?
    ( In SE16 i get these field names language specific, I need the same info, where it is fetched )
    Answers will be suitably rewarded !
    Thanks,
    Lively

    try this sample code it may help you
    DATA : V_REPTEXT TYPE REPTEXT,
           V_SCRTEXT_S TYPE SCRTEXT_S,
           V_SCRTEXT_M TYPE SCRTEXT_M,
           V_SCRTEXT_L TYPE SCRTEXT_L.
    DATA : LANG TYPE DDLANGUAGE.
    LANG = 'FR'.
    CALL FUNCTION 'WCGW_DATA_ELEMENT_TEXT_GET'
      EXPORTING
        I_DATA_ELEMENT       = 'KUNNR'
        I_LANGUAGE           = LANG
    IMPORTING
       E_REPTEXT            = V_REPTEXT
       E_SCRTEXT_S          = V_SCRTEXT_S
       E_SCRTEXT_M          = V_SCRTEXT_M
       E_SCRTEXT_L          = V_SCRTEXT_L
    EXCEPTIONS
       ERROR                = 1
       OTHERS               = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE : / V_REPTEXT.
    WRITE : / V_SCRTEXT_S.
    WRITE : / V_SCRTEXT_M.
    WRITE : / V_SCRTEXT_L.
    regards
    shiba dutta

  • Tables that store the "Personalization" values in Demantra CWB

    Hi All,
    Can some tell me, which tables stores the basic "personalize information" on CWB Demantra.Like i am looking for tables that stores "MY worksheets" information in the home page of CWB.
    Thanks,

    as far as i know...we dont have any table to show the below requirement
    "Like i am looking for tables that stores "MY worksheets" information in the home page of CWB."
    you can only view the list of available worksheets in queries table

  • Standard table that stores communication channel parameters

    Hi All,
    Can you tell me if there is a standard table that stores the parameters of communication channel?
    For example, Which table has the value of "Quality of Service" in "Processing Parameters"?
    Regards,
    Nisha

    Can you tell me if there is a standard table that stores the parameters of communication channel?
    not aware of a standard table....each communication has its own QOS.....you can check it in the log in SXMB_MONI....opne the particular message processing and look in the upper window (Window 1) where all the details are mentioned.

  • Table that stores Transport Request Details

    Hi SDN Gurus,
    Is there any table that stores all the details of all the transports in Import Queue (STMS). I am mainly interested in import time and method execution time of the transport. I need to write an ABAP program that for calculating the time for mass migrating all the transports in the queue.
    i looked at the tables E070, E071 and some others but din't get the required info.
    Any help will be rewarded with points.
    Thanks

    Here is some correction to what i said. i got some information like the transport number, owner of the transport, target system and the IMPORT time of the request from the table E070. i guess all i need now is to find the time at which the transport is completed (Method Execution time) so i can calculate the time it took for transport.
    Thanks

Maybe you are looking for