ABAP API's - URGENT- Tracking of changes in MDM.

Hello Experts,
I want to track all the changes made in MDM In ECC. I know that i can do it using ABAP API's tracking feature.
I have already established  the connection between ECC and MDM.
I would want to know all the exact steps to enable tracking and monitoring through ABAP API's.
Helpful answers will be highly appreciated.
Thanks and Regards
Nitin jain
Edited by: Nitin Jain on Jan 29, 2008 4:45 AM

Hi Nitin,
As you have already connected to MDM through R/3.
For Changing Tracking, you have to call the function  'MDM_ADMIN_RETR_CHANGE_TRACKING' for that you have to use structure MDM_AUDIT_INFORMATION.
I am not quite sure will it work. Please try.
Hope it helps you,
Regarding CCMS montoring in MDM ABAP APIs, refer the link: 
How TO Guides available on Service Market Place.
https://websmp210.sap-ag.de/~sapidb/011000358700004121872006E --> operations
Here apart from How to guides you will also get
HowTo_CCMS_Trace.pdf : It will guide you if there any errors come in connection b/w R/3 and MDM. it does the following:
. Collect and evaluate application log data
- Collect and evaluate kernel trace data
- Problem solution showcasecomes
if your HowTo_07.pdf on Tracing report is working fine then you can identify whether is there any error coming or not.
Lets take an example : if you Shut down the MDM Server.
Then in R/3 On running HowTO_07 program:you will get ERROR DURING CONNECT: 3 , ERROR DURING DISCONNECT: 3
The Reason for this is the unavailable server. but here you will not get more details. For this
After implementing HowTo_CCMS_Trace guide:  under transaction RZ20 : In Application Trace you will see error Partner not reached (hostXXX, Service 20005) and
In Kernel WorkProcess Trace: You will get error: MDE Kernel Error, NiRaw2ConnectError: the attempt to establish a socket connect caused an error.
So in this way you evaluate the error in more details.
Note: For this you should have authroize to use the transaction RZ20 in R/3 System.
Hope it helps you,
Mandeep Saini.

Similar Messages

  • ABAP API  MDM  vs Standard MDM !!!

    Maybe the expression that I am using is not the best one and hope that someone can give me any clarifications.
    What I am intending is to know:
    1)     If using ABAP API is the best way to implement MDM purposes or if he’s an alternative to implement MDM using ABAP API?
    2)     In the proof of concept that I am implementing, I only use the principal components of MDM (Import, Data Manager, Syndicator and Console) in order to find the solution of our enterprise business.
    3)     Using ABAP API, I have to use programming method, implement by myself some functionalities in ABAP to connect and resolve my MDM purposes.
    4)     If am not using ABAP API (The way that I am proceeding right now) , I have to use the standard software component (enterprises services ) of the  R3 Systems in order to connect MDM with client systems.
    Thanks guy for your assistance. We just want to know the best way to proceed with MDM .

    The best method for implementing MDM depends on the requirements of each scenario.  For example, if you have a program in R/3 that needs to pull some data from MDM for analysis then perhaps using the ABAP API would be the best route to take.  If you need to transfer materials or vendors from MDM to various R/3 systems, perhaps using XI would be the best route to take.  I would recommend looking at the <a href="https://websmp106.sap-ag.de/~sapidb/011000358700004656452006E">IT Scenario Configuration Guide</a> to get a better understanding of SAP's recommended practices given different scenarios

  • Urgent: track changes made in qp02

    hi all
    i want to track the changes made in qp02
    like we did in purchase order or req in the environment menu
    i know the tables but i want to know
    whether it can b shown in somewhere in tcode.
    its very urgent
    regards

    Hi,
    Look for the change history in change header and change positions.
    The tables are CDHDR and CDPOS.
    Regards,
    Renjith Michael.

  • MDM ABAP APIs Issues;

    Hi All,
    1. Can we Create Lookup Field in the main table which is
    link  to Lookup Sub table Using MDM ABAP APIs.
    2. We have to Assign FieldQualifiedFlatLookup entries and also qualifiers manually by going into MDM Data Manger as given in HowTo_13.Pdf. Can we achieve this Only Using MDM ABAP APIs.
    3. What is the Role of Value Check inHowTo_19.Pdf.
    4. Can change tracking achievable using MDM ABAP APIs
    Assure Ponits will be rewarded for helpful Answers:
    Thanks in Advance,
    Mandy

    Hi Mandy,
    I would like to help you out on your last query.
    ABAP API's has provided with 2 methods which are related to Change tracking.
    The 2 methods are:
    1. RETRIEVE_CHANGE_TRACKING: You can use this method to update the MDM Change tracking metadata.
    2. RETRIEVE_UPDATE_TRACKING You can use this method to retrieve the MDM Change tracking metadata.
    Along with this, you can use the tracking and CCMS Montioring functionality to keep a track on changes done in MDM through ABAP API's.
    I am also attaching a link to a very gud webinar by Klaus David on ABAP API's:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00dd47bd-f2f1-2910-5eab-e9ca52465ae4].
    Kindly go through it.
    I hope it helps.
    *Please reward points if found useful.
    Thanks and Regards
    Nitin Jain

  • Program _____.MDS not registered..PI 7.1 EHP 1-MDM 7.1 Integration-ABAP API

    Hi,
    I am on the way of integrating ABAP API in PI 7.1 EHP 1 with MDM 7.1
    I installed MDM ABAP API in PI system.
    In transaction MDMAPIC, created MDM Server Connection with default port, DBMS Hosts and MDM Repository.
    After I did the above tasks, I tested the RFC Connection, But its failed with the following error.
    Connection Test MDM_API_GEN_DEFIANCEDEP  
    Connection Type TCP/IP Connection  
    Logon     Connection Error
    Error Details     Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67
    Error Details     ERROR: program DEFIANCEDEP.MDS not registered
    Error Details     LOCATION: SAP-Gateway on host DEFIANCEDPI / sapgw00
    Error Details     DETAIL: TP DEFIANCEDEP.MDS not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 87
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1714
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 711
    Error Details     TIME: Sat Mar 12 13:53:55 2011
    Error Details     VERSION: 2
    Appreciated if replied with the proper resolution at the earliest.
    Thanks in Advance
    Pradeep Shetty

    Hi Kanstantsin Chernichenka,
    Thanks for your reply.
    I tried the given suggestion. And even restarted the PI and MDM system.
    Still, I am facing the same problem.
    My allow.ip file contains
    122.183.187.24;  
    122.183.187.25;
    115.242.211.112;
    115.184.2.47;
    My MDS.ini file contents are
    [MDM Server]
    XCS Ini Version=1
    Accelerator Dir=E:\usr\sap\MDM\MDS02\mdm\accelerators
    Log Dir=E:\usr\sap\MDM\MDS02\log
    Report Dir=E:\usr\sap\MDM\MDS02\mdm\reports
    Archive Dir=E:\usr\sap\MDM\MDS02\mdm\archives
    Distribution Root Dir=E:\usr\sap\MDM\MDS02\mdm\distributions
    Transport Dir=E:\usr\sap\MDM\MDS02\mdm\transport
    Modifications Dir=E:\usr\sap\MDM\MDS02\mdm\modifications
    Lexicon Dir=E:\usr\sap\MDM\MDS02\exe\Lexicons\
    Extra DBConnection Validation=True
    Log SQL Errors=True
    String Resource Dir=E:\usr\sap\MDM\MDS02\exe\LangStrings\
    Stemmer Install Dir=E:\usr\sap\MDM\MDS02\exe
    Wily Instrumentation=False
    Wily Instrumentation Level Threshold=10
    SLD Registration=True
    Skip Unchanged Records=False
    Autostart=0
    MDS Ini Version=1
    RELEASE\UseAssert=True
    Tracing Level=3
    LogViewer Format Logging=False
    LogViewer Format Tracing=False
    Trusted SAP Systems=DPI
    TrustFiles Dir=E:\usr\sap\MDM\MDS02\config
    Max Threads Per Operation=Auto
    Lock Account After Failed Password Attempts=5
    Lock Account Duration=1800
    Minimal Password Length=5
    Password Expiration Days=90
    Password Expiration Warning=7
    Disable Read Access To Corrupt Repositories=False
    MDS Scone=
    Log SQL Modifications=False
    Maximum DBMS Bind Count=512
    Oracle\Dll=OCI.DLL
    Allow Console to Retrieve Files=True
    Oracle Tablespace Files=1
    Default Interface Language Code=eng
    Default Interface Country Code=US
    Client Ping Timeout Minutes=0
    Inactive Client Timeout Minutes=30
    Value Retrieval Threshold=0
    Protect Family Nodes With Locked Data=False
    Number Of Stemmers Per Language=2
    TrexDllPath=
    Import Slice Size=2048
    Bulk Import Silo=True
    Safe Silo Mode=False
    Enable Change Stamp Logging=False
    Always Verify DBMS Connection Before Executing SQL Statements=False
    Disable Read Access To Repositories That Require Restart=False
    Family Retrieval Threshold=30000
    Enable Client Dictionaries=False
    Restricted Url For Client Export=
    Index_Page_Margin=10
    Default Slice Size=500
    Default Slice Wait Time MS=300
    Enable Slicing For Non-Bulk Operations=False
    Multithreaded Matching=True
    SAP RFC Gateways=
    [MDM Server\Databases\MDM_1MDMORCL_5_3_4_3]
    Port=2345
    Login=SYSTEM
    Password+=ES066H2NVHDCFSJ206LJ9I995SLBVSA21OMQPM0
    Stemmer Language=
    Stemmer Variant=
    Valid Keyword Chars=abcdefghijklmnopqrstuvwxyz0123456789
    Max Large Text Length=250000
    Number of Rows Per Fetch=100
    Max Initial MB to Retain=4
    Max Send Failure MB to Retain=4
    Workflow Detailed Report=False
    Mail Server=
    Mail SMTP Timeout=1
    Here I am requesting you to send your valuable feedback at the earliest.
    Thanks
    Pradeep Shetty

  • How to Track the changes made to the custom table field value

    I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
    Thanks & Regards,
    Kranti

    Hi Satya,
    These are the steps you've to do.
    1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
    2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
    3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
    4. You can keep track of the changes made to the table by monitoring these tables.
    Regards
    Anil Madhavan

  • ABAP API Connection Problem

    Hi folks,
    I am working with the MDM ABAP API and there are some errors that do not make any sense to me.
    Here is a list with the technical information:
    MDM 5.5 SP 5 (5.5.40.83)
    SAP NetWeaver 2004s (700)
    MDM API 555/700
    I have set up the Repository information in MDMAPIC, using a new created provider of the type CL_MDM_PROVIDER_55_SP05_PL00 ( MDM5.5  SP05 Patch 0, Server Build  5.5.40.79  -  5.5.40.xx ).
    I then have tried to establish the connection to the server and repository and so on according to the HowTo Guides.
    When I finished yesterday, I managed to connect to my local MDM Server and to retrieve the names of the mounted repositories, but I was not able to retrieve records from a certain repository. When I wanted to solve that problem today, I was not able to connect to my MDM server anymore. There have been no changes in the coding or the configuration since then, only the MDM server has been restarted and the repository has been reloaded. But apart from that, nothing has changed but still I am not able to establish the connection anymore ( Connection refused ). Then I have tried to connect to another MDM server, but there I get another error ( Connection is not trusted ), although I have rechecked a dozen times that there is the allow.ip with the proper ID of my SAP system and the according user in the MDM repository.
    From time to time, the errors change without changing anything else, just by trying to execute it a couple of times. I have figured out, that sometimes I get an error out of the above mentioned provider class ( CL_MDM_PROVIDER_55_SP05_PL00 ). Is it possible, that the MDM API is not working properly with the PL00?
    Hints are appreciated a lot...!
    Thanks and best regards,
    Sabine

    Hi,
    Check whether the server is down or not. If the server is down, u will get the same error message
    regards,
    Nikhil

  • Abap API

    Hi All,
        I am working on a scenario where I need to use abap api to fetch data from mdm system.
      Here have coded to fetch data from mdm system and done the required configurations in mdmapic transaction.  but I get a dump.
    It says "BSEI_MSG_BADCRC" error.
    Kindly someone help me resolve this error.
    I have done mdmapic configuration to use the provider class of sp06 . I also used the provider class of sp05 .both give the same error.
    The build of SAPMDM is 5.5.40.83 and the provider class of spo5 in mdmapic has a build 5.5.42.79 .should the provider system have the same build .  I also checked for add on with that build in service market place. It was not available.
    Regards
    Sudheendra

    Hi,
    I strongly feel it comes just because of Version Mis-matching. Your MDM Server and Provider Class shold be of same Version. as CRC always indicates Version Mismatching.
    E.g. For MDM server version 5.5 SP6 patch1 then install MDM_Tech 5.5.5_640:patch004 or MDM_Tech 5.5.5_700:patch004 as per your R/3 system release.
    you could check it using HowTo_07. pdf , on executing this report you could know connection to your MDM Server is estabilishing Properly or not. here in this report you have to change one Parameter logical object name which you have given in transaction MDMAPIC
    you could find more Add-on patch on Service Market Place while searching in Searching for All Categories. here search using MDM_TECH
    Hope it will Help you,
    Rewards if useful....
    Mandeep Saini

  • ABAP API' s Problems

    Hi All,
    I am trying to retrieve data from MDM using ABAP API's .
    I am stuck with couple of scenarios:
    1.How can we pass Boolean field to retrieve the data from MDM? 
    2. I  need pass a date value ....the last updated date should be greater than last job run date ...based on this query i need to retrieve data from MDM...
    please let me know your ideas  ....

    Hi,
    1.How can we pass Boolean field to retrieve the data from MDM?
    For retrieving Boolean field you can use Retrieving Simple Types
    CALL METHOD lr_api->mo_core_service->retrieve
    EXPORTING
    iv_object_type_code = 'Products'                        // Main Table
    it_result_set_definition = lt_result_set_definition
    it_keys = lt_keys
    IMPORTING
    et_result_set = lt_result_set.
    If you are using MDM 7.1 Please refer this for more details: You need Service Market Place ID for this.
    https://websmp210.sap-ag.de/~sapidb/011000358700001887232008E
    https://websmp210.sap-ag.de/~sapidb/011000358700001718602008E
    if you are using MDM 5.5 Please refer this for more details:
    https://websmp210.sap-ag.de/~sapidb/011000358700000271912007E Refer HOWTO_8
    2.  I need pass a date value ....the last updated date should be greater than last job run date ...based on this query i need to retrieve data from MDM...
    I am not quite sure how it can be done because here we don't have any Suppress unchanged records option as we have in syndicator which take care of syndicating only new and changed records to your target system everytime. Here we have just methods and classes which will retrieve all the records.
    You can invoke validation in MDM 7.1 using ABAP APIs but question is how will you make sure that this validation run on the basis of change pointers i mean for records which have already retrieved from MDM using MDM ABAP APIs. you can print record id for failed validations.
    Best Regards,
    Mandeep Saini

  • ABAP APIs for MDM Workflow Modification

    Hello All
    I require a help from all of you. Currently I have a particular business case where I need to configure the MDM workflow & do changes & modifications in it via ABAP APIs. Currently we are having Java APIs in plcae.
    Can you please tell me whether we have some ABAP APIS for this MDM Workflows, if yes what are their EXact names & functionalitites.
    Also can we download them from Service Marketplace.
    Please reply ASAP.
    Regards
    Madhurim Basu

    Hi Madhurim Basu
    ABAP API(SAP MDM 5.5.-7.1) are'nt support workflow management
    SAP MDM(5.5-7.1) JAVA API  are support workflow
    More about JAVA API you can read from:
    http://help.sap.com/javadocs/MDM/current/
    Regards
    Kanstantsin

  • ABAP APIs for DDIC?

    Hi all,
    Is there any ABAP API for DDIC? I wanted to manipulate DDIC structures and types from code, for example, change names, create a new DDIC object, add a new field to an existed table.
    I guess we have that but I didn't find any documents on this topic. Please help, Thanks a lot.
    Best regards.
    Message was edited by:
            Xiaoming Wang

    Hi,
    please check out the link below it will help you
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fa/35b63a23271742e10000000a11402f/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601ddb01-e5c8-2910-d981-b190b51fca44
    **************PLEASE REWARD POINTS IF THE INFORMATION IS HELPFUL TO YOU*************

  • Updating value of for taxonomy attributes via ABAP API

    Hi ,
    We have table Product hierarchy repository in that we have Products table and ProductHierarchy table which is of type taxonomy .
    The product hierarchy is assigned to each product as lookup taxonomy field.
    Can anyone please let me know how we can update the values assgined to the attribute throght ABAP API.
    Example we have the attribute called color which assigned to Product Hierarchy 'A' and this product hierarchy 'A' is attached to Material '111' and the attribute color will have value 'Blue' for material '111' now I want to update the value of color to 'Red' . How we can achieve this via the MDM ABAP API.
    Regards,
    Amar Kamat

    If your question is how to change the value of an attribute for a specific product this is the solution:
    Use IF_MDM_CORE_SERVICES->RETRIEVE( ) to retrieve the product record so that you have a populated structure of type MDM_PARAMETER. In this structure you will find the entry relating to the taxonomy field. The VALUE attribute of this line entry will be a reference to type MDM_TAXONOMY_ENTRY.
    At this point you will want to take the TAXONOMY_ENTRY_ID and TAXONOMY_TABLE_CODE of this structure to retrieve the attributes. Using IF_MDM_CORE_SERVICE->RETRIEVE_ATTRIBUTES( ) and the attributes mentioned before you will get the results into a table of line type MDM_ATTRIBUTE_INFORMATION_SL.
    Select the appropriate line from the result table based on the attribute name (ATTR_NAME). In the record of type MDM_ATTRIBUTE_INFORMATION_SL you will now want to select the appropriate line from the table found in field ATTR_FEATURE_DOMAIN. Find the appropriate attribute (in this case color) by VALUE_NAME and copy the VALUE_ID (type MDM_UNIQUE_ID).
    Now back to where we left off in the original record (MDM_PARAMETER), loop through the table found at field TAXONOMY_ATTRIBUTES of the MDM_TAXONOMY_ENTRY looking in ATTR_INFO for the correct ATTR_NAME. When the correct entry is found, update the ATTR_FEATURE_DOMAIN with the new VALUE_ID and viola, you've got a mdm record ready to be updated.
    Simply call IF_MDM_CORE_SERVICE-UPDATE( ) with the modified record and you've updated your attribute assignment.
    In short:
    Navigate to the MDM_TAXONOMY_ENTRY of the product record
    Retrieve the attributes from the corresponding taxonomy table and navigate to the unique ID of the desired attribute
    Navigate to the attribute within the record's MDM_TAXONOMY_ENTRY and update the VALUE_ID with the new unique ID
    Update the product record
    Regards,
    Brian Dennett

  • Remove ABAP API patch

    Is that possible to remove a ABAP API patch after installation in the client system?
    We want to roll back to the previous version.
    Thanks

    Hi,
    As per my knowledge, it is not possible to remove a ABAP API latest patch after installation in the client system. either as i said above you have atleast try this, may be it works or not. I mean not ensure whether changes made by the newer patch will be removed totally or not.
    Another Workaround could be installed that R/3 sytem again on any other Machine and then using client import export or remote client copy. you can send data to your Newly installed system , here you can install your old Patch as this system doesn't contain any Patch information.
    Hope it will Help you,
    Rewards if useful.....
    Mandeep Saini

  • Config reqd to track the changes to Bak details with report  S_AHR_61015505

    Hi All
    I have a need to tack the changes to 'Bank Details'. I have tried using the report 'S_AHR_61015505' , it works fine for the 'Addresses' info type but not for Bank details. I presume I need to do some config to activate the change log to track the changes to Bank info using this report.
    Can any body please tell me what I exactly I need to do  for this .
    Thanks
    Srinivas

    as suresh said follow the steps in img  then click on Field group definition. There in infotype 9(Bank Details ) check for Field group is 01 and maintain Fields
    Field Group   Field Name
    01                 BANKL
    01                 BANKN
    01                 BANKS
    01                 BKONT
    01                 EMFSL
    01                 ZLSCH.
    I hope this answers your question
    if so close the thread
    ---Bob Radi

  • How to track the changes at report level

    Dear Team ,
    Could you please help on below scenario.
    1.Is there any way to track the changes for each report wise ? Does it possible using the audit database?
    2. how to get list for report names by each folder wise( public folders) ?
    Thanks & Regards
    Venkat

    Hi Venkat,
    1.In Webi we have a option called Track click that option to enable you to  track the changes in your report and also in Tracking option you can change the color as you preferred.
    2.Once report is ready to export click (Ctrl+E) and click Public folder then select New folder option available in right corner and create new Folder and export your report.
    Thanks
    Vignesh R

Maybe you are looking for

  • How can you minimize all open pdf files at once in Acrobat 10?

    My company just switched us to Acrobat 10 from 6.  Now if I have a number of pdf files open I have to minimize each of them individually.  Before all you did was click the minimize button and the program just minimized to the taskbar.  How do you do

  • How to optimize Windows NT 4.0 on Windows 95 hardware (iOS 4.1 on 3G device

    I got to thinking how much this reminded me of “back in the day”, when Microsoft released NT 4.0, saying most 95 hardware would run it. You have to do some data cleaning when making that jump. You can't leave it to the OS and hardware. After doing th

  • I bought the WRT350N Now I need help

    Bought the WRT350N but everything I’ve heard and read about this router is that it's garbage which I find hard to believe that Linksys would release an item that did not work if configured right. I have 3 laptops (all factory built-in wireless connec

  • How to change the row position in a datatable

    I am storing my list of lists in a datatable : DataTable table = new DataTable(); for(int i = 0; i < info.Count; i++) table.Columns.Add(names[i]); for(int col = 0; col < info.Count; col++) for(int rows = 0; rows < info[col].Count; rows++) DataRow r =

  • Different and full last page

    Hope someone can help here... I have a formatted report, actually a Sales Order Document, that has a couple of Page headers (some suppressed), 5 Detail sections (some suppressed depending on the type of data line), and a Page Footer. I want to add a