Change Tracking - API

Hi all,
I would like to know if  it is possible to retrieve the change tracking information using MDM Java or MDM ABAP API. I quickly had a look at the Java API but didn't find anything relevant to this.
Is there an alternate way to retrieve the information through API?
If SAP didn't provide any API to retrieve this, Is it a suggested approach to directly query the database (XXXXX_Z000) and retrieve the information through the standard JDBC API?
Any suggestions are highly appreciated.
Thanks.

Hi Suman,
There's a change tracking application available with SP05 patch0 onwards that you can deploy on EP. It will display all the information from the change tracking table. Internally, it must be using java/JDBC calls to get that data. But, that API is not yet exposed.
In the absence of any API, the only other approach is to by pass MDM and get information directly from the table.
Regards,
TS

Similar Messages

  • Java api change tracking

    Hi Experts!
    I am using java api in webdynpo application.There is a requirement to to track changes at field\table level.
    I want to know that are there any api's to track changes at field level?
    Thnaks,
    Ravi Shankar puppala

    Hi Ravi,
    Refer /people/balas.gorla/blog/2006/09/08/change-tracking-in-mdm
    Re: MDM Change tracker iview: table dropdown is empty
    Hope it helps.
    Thanks,
    Minaz

  • Not able to view actual Price updated 'Value' in Change Tracker

    I was able to get my Change tracker to work and it is functioning. (SRM 5.0 MDM5.5 )... Configured Portal iViews for change tracker.
    If I change a description I can see it in the change tracker application. But if I try and track a Price change it only shows me a date-time  and user as to I when the price was changed it doesnu2019t show me the actual value changed, for my audit purposes.
    On the portal the change tracker "Field" dropdown shows -> Price Updated. this is what is tracking any change of price.
    In MDM Console-> Admin->Change Tracker I am tracking under Catalog Items: Price information, Price Updated, Special search terms, long description.
    When I look at the Data manager in the Record Detail, I see  u2018Price Updatedu2019 and it only has a Date and time stamp. In this same Record Detail,  I see the field Price Information that contains :Lower bound, Purchasing Info record ID, Purchasing Organization, Amount and Currency.  Amount-> contains the actual price value. This is what i want to see in the portal iView as Old value and New value....this is what I am unable to view? theres one small step i am not doing...
    I am trying to track the actual change in the filed u2018Amountu2019u2026 I have tried to search for it in the Portal iView fields (table, record contains, fields, record)
    cheers
    alex

    Hi Alex,
    I would not here comment on change Tracking functionality but can you suggest another workaround to achieve this requirement. If it fits in your requirement you can go ahead with it.
    In MDM, Create another field in Main table say Initial Price and for already existing field Amount replace its name with Updated Price in Qualified table Price.
    now after this you will see that your by default Updated Price has values as it was your Amount field earlier and Initial Price field as empty. Now for next time, if any record comes using Import Manager then MDM workflow should trigger at Record Import.
    This workflow contains following steps.
    Start(Checkout)>Assign>Stop(CheckIn)
    Assign step should have below expression and assignment:
    Price Information.Updated Price
    Where I am assuming Price Information is the field in main table which is look up to this qualified table Price.
    So in this way you can maintain both existing and updated values of Price and cant then show in your Catalog.
    suppose you have already existing record say 1 which has value of Amount as 20.
    So that means you have Updated Price as 20 and Initial Price as empty(Null)
    Now when same record 1 updates with new Amount say 40, it triggers this workflow on record import which will then assign value of existing updated Price 20 to Initial Field after that Updated Price will update by 40.
    Note: This Assignment works well only if your main table record has this Qualified table link as single record. If your main table record contains more than one qualified links then this Assignment would not work fine. So use only if it fits.
    Regards,
    Mandeep Saini

  • Issue in change tracking table on subscriber after reinitialization the subscriber

    Hi All,
    We have enabled change tracking on the subscriber tables and its getting dropped during a reinitialization.we are running an ETL on the subscriber tables basing on change Tracking.Our Initial ETL runs once and incremental ETL runs after that but
    after reinitialization i am getting fresh data and my initial ETL has already run.So how can i resolve this issue.Can't renireinitialization be done without disabling the Change Tracking.
    Kindly provide your feedback.
    Thanks

    The article property Action if name is in use correlates to the
    @pre_creation_cmd property of
    sp_addmergearticle.
    [ @pre_creation_cmd= ] 'pre_creation_cmd'
    Specifies what the system is to do if the table exists at the subscriber when applying the snapshot.
    pre_creation_cmd is nvarchar(10), and can be one of the following values.
    Value
    Description
    none
    If the table already exists at the Subscriber, no action is taken.
    delete
    Issues a delete based on the WHERE clause in the subset filter.
    drop (default)
    Drops the table before re-creating it. Required to support Microsoft SQL Server Compact Subscribers.
    truncate
    Truncates the destination table.
    Brandon Williams (blog |
    linkedin)

  • Issue in Change tracker application

    Hi all,
    We have enabled Change tracking in our repository when it was enabled there were only 3 Display fields in our repository and the tracking was done as is in the change tracking application under the column Record shows all the Display fields.
    Now because of business requirements we have activated another field in our repository as a Display field, now when i login to change tracking application old records under Record column still shows the 3 Display fields in the Record column of the change tracker application.
    I went and changed a record which falls in the Change tracking criteria, now i see 4 Display fields in the Record column of change tracker application as there are 4 display fields currently.
    There is an in consistency in the data in the application now for few records there are 3  and 4 fields in the record column. Is this how the system behaves?
    I think the logic is like this when ever there is a change happening in the repository, insert query is used to update the A2I_CM_History table with the existing data(at that moment how many fields were enabled as  DISPLAY )with out any relationship to the Main table Display fields. Please correct me if i am wrong, it was just an assumption.
    If any workarounds to this problem will be of a great help.
    regards
    Sowseel

    Hi Gabor,
    Thanks for your reply!
    We have checked that note and we have indexes existing for few other fields as well in the table, but still we are facing the same issue. 
    Thanks & Regards,
    Ravi

  • Change Tracking in SQL 2012 - Behavior Change

    Hi,
    We observed some change in behavior for Change Tracking feature in SQL 2012 Express. Sequence is as follows,
    CT is not enabled at DB level. (Of course at table level too)
    Created and populated table CTTEST with some rows, say 10 rows
    Enabled CT at DB level
    Enable CT for table CTTEST
    Queried change tracking data, using change table function (select CT.* from CHANGETABLE(changes CTTEST, 0) CT). No rows returned. Perfect.
    Updated few existing rows
    Queried change tracking data using CHANGETABLE function as above. Now it returns the modified records. But SYS_CHANGE_OPERATION column shows as 'U', indicating update. Same scenario was tested in SQL 2008 Express, and we got SYS_CHANGE_OPERATION column
    as 'I', indicating as Insert. 
    Is this a change in behavior? Can somebody clarify this?
    Note: SQL Version is, "Microsoft SQL Server 2012 - 11.0.2100.60 (X64) Express Edition  (Build 7601: Service Pack 1)"

    Please note that I am not talking about CDC, but CT - Change Tracking and that too in Express edition. 
    Yes, I know, when we update primary key value, we will get a delete and insert transactions in CT. But my scenario is different. I am updating the rows, which are already available prior to enabling Change Tracking in that table. In that case only, I am
    observing this. 

  • Change Tracking System in SQL Server 2012

    Hi,
    I have enabled change tracking to one of the database with retention period 1 day and auto clean is true. As per this setting changed data of one day old should get cleaned up automatically. But i am able to see 4 days
    old data also using CHANGETABLE function. Let me know is there any other setting or is this an issue in SQL server 2012 which quires some patch?
    SQL Server configuration: SQL Server 2012, Enterprise Edition, 64 bit.
    Thanks in advance for the support.
    Aruna Veluru

    please paste out:
    select * from sys.change_tracking_databases

  • Vendor changes tracking, Payment term filtering, Vendor listing

    Hi All,
    Need somebody help on the following points,
    1-  While changing the vendor via "process vendor and Bidder" (Business partner maintenance) transaction in EBP, the selection of payment term is restricted.  That is in SPRO I can see lot of payment terms, but while changing the vendor some few payment terms are coming.  Where is the filter?  Can anybody guide me.
    2- Vendor changes Tracking.  In our project somebody has changed frequently the vendor indicators and details in EBP via process Vendor and Bidder(BP maintenance) transaction.  But I couldnt able to track which fields are changed and by whom like in R/3.   I tried in BP also, but only the address changed details are coming there.  Can anybody guide me how to track the changes, if somebody changed somefield in EBP directly?
    3- Vendor list -  I want list ERS activated vendor in EBP.  How to get the list of vendor for which ERS indicator is active? Please guide me.
    Many thanks in Advance.
    Regards
    Shunmugaraj. T

    Hi
    Please refer to standard transaction - BBP_PD.. give any Shopping cart number, which is approved by a list of buyers, managers, etc..
    Incase the changes are made, it will display all the details related to them in that case.
    Understand its logic by putting break-point inside.
    <b>Incase you are using SRM 5.5 version, there is a  report, which displays the changes made to the Purchase orders with old and new values.
    Report name -> TERM_DISPLAY_CHANGE_HISTORY</b>
    <i>Also please refer this as well.</i>
    <u>Say you use this Function module for the change object - BUPA_BBP0060</u>
    This sample code will all the changes, if any, made to the object, with the old value and new values.
    Here is the sample code for the FM ->
    <b>CHANGEDOCUMENTS_TO_OBJECT        </b>
    data: listtitle(80)    type c.
    data: objectclass      like cdhdr-objectclas.
    data: objecttitle(20)  type c.
    data: con_keylength(2) type n value 10.
    data: cursor_field(20) type c.
      listtitle    = 'Changes made'.         
      listtitle+22 = vibebe-sberi.
      listtitle+34 = vibebe-xberibz.
      condense listtitle.
      objectclass = 'BUPA_BBP0060'.
      call function 'CHANGEDOCUMENTS_TO_OBJECT'
           exporting
                callmodus         = callmodus
                cursor_field      = cursor_field
                keylength         = con_keylength
                listtitle         = listtitle
                objectclass       = objectclass
                objectid          = objectid
                objecttitle       = objecttitle
           exceptions
                error_in_function = 01
                invalid_field     = 02
                others            = 03.
      if sy-subrc <> 0.
        message id sy-msgid type 'S' number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • 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

  • How to multiplex the block change tracking file?

    Hi,
    I have a question to change block tracking feture.
    The normal way to enable block change tracking would be:
    ALTER DATABASE ENABLE BLOCK CHANGE TRACKING
    USING FILE 'mydir/change_track.f'
    REUSE;
    What if my harddrive is gone?
    Is there anyway to define more than one destinitaion like for archive log files?

    The difference is... archive log files can contain irreplaceable data.
    With Block Change Tracking the data is not irreplaceable , just run full RMAN backup and then regen the file. <- IMHO

  • Pandora Randomly Changes Tracks

    Has anyone else had issues with Pandora changing tracks in the middle of the song?  Each track I start to play goes for about 20 seconds and then changes to a new song.  I have been through the settings and haven't found anything.  I thought maybe I was in a sample mode or something but I have no idea what's up.  Thoughts from anyone?  Thanks in advance for the help.

    Hmmm.  Thanks for the reply but I'm still not seeing it.  I have normal pandora not pandora one.  The only options I see in preferences  is Cell Network Audio Quality, Auto-Lock, and Low Memory Settings.

  • Change Tracker via Web Pane not working (when using multiple DF fields)

    All,
    We are using MDM 5.5 SP06, version 5.5.62.53
    I have configured the Change Tracker so that I can use it in the Data Manager Web pane. I also set the configuration options of the Data Manager for the "Web Pane URL for selected records" to this link, so everything should work fine (it is working for another reporistory with just one DF field in the main table).
    The main table (for which I want to track the changes on) has two DF fields. The first DF field of the main table is a look-up field (where the look-up table itself has two DF fields as well) and the second DF field of the main table is just a text field.
    The URL link to the Change Tracker makes use of the parameter: searchrecord=<f:n>, as described in the reference guide for MDM Console.
    When I select a record in the Record pane in the Data Manager and go to the Web Pane, then the Change Tracker is showing, but the change history for that record is not shown in the Change Tracker!!
    This is caused by the fact that the records in the History table are stored with the following information in the "record" field (example): 113786=1000010 - Enfa B.V, 100075. Appearantly this is a combination of the two DF fields of the main table, and because the first DF field is a look-up it shows the values of the DF fields of the look-up table as well (including the ID of that look-up record)!!
    I tried the following in the URL link: searchrecord=<f:n>,<f:n2>, but then the Change Tracker receives the following value (which is an invalid value): 1000010, Enfa B.V, 100075
    How can I configure the URL link in the Console in such a way that the Change Tracker recognizes the searchrecord parameter as a valid entry (because when you start Change Tracker in separate browser it expects value of e.g. 113786=1000010 - Enfa B.V, 100075 in the "record" search field, otherwise it does not find any records).
    Or do I need to change the DF fields and make an MDM-ID field to be the only DF field, and use that field in the searchrecord=<f:n> parameter???
    Has anyone any experiences with this? Any suggestions how to solve this issue?
    Thanks in advance,
    Marcel

    Hi,
    We are indeed tracking changes on the main table. It is the standard SRM-MDM Catalog repository where Supplier and Supplier Part Number are the DF fields of the main table. From standpoint of the datamodel these two DF fields are correct, since these two fields make up an unique record.
    Of course I can change the DF field and make the MDM-ID the DF field, but we want to stick as much as possible to the standard SRM-MDM Catalog!
    It would be better if the URL to the Change Tracker has additional parameters that can be filled (like the Record Contains field instead of the Record field) or that you could specify the MDM-ID as parameter (without having to change the DF fields of the main table) so that the Change Tracker knows exactly for which record we require the change history!
    I will investigate futher and see if we can live with the MDM-ID as the only DF field.
    Thanks anyhow for your reply.
    Regards,
    Marcel

  • HT3659 My Soundtrack pro looses the mic on AJAKona.  It will appear as an input only after clicking on New audio file, then ok, Recording alert appears and then I have my AJA KONA3g back as an input option. loose it again if I change track

    My Soundtrack pro looses the mic on AJAKona.  It will appear as an input only by clicking on New audio file, then ok,  and an Recording alert comes up.  But if I change track I loose the AJA again. How do I fix this?

    Finally found the answer. The recording was done at 48, the audio/MIDI settings were set to 48, but the sampling setting on the export was not, causing everything else to break down. Once all three matched the export worked and the playback audio worked without opening the clip editing screen.

  • Change Tracking Option in Console

    I have enabled change tracking option in console at Table and field level for add/modify/delete.
    Please let me know where I can see the logs for the changes accomplished.

    Hi Sudha,
    See as per your console settings, everything happened at Database Level table A2i_CM_History so its up to you how do you want to see these record changes either through some Portal application for end user or at database level or through some other UI.
    [How to Configure SAP MDM Change Tracker for Any Repository to bring this changes on Webdynpro Application for end user|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/807861ac-f941-2c10-8f8d-c57f9d421b99?quicklink=index&overridelayout=true]
    Please refer this blog if you want to see these changes at the database level just for complete understanding.
    /people/balas.gorla/blog/2006/09/08/change-tracking-in-mdm
    See figure 5 of this blog before data changes in Data Manager and the same data record in figure 9 of database.
    Now when he make changes to record in figure 10 Data manager the same gets reflected into Database figure 11.
    In fig 11 , please carefully see all the columns NewValue, OldValue, EventTime, FieldName, UserName etc.
    Hope you got now clear idea about change tracking in MDM
    Regards,
    Mandeep Saini

  • Change Tracking internals behave differently, SQL Server 2012 vs SQL Server 2008

    <original post by Glenn Estrada>
    Reposting an issue from Stack Overflow that a coworker and I are dealing with.
    In trouble shooting an issue with synchronizing disconnected devices with a central database server using Sync Framework 1.0, we are experiencing a problem after upgrading to SQL Server 2012 on the server. It appears that the CHANGE_TRACKING_MIN_VALID_VERSION
    is returning a value 1 higher than it should (or at least than it did prior to the upgrade.)
    I have been working thru Arshad
    Ali's great walk thru example of how to set up a simple example.
    I have run the scripts from #1 thru #5 to insert, delete, and update a row in the Employee table in both a SQL Server 2008 and a 2012 environment.
    In 2008, the following statement returns a 0:
    SELECT CHANGE_TRACKING_MIN_VALID_VERSION(OBJECT_ID('Employee'))
    In 2012, it returns a 1.
    In working thru a few more scripts (6-8) in the tests, I set the retention period to 1 minute to hopefully force a cleanup action. I left for the day and apparently it ran overnight.
    In the 2008 instance, the CHANGE_TRACKING_CURRENT_VERSION and the CHANGE_TRACKING_MIN_VALID_VERSION are equal (11). In the 2012 instance, the CHANGE_TRACKING_MIN_VALID_VERSION is one higher (12) than the CHANGE_TRACKING_CURRENT_VERSION (11). This could have
    an impact to the synchronization process when a database is idle for extended periods of time. And we have found that process could get caught in a loop, especially when the following test is performed to determine if a re-initialization, as opposed to synchronization,
    is required:
    IF CHANGE_TRACKING_MIN_VALID_VERSION(object_id(N'dbo.Employee')) > @sync_last_received_anchor
    RAISERROR (N'SQL Server Change Tracking has cleaned up tracking information for table ''%s''...
    Has anyone else experienced this change in behavior? Does anyone have an explanation?

    <original post by Glenn Estrada>
    Reposting an issue from Stack Overflow that a coworker and I are dealing with.
    In trouble shooting an issue with synchronizing disconnected devices with a central database server using Sync Framework 1.0, we are experiencing a problem after upgrading to SQL Server 2012 on the server. It appears that the CHANGE_TRACKING_MIN_VALID_VERSION
    is returning a value 1 higher than it should (or at least than it did prior to the upgrade.)
    I have been working thru Arshad Ali's
    great walk thru example of how to set up a simple example.
    I have run the scripts from #1 thru #5 to insert, delete, and update a row in the Employee table in both a SQL Server 2008 and a 2012 environment.
    In 2008, the following statement returns a 0:
    SELECT CHANGE_TRACKING_MIN_VALID_VERSION(OBJECT_ID('Employee'))
    In 2012, it returns a 1.
    In working thru a few more scripts (6-8) in the tests, I set the retention period to 1 minute to hopefully force a cleanup action. I left for the day and apparently it ran overnight.
    In the 2008 instance, the CHANGE_TRACKING_CURRENT_VERSION and the CHANGE_TRACKING_MIN_VALID_VERSION are equal (11). In the 2012 instance, the CHANGE_TRACKING_MIN_VALID_VERSION is one higher (12) than the CHANGE_TRACKING_CURRENT_VERSION (11). This could have
    an impact to the synchronization process when a database is idle for extended periods of time. And we have found that process could get caught in a loop, especially when the following test is performed to determine if a re-initialization, as opposed to synchronization,
    is required:
    IF CHANGE_TRACKING_MIN_VALID_VERSION(object_id(N'dbo.Employee')) > @sync_last_received_anchor
    RAISERROR (N'SQL Server Change Tracking has cleaned up tracking information for table ''%s''...
    Has anyone else experienced this change in behavior? Does anyone have an explanation?
    sql-server sql sql-server-2012

Maybe you are looking for

  • Reg: webservices  error  in  xi

    Hi , Iam new to xi and  had developed a http to web service scenario and the response i got an error Result:   <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.

  • Roughcut sequence from Prelude does not appear to be "seamlessly" editable in Premiere Pro CC

    Hi, Please Help. I have been working on a film and created the entire rough cut, using both entire clips and sub clips, in Prelude CC. Once I sent the rough cut to Premiere Pro CC, I expected that I could "seamlessly" (as advertised) continue editing

  • Installation requirements - Headstart 6.5.3.0 for 9i

    Hi, In the installation guide: INSTALLATION INSTRUCTIONS FOR ORACLE HEADSTART 6.5.3.0 for 9i, one of the requirements is : Oracle 9iAS infrastructure 9.0.2.0.1. Is it really necessary to have the Oracle 9iAS infrastructure or is the Oracle 9iAS Forms

  • Passing parameters to data trigger

    I've seen many posts regarding this, but the parameters seems to be coming from user-supplied values. Is there a way to pass an element from the data template as the parameter. I want the the data trigger to be fired for each unique value of a certai

  • Errors got when doing the implementation process

    Hi to BW Experts,           when we are doing implementation project ,what the errors mainly we can get from Lo extraction?i think no psa tables exist and some caller id errors will come when source system is not in working condition ? give some main