Help in MDM Api use
Hi ,
I'm starting to develop a integration with MDM, i already connection with MDM server, but i cant make a search and retrieve the values from the results
i have tried this example: http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/examples/RetrieveLimitedRecords.java
ok .. it works .. returns a RecordResultSet, but i cant retrieve the values from RecordResultSet.
can anoyne help-me with a example code to seach on a main mdm table by one field, change a value and save the change ?
and how can i use the multilanguage when getting and setting values on the fields ?
tks !
Edited by: Diogo Palermo Tobler on Aug 29, 2008 8:50 PM
Hi Diogo,
Here are some links which will give reasonable amount of info on working with Java Api's for various functionalities:
Working with Java Api's
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70a7afe4-9e3e-2b10-de8d-b105d0b8c79e
Retrieving Data from MDM using Java APi's- Part 1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/421718aa-0501-0010-d3b0-de6b02aa269b
Getting insight in the New MDM Java Api's
Getting Insight in the New MDM Java API
Populating Lookup Fields using Java Api's
Populating Lookup Fields using Java API - Has sample Code
SAP NetWeaver Master Data Management Java API u2013 New features in SP06 Webinar Details
https://www.sdn.sap.com/irj/sdn/event/webinars?rid=/library/uuid/209cad46-e080-2a10-7390-a5a43bd0ad2f
SAP Network Blog: Performing Free Form Searches with MDM Java API
https://www.sdn.sap.com/irj/sdn/event/webinars?rid=/library/uuid/209cad46-e080-2a10-7390-a5a43bd0ad2f
SAP Network Blog: MDM Java API 2 an introductive series part I
MDM Java API 2 an introductive series part I
http://help.sap.com/saphelp_mdm550/helpdata/en/47/9f23e5cf9e3c5ce10000000a421937/frameset.htm
http://help.sap.com/javadocs/MDM/SP06P2/index.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10337d07-e54a-2b10-4fbd-9caeb2c151ef
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30d211f2-964b-2b10-609b-98bba3713586
https://www.sdn.sap.com/irj/sdn/event/webinars?rid=/library/uuid/7067866e-e734-2b10-3d83-b86080d3cefb
Referencing the MDM Java API during development and runtime
How to work with Command in the new MDM Java API
MDM Java API documentation
The specified item was not found.
MDM Java API 2 an introductive series part IV
Hope it helps.
Thanks and Regards
Nitin Jain
Similar Messages
-
How could JAVA API and ABAP API useful to MDM.
Hi Experts,
How could JAVA API and ABAP API useful to MDM, and any coding in Java or ABAP is required in MDM.Hi Reema,
Java API and ABAP API are verry usefull to MDM to integrate MDM with other SAP componants like SAP R\3, EP etc. :
It dose not required any coding in MDM infact in JAVA API coding can be done on NWDS(Netweaver Developer Studio).And for ABAP API coding is done on SAP R\3 System in ABAP editor.
JAVA API:
By using Java API MDM client operations can be performed.For one need to install NWDS and to deploy some .jar files and with the help of standard classes and interfaces it can be connected to MDM server and various operations like create repository ,connect to repository ,Data mainuplation etc.
ABAP API:
Suppose you have an Expert abaper and you want him to perform MDM operations.In that case he need not to learn MDM basic Data types infact by doing some settings on R\3 and MDM server side an ABAPer can perform
MDM Cnsole and MDM Data Manager level operations.
you can go through these links
http://help.sap.com/javadocs/MDM/SP06/overview-summary.html
/people/bv.pillai/blog/2006/11/28/installing-mdmtech-add-on-and-configuring-the-mdm4a-mdm-for-abap-api
Here the coding is done on SAP R\3 system.
hope it will give you some idea about Java API and ABAP API
Reward if helpful
Thanks ,
Vinay Yadav -
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
SatishHello Satish
Suppose your Portal was upgrated
if it right - search and deploy new mdm packages
Regards
Kanstantsin -
Uploading images whit thumbnail to MDM repository using Java API
Hello,
can someone tell me how to upload images whit thumbnail to MDM repository using Java API?
i get following message using setHasThumbnail(true):
com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ServerException: Ungültiger Wert für Parameter
thanksYou can upload images to MDM via the API, but the only way to create thumbnails is via the MDM Data Manager application which uses some embedded libraries to do the work.
Walter -
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 -
How to access the SAP MDM destinations using mdm java api in 7.1
hi,
I have SAP MDM 7.1 SP11 and SAP Portal 7.3 and developing the custom webdynpro application using the JAVA MDM API. I want configure the SAP MDM destinations in SAP Portal .
How to access the MDM destinations in java code using API? and how to create the connection with MDM using the MDM destinations.
Please provide the code for access the SAP MDM destinations in java code using MDM java api and creating the connection to MDM.
ThanksJun,
Thanks for the reply and api information.
I have got this api information from the following sap documentation. But i am looking for the code by implementing this class and creating the mdm connection.
Creating an MDM Connection Using Java Code - SAP NetWeaver Master Data Management (MDM) - SAP Library
if any thing can you share it.
Thanks -
My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!
Hi,
You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
You can find a sample scripts if you google around.
What do you mean "how to map any API to our staging table" ?
You should do at least the following mapping (which column(s) in the staging table will provide these information):
- the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
- the value set values and description
Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do... -
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 thisHello 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 PMHello 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
HariHi 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 -
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 -
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 -
What's the difference between WorkflowTask and WorkflowJob in SAP MDM API?
Hi Support,
Could you tell me the differences between WorkflowTask and WorkflowJob in SAP MDM API? And which can represent a workflow in Workflows tab in MDM Date Manager.
Thanks & Regards,
SongHi Songxu,
Workflow Task: It is the task(workflow steps like Process, Approver etc) assigned to different user during Workflow. User's use the workflow tabs in Data Manager to view and process workflow tasks. see page 91/654 of Data Manager Guide.
http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8aaa42301bae10000000a42189b/MDMDataManager71.pdf
Workflow Job: Each workflow is invoked as a job that can consist of multiple records that move through the steps of a workflow (how many records are involved into your Workflow) as a group while simultaneously maintaining record-level granularity. Once the job has been launched, it moves automatically from step-to-step and from user-to-user, showing up in the inbound task queue in each useru2019s Workflows tab for disposition and processing.
Regards,
Mandeep Saini -
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,
SudheerTrying to post the question under different category
-
Return data is null while calling Exchange Online rest api using jquery on Chrome and Mozilla
Hi,
I am developing a SharePoint hosted app in which I am calling Exchange online rest api using basic authentication to get mail for the user. This works fine in IE but returns null data when opening in Chrome or Mozilla.
Is there something I am missing while making rest call to api?
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, AjeetHi,
This forum is to discuss problems of Office development such as VBA, VSTO, Apps for Office .etc. But I think your question is related to app for SharePoint. I suggest you posting it in
App for SharePoint forum for more efficient responses.
Thanks.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
how to use GROUP BY in ODI tool
-
Import Repository Objects Question
Hello experts, I am using a XI 3.0 SP13 development system. I export some repository objects under a certain namespace to a local file. Then I delete these objects and import the local file back into XI. Strange is, it shows the import is successful,
-
My computer fell asleep during its last update and wouldn't wake up. So, after half an hour, I shut it off manually and I'm sure that messed with the operating system because now it will not start up. It turns on and I get the gray screen with the ap
-
For CF Server 9 developer win 64bit has the same running problems like 32bit, or more
CFWACK8 reader: Better install CF Server stand alone - so no need Apache? For CF Server 9 developer windows 64bit has the same running problems like 32bit, or more? I have installed http://www.apachefriends.org/en/xampp-windows.html ..WAMPP, well
-
Since I got infected with searchqu and (hopefully) removed this, when I try and click on the + to open a new tab, nothing happens. I have also tried clicking on file, scrolling to "New Tab" but again nothing happens. However, if I go to file then "Ne