LKM Use in Change data capturecc

Hi,
Is it possible to use the LKM in Change data capture, because when i used this KM, i got a error at loading the data from c$ table to i$ table.
because c$ and i$ tables both structures are common but while loading the data from c$ to i$ it is not loading thr flags and subscriber name.
any idea

Use of LKM is not restricted with change data capture ,
LKM is used when the data needs to be loaded into staging area and the source schema is not located in the same server as the staging area.
LKM creates "C$" temporary table in the staging area. This will hold records loaded from the source server.
In your case error occurs while loading C$ to I$ ,
The IKM used in the interface will execute staging and target transformations by joining C$ tables created and tables in the staging area into I$ table.
Please check this particular step , if something is missing.
Thanks
Vinay

Similar Messages

  • Anyone have a problem using iPhoto "change date of photo" function?

    I imported some old photos today and need to sent the time on them. I selected the photos and used the "Change date of photo" function. It worked fine on the first set. I tried adjust a second set and that's where problem began. I needed to change the date from 01-01-2002 to the correct date of 05-28-2004. I photo instead set the date to somewhere in 1989. I thought I must have typed the date wrong. So I selected the photos and tried again. Nope, it wasn't me. The date on the photos was set back to some time in 1983. I tried several more time... Well, lets just say I have photos dated in the 1700's..

    I had searched the forum and could not find anything. Maybe someone knows where is is.
    I fixed the photos the "brute force" way.
    I deleted them from the library.
    Changed the date on the files on a different computer and imported them again.
    However this seam like a crap way to fix a iPhoto issue.
    I hope that I don't need to fix the time on any more photos..
    Clarence.

  • CDC (Change Data Capture) with 2 Tables

    Hello,
    i want to use the change data capture for the typical Data Warehousing progress (bring the new or updatet table from source to the staging area)
    So i have implemented a mapping with to tables. The source table is S_Account, the target or staging table is W_Account_DS.
    I have connected/mapped the tables and in the next step i goes into property inspector of W_ACCOUNT_DS into the Area Change Data Capture --> Change Data Capture Filter and put into the follow expression Builder
    Select *
    from S_Acccount
    where INOUTGRP1.LAST_UPD_DT = CURRENT_DATE (<-- Validation Succesful)
    and the next Step i make Enabeled is true in the Change Data Capture Area. So i think it should ready for one test case.
    I set in SQL Developer with an update statement the LAST_UPD_DT at 28.03.2012 in this case he should not update/insert anything, right? But he insert the full table.
    I set in SQL Developer with an update statement the LAST_UPD_DT by 2 Columms to 28.03.2012 in this case he should update he should update the full table - 2 columns with the date 28.03.2012, right?
    So what make i wrong or have i forgotten anything? (must set keys by the tables? I think not! If yes why?)
    Must i set anything properties else? Why doesnt´work it?
    I look forward for your replies :)

    Setting up CDC is a fairly complex process with different options. Setting just the filter in OWB is only a very small part.
    There is a blog post below on how to use code templates to do CDC which gives some insight;
    http://www.rittmanmead.com/2009/10/changed-data-capture-and-owb11gr2/
    Plus and older one illustrating how to use Oracle logs;
    http://www.rittmanmead.com/2006/04/asynchronous-hotlog-distributed-change-data-capture-and-owb-paris/
    Cheers
    David

  • Upgrade of Database with Oracle Change Data Capture

    Hello,
    We are upgrading and moving our database to a different server.
    The move is from 10G R1 database on Solaris to 11G R2 on Linux.
    Our database uses Oracle Change Data Capture.
    What is the best way to perform this migration? Unlike in the approach below, ideally, it would be without any manual steps to drop and recreate CDC subscriptions, change tables, etc.
    Thanks.
    Considerations for Exporting and Importing Change Data Capture Objects
    http://docs.oracle.com/cd/B13789_01/server.101/b10736/cdc.htm#i1027532
    Starting in Oracle Databse 10g, Oracle Data Pump is the supported export and import utility for Change Data Capture. Change Data Capture change sources, change sets, change tables, and subscriptions are exported and imported by the Oracle Data Pump expdp and impdp commands with the following restrictions:
    After a Data Pump full database import operation completes for a database containing AutoLog Change Data Capture objects, the following steps must be performed to restore these objects:
    1. The publisher must manually drop the change tables with the SQL DROP TABLE command. This is needed because the tables are imported without the accompanying Change Data Capture metadata.
    2. The publisher must re-create the AutoLog change sources, change sets, and change tables using the appropriate DBMS_CDC_PUBLISH procedures.
    3. Subscribers must re-create their subscriptions to the AutoLog change sets.

    Hello,
    I opened SR with Oracle Support, they are suggesting to perform full database import/export
    Change Data Capture change sources, change sets, change tables, and subscriptions are exported and imported by the Oracle Data Pump expdp and impdp commands with the following restrictions.
    Change Data Capture objects are exported and imported only as part of full database export and import operations (those in which the expdp and impdb commands specify the FULL=y parameter). Schema-level import and export operations include some underlying objects (for example, the table underlying a change table), but not the Change Data Capture metadata needed for change data capture to occur."
    CDC has different implementation methods:
    You may use the below query to determine-
    select SOURCE_NAME, SOURCE_DESCRIPTION, CREATED, SOURCE_TYPE, SOURCE_DATABASE, SOURCE_ENABLED from change_sources;
    – Synchronous CDC: with this implementation method you capture changes
    synchronously on the source database into change tables. This method uses
    internal database triggers to enable CDC. Capturing the change is part of the
    original transaction that introduces the change thus impacting the performance
    of the transaction.
    – Asynchronous Autolog CDC: this implementation method requires a staging
    database separate from the source database. Asynchronous Autolog CDC uses
    the database's redo transport services to transport redo log information from
    the source database to the staging database1. Changes are captured at the
    staging database. The impact to the source system is minimal, but there is some
    latency between the original transaction and the change being captured.
    As suggested in the document-
    Change Data Capture objects are exported and imported only as part of full database export and import operations (those in which the expdp and impdb commands specify the FULL=y parameter). Schema-level import and export
    operations include some underlying objects (for example, the table underlying a change table), but not the Change Data Capture metadata needed for change data capture to occur.
    ■ AutoLog change sources, change sets, and change tables are not supported.
    Starting in Oracle Database 10g, Oracle Data Pump is the supported export and import utility for Change Data Capture.
    Re-Creating AutoLog Change Data Capture Objects After an Import Operation
    http://docs.oracle.com/cd/B19306_01/server.102/b14223/cdc.htm#i1027532
    After a Data Pump full database import operation completes for a database containing AutoLog Change Data Capture objects, the following steps must be performed to restore these objects:
    a. The publisher must manually drop the database objects underlying AutoLog Change Data Capture objects.
    b. The publisher must re-create the AutoLog change sources, change sets, and change tables using the appropriate DBMS_CDC_PUBLISH procedures.
    c. Subscribers must re-create their subscriptions to the AutoLog change sets.

  • Change Data Capture option in v$option

    Hi
    when i run the following query :
    select parameter, value from v$option
    i notice that the change data capture is FALSE, does it mean that i can't use the change data capture.
    i want to make you know that we use an ORACLE 10gR2 standard edition.
    Best regards

    That is correct.
    Re: Only SOME Streams Features Available in Standard Edition?

  • Using Changed Data

    Hi,
    I implemented CDC without error and started the journal.
    My table name to be journalized: DWH_SEC_TYPES
    In the J$DWH_SEC_TYPES table and JV$DDWH_SEC_TYPES
    view, the changed data can be viewed. Also there is another view named JV$DWH_SEC_TYPES which doesnt involve any data.
    When i execute my interface that is using the journalized table, the LKM is trying to load data from JV$DWH_SEC_TYPES view which means no data avaliable. If JV$DDWH_SEC_TYPES is used to pull data,there will be no problem. How can we manage it?
    LKM : LKM SQL to Oracle
    Tnks in advnce
    select     
         DWH_SEC_TYPES.SEC_TYPE_OID     C1_SEC_TYPE_OID,
         DWH_SEC_TYPES.SEC_TYPE_CODE     C2_SEC_TYPE_CODE,
         DWH_SEC_TYPES.SEC_TYPE_DESC     C3_SEC_TYPE_DESC,
         DWH_SEC_TYPES.RECORD_STATUS     C4_RECORD_STATUS,
         DWH_SEC_TYPES.CREATION_DATE     C5_CREATION_DATE,
         DWH_SEC_TYPES.LAST_CHANGE_DATE     C6_LAST_CHANGE_DATE,
         DWH_SEC_TYPES.USER_CREATED     C7_USER_CREATED,
         DWH_SEC_TYPES.SEC_CLASS_OID     C8_SEC_CLASS_OID,
         JRN_SUBSCRIBER     JRN_SUBSCRIBER,
         JRN_FLAG     JRN_FLAG,
         JRN_DATE     JRN_DATE
    from     ODI_WORK.JV$DWH_SEC_TYPES DWH_SEC_TYPES
    where     (1=1)
    AND JRN_SUBSCRIBER = 'SBSC_VERA_KIYMET' /* AND JRN_DATE < sysdate */

    Thanks for answer Bouch,
    The steps i carried out;
    Purge Journal-->insert new record-->extend window--->execute interface
    However i still encounter the same problem.
    I m using consistent JKM named "JKM Oracle 10g Consistent (LOGMINER)".
    I can see the journal data when i click the journal data from the model.
    Might be something to do with LKM?

  • How to change data in decision table using excel file in operating system?

    Hello, BRF Experts
    I now brf + for the first time in the current project is being developed.
    Now, project has been facing a big problem.
    Develop system that was developed in the history of decision table in the operating system can be used to update excel file, etc. I do not know whether.
    So, I was tested, but can not change data in decision table.
    [ error message : system is not change allowed ].
    The operating system itself to the current system setting is immutable and check it
    : changes and transports for client-specific object -> no changed allowed
    : cross-client object changes -> no changes to repository and cross-client customizing object.
    Decision table in the operating system can update the details if I want to know what to do.
    Maintenance view can be modified in the operating system as a decision table, I wonder if you can create a view.
    Edited by: Sung-Wook Ha on Jan 13, 2012 2:02 PM

    Hi ,
    Exchanging data with Microsoft Excel is done with the help of the XML-based file format (file extension .XSLX) introduced with Microsoft Excel 2007. If you are using an older version of Microsoft Office, you can download the Microsoft Office Compatibility Pack to upgrade the supported file formats from the Microsoft Download Center ([Exchanging Decision Table Data With Microsoft Excel |http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466]). Once you have downloaded the Compatibility Pack, you have to install it on every workstation that has an older version of Microsoft Office installed.
    Please refer the link-
    [BRFplus-Data exchange with MS Office 2007|http://help.sap.com/erp2005_ehp_05/helpdata/en/b8/e03486d1df48c6baa3c4354f5198ee/frameset.htm]
    Hope this helps.
    Thanks,
    Ajay

  • How can forbid changing data when using BAPI  'BAPI_MATERIAL_SAVEREPLICA'?

    I am using BAPI  'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
    But this BAPI also can be used for change mode.
    How to forbid the change of MAT data when use this BAPI?
    TKS a lot~~
    I am looking foward to your response~~~

    you have to find out what the user did before your program goes ahead and starts the BAPI.

  • No longer able to use + and - keys to change dates or time?

    I recently upgraded from an igloo iMac running OS 10.3.9 to a new Mac mini with 10.5.8 (awaiting upgrade to Snow Leopard).
    I used to use the + and - keys all the time to change dates and time in iCal, but have been unable to since my upgrade. Has that functionality been deleted, or is there a way to do it that I have just not discovered yet?
    Thanks.

    Forgotten Passcode or device disabled after entering wrong passcode
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    Alternatively, place the device in recovery mode and restore it to erase the device:
    Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen.
    iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.

  • Using Change Data Capture in SSIS - how to handle schema changes

    I was asked to consider change data capture for a database recently.  I can see that from the database perspective, its quite nice.  When I considered how I'd do this in SSIS, it seemed pretty obvious that I might have a problem, but I wanted to
    confirm here.
    The database in question changes the schema about once per month in production.  We have a lot of controls in our environment, so everytime a tables schema is changed, I'd have to do a formal change request to deal with a change to my code
    base, in this case my SSIS package; it can be a lot of work.   If I wanted to track the data changes for inserts, update and deletes using an SSIS package to send the data changes to the destination tables, would I have to change my SSIS package
    with every schema change, or is there a way to keep the exact same SSIS package with CDC without having to change it every month?
    Thanks,
    Keith

    Hi Keith,
    What is your exact requirement?
    If you want to capture the object_created, object_deleted or object_altered informations, you can try using
    Extended events .
    As mentioned in your OP:
    "If I wanted to track the data changes for inserts, update and deletes using an SSIS package to send the data changes to the destination tables, would I have to change my SSIS package with
    every schema change, or is there a way to keep the exact same SSIS package with CDC without having to change it every month?"
    If you want the databases in two different environments to be in sync, then take periodic
    backup and apply(restore) on the another destination DB.
    (or)
    you can also try with
    SQL Server replication if it is really needed.
    As I understand from your description, if you want the table data & schema to be in sync in two different database:
    then create job [script that will drop the destination DB table & create the copy of source DB table ] as per your requirement:
    --CREATE DATABASE db1
    --CREATE DATABASE db2
    USE db1
    GO
    CREATE TABLE tbl(Id INT)
    USE db2
    GO
    IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE name = 'tb1' and TYPE = 'u')
    DROP TABLE dbo.tb1
    SELECT * INTO db2.dbo.tb1 FROM db1.dbo.tbl
    SELECT * FROM dbo.tb1
    --DROP DATABASE db1,db2
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Is sql server using trigger to capture change data in SQL server CDC?

    hi all,
    what is the Architecture of SQL server change data capture(CDC)? is sql server using trigger to capture change data in SQL server CDC? for example Change Data Capture (CDC) in SQL Server 2008 using we can capture change Data records INSERTs, UPDATEs, and
    DELETEs applied to SQL Server tables.so my question is SQL server using triggers to capture change data like INSERT TRIGGER, UPDATE TRIGGER and DELETED TRIGGER using each tables after enabled CDC...?
    Thanks
    Tharindu Dhaneenja 
    Tharindu Dhaneenja http://dhaneenja.blogspot.com

    It is not using triggers. The source is the transaction log.
    Related link:
    Basics of Change Data Capture
    ...The source of change data for change data capture is the SQL Server transaction log. As inserts, updates, and deletes are applied to tracked source tables, entries that describe those
    changes are added to the log. The log serves as input to the change data capture capture process. This reads the log and adds information about changes to the tracked table’s associated change table. Functions are provided to enumerate
    the changes that appear in the change tables over a specified range, returning the information in the form of a filtered result set. The filtered result set is typically used by an application process to update a representation of the source in some external
    environment. ...
    Kalman Toth, SQL Server & Business Intelligence Training; SQL Server 2008 Training

  • How can forbid changging data when using BAPI  'BAPI_MATERIAL_SAVEREPLICA'?

    I am using BAPI  'BAPI_MATERIAL_SAVEREPLICA' to creat material master data in batch.
    But this BAPI also can be used for change mode.
    How to forbid the change of MAT data when use this BAPI?
    TKS a lot~~
    I am looking foward to your response~~~
    Edited by: lorryhappy on Dec 22, 2009 11:35 AM

    Hi
    You can achieve it in another way..
    Before Passing Data to BAPI , Check whether the material is existing or not..
    If material is existing (Present in Material Master Tables e.g. MARA ) using
    data: l_matnr like mara-matnr.
    Select single matnr from mara into l_matnr.
    IF sy-subrc EQ 0.
    " Material is existing ==> Do Not Pass to BAPI
    else.
    " Material is NOT existing ==> Pass to BAPI for creation.
    endif.
    Repeat above logic for every material in batch..
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    If you use the WCF-SQL adapter it is recommend that you set UseAmbientTransaction to true if you are changing data. I think this requires MSDTC to be enabled on the SQL server that you are changing the data on. (http://msdn.microsoft.com/en-us/library/dd787981.aspx)
    I think that Availability groups does not support MSDTC. (http://msdn.microsoft.com/en-us/library/ms366279.aspx).
    How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    Hi,
    Yes, Availability groups doesn't support MSDTC. Please refer to the similar discusison which maybe helpfull:
    http://dba.stackexchange.com/questions/47108/alwayson-ag-dtc-with-failover
    http://stackoverflow.com/questions/17179221/msdtc-in-always-on-availability-groups

  • Sending change date of BP to external using bapi CRMXIF_partner

    Hi,
    I am using bapi crmxif_partner_save_m01 to send create and change of BP to external system as Idoc. I also need to send change date and user id, if changes are made to bp. but i could't find appropriate fields in bapi. Is there anything with bdoc to send or how is it works.
    Other issue that i have when we receive an idoc from external system we need to send acknowledge to them as a batch job at night thru same interface. how it gona works. Here we are sending idocs and receiving idocs but external sys is non sap ESB.
    one more, when we save BP it should generate idoc thru bdoc and send to external sys using CRMXIF_PATNER_SAVE_M. External sys assign a number for our each bp number and send them back to us thru same interface. I assume same bapi automatically updates IDOC data into bdoc and populates into sap tables. Please correct me if i am wrong.
    Please suggest me.

    Guy&#65292;i don't regard here is anybody wanna read so much code .For more constructive answers, you would distill core question from your program.

  • Capture who changed data using Forms Personalization & changed to what data

    Dear All,
    When the data is changed to a new data (say the price has been changed), I need to capture
    a) the original data
    b) newly changed data
    c) who changed the data
    into a newly created custom table using FORMS PERSONALIZATION.
    How do I do using FORMS PERSONALIZATION?
    Thanks.
    Matthew

    Hey guys, I did it.... and it does work. Here is what I did.
    I created a table to capture the required data.
    CREATE TABLE XYKA_PRICE_CHANGE_DTLS
    LIST_LINE_ID NUMBER,
    PRODUCT_ID VARCHAR2(240),
    PRODUCT_ATTR_VAL_DISP VARCHAR2(4000),
    NEW_PRICE NUMBER,
    DIV_NAME VARCHAR2(240),
    PRICE_CHANGED_BY VARCHAR2(6),
    PRICE_CHANGED_TIME DATE,
    OLD_PRICE     NUMBER
    Create two procedures which needs to enter data into this XYKA_PRICE_CHANGE_DTLS table. We will pass values from FORMS PERSONALIZATION by calling this
    procedure in the ACTION tab.
    CREATE OR REPLACE procedure PRICE_CHANGE_DETAILS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    v_name varchar2(240);
    BEGIN
    select name into v_name from qp_secu_list_headers_v where list_header_id = head_id;
    insert into XYKA_PRICE_CHANGE_DTLS(NEW_PRICE, PRICE_CHANGED_BY,ITEM_NUMBER,PRICE_CHANGED_TIME,PRODUCT_ID,LIST_LINE_ID,PRICE_LIST_NAME,OLD_PRICE) values (price,updated_by,disp,sysdate,prod_id,line_id,v_name,old_price);
    COMMIT;
    END;
    CREATE OR REPLACE procedure APPS.PRICE_CHANGE_DTLS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    V_PRICE_CHANGED_TIME date;
    V_PRODUCT_ID varchar2(240);
    V_LIST_LINE_ID number;
    V_count number := 0;
    BEGIN
    select count(*) into v_count from XYKA_PRICE_CHANGE_DTLS
    WHERE LIST_LINE_ID = line_id AND PRODUCT_ID = prod_id AND NEW_PRICE = price;
    if nvl(v_count,0) = 0 THEN
    PRICE_CHANGE_DETAILS(price,updated_by,disp,prod_id,line_id,head_id,old_price);
    else
    null;
    end if;
    END;
    In fact, I want to capture the current price and the changed price in pricing which is OPERAND field in qp_list_lines_v table (OM MANAGER > PRICING > PRICE
    LISTS > PRICE LIST SETUP)
    In the FORM PERSONALIZATION, enter the seq and the description
    Seq          1
    Description     GLOBAL_VARIABLE
    Level          Function
         In the CONDITION tab
              Trigger Event          WHEN-NEW-ITEM-INSTANCE
              Trigger Object          LIST_LINES.OPERAND
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Property
              Description     Operand Value
              Language     All
              Object Type     Global Variable
              Target Object     XX_EXIST_OPERAND_VALUE
              PropertyName     VALUE
              Value          ${item.list_lines.operand.value}
              Seq          2
              Type          Property
              Description     USER
              Language     All
              Object Type     Global Variable
              Target Object     XX_USER_ID
              PropertyName     VALUE
              Value          =fnd_global.user_id
    Seq          2
    Description     CONDITION & PASSING PARAMETER
    Level          Function
         In the CONDITION tab
              Trigger Event     WHEN-VALIDATE-RECORD
              Trigger Object     LIST_LINES
              Condition     ${item.list_lines.operand.value} <>${global.XX_EXIST_OPERAND_VALUE.value}
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Builtin
              Description     PASSING_VALUE
              Language     All
              Builtin Type     Exceute a Procedure
              Argument     ='begin PRICE_CHANGE_DTLS('''||${item.list_lines.operand.value}||''','''||${global.XX_USER_ID.value}
    ||''','''||${item.list_lines.product_attr_val_disp.value}||''','''||${item.list_lines.product_id.value}
    ||''','''||${item.list_lines.list_line_id.value}
    ||''','''||${item.list_lines.list_header_id.value}||''','''||${global.XX_EXIST_OPERAND_VALUE.value}
    ||''');end'
    Click APPLY NOW button. Save it and the close this FORMS PERSONALIZATION. Go back to the navigation and then click on the module. Try changing the price.
    Your current and the newly changed price along with who changed it, time etc will be inserted into XYKA_PRICE_CHANGE_DTLS table.
    Edited by: e-brain on Sep 14, 2009 11:21 AM
    Edited by: e-brain

Maybe you are looking for

  • Can multiple Macs access the same firewire volume simultaneously?

    I have a firewire drive and hub, and two Mac Minis. I would like to use this hardware to build an Oracle 10g Real Application Cluster (RAC). To do this, both Macs would have to be able to read/write blocks on the same volume on the firewire drive (Or

  • Update rule logic

    I am looking at an update rule to a DSO which also consists of start routine logic. In the update rule a status object is derived using logic. In the start routine there is some logic specific to the status object the details are as follows Start Rou

  • RadioGroup in a PL/SQL Region

    How can I retrieve the selected radiobutton in a group after a submission? I am creating and setting the active radiobutton with the following line of code: htp.p(HTMLDB_ITEM.RADIOGROUP(p_idx => 3, p_value => value1, p_selected_value => value3)); The

  • Nokia Asha 205 firmware update while roaming

    Hello, is it possible to update the Asha 205's firmware when the phone is roaming? The device does not have an USB-port, and Nokia Suite won't let me update when the phone is connected via Bluetooth. The FOTA update isn't working, because the phone t

  • SAP BO certification

    Hi Folks!! I want to know what all course books are there for SAP BO training. I want to appear for the SAP BO certification. Can you please provide me some good links for learning SAP BO. Thanks!!