Tracking Table value changes

Hi all,
currently we are in the process of tracking the data changes in the following table
/sapsll/adrcon (GTS specific) but it has been checked for the log data changes in its technical settings
but still we are unable to track the changes in
cdpos table
please provide your valuable inputs
so that we can track the changes
cheers
balu

Hi,
The place where we find Transaction Table history is SCU3.
===================================================================================================
The logging flag defines whether changes to the data records of a table should be logged. If logging is activated, every change (with UPDATE, DELETE) to an existing data record by a user or an application program is recorded in a log table in the database.
Note: Activating logging slows down accesses that change the table. First of all, a record must be written in the log table for each change. Secondly, many users access this log table in parallel. This could cause lock situations even though the users are working with different application tables.
Dependencies
Logging only takes place if parameter rec/client in the system profile is set correctly. Setting the flag on its own does not cause the table changes to be logged.
The existing logs can be displayed with Transaction Table history (SCU3).
Regards,
Bhargava

Similar Messages

  • Ho to track table structure changes ?

    Hi
    I need to know how to track the table structure changes ?
    I mean how to know when , which column was added/dropped/altered by which user for a table.
    Is there any DD view for the same in Oracle??

    user572632 wrote:
    Hi
    I need to know how to track the table structure changes ?
    I mean how to know when , which column was added/dropped/altered by which user for a table.
    Is there any DD view for the same in Oracle??refer auditing
    what is your oracle version?
    refer
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96524/c25audit.htm
    http://www.oracle-base.com/articles/10g/Auditing_10gR2.php
    also check trigger,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7004.htm

  • Track table data changes (inserts, updates, deletes) including os_user

    Hi ,
    I was given a task by manager to keep track of changes on a given table including os_user who made it.
    Should I create a trigger on it (on any update, insert, delete etc.) or there is a better way of doing it ?
    I think there could be some info already in some data dictionary views or something like it.
    If I CREATE MATERIALIZED VIEW LOG on that table would it help?
    I'm kind of new to that sort of tasks,
    Thanks a lot!

    Leo_Y wrote:
    Hi ,
    I was given a task by manager to keep track of changes on a given table including os_user who made it.
    Should I create a trigger on it (on any update, insert, delete etc.) or there is a better way of doing it ?
    I think there could be some info already in some data dictionary views or something like it.
    If I CREATE MATERIALIZED VIEW LOG on that table would it help?
    I'm kind of new to that sort of tasks,
    Thanks a lot!is application 3-tier like below?
    EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer

  • Decision Table values changes back after deploy.

    Hi All,
    I created Decision Table and filled it by some values.
    Then I built my Rules Composer project and deployed it.
    After that I changed some values in my Decision Table from RulesManager and uploaded their.
    Then I deployed my Rules Composer again.
    After that I looked in Decision Table from RulesManager again and saw that all values were changed back to their original values.
    Does anybody knows is this feature or bug?

    Hello SMatveev,
    The functionality is as follows:
    1. You selected the active version to open the project - made changes to the rules, uploaded this. This version though is the latest, it has not been activated. The rules project which will be open will still be the active version, that means the changes recently made will not be displayed.
    2. You selected the latest version to open the project - made changes to the rules, uploaded this. This version is the latest as well as the active version. The rules project which will be open will be the latest version, that means the changes recently made will be displayed.
    3. After the changes were made, you uploaded (even activated) the changes. The rules are changed in NWDS and uploaded, now the version of the rules as were in NWDS at the time of deployment will be the latest/active version of rules in the server.
    The behavior you saw is expected. (3rd point)
    The way to prevent this loss of modifications made to rules using rules manager, is to - first download the runtime version of rules from server using the option available in NWDS; make the required changes to this active version and upload this DC to server.
    Best Regards,
    Arti

  • Track the values of the fields changed in BDC

    Hello,
    I have a requirement in which i need to track all the changes made to any transaction run in a BDC session by a particular user.
    A report has to be generated based on the session name, giving details like transaction to which change was made, fieldname, old value and new value.
    Table CDHDR and CDPOS give the change records, but how to limit them to the BDC session changes only.
    Any pointers would help.
    Regards,
    Mansi.

    Hi Mansi,
    Before calling Call Transaction,.
    loop the BDCDATA & move it to the new internal table & log it... it shows the screen no's & fields updated & its values.. everything...
    Thanks & regards,
    Dileep .C

  • Change Tracking Tables

    HI Experts
    I have  a Scenario, where i  need to Track Changes in SAP MDM for field level, as i enable Specific Fields for which i need to track in SAP MDM Console under Admin-> Chage Tracking.
    But as i learnt, Changes will be stored in Database level. can any one help me in knowing the DatabseTables in SQL Server which holds the changes done to a field.
    We are using SAP MDM 7.1, and on Databse is SQL SERVER
    if any one worked on this Scenario, Please let me know the Step to Step Process.
    Thanks in Advance.
    Regards
    Sowseel

    Hi Mandeep,
    Thanks for the Simple blog link.
    i enable change tracking for the Main Table, and i went to SQL and run the select command
    "select [UserName],[EventTime],[TableName],[FieldName],[NewValue],[OldValue]  from [MaterialMaster_Z000].[dbo].[A2i_CM_History]"
    it gives me the result what i expected, with old values and new values. which is all good.
    But the problem is here, where i enable change tracking for a Qualified Table Sales data for the field "Sales unit" which is a Qualifier. and when i change the value of that field in Data Manger,When i run SQL Command  Result is some thing like this
    User Name     Time                          Table      Field          New Value                 Old Value
    Admin     07/07/2010 09:41:32 AM     Products     Update Date     07/07/2010 04:11:31 GMT     01/06/2010 05:14:18 GMT
    So, is that for Qulaified tables we can get only Updated Date and Time not the Value of the Field? is this how system behaves or there any work around to achieve it.
    Can't we achieve the Change Tracking of updated Values of the Qulaified Table data in MDM 5.5 or 7.1.
    Is this case is same, if i deploy Change Tracker Application in MDM 7.1? Qualified Table Fields value Changes can not be Tracked only the updated Time can be Tracked?
    Note: I checked only in MDM 5.5 not yet in MDM 7.1.
    Thanks
    Sowseel

  • How to get the Reports of Change Tracking Table in MDM?

    Hi!
    Please tell me how to get the reports of Change Tracking Table in MDM which is a System table, directly from MDM without using any interface.
    Thanks in advance for the reply.
    With Best Regards
    Devendra Pandey

    Hi Devendra,
    MDM can track changes on tables and fields. <u>The level of change tracking, and which tables/fields to track, are configurable in the MDM Console</u>. MDM opens a new database on the same database engine as the MDM repository and writes all change records to this database.
    For information of various steps you can visit
    <a href="http://help.sap.com/saphelp_mdm550/helpdata/en/45/c7b20339ee570ae10000000a114a6b/content.htm">this URL</a>
    Regards,
    Krutarth

  • Changing the roosfield  table values , will affect in upgradation??

    Hi all,
    I am working on bw with crm.I need to modify the 0sales_act_1 extractor . i found that one field is available in extract structure but it is not available in extractor(data source) e.g.. like created by and changed by fields. I need to populate values for the fields. so i checked and found one way that i modified the <b>roosfield</b> table. (by changing the selection field value from <b>A TO NULL</b>. Now the extractor is working fine. I did it using the following code.
    REPORT  ZSALES_ACT_1                            .
    Tables : ROOSFIELD.
    ****to change the "changed by" visibility
    select single * from roosfield where
            OLTPSOURCE = '0CRM_SALES_ACT_1' and
            OBJVERS = 'A' and
            FIELD = 'CHANGED_BY'.
    roosfield-selection = ' '.
    modify roosfield.
    >> What my question is , is it recommended way to modify data source by SAP. or
    Is there any other way to modify the data source. I need to bring those two fields in extractor .
    (if u can't understand this,  let me know,  i will send u the screen shot.
    >> what will be the effect of this on upgradation and transportation??
    Thanks in Advance
    Arun Thangaraj
    <b></b>

    Hi dear,
    about what you are referring to, I think I have some responsibility (since I think I was the first to post such a code in SDN in order to modify extraction settings)...
    Anyway, SAP suggested a similar method only for peculiar cases (and for specific datasource/field) in some OSS Notes, but it is an unorthodox way..the problem is that there is no other way to follow, so...
    Don't worry about upgrade (even if a little test is always recommendable...)
    Bye,
    Roberto

  • In FM tables And Changing r bu default Pass by value or ref

    hi friends ,
    In Function Module Tables And Changing are by default Pass by value or reference.
    with regards.

    hi all,
    i got the answer from abap in 21 days (page No 591),
    changing parameters are passed by value and result.
    internal tables are pass by reference.

  • How to change stored procedure with Table Valued Parameter

    I am not sure how to change the normal stored procedure with Table Value Parameter.Do I have to create a separate Table or do I have to create a datatype. Can you please help me with this
    ALTER PROCEDURE [dbo].[uspInsertorUpdateINF]
    @dp_id char(32),
    @dv_id char(32),
    @em_number char(12),
    @email varchar(50),
    @emergency_relation char(32),
    @option1 char(16),
    @status char(20),
    @em_id char(35),
    @em_title varchar(64),
    @date_hired datetime
    AS
    BEGIN
    SET NOCOUNT ON;
    MERGE [dbo].[em] AS [Targ]
    USING (VALUES (@dp_id, @dv_id , @em_number, @email, @emergency_relation, @option1, @status, @em_id, @em_title, @date_hired))
    AS [Sourc] (dp_id, dv_id, em_number, email, emergency_relation, option1, status, em_id, em_title, date_hired)
    ON [Targ].em_id = [Sourc].em_id
    WHEN MATCHED THEN
    UPDATE
    SET dp_id = [Sourc].dp_id,
    dv_id = [Sourc].dv_id,
    em_number = [Sourc].em_number,
    email = [Sourc].email,
    emergency_relation = [Sourc].emergency_relation,
    option1 = [Sourc].option1,
    status = [Sourc].status,
    em_title = [Sourc].em_title,
    date_hired = [Sourc].date_hired
    WHEN NOT MATCHED BY TARGET THEN
    INSERT (dp_id, dv_id, em_number, email, emergency_relation, option1, status, em_id, em_title,date_hired)
    VALUES ([Sourc].dp_id, [Sourc].dv_id, [Sourc].em_number, [Sourc].email, [Sourc].emergency_relation, [Sourc].option1, [Sourc].status, [Sourc].em_id, [Sourc].em_title, [Sourc].date_hired);
    END;

    It's not clear how you would change the procedure. But assuming that you want to replace the existing scalar parameters with tabular input, this is how you would do it. You first create a table type:
    CREATE TYPE  Insertor_type AS TABLE
        (dp_id                char(32),
         dv_id                char(32),
        em_number            char(12),
        email                varchar(50),
        emergency_relation   char(32),
        option1              char(16),
        status               char(20),
        em_id                char(35),
        em_title             varchar(64),
        date_hired           datetime)
    Then you change the procedure header:
    ALTER PROCEDURE [dbo].[uspInsertorUpdateINF] @tvp Insertor_type READONLY AS
    And finally you change the USING clause:
       USING (SELECT dp_id, dv_id , em_number, email, emergency_relation, option1, status, em_id, em_title, date_hired
              FROM   @tvp) AS [Sourc] ON [Targ].em_id = [Sourc].em_id
    The rest is fine as it is.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Tracking value change in Label control

    Hi,
    Is there any way to determine the bindable value change in a
    Label control automatically and fire any function upon that?
    Thanks!
    ASB.

    Don't know if this is what you are looking for, but it might
    be useful:

  • Updated Table Name Changes Applescript Operation in Numbers 3.5

    I've been using Applescript in Numbers for some time to copy/paste data (set cell values) from one sheet table to another sheet table.
    My original script was heavily cribbed from something Yvan Koenig had posted 2-3 years ago.
    I recently updated to Yosemite and Numbers 3.5 after testing to ensure my original script remained functional (and it did).
    I subsequently updated my source data table by duplicating my old table and editing this new source.
    I then updated my Applescript to to reference the new source table.
    Testing yielded a good functional result, but Numbers changed its behavior by displaying its work while setting values in the target sheet table.
    This obviously slows the script down and adds measurable processing time given the amount of data being moved.
    Does anyone know how I can prevent this behavior from occurring?
    I don't believe I changed anything material in my original script so I'm really not sure why Numbers changed its behavior.
    I have included my script below.  Thanks very much for any help!
    property the_goods : {}
    property patient_name : {}
    property patient_count : {}
    property run_date : {}
    on run
      set sheet_source to "1500 EXPORT"
      set table_source to "OA Data"
      set column_source to 1
      set row_source to 2
      set sheet_destination to "CLEARING HOUSE EXPORT"
      set table_destination to "Export Table"
      set column_destination to 1
      set nb_rows to 0
      set nb_columns to 244
      set patient_sheet to "SESSION DB"
      set patient_source to "User Input Table"
      set patient_tracker to "Tracking Table"
      set source_column to 3
      set source_row to 2
      set destination_column to 2
      set date_column to 3
      set patient_count_column to 3
      set patient_count_row to 3
      set run_date_row to 5
      tell application "Numbers"
      set document_source to name of front document as string
      set document_destination to name of front document as string
      end tell
      tell application "Numbers"
      tell document document_source to tell sheet patient_sheet to tell table patient_source
      set patient_count to value of cell patient_count_column of row patient_count_row
      set run_date to value of cell patient_count_column of row run_date_row
      end tell
      end tell
      set row_destination to patient_count
      tell application "Numbers"
      tell document document_source to tell sheet sheet_source to tell table table_source
      set the_goods to value of cells column_source thru (column_source + nb_columns) of rows row_source thru (row_source + nb_rows)
      end tell
      tell document document_destination to tell sheet sheet_destination to tell table table_destination
      set r to 0
      repeat with one_row in the_goods
      tell row (row_destination + r)
      set c to 0
      repeat with one_value in one_row
      set value of cell (column_destination + c - 0) to one_value
      set c to c + 1
      end repeat
      end tell
      set r to r + 1
      end repeat
      end tell
      tell document document_destination to tell sheet patient_sheet to tell table patient_source
      activate
      end tell
      tell document document_destination to tell sheet patient_sheet to tell table patient_source
      set patient_name to value of cell source_column of row source_row
      end tell
      tell document document_destination to tell sheet patient_sheet to tell table patient_tracker
      set value of cell destination_column of row row_destination to patient_name
      set value of cell date_column of row row_destination to run_date
      end tell
      end tell
      set the_goods to {}
      set patient_name to {}
      set patient_count to {}
      set run_date to {}
    end run

    Here is a simple example that copies values from a source row 3 in Table 1 to a target row 5 in Table 2.
    On my aging MBA it was very fast (about a second) with 150 columns.
    In addition to speed, an advantage of this approach is that you don't have to code table dimensions;  the target table will expand automatically if needed.
    Save the script in a script folder (in my case ~/Library/Scripts/Applications/Numbers) and run it from there by choosing it from the script menu. (Running it from Script Editor will paste the values into Script Editor instead of into Numbers as you want).
    If keeping the original number format is important, substitute 'formatted value'  for 'value' in the script.
    SG
    property src : {d:1, s:"Sheet 1", t:"Table 1", r:3}
    property tgt : {d:1, s:1, t:"Table 2", r:5}
    tell application "Numbers"
      tell document (src's d)
      tell sheet (src's s)
      tell table (src's t)
      tell row (src's r)
      set vv to cells's value -- makes AppleScript list
      set the clipboard to my makeTSV(vv)
      end tell
      end tell
      end tell
      end tell
      tell document (tgt's d)
      tell sheet (tgt's s)
      tell table (tgt's t)
      set the selection range to row (tgt's r)'s cell 1
      tell application "Numbers" to activate
      tell application "System Events" to keystroke "v" using {option down, shift down, command down}
      end tell
      end tell
      end tell
    end tell
    to makeTSV(aLst) -- turns AppleScript list into tab-delimited string
      set oTID to AppleScript's text item delimiters
      set AppleScript's text item delimiters to tab
      set tsvStr to aLst as text
      set AppleScript's text item delimiters to oTID
      return tsvStr
    end makeTSV

  • Tracking Custom field changes

    Hi Experts,
    I need to find when was a value being inserted/updated/deleted for a custom field in a database table.
    E.g. if in KNA1 I have a custom field ZZTEST...
    I need to know when was this field last used i.e. when was the last time that a value was inserted/updated/deleted from this field.
    Is there any standard program/function module which will help us solve this issue?
    Thanks!

    U can track changes of the custom table using change documents.
    Let me explain you tracking process in deatil so that u can look further in that direction. I am taking example of KNA1 table. Only those fields of the table are tracked through change documents for which  change document is checked at data element level. U can find change document check box at data element level under further characteristics tab.Now for all fields of custom table ( z table) for which u want to track changes u need to check this box.
    All the change data for standarad table tracked through change documents is stored in tables CDHDR & CDPOS.
    CDHDR -> Change document header
    CDPOS--> Change document items
    All data is stored w.r.t OBJECTCLAS. OBJECTCLAS groups various tables of similiar business process for tracking changes.
    Whenver u make any changes in fields marked with change document ................. a change number for the table w.r.t to  OBJECTCLAS is generated in CDHDR table.Using this change number and OBJECTCLAS  we can extract all change details from CDPOS table.
    i.e  VERKBELEG is OBJECTCLAS for all SD related tables(vbak ,vbap,vbuk etc...).
    U need to do following actvities to track changes:---
    1>  Got to custom table and at data element level check the box change document.
    2> Go to SCDO and create the custom OBJECTCLAS for ur table.
    hope u understood basic concept behind it and will look in this direction to solve ur problem.

  • How to update the table value in the valuechange event?

    I have an input field in the datatable with the valueChangeListener
    <rich:dataTable id="cart" value="#{cart.cartList}" var="item">
    <h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
    <h:outputText value="#{item.errorMsg}"> </h:outputText>
    in the backing bean
         Item item = (Item) model.getRowData();
    // do some update, if the cost too larger, change to max_cost
         item.setCost(max_cost);
         item.setErrorMsg("Error Msg");
    After calling the valuechange method, the screen output doesn't update the cost.
    How to update the table value in the valuechange event?

    As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.

  • Problem with dg4msql and table-valued functions

    Have configured dg4msql to connect from my oracle db to ms sql server.
    Am able to do simple SELECTs from ms sql tables like:
    select * from "sys"."procedures"@dg4msql;
    or
    select * from "dbo"."SomeTable"@dg4msql;
    But am unable to do a SELECT from a table-valued function:
    select * from "dbo"."GetData"@dg4msql('param1value');
    or
    select * from "dbo"."GetData"('param1value')@dg4msql;
    In both cases I get:
    ORA-00933: SQL command not properly ended
    It does not like the parameters portion of the query ("('param1value')")
    initdg4msql.ora:
    HS_FDS_CONNECT_INFO=[svr1]//mydb
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_PROC_IS_FUNCT=TRUE
    HS_FDS_RESULTSET_SUPPORT=TRUE
    Have tried the other set of params:
    HS_FDS_PROC_IS_FUNCT=FALSE
    HS_FDS_RESULTSET_SUPPORT=TRUE
    Same story. After changing the init*** file have bounced both Listeners (DB and Gateway), reconnected, and re-run the query.
    Have I missed something?
    Any help is greatly appreciated!

    Sorry, but for me it looks you did not get the problem.
    Oracle® Database Gateway for SQL Server User's Guide,:
    11g Release 2 (11.2)
    Part Number E12069-02
    *2 SQL Server Gateway Features and Restriction*
    Result Sets and Stored Procedures
    The Oracle Database Gateway for SQL Server provides support for stored procedures which return result sets.
    By default, all stored procedures and functions do not return a result set to the user. To enable result sets, set the HS_FDS_RESULTSET_SUPPORT parameter value to TRUE.
    PL/SQL Program Fetching from Result Sets in Sequential Mode
    -- Execute procedure
    out_arg := null;
    refcurproc@MSQL('Hello World', out_arg, rc1);
    Somewhere in this forum I've seen a message that the syntax "SELECT ... FROM sp@db(param1, param2)" works.
    Anyway, even with the PL/SQL block the error message is the same - ORA-00933 "SQL command not properly ended"
    and the cursor (* in SQL*PLUS) is put just at the first bracket.
    Edited by: user636213 on Aug 10, 2012 5:17 AM

Maybe you are looking for

  • HT204088 Is there anyway to return a download?

    I purchased a book Saturday thinking it was a audio book then I purchased the audio, I only want the audio not the book can I return a download?

  • Solaris-10 flashinstall, jumpstart, and smf

    I am having problems with jumpstarting flash images on Solaris-10/SPARC. I am not sure whether the problems are related to smf or not but I also do not know how to debug them. I use a fully automated jumpstart installation with a site.xml and a one-t

  • Lenovo ThinkPad X200S Stuck ... !!!

    When I bought my Lenovo ThinkPad X200S, All my friends make fun on me they called me (idiot) because they are Fans for DELL and/or HP ….  They said that this Laptop look like Old style since they Create the first laptop in the world , they was proud

  • After resetting my MAC to factory default how do I reinstall my Creative Suite 5?

    After having to reset my Macbook Pro to factory default, do I need a new product code to reinstall my Creative Suite 5?

  • List VM Images not listing my images

    HI  I am using the virtual machine api on https://msdn.microsoft.com/en-us/library/azure/dn499770.aspx to get a list of all available vm images, but when I call this I am not getting the VM images that I have created and are available on the portal,