CDC Journal Tables in a differenct location

Is it possible to setup the journalizing tables in a different location than the source system, even a different schema in the database? I am not allowed to alter the structure of the source schema.
Thanks.

Another option would be to connect to the source schema through a db link, but not sure how to set that up through Topology manager or where the journal tables would be setup?
Thanks

Similar Messages

  • URGENT NEED HELP : JOURNALING TABLES AND TRIGGERS GENERATION

    Hi
    I need generate journaling tables for any tables to audit the update, delete statements executed for the users. I captured an existant schema, then and I change the derfiniton of the target tables, setting the value of Journaling to "Server".
    But, when I generate the DDL statements, the triggers of the journaling tables don't appears in the sql file.
    ¿What is the error?
    I thing that Designer generates the triggers and the journal tables, ¿It's true?
    Thanks in advance.
    Xavi

    You have to use the "Generate Table API" menu option. This will generate the "journalling" triggers.
    HTH
    Roel

  • JOURNAL 이 2번 POST 되어 BALANCE 와 JOURNAL TABLE 상에 금액 차이가 발생했을 경우

    제품 : FIN_GL
    작성날짜 : 2003-05-13
    JOURNAL 이 2번 POST 되어 BALANCE 와 JOURNAL TABLE 상에 금액 차이가 발생했을 경우
    ==============================================================
    PURPOSE
    gl_balances 와 gl_je_lines table 상의 금액이 차이가 날 경우 data fix 방법을 제공한다.
    Problem Description
    gl_balances 와 gl_je_lines table의 금액 차이가 나서 조사해 본 결과 일부 journal 이 2번 post 되었음을 발견하였다.
    Workaround
    Solution Description
    1. 해당하는journal batch를 Reverse 처리한 다음 Posting 까지 완료한다.
    2. delete 해야 할 data를 다시 한번 아래 문장으로 확인한다.
    set heading off
    set linesize 79
    column je_batch_id format a79 trunc
    column je_header_id format a79 trunc
    column je_line_num format a79 trunc
    column batch format a79 trunc
    column header format a79 trunc
    column entered_cr format a79 trunc
    column entered_dr format a79 trunc
    column code_combination_id format a79 trunc
    select
    'gjb.je_batch_id :'||' '|| gjb.je_batch_id je_batch_id,
    'gjh.je_header_i :'||' '|| gjh.je_header_id je_header_id,
    'gjb.name :'||' '|| gjb.name batch,
    'gjh.name header :'||' '|| gjh.name header,
    'gjl.je_line_num :'||' '|| gjl.je_line_num je_line_num,
    'gjl.entered_cr :'||' '|| gjl.entered_cr entered_cr,
    'gjl.entered_dr :'||' '|| gjl.entered_dr entered_dr,
    'gjl.code_combination_id :'||' '|| gjl.code_combination_id
    code_combination_id
    from gl_je_lines gjl, gl_je_batches gjb, gl_je_headers gjh
    where gjb.je_batch_id = gjh.je_batch_id
    and gjh.je_header_id = gjl.je_header_id
    and gjb.set_of_books_id = &set_of_books
    and gjb.name like '%Reversed_Batch_Name%';
    3. 위의 문장으로 delete 해야할 batch_id와 je_header_id 를 확인 한 후 아래 문장으로 data를 backup 해둔다. (만약의 경우를 대비해 반드시 backup한다.)
    create table gl_batch_temp as
    (select * from gl_je_batches
    where set_of_books_id=&set_of_books
    and je_batch_id=&batch_id);
    create table gl_header_temp as
    (select * from gl_je_headers
    where set_of_books_id=&set_of_books
    and je_header_id=&header_id);
    create table gl_line_temp as
    (select * from gl_je_lines
    where set_of_books_id=&set_of_books
    and je_header_id=&header_id);
    4. 아래 문장으로 해당 데이타를 gl_je_batches와 gl_je_headers, gl_je_lines 테이블에서 delete한다.
    delete from gl_je_batches where
    set_of_books_id = &set_of_books
    and je_batch_id= &batch_id;
    delete from gl_je_headers where
    set_of_books_id = &set_of_books
    and je_header_id= %je_header_id;
    delete from gl_je_lines where
    set_of_books_id = &set_of_books
    and je_header_id= &je_header_id;
    모든 작업 완료후에는 balance table과 gl_je_liens 테이블의 data가 일치하는지 다시 한번 확인해주세요.
    Reference Documents
    Note 132003.1

  • Journal tables in SQL Developer Data Modeler

    In my database I use journal tables, which can be generated automatically by Oracle Designer.
    Now that I'm trying to start using SQL Developer Data Modeler, I can't find how to make journal tables with it.
    Does anyone know whether Data Modeler supports journal tables or not? And if it does, how can I generate one?

    No automatic generation you have to create them manually - use copy/paste to speed up the process.
    Philip

  • How to handle journal table using JPA+TopLink

    Hi,
    I am using JDev10.1.3.3 with Swing and EJB + JPA + TopLink using Oracle database. Every business table has a journal table. Does TopLink have any journal features or do I have to write my own code to insert data into the journal table.
    Thanks,
    Jim

    Depends what's in your journal table? TopLink does have support for historization (see HistoryPolicy or docs).
    Otherwise you could use TopLink events to insert into the table, or use database triggers.
    -- James : http://www.eclipselink.org

  • How to run insert/update/delete from CDC Change table to target using OWB

    I am planning to set up CDC and publish CDC change table as source data into to OWB. I have come across where I am confused how to apply changes from CDC change table to target database using OWB. For i.e. change tables is containing information like
    operation$, cscn$,commit_timestamp$,xidusn$,....,list of column name
    D,12323223,8/28/2008 1:44:32PM,24,.....,list of column value that have to be deleted from target
    UO,12323224,8/28/2008 1:45:23PM,24,.....,list of column value that have to be updated in target.
    Please advice or give me some hint. Thank you.

    Hi,
    you can wait for 11gR2 with CDC integration or build most of the code outside the owb. To use CDC you must do this things (http://www.oracle.com/technology/oramag/oracle/03-nov/o63tech_bi.html):
    1. Identify the source tables.
    2. Set up a publisher.
    3. Create change tables.
    4. Set up a subscriber.
    5. Subscribe to the source tables, and activate the subscription.
    6. Set up the CDC window.
    7. Prepare a subscriber view.
    8. Access data from the change tables.
    9. Drop the subscriber view, and purge the CDC window.
    10. Repeat steps 6 through 9 to see new data.
    You can do only a few of this inside owb, most of it must be done outside.
    Regards,
    Detlef

  • Is there a link between the Journal tables and the Marketing Document tables?

    Hi Everyone,
    Is there a link back from the Journal Tables (e.g.: OJDT and / or JDT1) to the Marketing Documents tables (e.g.: OINV and / or INV1)?
    If there is a link can you please let me know what it is?
    Kind Regards,
    David

    David..
    Try This
    Select T1.RefDate,
    Case
    When T1.TransType=13 Then 'Invoice'
    When T1.TransType=14 Then 'A/R Credit Memo'
    When T1.TransType=15 Then 'Delivery Note'
    When T1.TransType=16 Then 'Delivery Return'
    When T1.TransType=162 Then 'Stock Revaluation'
    When T1.TransType=18 Then 'Purchase Bill'
    When T1.TransType=19 Then 'A/P Credit Memo'
    When T1.TransType=20 Then 'GRPO'
    When T1.TransType=202 Then 'Work Order'
    When T1.TransType=21 Then 'Goods Return'
    When T1.TransType=24 Then 'Incoming Payment'
    When T1.TransType=30 Then 'Journal'
    When T1.TransType=46 Then 'Outgoing Payment'
    When T1.TransType=59 Then 'Goods Receipt'
    When T1.TransType=60 Then 'Goods Issue'
    When T1.TransType=67 Then 'Stock Transfer'
    Else T1.TransType
    End [TransType],
    T1.TransId,
    Case
    -- Sales A/R
    When T1.TransType = 13 Then (Select isnull(Comments, '') From OINV Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Invoice
    When T1.TransType = 14 Then (Select isnull(Comments, '') From ORIN Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- A/R Credit Memo
    When T1.TransType = 15 Then (Select isnull(Comments, '') From ODLN Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Delivery
    When T1.TransType = 16 Then (Select isnull(Comments, '') From ORDN Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Delivery Return
    -- Purchase A/P
    When T1.TransType = 18 Then (Select isnull(Comments, '') From OPCH Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Purchase Bill
    When T1.TransType = 19 Then (Select isnull(Comments, '') From ORPC Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- A/P Credit Memo
    When T1.TransType = 20 Then (Select isnull(Comments, '') From OPDN Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- GRPO
    When T1.TransType = 21 Then (Select isnull(Comments, '') From ORPD Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Goods Return
    -- Production
    When T1.TransType = 202 Then (Select isnull(Comments,'') From OWOR Where DocNum = T1.BaseRef and PostDate = T1.RefDate) -- Work Order
    -- Banking
    When T1.TransType = 24 Then (Select isnull(Comments, '') From ORCT Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Incoming Payment
    When T1.TransType = 46 Then (Select isnull(Comments, '') From OVPM Where DocNum = T1.BaseRef and CardCode = T1.ShortName) -- Outgoing Payment
    When T1.TransType = 30 Then (Select ISNULL(LineMemo, '') From JDT1 Where Ref1 = T1.Ref1 and ShortName = T1.ShortName) --  Journal
    -- Inventory
    When T1.TransType = 59 Then (Select ISNULL(Comments, '') From OIGE Where DocNum = T1.Ref1 and DocDate = T1.RefDate) -- Goods Receipt
    When T1.TransType = 60 Then (Select ISNULL(Comments, '') From OIGN Where DocNum = T1.Ref1 and DocDate = T1.RefDate) -- Goods Issue
    When T1.TransType = 67 Then (Select ISNULL(Comments, '') From OWTR Where DocNum = T1.Ref1 and DocDate = T1.RefDate) -- Stock Transfer
    When T1.TransType = 162 Then (Select ISNULL(Comments, '') From OMRV Where DocNum = T1.Ref1 and DocDate = T1.RefDate) -- Stock Revaluation
    Else ''
    End [Remarks],
    T1.LineMemo,
    Case
    When exists (Select AcctCode From OACT Where AcctCode = T1.ContraAct)
    Then (Select AcctName From OACT Where AcctCode = T1.ContraAct)
    else (Select CardName From OCRD Where CardCode = T1.ContraAct)
    End [Account],
    Case
    When T1.Debit=0.0
    Then 0.0
    Else T1.Debit
    End Debit,
    Case
    When T1.Credit=0.0
      Then 0.0
    Else T1.Credit
    End Credit
    From JDT1 T1
    Where T1.TransType <> -3
    And T1.RefDate Between @FromDate and @ToDate
    And T1.ShortName = @Account
    Order By T1.RefDate,
    T1.TransId
    Regards
    Kennedy

  • Journal table business rules

    We have a package in the database in which we use the TAPI INS procedure to insert data into a table.
    How should we open an close the transaction so that for every insert record a record in the journal table is created.
    We have created journalling business rules. A normal INSERT INTO statement works (because we also use the TAPI triggers). But if we use a cursor loop and within the loop the TAPI INS statement, only 1 record is created in the journal table (the first record that was inserted).
    Should we place the openening and closing of the transaction inside or outside of the cursor loop?
    The current code is outside the loop, like this:
    qms_transaction_mgt.open_transaction
    ( p_trans_opened_by => 'myprocedure'
    for r_import in c_import
    loop
    l_rec.id := Null;
    l_rec.code := r_import.code;
    l_rec.description := r_import.description;
    l_ind.id := False;
    l_ind.code := True;
    l_ind.description := True;
    cg$my_table.ins(l_rec, l_ind);
    end loop;
    qms_transaction_mgt.close_transaction
    ( p_trans_opened_by => 'myprocedure'
    commit;
    Anyone have a suggestion how solve this?

    The only way we can circumvent this problem is by not using the TAPI procedure, but use normal DML (INSERT, UPDATE).

  • Querying journal tables

    Hello !!!
    I intend to build a module where an authorized end-user can see the content of a journal table and run some queries on it (history of a specific file or actions performed by a given user). So, I would like to know if implementing indexes on a journal table is acceptable (both for performance and maintainance of the application). What could be the associated problems and do you know a more standard or better approach ?
    I thank you very much,
    Denis.

    What you want is to join the 2 tables to return a single resultset:
    http://en.wikipedia.org/wiki/Join_(SQL)
    http://www.w3schools.com/Sql/sql_join.asp
    SELECT profilePic, firstname, surname, eventName
    FROM clients
        INNER JOIN events ON events.clientID = clients.clientID
    WHERE clients.clientID = #URL.clientID#
    Mack

  • Table which link functional location with equipment number

    Hi,
    Can you please tell me the name of the table which link functional location with equipment number.
    I want to get the list of equipment installed at given functional location.
    Regadrs
    Anil Kumar

    Ooops, yes Vinay is correct: EQUI -> EQUZ -> ILOA
    Here's some example code:
      select single * from equz where equnr eq g_equnr
                                  and datbi eq '99991231'
                                  and eqlfn eq '001'.
      select single * from iloa where iloan eq equz-iloan.
    PeteA
    [www.pjas.com]

  • Want to know table name of - plant location

    hi frnds
    want to know table name of - plant location
    regards
    raghav.kh

    Hi,
    Try with Table T499S.
    Regards,
    Prabu

  • Migration V4 to V7 -- journal tables

    Dear all,
    I got a problem during the migration of the journal tables.
    I could succesfully migrate
    Jrndeptable
    Jrndtll
    JrnTrans
    JrnMemberset
    But I have a problem with the JrnApplication table:
    he gives following error during transfer on the server:
    Validating (Error)
    Messages
    Error 0xc0202049: Data Flow Task 1: Failure inserting into the read-only column "IDJ".
    (SQL Server Import and Export Wizard)
    Does someone knows a solution?
    Thanks

    Hi,
       IDJ is an identity field, you should insert the other columns, IDJ will be generated automatically. So, you have to run something like:
    insert into jrn<application>  (column1, column2, ccolumn3, ...)
    Select column1, column2, column3, .... from jrn<applicationv4.2>
    Hope this can help you,
    Mihaela

  • 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

  • Table partitioned then CDC journal

    if a table is partitioned to five object
    is there any advice or experience for how to handle it to add journal (CDC) on the table or the object
    or any config need to set?
    thanks for your help...

    Dear Alastair ,
    Thanks for your reply, may I ask other question.
    I start journal to a partition table which named "user_base"
    with the JKM " Oracle 11g Consistent (Streams)"
    it return an error log when execute the step "Set force logging on tablespace"
    i can't find releate solution to solve this problem
    if you have any suggestion or advice, i'm very glad to discuss with you, thanks again.
    =======error log==========
    ODI-1228: work user_base (journalize) in the target ORACLE connection userdb fail.
    Caused By: java.sql.SQLException: ORA-01403: no data found
    ORA-06512: in line 24
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
         at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)
    =======error log==========

  • Configure CDC on tables not having Primary Key

    Hi,
    On one of our client majority of tables in their huge database are not having primary key. While starting journaling ODI-15021 error is being thrown. Is there any way to configure CDC on those tables. Even we are not in a situation to create logical primary key on ODI level. Client is asking for an oracle document which talks about such restriction. Kindly help me out. I've gone through documentation as well metalink. I'm not able to find any information regarding it.
    Regards,
    Shashi Ranjan

    Hi,
    Thanks a lot for your prompt reply. Let me describe my situation bit more clearer. I've configured ODI CDC on one schema which contains 1200 tables. I tried to configure primary key on each data store in source model but being an integrator, I'm not the right person to decide primary key on tables so, I reverted back to client to create primary key on tables or suggest what should be primary key. Now, client is asking for an oracle document stating that primary key is mandatory. They have such 20 schema with similar huge number of tables. I've gone through various documents and meta-links but no luck. Need urgent help on it.
    Regards,
    Shashi Ranjan

Maybe you are looking for

  • Flash audio does not work on HDMI

    Hi, I'm trying to make HDMI audio work. So far I've been able to make almost everything work, but Flash is still giving me headaches. I cannot make it play on HDMI, when I open a video on youtube sound comes out from my laptop's speakers. I googled a

  • Special GL indicator on SDI nvoice

    Dear Gurus I'm trying to use a Special GL indicator on a SD Invoice to divert the customer Reconciliation account to another one. This is an easy to do thing on a standard FI posting, but can I do this through my SD invoice ? Thanks (points will be g

  • Apps in "purchased" are not mine!

    Many apps are showing up in my "purchased" apps for iPhone and iPad which I am certain I have not downloaded. Has this happened to anyone else? Also, is there any way to find out from apple the IP screws where these were downloaded from, or perhaps t

  • Unsuccessful to change the properties label

    Hi expert, i am doing to change the properties label. i used existing project that i download from sap note 817876. below is my steps: 1. i create my bundle file (fgckbLabel.properties) 2. in bundle file, i defined my properties as           HRProgra

  • Corrupt Catalogue Issues

    Hi, I having been using PSE11 for quite some time but yesterday I tried uploading new files from my SDcard and got the following message: The requested change could not be completed because the current catalogue is corrupt. You can attempt a repair i