Journal tables for Oracle Objects

Hi.
How can I create Journal tables for database tables including columns with datatype being a Nested table. I am trying to this in Oracle Designer.
Thanks.

Hi,
check this table <b>TADIR</b> .
Enter OBJECT = PROG
and see in SE16.
follow this link for sample program.
http://abap4.tripod.com/Upload_and_Download_ABAP_Source_Code.html
regards,
Ashok Reddy

Similar Messages

  • Domains for Oracle object types

    When I create a domain for a certain Oracle object type there is no way to create some kind of inheritance tree (and there is no discriminator support it seems). On the database level I have several object types that extend a certain base object type. I want to do the same at the BC4J level. But unfortunately this doesn't seem possible. Is there a work-around for it? I don't mind to write a little extra code, any hints or help are appreciated.
    Regards,
    Peter
    P.S.
    It seems the object type / domain support in JDeveloper 9.0.3(.1) isn't quite up there with entities and view objects. It's not even possible to change an attribute name at the Java side using the domain dialog (it's only possible by manually editing the XML and Java files). Will JDeveloper 9.0.4 have broader support for object types / domains?

    I've found a way to implement the inheritance myself, at least a start. I've noticed all custom domains for oracle object types have the static method "getCustomerDatumFactory". In this method (in the base domain class) normally an instance of the base type is returned. I've modified this method so that it returns instances of the different subtypes depending on the value of a certain column. To make this work I first have to edit the Java files of the subtypes and let them extend the base type instead of the Struct class. The factory method looks like this:
    public static CustomDatumFactory getCustomDatumFactory()
        if (fac == null)
          class facClass implements CustomDatumFactory
            public CustomDatum create(Datum d, int sql_type_code) throws SQLException
              if (d != null)
                BaseType b = new BaseType(d);
                if ("subtype1".equals(b.getType())) b = new SubType1(d);
                else if ("subtype2".equals(p.getType())) b = new SubType2(d);
                else System.err.println("Unknown subtype: " + b.getType());
                return b;
              return null;
          fac = new facClass();
        return fac;
      }I also tried to save several of the subtypes in the database in the attribute field (which is of the base type) using setAttribute, this seems to work out-of-the-box. It seems for now I only get this to work if the object type is saved in a column of a certain table, I can't get it to work (yet) for object type tables (see the other recent topic of mine).
    Is this the correct way to implement what I want? Or is there a better way?
    Regards,
    Peter

  • Run queries against system tables for oracle BPEL processes

    I want to run queries against system tables for oracle BPEL processes. It is becoming very difficult for me to us EM as it is very slow,
    and not all the time, it is sufficient for our needs.
    We are doing load testing and we want find out info like how many requests came in and how many faulted and what time is taken by each request...
    So do any of you have the query that I can use and tables that I need to go against?

    Use the BPEL hydration database table "cube_instance".
    There should be plenty of example in the forum regarding this table.

  • OIM DB Application Table (for oracle 10g db) reconciliation problem

    I want to reconcile my oracle database table into OIM. My table name in the db is called SD_EMPLOYEE and following is the fields.
         StaffID VARCHAR2(10),
         EmpID VARCHAR2(6),
         IDType VARCHAR2(20),
         IDNum VARCHAR2(20),
         EmpName VARCHAR2(255),
         EmpType VARCHAR2(20),
         EmpStatus VARCHAR2(10),
         LocID VARCHAR2(10),
         DeptID VARCHAR2(10),
         JobID VARCHAR2(10),
         JoinDate DATE,
         ConfirmedDate DATE,
         Confirmed VARCHAR2(2),
         ResignDate DATE,
         LoginID VARCHAR2(100),
         DomainName VARCHAR2(50),
         Email VARCHAR2(100),
         MobileNo VARCHAR2(10),
         ExtensionNo VARCHAR2(10),
         Xchange VARCHAR2(100),
         MovementType VARCHAR2(20),
         PrevMovementType VARCHAR2(20),
         MovementStatus VARCHAR2(10),
         MovementEffDate DATE,
         MovementDetail VARCHAR2(255)
    However, I'm not sure how should I modify my oraApp2.xml file so that I can reconcile my SD_EMPLOYEE data into OIM and create the users. I'm not sure what it means by <xdb_app_map ... >.
    <?xml version="1.0"?>
    <xdb_app_map
    xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation = "file:///export/home/dbadp/xdb_app_map.xsd"
    name = "OracleApp1">
    <target_application>
    <target_app_name>testapp1</target_app_name>
    <target_app_ver>1.0</target_app_ver>
    <target_app_provider>Wipro</target_app_provider>
    </target_application>
    <target_database>
    <database name = "Oracle">
    <properties>
    <encryption_nego_level impl_class_name = "oracle.net.encryption_client" value = "REQUESTED"/>
    <encryption_algorithm impl_class_name = "oracle.net.encryption_client" value = "DES40"/>
    <crypto_seed impl_class_name = "oracle.net.crypto_seed" value = "xelsysadmin_seed"/>
    <crypto_checksum_level impl_class_name = "oracle.net.crypto_checksum_client" value = "REQUIRED"/>
    <crypto_checksum_client impl_class_name = "oracle.net.crypto_checksum_types_client" value = "MD5"/>
    </properties>
    </database>
    </target_database>
    <database_adapter>
    <operation name = "create">
    <task table_name = "MDL2_USER_PROF" xeltask_type = "insert">
    <column
    col_name = "USR_ID"
    data_type = "VARCHAR2"
    data_typ_size = "20"
    col_info = "primary"
    required = "true"
    col_type = "xellerate"
    xel_data_source = "xel_usr_id"/>
    <column
    col_name = "USR_FIRST_NAME"
    data_type = "VARCHAR2"
    data_typ_size = "60"
    required = "true"
    col_type = "xellerate"
    xel_data_source = "xel_usr_first_name"/>
    Anyone can help?

    Hi Kevin,
    Thanks for your info.
    Just to make things clearer. Im doing a trusted recon. I have the below.
    1) For the IT resource,
    a) Application Name: this should be the same with the application name I put in the
    XML file right? I have put it as testapp1.
    b) Database user ID: this is the user which have the access to the table I want to
    reconciled into OIM?
    2) For resource object,
    a) I'm currently using the "Database Application Resource" which has all predefined
    fields like xel_usr_id. However, in the reconciliation action rules, I can't select the option of "create user" when "no matches found". Thus, can I use the "xellerate user" resource object for the DB Application Table connector?
    3) Table to reconcile into OIM:
    SD_Employee. The fields are EMPID, FNAME and LNAME.
    In the OraApp2.xml file, I have the below:
    <operation name = "create">
    <task table_name = "DBRECON.SD_Employee" xeltask_type = "insert">
    <column
    col_name = "EMPID"
    data_type = "VARCHAR2"
    data_typ_size = "20"
    col_info = "primary"
    required = "true"
    col_type = "xellerate"
    xel_data_source = "xel_usr_id"/>
    <column
    col_name = "FNAME"
    data_type = "VARCHAR2"
    data_typ_size = "60"
    required = "true"
    col_type = "xellerate"
    xel_data_source = "xel_usr_first_name"/>
    <column
    col_name = "LNAME"
    data_type = "VARCHAR2"
    data_typ_size = "60"
    required = "true"
    col_type = "xellerate"
    xel_data_source = "xel_usr_last_name"/>
    Am I doing the right thing here? As I still can't get the records in the SD_EMployee table to reconciled into OIM.
    Your help is much appreciated.
    Thanks,
    GBHL

  • Where are the data-binding frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail miserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • Where are the Oracle Data Binding Frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail misserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • DatabaseMetaData for Oracle Object Types

    I have successfully written a Java program to read a schema - i.e. Tables, Primary Keys, Imported Keys, Exported Keys & Columns - using DatabaseMetaData. However, I need to decompose Oracle Objects.
    My test case is:
    SQL> desc object_column_table
    Name Null? Type
    ID NUMBER(11)
    TYP OBJ_COL_TYP
    SQL> desc obj_col_typ
    Name Null? Type
    VC VARCHAR2(255)
    NUM NUMBER(11)
    DT DATE
    CH CHAR(7)
    I believe I have found the method that I require:
    public void showAttributes(String schema, String typeName, String attribute)
    The JavaDoc says "Retrieves a description of the given attribute of the given type for a user-defined type (UDT) that is available in the given schema and catalog."
    However, this throws "java.sql.SQLException: Unsupported feature"
    My driver details are:
    Driver Name: Oracle JDBC driver
    Version: 10.1.0.2.0
    Major Version: 10
    Minor Version: 1
    JDBC Major Version: 10
    JDBC Minor Version: 1
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, OLAP and Data Mining options
    So, how do I decompose Oracle Objects?
    Thanks in advance for your help.

    reynaudj,
    Try searching this forum's archives for the term "STRUCT". Perhaps also search the OTN Web site as well.
    Good Luck,
    Avi.

  • How to delete duplicate entries in table for the object DNL_CUST_BASIS2

    Hi All,
    I am trying to download the object DNL_CUST_BASIS2.
    In the SMQ2 the status is SYSFAIL.
    I checked in the ST22 for dumps.It says about the error while accessing the table T006.
    While analysing this,i found some duplicate entries in the related tables of this object.
    Can somebody help me how to delete these duplicate entries?
    Thanks,
    Senthil.

    Delete them directly from the table using se16:
    select the entries in the classic view (not ALV or grid view).
    activate the debugger.
    press the view button. --> you'll enter in the debugger
    press F7
    locate the sy-ucomm variable & change it to "DELE".
    press F8
    delete the entries.
    Trick-shots
    but it works!
    Michael.

  • Require help on Array of Nested tables and Oracle Object type

    Hi All,
    I have a scenario where I have some millions of records received from a flat file and the record is stored in Table as below:
    Tablename: FILE_RECORD
    Rows:
    FILE_REG_ID = 1
    RECORD_NBR = 1     
    PROCESSED_IND = U
    RECORD= 00120130326006A
    FILE_REG_ID = 1
    RECORD_NBR = 2     
    PROCESSED_IND = U
    RECORD= 00120130326003
    1) I have to read these records at once and
    a) Split the RECORD column to get various other data Eg: Fld1=001, Fld2=20130326, Fld3 = 003
    b) send as an Array to Java.
    2) Java will format this into XML and sent to other application.
    3) The other application returns a response as Successful or Failure to Java in XML
    4) Java will send RECORD_NBR and the corresponding response as Success or Failure back to PLSQL
    5) PLSQL should match the RECORD_NBR and update the PROCESSED_IND = P.
    I 'm able to achieve this using SQL Table type by creating a TYPE for Each of the fields (Flds) however the problem is Java cannot Access the parameters as the TYPE are of COLUMN Types
    Eg: For RECORD_NBR
    SUBTYPE t_record_nbr IS FILE_RECORD.T010_RECORD_NBR%TYPE;
    Can you please let me know how I can achieve this to support Java, I know one way that is by creating an OBJECT TYPE and a TABLE of the OBJECT TYPE.
    Eg: T_FILE_RECORD_REC IS OBJECT
    FILE_REG_ID number(8), RECORD_NBR number (10), PROCESSED_IND varchar2(1), RECORD varchar(20)
    Create type T_FILE_RECORD_TAB IS TABLE OF T_FILE_RECORD_REC
    However I'm facing a problem to populate an Array of records, I know I'm missing something important. Hence please help.
    It would be helpful to provide some guidelines and suggestions or Pseudo or a Code to achieve this. Rest all I can take up further.
    Thanks in advance,

    I know once way that is creating a OBJECT TYPE and a TABLE of OBJECT TYPE, howeve I feel I'm missing something to achieve this.You're right, you need SQL object types created at the database level. Java doesn't know about locally defined PL/SQL types
    However you can do without all this by creating the XML directly in PL/SQL (steps 1+2) and passing the document to Java as XMLType or CLOB.
    Are you processing the records one at a time?

  • Table for info objects

    Hi Experts,
    I have lot of info objects descrption. and i want to find out technical names for all these, is there any specific table for this?
    Thanks
    David

    Hi David,
    Check out the below tables
    RSDIOBJ                  Directory of all InfoObjects
    RSDIOBJT                Texts of InfoObjects
    RSDIOBJ                      Directory of all InfoObjects
    RSDIOBJT               Texts of InfoObjects
    RSDATRNAV          Navigation Attributes
    RSDATRNAVT        Navigation Attributes
    check out the below link
    http://zodano.wordpress.com/2009/01/16/sap-bw-tables/
    Regards,
    Venkatesh

  • Source  table for info object

    Hi,
    Can anybody tel me the  SOURCE TABLE FOR the Info Object <b>Plant</b>  technical name is " 0PLANT "..Is coming under Info Cube  "Purchasing Data "..
    Thanks in advance
    Umesh mc

    Barbara,
    Did you do the replication of the datasources ?
    Goto SourceSystem -> select your BW system -> right click replicate datasources.
    Then refresh your object tree, it should show you the datasource.
    Hope this helps,
    GSM.

  • Table for all objects in a bex query structure

    Hi All,
    I am looking for some table/report/t code where I can find all Char,Kf,Rkf and Ckfs along with technical name of that query.
    I know there are couple of work around for this like capturing a screenshot or collect objects via transport connection and copy paste objects from there.
    Basically I need a meta data repository where I can see all this information in a complete manner. I tried to dig around in some tables but they don't have all information  at single place.
    Any help would be appreciated.
    Thanks,
    Vikas

    Hey.  There are a number of tables related to query elements.  I would go through them and figure out which pertain to exactly what you need.  You could then buold an InfoSet query (via SAP Query)  to output all the information you are looking for.  Here is a list of the main query tables...
    Table Name          Use of the table
    RSZELTDIR -      Directory of the reporting component elements
    RSZELTTXT     -     Texts of reporting component elements
    RSZELTXREF -    Directory of query element references .
    RSRREPDIR      -    Directory of all reports (Query GENUNIID) .
    RSZCOMPDIR  -  Directory of reporting components.
    RSZRANGE      -    Selection specification for an element
    RSZSELECT      -    Selection properties of an element
    RSZCOMPIC      -    Assignment reuseable component <-> InfoCube
    RSZELTPRIO      -    Priorities with element collisions
    RSZELTPROP  -   Element properties (settings)
    RSZELTATTR  -   Attribute selection per dimension element
    RSZCALC       -  Definition of a formula element
    RSZCEL  -  Query Designer: Directory of Cells
    RSZGLOBV     - Global Variables in Reporting
    RSZCHANGES - Change history of reporting components
    Sorry, I know this looks messy,  Cut and paste didn't work for me that great.
    Thanks

  • How to find level of dependencies for oracle objects....

    Hi,
    in oracle if we have to find the dependencies we use "all_dependencies", how ever if
    we have to find level of dependencies then how should we go about it,
    example as shown below;
    master object : tablel1
    view 1:            v_test using table1
    view 2:            v_test2 using v_test
    view 3:            v_test3 using v_test2:
    so in this case
    the master table1 is having level of dependency 0
    v_test is having level of dependency 1
    v_test2 is having level of dependency 2
    v_test3 is having level of dependency 3
    and so on....
    i hope i am clear in my question,
    plz assist,
    regards
    uvEdited by: Nicloei W on Oct 7, 2008 7:53 PM

    You can use a hierarchical query on the USER_/ ALL_/ DBA_DEPENDENCIES table, i.e.
    select level, a.*
      from dba_dependencies a
    start with referenced_name = 'DEPT'
            and owner = 'SCOTT'
    connect by nocycle prior owner = referenced_owner
                   and prior name = referenced_name
    order siblings by nameJustin

  • Tables for tracing  objects using date option.

    Hi,
        We need to develop a program in which newly developed objects on a particular date has to be traced.what tables can i use for this requirement.

    Hi,
    check this table <b>TADIR</b> .
    Enter OBJECT = PROG
    and see in SE16.
    follow this link for sample program.
    http://abap4.tripod.com/Upload_and_Download_ABAP_Source_Code.html
    regards,
    Ashok Reddy

  • Table for authorization objects

    Hi All,
    What is the table where all authorizations for a user for a particular authorization object is maintained?
    Thanks,
    Neelima.

    hi friend
    usr04 -User master authorizations alone
    usr07 - it will display all the authorisation object field name.
    if its helpful reward for the same
    regards
    vijay

Maybe you are looking for

  • Internet on iPod Touch?

    hi, all - I'm thinking about getting an iPod touch since I have to by a Mac for school and they're having that offer where you get a free iPod. Anyway, I was wondering about something and couldn't find a clear answer on the website anywhere. I know o

  • Lightning to VGA cannot mirror display on TV

    I bought the lightning to VGA adaptor, and it worked perfectly well mirroring my iPhone 5c display on a TV monitor. But now it stopped working all of sudden. Anyone encountered or solved this problem?

  • Start trial for Patchmanagement after 60 days

    Hi, customer use ZCM since 1.5 years without activation of the "60 Day Trial Version" of patchmanagement during installation. Hasn't bougth it. Maybe now he want to buy it. Before that, is possible to try it and starts the 60 trial days now? Thanks H

  • ODI 10g Union,Union All,Minus

    Hello, I have to use union,union all or minus set on ODI 10.But it doesn't have uninon,union all minus data set like in ODİ 11.How can ı use union statement in odi 10 g?For example I have to union 6 table in odi 10g.How it can be ? Thnx a kot

  • Help other users ! Proper 8GB use @ P55-MSI Motherboards/please post typ of RAM

    Hi@all Proper function with 8GB on MSI-P55 Please post your RAM typ, Mainboard with CPUZ For example : Sorry,example shows only 4GB,please post of course your 8GB config  . Please post any links from shops etc for agreement . For example : http://gei