MDM API CONFIGURATION

Hi all,
I am configuring MDM ABAP API. I have given all the parameters in the transaction MDMAPIC. Now What next step i have to do. I mean i also have to code somewhere for this configuration, if so then where. I have notes for the classed based mdm api. How to use these classes. I have never worked on ABAP.
Can anybody explain me giving example.
Thanks
Devinderpal yadav.

Heiii,
As per your problem please follow
http://help.sap.com/saphelp_mdm550/helpdata/en/44/93ad8931381053e10000000a422035/content.htm
http://help.sap.com/saphelp_mdm550/helpdata/en/44/994332ac415da3e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_mdm550/helpdata/en/44/994294ac415da3e10000000a1553f6/frameset.htm
Hope it help.Please reward points if you find it useful.
Rgds
Deepak

Similar Messages

  • KM Scheduler job with MDM APIs

    Hi,
    I am trying to write a background job that makes use of MDM APIs. I created a Portal Application Project and put in the required code. I added the required MDM jar fiels in to the java build path. How ever, I don't know how to add Library Reference with value "com.sap.mdm.tech.mdm4j" since this is not a Webdynpro project. Without this the KM Scheduler fails to run the job thowing an exception ''NoClassDefFoundError...".
    Can any one tell me how do I go about?
    Thanks,
    Sudheer

    Trying to post the question under different category

  • Error while creating new user via new MDM API

    Hi
    I have two questions:
    1) Is it possible to create a user in MDM via MDM4J?
    2) I am trying to create a user through new MDM API (not the MDM4J). When I execute the command CreateUserCommand, I get following error:
    com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: MDM repository data is out-of-date or is locked by another MDM Server. Refresh the data and try the operation again. If the error persists, contact the system administrator.
         at com.sap.mdm.security.commands.CreateUserCommand.execute(CreateUserCommand.java:93)
         at demo.dm.GetRoleList.main(GetRoleList.java:206)
    Here is the code that I execute:
              CreateUserCommand createusercommand =
                   new CreateUserCommand(connections);
              createusercommand.setSession(repsessionId);
              UserProperties userpp = new UserProperties();
              userpp.setName("Vijendra");
              //userpp.setRoleIds(roleids);
              createusercommand.setUser(userpp);
              //createusercommand.setInChangeStamp(-1);
              //System.out.println(createusercommand.getOutChangeStamp());
              try {
                   createusercommand.execute();
              } catch (CommandException e) {
                   e.printStackTrace();
                   return;
    Thanks
    Vijendra
    Edited by: Vijendra Bhanot on Feb 22, 2008 6:42 PM
    Edited by: Vijendra Bhanot on Feb 22, 2008 6:49 PM

    Hi
    I am also getting same exception.
    com.sap.mdm.internal.protocol.manual.ServerException: MDM repository data is out-of-date or is locked by another MDM Server. Refresh the data and try the operation again. If the error persists, contact the system administrator.
    Please help me.
    Thanks & Regards
    Vinit

  • MDM API for key Mapping.

    Hi All,
    Can anyone tell me how to use MDM API for updating key mapping ?
    I want to create a webservice which will take customer,client system and key for updating key mapping in mdm.
    Can anyone give me clue on this

    Hello Rama:
    Under Java you can do these things:
    Delete key mapping:
    CatalogData.DeleteKeyMapping(ClientSystem : String, Table :
    String, RecordID : int, Keys : String[])
    Argument Description
    ClientSystem -> Client system name
    Table -> Table name
    RecordID -> Record ID
    Keys -> Remote keys to remove
    Set a new keymapping:
    CatalogData.SetKeyMapping(ClientSystem : String, Table :
    String, RecordID : int, Keys : String[], DefaultKeyIndex
    : int)
    Argument Description
    ClientSystem ->    ClientSystem name
    Table ->           Table name
    RecordID ->        Record ID.
    Keys ->            Remote Keys you want to add
    DefaultKeyIndex -> Index entry into the key parameter
    indicating the key value as the default.
    I hope that helps
    Alejandro

  • Does MDM APIs work in CE 7.2 landscape?

    Hello Experts,
    We have a requirement to fetch data from MDM tables and display in WD Java applications. We have to use MDM APIs for that. Our landscape is as follows:
    Portal server is on CE 7.2
    MDM Server version is 7.1 SP05
    Now, the major problem is, in order to establish a connection to repository by MDM API, we need to provide "MDM System Alias" in the code. This alias is for the system of type MDM created in portal system administration --> System Config.
    As far as I know, we need this alias created if we want to establish a connection. But following documentation on help.sap.com says that MDM Business Package isn't supported for CE 7.2 version. And until we deploy MDM BP, system template of type MDM isn't avaialble on portal.
    http://help.sap.com/saphelp_mdm71/helpdata/en/5e/48a04270600d31e10000000a1550b0/frameset.htm (See the Prerequisites section)
    What should we do in this case? Is it so that MDM APIs are not supported for CE 7.2 version at all? Or is there any other way to achive it?
    Please help me with your valuable inputs.
    Thank You,
    Ameya
    Edited by: Ameya Pimpalgaonkar on Jun 21, 2011 12:12 PM
    Edited by: Ameya Pimpalgaonkar on Jun 21, 2011 12:14 PM

    Hello Kanstantsin Chernichenka,
    Thank you very much for the reply. There is no way I can do this in SP 05? or do I have to upgrade to SP7 only? I am not sure if we can upgrade to SP7 that's why I am a bit concerned.
    And it is supported in SP07 means that I can deploy a business package for MDM on CE 7.2, only if MDM SP is 07?
    Ameya
    Edited by: Ameya Pimpalgaonkar on Jun 21, 2011 12:54 PM

  • How to refer the class package "com.sapportals.connector" for MDM API?

    Hi,
    Iam trying to execute one example mdm api program in dynpro/ejb.
    I could not refer the class package com.sapportals.connector.
    What SCA or build path package needed for dev time and runtime and where do i get that.
    Please help me.
    Thanks
    Hari

    Hi Armin,
    Sorry that I still got problem on importing and make use of the class for knowledgemanagement. I can found the cooresponding .jar file in folder "jakarta-tomcat-3.3.2\webapps\irj\WEB-INF\plugins\portal\services\knowledgemanagement\lib". And added the services reference as "ServicesReference=htmlb, knowledgemanagement". However, I still can't use the class for KM.
    I have read those code sample from KM in SDN, but they are mentioning the programming part and not the setting. Can you suggest the detail steps and code on adding the KM class into my customize class?
    I am using Eclipse as my development tools.
    Thanks & Regards
    Sam
    Message was edited by: Sam Choy

  • How could i get access to MDM API,Is it available to all Enterprise accounts?e

    Hi ,
    I am trying to develop an enterprise application which needs to list all the installed Enterprise apps in the device.Also there is an option to delete the installed enterprise apps from device.I found that this can be done only by setting up a customized MDM server.My company already has an enterprise account.I have some doubts related to this
    1 . Is it possible to setup a custom MDM server using MDM API's?
    2. How could i get access to MDM API's to setup a custom MDM server/
    3. Is MDM server provided only by third party vendors?
    4. Is MDM server /MDM API available to all enterprise accounts?
    Looking forward  for a quick response.
    Thanks in advance

    A backup of a device with a newer version of iOS cannot be retored to a device with an older version.  The solution is to connect to itunes and update the new device's iOS, then perform a restore.

  • How to create a listener using the new MDM API

    Does anyone have an example on how to create a addrecord listener using the new MDM API?

    Refresh!
    Hi all,
    Looking for some sample codes on the same
    Best regards,
    Arun prabhu S

  • Abap MDM API query with OR operation

    Hi experts,
    not sure this is the proper section for the thread, anyway; dealing with ABAP MDM API, is there a way to build up a query which involves several clause in OR conjunction?
    This is the scenario: I've got to extract several items on the basis of exact product codes. Tipically, I've got huge vectors of hundreds of product codes; actually, I could easily retrieve data by looping over them and, for each code, perform a query on MDM via QUERY method building the clause as follows:
          ls_query-parameter_code  = 'MDMSRM_PART_NO'. "Field code
           ls_query-operator        = 'EQ'.   "Contains
           ls_query-dimension_type  = mdmif_search_dim_field.      "Fieldsearch
           ls_query-constraint_type = mdmif_search_constr_text.    "Text search 
           lv_text = wa_codes-product_code.
           GET REFERENCE OF lv_text INTO ls_query-value_low.
           APPEND ls_query TO lt_query.
    This will however result in hundreds of query in the LOOP itself.
    Is there any way to build a query with OR operators ?
    Thanks,
    M.

    Hi,
    I see you are not clearing your local structure "ls_query".  This could be reason of problem,  try this and let us know the result:
    DATA lt_query                  TYPE mdm_query_table.
    DATA ls_query                 TYPE mdm_query.
    DATA lv_search_text       TYPE string.
    DATA lt_result_set            TYPE mdm_search_result_table.
    DATA ls_result_set           LIKE LINE OF lt_result_set.
    Fill query structure with FIRST parameter
        ls_query-parameter_code  = 'Name'.
        ls_query-operator        = 'CS'. 
        ls_query-dimension_type  = mdmif_search_dim_field.    
        ls_query-constraint_type = mdmif_search_constr_text.
        lv_search_text = 'BMW'.
        GET REFERENCE OF lv_search_text INTO ls_query-value_low.
        APPEND ls_query TO lt_query.
    CLEAR ls_query.
    Fill query structure with SECOND parameter
        ls_query-parameter_code  = 'Model'.
        ls_query-operator        = 'CS'. 
        ls_query-dimension_type  = mdmif_search_dim_field.    
        ls_query-constraint_type = mdmif_search_constr_text.
        lv_search_text = '2009'.
        GET REFERENCE OF lv_search_text INTO ls_query-value_low.
        APPEND ls_query TO lt_query.
    CLEAR ls_query.
    Query on records (search for value 'BMW' model '2009' in table Products)
        CALL METHOD lr_api->mo_core_service->query
          EXPORTING
            iv_object_type_code = 'Products'                  
            it_query            = lt_query
          IMPORTING
            et_result_set       = lt_result_set.

  • MDM API - Identifying Workflows

    Hello All,
    I have written an application which gets launched when a  user clicks on the UWL subject line. This application recieves an MDM Workflow ID. Based on the Workflow ID recieved my application has to launch some different IViews. Is there any way where I can make an API call using the Workflow ID (a 5 digit number) and get the Workflow Name (for instance)?
    I am using the standard MDM API supplied along with the MDM Business Package.
    Thanks in Advance,
    PKS.

    closing the thread.. this error was due to ; Server Down.. Thanks!

  • EP MDM UWL Configuration

    Hello,
    Can any inform me about EP MDM UWL Configuration?
    I have followed SAP PDF: How to Work with UWL and MDM Workflows in the Portal
    As per PDF, MDM.xml file is required to be maintained on EP, which I could not found on specified path as per pdf.
    Pl. help
    Regards,
    Purav

    if you have deployed portal content for mdm, you should get it. have you checked uwl administration at portal side?
    also it can be located at
    BPMDMA71003_23-20003760.SCA\com.sap.mdm.uwl.sda\com.sap.mdm.uwl.par\PORTAL-INF\private\classes\uwl_mdm.zip\

  • Hierarchical Table Commands in MDM API

    Hi,
    I found only RetrieveLimitedHierTreeCommand,RetrieveLimitedHierChildrenCommand in MDM API for hierarchical tables.
    So how can we add a child or a sibling, delete a child or sibling to the nodes of the tree.
    Can anyone please give me links or some documentation on how to proceed with this.
    The other problem we are facing when retrieving the children using RetrieveLimitedHierTreeCommand
    When we add a search on the command it does not retrieve the children. it says the children for the level one node are null but if i donto set search it retrieves the children for all the nodes.
    Is there any specific setting that has to be done for using the search.
    Please let me know
    Thanks,
    Padmaja

    Hi Greg,
    I am adding the code snippet below. Can you please look into this and check if there are any problems
    RetrieveLimitedHierTreeCommand hr=new RetrieveLimitedHierTreeCommand(conAccessor);
    Search ser=new Search(repoSchemacmd.getRepositorySchema().getTable("New_Code").getId());
    FieldId fldId =repoSchemacmd.getRepositorySchema().getTableSchema("New_Code").getField("New_Code").getId();
    StringValue fldVal = new StringValue("G0440");
    ser.addSearchItem(new FieldSearchDimension(fldId),new TextSearchConstraint(fldVal.getString(),TextSearchConstraint.EQUALS));
    hr.setSearch(ser);
    ResultDefinition rd=new ResultDefinition(repoSchemacmd.getRepositorySchema().getTable("New_Code").getId());
    rd.setSelectFields(repoSchemacmd.getRepositorySchema().getTableSchema("New_Code").getFieldIds());
    hr.setResultDefinition(rd);
    hr.setSession(userSessionID);
    try {
         hr.execute();
    } catch (CommandException e) {
        e.printStackTrace();
    When i execute this part of code and get the children. i get the children as null.
    Thanks,
    Padmaja

  • Ios7 Device enrollment program mdm api's

    Hi,
    The mdm api's (for device enrollment program) like disown Devices, define profile etc..Return responses with a dictionary of devices along with a string value like SUCCESS, NOT_ACCESSIBLE, FAILED ...What would be the reason for NOT_ACCESSIBLE and FAILED...caused based on the true reason our server would need to react differently...can we assume that NOT_ACCESSIBLE and failed means apple no longer has any information about the device in the device enrollment program?...
    Appreciate a response,
    Thanks,
    -Vikram.

    I am also getting NOT_ACCESSIBLE when trying to upload a serial number for an iPad. I was able to get 280 serial numbers uploaded successfully, but I am not able to get one particular serial number into DEP.
    Any thoughts or suggestions?
    Help here would be appreciated also..

  • Error when creating record from portal into MDM using MDM API's

    Hi All,
    When trying to create a new record from Portal we are getting the below error. It is working fine till yesterday.
    We are using MDM API's from webdynpro java for creating.
    What could be the reason for this. Not sure whether this error is ocuring for all the users or for single user.
    "Exception: CommandException com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Database command execution error. A SQL statement failed to execute. The actual error may have been written to a log file."
    Please help to resovle this.
    Thanks
    Satish

    Hello Satish
    Suppose your Portal was upgrated
    if it right -  search and deploy new mdm packages
    Regards
    Kanstantsin

  • SQL Query on MDM API

    Someone know how can i make the next query using the MDM Api? How can i make this sentence using classes as FreeFormTableParameters, FreeFormFieldParametes...?
    SELECT FIELD1, FIELD2 FROM PRODUCTS WHERE FIELD1="HELLO"
    I dont speach english good... Sorry about that.
    Thanks!

    Hi Giancarlo,
    something like this:
            TableId mainTableId = new TableId(1);
            // Define the result
            ResultDefinition rd = new ResultDefinition(mainTableId);
            // select all records
            Search search = new Search(mainTableId);
            // retrieve the records
            RetrieveLimitedRecordsCommand limitingCommand = new RetrieveLimitedRecordsCommand(connections);
            limitingCommand.setSession(sessionId);
            limitingCommand.setResultDefinition(rd);
            limitingCommand.setSearch(search);
            //limitingCommand.setPageSize(10);
            try {
                limitingCommand.execute();
            } catch (CommandException e) {
                e.printStackTrace();
                return;
            System.out.println("Record count is " + limitingCommand.getRecords().getCount());
    // To get fields....
    Record[] rec= limitingCommand.getRecords().getRecords();
    For i to rec.length
    RecordId objrecId = taxoSubClassRecs<i>.getId();
    Hope this help you.
    Regards,
    Vito

Maybe you are looking for