MDM 7.1 SCA files +MDM java apis required
Hi experts,
I have installed MDM 7.1 but now i want to deploy the SCA files so that i can integrate EP with MDM 7.1
i searched over market place but cpould not able to find SCA files/MDM java apis for MDM 7.1
any pointer in this regards shall be highly aprreciated.
regards
narendra
Hi Narendra,
Go to https://websmp210.sap-ag.de/bosap-support
in that select downloads tab ->
Support Packages and Patches - Entry by Application Group -> SAP NetWeaver -> SAP MDM -> SAP NETWEAVER MDM 7.1
Here you will find all suporting files including your required MDM Java & .sca files.
You need a valid Service market place user ID to access these contents.
Regards,
Abhijeet
Edited by: abhijeet more on Apr 15, 2009 2:27 PM
Similar Messages
-
MDM JAVA API SCA file for MDM 7.1 SP04
I need to download MDM JAVA API SCA file for MDM 7.1 SP04. When I added to the download basket through service marketplace it is looking for the approval process, just for the API file. I was able to get the other files though like webdynpro framework, change tracker. We haven't setup the Solution Manager yet. It might take a while. Meanwhile is there any other way to get the SCA file.
ThanksOpened message with SAP and they have approved the download basket. Now able to download the sca file.
-
How and where to install MDM Connector and MDM Java API
Hi all
I am installing MDM Server 5.5 and refering to Installation gude
MDM 5.5 SP06 installation guide (Document Version 1.1 December 10, 2007). While installing Development and Portal components , We have to install MDM Connector and MDM JAVA API. I want to know whether the file JAVAAPI<version>.sca file is to extracted on MDM Server or SRM Server ( Using SDM). Please let me know
Thanks in advance.
Vitthal prabhuHi Vitthal,
We have to install MDM Connector and MDM JAVA API.
All these sca files that u got along with the business content needs to be deployed onto Web Application Server (recommended WAS 7.0 ).
U can deploy these files with the help of SDM.
Hope dis solves ur problem.
Regards Tejas.............. -
Hi,
I am using SAP MDM 5.5 SP05. Can someone guide me on how to install MDM Java API.
I referred to many threads on SDN but couldn't get through any.
I have already downloaded the java API which has one .sca file and two folders, each has some .jar files and javadoc folder.
Kindly help on how should i go with it.
Regards,
Chintan ShethHi Chintan,
You wont install MDM Java API as u install your MDM server or client.
<b>What the use of the MDM Java API?</b>
1. Stand-alone Java Applications.
U can use MDM java API for your stand-alone applications that runs locally on your PC etc... For this you can import the MDM Java jar file into to the library of yourstand alone java application project.
2. J2EE Application or custom MDM iview in EP or SAP Webdynpro Apllication.
U can deploy the .sca file in the SAP WAS Java using the SDM client and u can extend the MDM Java API in your J2EE Application or custom MDM iview in EP or SAP Webdynpro Apllication
get back for help...
Regards,
Vijay -
How to start to work on MDM JAVA API by using webdynpro for java
Hi all
I have basic idea on MDM business package thru portal by using standard iViews.
now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
3) is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
if anybody helps on the same then it is the great help to me.
points are always rewardable...
Regards
Suresh babuHi Suresh,
You can have the MDM JAVA API javadocs from the link
http://help.sap.com/javadocs/MDM/SP06P2/index.html
There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
Right click on project-> properties->Java Build Path - > Add external JARs
At run time you can add them the reference in
Right click on project-> properties->web dynpro references->library reference.
Thanks
Namrata -
MDM JAVA API beginners queries
Hi,
I am a beginner for Web Dynpro. I am working on MDM and i need to use the MDM JAVA API
I have downloaded the zip files and reading the documentation.
I need guidance on how to proceed. Kindly help
thank you
bhaktiHi Rita,
You can follow the below likns which will guide you on how to go about using JAVA Apis with MDM:
How to start to work on MDM JAVA API by using webdynpro for java
Re: MDM Java Tutorial
Standard practise to make the APIs reusable ?
MDM Java API Samples Framework
Sample code required to Create,Update,Delete,Read & Search for records MDM
Sample code is required on MDM JAVA APIs thru Webdynpro for java
Hope It Helped
Thanks & Regards
Simona Pinto
Hope It Helped
Thanks & Regards
Simona Pinto -
MDM Java API Samples Framework
hi MDM experts,
I need MDM Java API Samples Framework.zip file
its urgent help me
thanks
ram.[Try this document|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0eb1f75-136d-2a10-99b2-ea60f1dee9e8] there is a link in there to the ZIP you are looking for.
-
hi all
we hv added 5 jar file
MDM4J.jar
mdm-admin.jar
mdm-common.jar
mdm-core.jar
mdm-protocol.jar
but still we are getting error at
IConnectionSpec spec = connectionFactory.getConnectionSpec();
saying "Can not resolve IConnectionSpec"
does any one kno its solution??
do we need to add more jar files???Hello
We have read installation guide "SAP Netweaver MDM 5.5 SP05", page 22, we want install MDM Connector and MDM Java API, in "installation procedure", it is indicate
1. Extract the files from the archives.
The javadoc folders contain an HTMLbased
collection of documents that
describe the Java API. Make sure you
retain the directory structure.
2. Deploy the SDA files on Web AS
Java using the Software Deployment
Manager (SDM). MDM Connector uses
the mdm4j library as a shared library to
support generic connection.
3. Store the JAR files at the standard
location for the application that uses
them.
4. Include the path to the JAR files in
the class path for the application that
uses them. This may be an
environment variable, a command line
argument, or an application
configuration parameter.
Only we are clear point 2, but rest, we are not sure, please could you clear us it ???
Thanks -
Where is "MDM Java API Samples Framework.zip"?
hi everyone,
I was reading the "How To Use tthe MDM Java API" document (https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0eb1f75-136d-2a10-99b2-ea60f1dee9e8) and it referenced a zip file called "MDM Java API Samples Framework.zip".
Unfortunately I cannot seem to find that zip file anywhere!
Does anyone know where I can find this file so that I can look at the examples?
Thanks very much,
mmHello Mike:
Go here:
Data Unification How-to Guides for SAP NetWeaver 7.0 [original link is broken]
And the First howTo has the "attached system files". Inside you'll find what you are looking for
Kind Regards
Alejandro -
Migration from MDM 4J to MDM Java API
Hi,
Can anyone send me details on the migration of MDM 4J to MDM Java API .
Any document on the differences between the two will be really appreciated.
Best Regards
SidHi Siddharth,
MDM4J was the old jar files which has been shipped by SAP. In earlier, for customization of any user requirement which is not avialable in MDM, In this case, we can use the MDM JAVA API. for using the same, we need to deploy the MDM4J.jar file then we can use.
Now, SAP has replaced the old MDM API file name as "MDM4J.jar" with "MDM Java API.jar".
the only difference between two is that they have added some new jar files to do the specific work with the MDM4J.jar itself. you can find the name as below:
MDM4J.jar
mdm-protocol.jar
mdm-data.jar
mdm-core.jar
mdm-common.jar
mdm-admin.jar
they have removed some old functionality from MDM4J.jar file itself and added so many new functionality with it.
for example: by using old java api, we can not get the password of any user but it is possible by new java API jar file. like this they have added so many new fuctionality which we can perform on the MDM Console and MDM Data manager.
for further info about the MDM JAVA API, you can just refer the following links:
http://help.sap.com/saphelp_mdmgds55/helpdata/EN/index.htm
in the left pane,go to programming interface, the required java apis documents is there.
All the documentation is available on the MDM documentation center on SAP Service Marketplace:
http://service.sap.com/installMDM
But for this you need valid service market place id and pwd.
Hope this will help you.
Regards,
Saurabh...
Reward with points if found useful.
Edited by: Saurabh Kumar Sahu on Jan 29, 2008 3:19 PM -
How to retrieve the data from MDM hierarchy table using MDM Java API
Hi,
I had a hierarchy table in MDM. This table had some column say x. I want to retrieve the values of this x column and need to show them in a drop down using MDM Java API.
Can anyone help me to solve this?
Regards
VallabhaneniHi,
Here is your code...
TableId Hier_TId = repository_schema.getTableId(<hierarchy table id>);
java.util.List list = new ArrayList();
ResultDefinition Supporting_result_dfn = null;
FieldProperties[] Hier_Field_props =rep_schema.getTableSchema(Hier_TId).getFields();
LookupFieldProperties lookup_field = null;
TableSchema lookupTableSchema = null;
FieldId[] lookupFieldIDs = null;
for (int i = 0, j = Hier_Field_props.length; i < j; i++) {
if (Hier_Field_props<i>.isLookup()) {
lookup_field = (LookupFieldProperties) Hier_Field_props<i>;
lookupTableSchema =repository_schema.getTableSchema(lookup_field.getLookupTableId());
lookupFieldIDs = lookupTableSchema.getFieldIds();
Supporting_result_dfn = new ResultDefinition(lookup_field.getLookupTableId());
Supporting_result_dfn.setSelectFields(lookupFieldIDs);
list.add(Supporting_result_dfn);
com.sap.mdm.search.Search hier_search =new com.sap.mdm.search.Search(Hier_TId);
ResultDefinition Hier_Resultdfn = new ResultDefinition(Hier_TId);
Hier_Resultdfn.setSelectFields(rep_schema.getTableSchema(Hier_TId).getDisplayFieldIds());
ResultDefinition[] supportingResultDefinitions =
(ResultDefinition[])list.toArray(new ResultDefinition [ list.size() ]);
RetrieveLimitedHierTreeCommand retrieve_Hier_tree_cmd =
new RetrieveLimitedHierTreeCommand(conn_acc);
retrieve_Hier_tree_cmd.setResultDefinition(Hier_Resultdfn);
retrieve_Hier_tree_cmd.setSession(Auth_User_session_cmd.getSession());
retrieve_Hier_tree_cmd.setSearch(hier_search);
retrieve_Hier_tree_cmd.setSupportingResultDefinitions(supportingResultDefinitions);
try {
retrieve_Hier_tree_cmd.execute();
} catch (CommandException e5) {
// TODO Auto-generated catch block
e5.printStackTrace();
HierNode Hier_Node = retrieve_Hier_tree_cmd.getTree();
print(Hier_Node,1);
//method print()
static private void print(HierNode node, int level) {
if (!node.isRoot()) {
for (int i = 0, j = level; i < j; i++) {
System.out.print("\t");
System.out.println(node.getDisplayValue());
HierNode[] children = node.getChildren();
if (children != null) {
level++;
for (int i = 0, j = children.length; i < j; i++) {
print(children<i>, level);
//end method print()
Best regards,
Arun prabhu S
Edited by: Arun Prabhu Sivakumar on Jul 7, 2008 12:19 PM -
MDM JAVA API to enter value into field of type date
Hi All,
I am having an input field in a typical Dynpro application where a date would be entered.I want to enter the date in my MDM table in a field of type "Date".Do you have any idea about MDM JAVA API's I need to do this.Also how can I do this ?
Thanks
VinayHi,
Web Dynpro shall return you a type Date field. For Value, you shall have to pass SystemTime Object.
Just get the substring of Date.toString() and convert them to Integer ..
So a typical date would look like yyyy-mm-dd (eg: 2006-10-19) and not yyyymmdd.
SystemTime st = new SystemTime();
st.setYear( Integer.parseInt(Date.toString().substring(0,4));
st.setMonth ( Integer.parseInt(Date.toString().substring(5,7));
st.setDate ( Integer.parseInt(Date.toString().substring(8,10));
A2iField date = new A2iField("fieldname", new Value(st));
Hope that helps..
Regards,
Tanveer.
<b>Please mark helpful answers</b>
Note: The above mentioned code is not pasted from any editor..So might contain syntax error.. -
MDM Java API (Creation of table)
Hi,
can anyone help me for creation of tables in repository using MDM java API .
Can u Provide sample code for this.
Edited by: Srikanth Josyula on Jun 26, 2008 8:52 AMHi Srikanth,
Check with this code.It may be useful.
createflattable.java
Created on June 25, 2008, 5:08 PM
To change this template, choose Tools | Options and locate the template under
the Source Creation and Management node. Right-click the template and choose
Open. You can then make changes to the template in the Source Editor.
package tabletype;
import com.sap.mdm.commands.AuthenticateRepositorySessionCommand;
import com.sap.mdm.commands.CommandException;
import com.sap.mdm.commands.CreateRepositorySessionCommand;
import com.sap.mdm.commands.GetRepositoryRegionListCommand;
import com.sap.mdm.data.MultilingualString;
import com.sap.mdm.data.RegionProperties;
import com.sap.mdm.data.RegionalString;
import com.sap.mdm.net.ConnectionException;
import com.sap.mdm.net.ConnectionPool;
import com.sap.mdm.net.ConnectionPoolFactory;
import com.sap.mdm.schema.TableProperties;
import com.sap.mdm.schema.commands.CreateTableCommand;
import com.sap.mdm.schema.commands.GetFieldListCommand;
import com.sap.mdm.schema.commands.GetTableListCommand;
import com.sap.*;
import com.sap.mdm.server.DBMSType;
import com.sap.mdm.server.RepositoryIdentifier;
import java.util.Locale;
public class createflattable {
/** Creates a new instance of createflattable */
public createflattable() {
private static MultilingualString createMultilingualString(RegionProperties[] regionPropertiesList, String baseString)
MultilingualString mlString = new MultilingualString();
for (int i = 0; i < regionPropertiesList.length; i++)
Locale locale = regionPropertiesList<i>.getLocale();
//Locale locale = regionPropertiesList<i>.getLocale();
String regionCode = regionPropertiesList<i>.getRegionCode();
String string = baseString + "_" + locale.getLanguage() + "_" + locale.getCountry();
RegionalString regionalstring = new RegionalString(string, regionCode);
mlString.set(regionalstring);
return mlString;
private static TableProperties createFlatTable(RegionProperties[] regionPropertiesList)
//MultilingualString tableName = createMultilingualString(regionPropertiesList, "NewTable" + System.currentTimeMillis());
MultilingualString tableName = createMultilingualString(regionPropertiesList, "first"+System.currentTimeMillis());
System.out.println("table is" +tableName);
TableProperties table = new TableProperties(TableProperties.FLAT);
table.setName(tableName);
table.setCode("NewCode" + System.currentTimeMillis());
table.setKeyMappable(true);
table.setDescription("");
return table;
public static void main(String[] args) {
// System Name
String tag = "";
ConnectionPool connections = null;
try {
connections = ConnectionPoolFactory.getInstance(tag);
catch (ConnectionException e)
e.printStackTrace();
return;
//////////////// specify the repository to use
//RepositoryName
String repositoryName = "";
//DataBase Name
String dbmsName = "";
RepositoryIdentifier reposId = new RepositoryIdentifier(repositoryName, dbmsName, DBMSType.MS_SQL);
/////// create a repository session
CreateRepositorySessionCommand sessionCommand = new CreateRepositorySessionCommand(connections);
sessionCommand.setRepositoryIdentifier(reposId);
try {
sessionCommand.execute();
catch (CommandException e) {
e.printStackTrace();
return;
System.out.println("Currently connected to "+reposId);
String sessionId = sessionCommand.getRepositorySession();
/////////// authenticate the repository session
String userName = "";
String userPassword = "";
AuthenticateRepositorySessionCommand authCommand = new AuthenticateRepositorySessionCommand(connections);
authCommand.setSession(sessionId);
authCommand.setUserName(userName);
authCommand.setUserPassword(userPassword);
try {
authCommand.execute();
catch (CommandException e) {
e.printStackTrace();
return;
//////////////////// retrieve the list of tables
GetTableListCommand tableListCommand = new GetTableListCommand(connections);
tableListCommand.setSession(sessionId);
try {
tableListCommand.execute();
catch (CommandException e) {
e.printStackTrace();
return;
// get change stamp
// this is required when we make any kind of changes to the repository
int changeStamp = tableListCommand.getChangeStamp();
//////get repository regionlist
//A command for retrieving the list of regions supported by the repository.
// retrieve the available regions (languages) for the repository
// we need this to set up the table name for each region
GetRepositoryRegionListCommand gm = new GetRepositoryRegionListCommand(connections);
gm.setRepositoryIdentifier(reposId);
try {
gm.execute();
catch (CommandException e) {
e.printStackTrace();
return;
// RegionProperties[] rs = gm.getRegions();
RegionProperties[] regionPropertiesList = gm.getRegions();
TableProperties newtable = createFlatTable(regionPropertiesList);
CreateTableCommand c = new CreateTableCommand (connections);
c.setSession(sessionId);
c.setTable(newtable);
c.setInChangeStamp(changeStamp);
try {
c.execute();
System.out.println("sdf");
catch (CommandException e) {
e.printStackTrace();
return; -
Attachments using MDM java API
Hi
How to store attachments in MDM repository using MDM java API.
Could you please suggest us.
Thanks
SowmyaHi Sowmya,
You can store attachments using MDM Java API. You can use the following piece of code.
BinaryBlobRecord record2 = RecordFactory.createEmptyBinaryObjectRecord(tableID);
//Attachment to be saved
String filePath = wdContext.currentContextElement().getVa_Resource().getUrl(0);
IWDResource resource = wdContext.currentContextElement().getVa_Resource();
FileInputStream stream = (FileInputStream)resource.read(true);
int length = 0;
while(stream.read() != -1)
length++;
byte[] b = new byte[(int) length];
stream.read(b);
stream.close();
record.setName(new StringValue("filename"));
record.setOriginalName(new StringValue("filename"));
record.setHasOriginal(new BooleanValue(true);
RetrieveGroupTreeCommand groupTreeCommand = new RetrieveGroupTreeCommand(wdContext.currentContextElement().getVa_ConnectionStr());
groupTreeCommand.setSession(wdContext.currentContextElement().getVa_SessionID());
groupTreeCommand.setGroupType(GroupTypes.DATA_GROUP_TYPE);
groupTreeCommand.execute();
//Set data location and data group ID
record.setDataLocationId(new GroupNodeId("GN2"));
record.setDataGroupId(new GroupNodeId("GN2"));
record.setBinary(new BinaryValue(b));
CreateRecordCommand createRecComm =
new CreateRecordCommand(wdContext.currentContextElement().getVa_ConnectionStr());
createRecComm.setSession(wdContext.currentContextElement().getVa_SessionID());
createRecComm.setRecord(record);
createRecComm.execute();
//Link this record to the main table record
Record QRec = RecordFactory.createEmptyRecord(mainTable);
//Setting the above created record in main table record object
QRec.setFieldValue(attachmentField, new LookupValue(record.getId()));
CreateRecordCommand createRecComm =
new CreateRecordCommand(wdContext.currentContextElement().getVa_ConnectionStr());
createRecComm.setSession(wdContext.currentContextElement().getVa_SessionID());
createRecComm.setRecord(QRec);
createRecComm.execute();
Now the main table record is created with an attachment.
Hope this helps you.
Regards,
Sruti -
How to create relationship between two records using MDM Java APIs
Hi,
I am trying to create relationship between two records using Java Apis. Please guide me in doing this.
Regards,
NirajHi Niraj,
There is ModifyRelationshipsCommand:
http://help.sap.com/javadocs/MDM/SP06/com/sap/mdm/data/commands/ModifyRelationshipsCommand.html
Retrieve Relationship command:
http://help.sap.com/javadocs/MDM/current/com/sap/mdm/schema/commands/GetRelationshipListCommand.html
Also, please refer similar thread, MDM Java API and relationships.
Hope it helps..
Regards,
Mandeep Saini
Maybe you are looking for
-
Hello everybody recently I got for myself a z61t-9443. I don't want this laptop to be a replacement of my desktop, I would like to upgrade it abit but my knowledge around laptops is really poor. So here are some questions. Questions about mini-pcie 1
-
File Overwriting in File Receiver Communication Channel
Hi, I have an IDoc to File scenario. My file receiver communication channel has the following parameters : - File name scheme = %timestamp%_AOBSD4RL.MES (I'm using variable substition and the variable "timestamp" is initialized at mapping time with
-
Can someone help me install lightroom 5
This is my first lightroom and I bought lightroom 5. I don't have the version 4 or 3. When I try to install is asking the serial number that I have, and also the original serial number. I don't have any. please help me
-
No thumbnail rotation in Bridge CS4 under Win7/64bit
Bridge CS4 was working fine under Vista 64bit. After updating to Windows 7 64bit thumbnail rotation does not work (neither using [] shortcuts, nor the tolbar arrows). My computer has a GeForce 8600GT, to date in terms of updates. I tried resetting
-
Which components of jsp are worked right before the page sent to server
hello In a jsf application I want to know in java bean which components of jsp are worked right before the page sent to server. how can I do that ? regards