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

Similar Messages

  • 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

  • Retrieving hierarchy fields from MDM to SAP R/3 using MDM ABAP API's

    Hi all,
    I have developed a code to retrieve fields from MDM to SAP R/3 using MDM ABAP API's, i could retrieve   all of the fields excluding the Lookup[Hierarchy] fields like-  FACILITY CODE  etc...
    please update me if anyone has any experience on this.
    Thanks and regards,
    Aastha Mehrotra

    Hi ,
    Any one worked in the MDM API to retrieve Hierarchy fields ???
    Regards,
    Arun.

  • ABAP API and Key Mapping

    Hello there,
    I am trying to use the MDM 7.1 ABAP API to access MDM data from within a BI system.
    Now I am wondering how to access key mapping for records in the Main Table.
    In the Java API there is the RetrieveRecordsKeyMappingsCommand which returns all key mapping information for a list of record IDs. But I cannot find something similar in the ABAP API.
    Who knows where to start?
    Thanks for hints
    Ingo

    Hi ,
    In ABAP API also you can retrieve key mapping of main table records using function 'MDM_API_RETR_CLIENT_SYS_KEYS'.
    You will get details of this function in sap library or ABAP API documentation provided by SAP.
    For any further queries kindly reply.
    Regards,
    Neethu Joy

  • ABAP API to store DATE value in MDM 5.5

    Hello All,
    Currently I am working on MDM 5.5 and need to have some suggestions on ABAP API Function module to store date values in MDM.
    We have interface from where we take the user input which updates the field value back in the MDM.
    On the basis of similar scenario we have "DATE" field on the interface which will update the date and time in MDM, also we are making use of ABAP API for development.
    The problem is that data type mismatch is happening between MDM and ABAP API,please let me know which ABAP API Function module should we use which simply accepts the DATE and TIME for every single record.
    Source code provided will be much more appreciable.
    Regards,
    Swapnil

    Hi Swapnil.
    In the same link provided by Sudhanshu, can you navigate to the node "Retrieving Complex Types".
    It has sample codes and MDM interfaces for TimeStamp, Time Stamp, User Stamp, Literal Date, Literal Time etc.
    As suggested, you can also try to use the type MDM_CDT_DATE_TIME.
    See the sample code provided in the link as below:
    Type: MDM Literal date:
        CLEAR lv_date.
        CONVERT TIME STAMP ls_result_ddic_ex-fieldliteraldate-content TIME ZONE sy-zonlo INTO DATE lv_date.
        WRITE: AT (10) lv_date, '|'.
      Type: MDM Literal time:
        CLEAR lv_time.
        CONVERT TIME STAMP ls_result_ddic_ex-fieldliteraltime-content TIME ZONE sy-zonlo INTO TIME lv_time.
        WRITE: AT (10) lv_time, '|'.
    Regards
    Bala

  • MDM ABAP API - Language information not valid for repository

    Dear all,
    We're programming an interface in SAP R/3 to MDM catalog through 'MDM ABAP API's'. Automatically, it creates an RFC connection to MMD, but we're getting the following connection errorwhen executing the API:
    E MDM_ABAP_API         078 Language information ENG US USA not valid for MDM repository XXXYYYZZZ*.
    *where XXXYYYZZZ is the repository name. 
    W'e've established the connection in R/3 through transaction MDMAPIC and we've created the same user in R/3 and MDM Console.
    This is the code written on the program where we are defining the language (ENG), country (US) and region (USA).
    *maintain logon language information
    ls_repository_language-language = 'ENG'.
    ls_repository_language-country = 'US'.
    **no region information needed here
    ls_repository_language-region = 'USA'.
    How can I see the repository language definition?
    Which are the correct codes to be used for language 'English', Country 'United States' and Region 'USA'?  And for other countries, like spanish language, country Spain and Region ¿spain?
    In fact, we copied this code from website:
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/44/93ad8931381053e10000000a422035/frameset.htm
    Maybe the problem is that any RFC configuration is missing, and it has to be done in transaction SM59?
    Thanks for your feecback,
    Carlos Santamaría.

    The problem is now solved.
    The correct languague information codes for Language Spanish, Country Spain and Region, are as follows:
    Language: 'spa'
    Country: 'ES'
    Region: '___'
    It is important to respect the CAPS, otherwise it doesn't work.
    Regards,
    Carlos Santamaría.

  • How to read records from Relationship table using ABAP API's

    Hi All,
    I need to retrieve the records from Relationship table. In Java API's I came to know there is an option to retrieve this. I could not find anything in ABAP API's. Is there any option in ABAP API's to do this.
    Please Suggest.
    Thank You,
    Gajendra.

    Hi Gajendra,
    You can mainly read records from MDM (in a DDIC structure) using ABAP API's using the following function modules/methods:
    1. RETRIEVE: This is used to generically retrieve records from tables. Attributes and Values can also be retrieved.
    2. RETRIEVE SIMPLE: Retrieve records from MDM in a simple way.( simple data types).
    3. RETRIEVE CHECKOUT: Retrieves all checked out ID's.
    4. RETRIEVE ATTRIBUTES: Retrieves attribute(s) from a Taxanomy table.
    You will find all these methods in the following interface
    Interface : IF_MDM_CORE_SERVICES
    Hope it helps.
    *Please reward points if found useful.
    Thanks and Regards
    Nitin Jain

  • ABAP API for XML Validate(by schema)

    Hi
      Encountering this problem, find out ABAP XSLT Processor API to transform a xml file, need to validate it against predefined schema, but have not find out proper ABAP API to take this validate task. Could anybody once meet such kind of problem? will be much appreciated gettting your reply!

    I think I will just do the work in Java Webdynpro and use the KM API. It is a pity because I would much rather do it in ABAP Webdynpro, it just seems like nobody has really done it or documented it well...
    Thanks anyway
    Lynton

  • Use KM ABAP API without XI/PI

    Hello KMC Gurus,
    I try to use the <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db356ceb-0701-0010-ff8f-af07e78588a0">ABAP API for Knowledge Management and Collaboration</a> from a WebAS ABAP 7.00 (NW2004s). But I'm facing the problem that we don't have XI or now called PI installed. As I've read in OSS Note "883948 - NW 7.0(2004s): Inst.Add.Java Usage Types/Software Units" the Usage Type PI can't be installed afterwards. Is there a possibility to use the KM ABAP API also without XI/PI in place?
    Best regards
    Gregor

    Hi Gregor,
    The articel you mentioned above is a preview to the next major release which is not yet available. Unfortunately in NW2004s there is no ABAP API available. But beginning with NW04s, SPS13 there will be at least WebServices available for KM functionailty. You can use them to generate your own Web Service Proxy in ABAP to connect to KM.
    best regards,
    Martin

  • How to use MDM ABAP API?

    Hi Guys,
    I want to use ABAP API for manipulating MDM records(EX Adding two field values and assign into another field value).
    Can anybody guide me step by step process?
    Best Regards
    Devaraj PK

    Hi Devraj,
    Please go through this pdf:
    1. How To identify identical master data records using SAP MDM 5.5 ABAP API’s
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e060251e-b58d-2910-02a2-c9a1d60d9116
    2. MDM ABAP API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/00c49ffb-e5e5-2910-73ba-c85af1da5b0a
    http://help.sap.com/saphelp_mdm550/helpdata/en/44/93aa6831381053e10000000a422035/content.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/connectivity-ABAP+API&
    Pls rewrds if found helpful.
    BR,
    Alok Sharma

  • 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 for KM ??

    Hi guys,
    I have seen a couple threads in this forum regarding the ABAP API for KM but nothing concrete as yet. Also alot of the links seem to be non existent now ;-(
    If I go onto our SAP system and go to SE24 I can see a good couple classed related to KM by typing something like CL_KMC*.....
    But what is the recommended approach to take? In my scenario I have an ABAP Webdynpro and I need to both UPLOAD and DOWNLOAD files to KM......
    Should I generate a web service proxy in ABAP that consumes the standard KM web services? Do these web services even allow me to upload and download file to and from the KM area? I believe there is a KM Proxy layer in ABAP ?
    Has anyone got some more information on this???
    Any help would be greatly appreciated
    Chat later
    Lynton

    I think I will just do the work in Java Webdynpro and use the KM API. It is a pity because I would much rather do it in ABAP Webdynpro, it just seems like nobody has really done it or documented it well...
    Thanks anyway
    Lynton

  • ABAP API--Server return code 0xFFAA2011:

    Hello SDN,
    I was stuck with new issue regarding ABAP API.  I am trying to update the attribute value through ABAP API, but it is giving me the error "Server return code 0xFFAA2011: RC_CM_RECORDS_LINKED_TO_DOMAINVALUE".
    we are using the class for APIs CL_MDM_PROVIDER_55_SP06_PL05. MDM version is 5.5 and patch 5.
    Please help me out from this issue. I am getting this error.
    api that I am using was
    "UPDATE_ATTRIBUT".
    Waiting for your valuable response.
    Regard

    done. This API is working from MDM7 version, not available in MDM5

  • 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

  • ABAP API Configuration

    Hi All,
    I am trying to make use of ABAP API from my R/3 system.
    but I am not able to see the transaction MDMAPIC and many MDM related interfaces.
    what could be the exact problem?
    Any Service pack need to be added on normal R/3?
    My R/3 system version is 4.7 with kernel patch  NW2004 (640) dw patch 139 as per the How to guide.
    Even I tried with R/3 5.0 with the same kernel patch.
    I had maintained allow.ip at MDM server.
    waiting for the reply

    Hello,
    using the MDM ABAP API requires SAP BASIS 6.40/7.00 and the right Kernel Patch level.
    The API is not yet in SAP BASIS. That means it has to be downloaded from service marketplace and installed to the SAP System. After that the configuration will be there and the API is accessible.
    Hope that helps.
    Best regards,
    Daniel

Maybe you are looking for

  • Invoke stored procedure cause strange exception

    Hi, I'm using JDev 11.1.2, the use case is: add a new row to the VO iterator filtered by some view criteria and call a stored procedure before commit. The application runs fine without calling the stored procedure, however, following exception will o

  • Inventory onhand quantities check from third party OM system - EBS R12

    We need to build a custom program in EBS which will give the onhand quantity availability of an item being ordered (in third party system), when being called from the third party ordering system. How do i start building such a custom program in EBS (

  • Muse forms hosted on BC and embedded in Muse website hosted on third party host

    Just wondering if there are any plans for Muse forms to be hosted on BC and able to embed on Muse website that is on a third party host? If this is already possible... how?  I know of another company that allows for forms (using their separate web fo

  • Security Update 2006-001 - The return?

    Hello! According to my software update which popped up after waking the computer I should install the latest security update (PowerPC), even though I installed it just a couple of days ago. Or, that's what I think... Should I just go ahead and instal

  • How to delete/mark obsolete database objects from ODI model?

    Hi, ODI never deletes objects while reverse engineering. So is it way to automate deletion or marking obsolete database objects (dropped or renamed fields, constraints) from an ODI model? Does someone use ODI Java API (http://download.oracle.com/docs