JAVA API Libraries
Hi,
Currently i am working on JAVA APIs in MDM. For that i came to know that i need to deploy .sda (files) libraries.Can any one please tell me where can i get .sda files like
com.sap.mdm.tech.mdm4j.sda
com.sap.mdm.tech.connector.sda
sap.com/tc/facade
sap.com/tc/bpfacade
Please provide me any information on this.
Thanks in advance.
Prasad Babu.
Hi Prasad,
Log on to service.sap.com -> downloads -> support packages and patches -> from here follow the below path. Then you can download the API for your patch.
Support Packages and Patches
Support Packages and Patches" SAP NetWeaver" SAP MDM" SAP MDM 5.5" JAVA API
Hope it helps.
Thanks,
Raags
Similar Messages
-
Hello MDM Experts,
We are implementing SAP Netweaver MDM 7.1 For our customer, I have installed MDM On Windows systems and connected to SQL Database. Now MDM Developer team wants JAVA API Needs to be installed and configured.
I dont see any documentation specific to this installation on portals. Can you please share your experience?
I have the below understanding
Since MDM JAVA API Needs to be integrated to J2EE Engine, I will install J2EE Engine and deploy JAVA API Libraries in to it. once that is done Install MDM Connector using JSPM and Install NWDI on Developer machines.
Am i correct? Can some one please suggest me how i can achive this? I Really appreciate your help
Thanks,
RaviThats is correct. for more detailed info , please follow the steps
Deploying the Java API and Connector Using JSPM:
Use For deployment of the Java API and MDM Connector, use the SAP Java Support Package Manager (JSPM) tool.
Procedure
1. Copy the SCA file in the JSPM inbox folder.
2. Open and logon to the JSPM tool.
3. Deploy the Java API and Connector or apply the support package as follows:
Deployment of New Software:
First Step:Select Package Type
a. Select New Software Component.
b. Select No NWDI Control.
c. Click Next.
Second Step: Specify Queue
Select MDM_JAVA_API
Third Step: Check Queue
Fourth Step: Deploy Queue
When the deployment is complete, the deployment status is displayed in the status tab.
If the deployment was successful, the wizard advances to the Completed step.
Fifth Step: Completed
Apply Support Package:
First Step: Select Package Type
a. Select Single Support Packages.
b. Select No NWDI Control.
c. Click Next.
Second Step: Specify Queue
Select MDM_JAVA_API
Third Step: Check Queue
Fourth Step: Deploy Queue
When the deployment is complete, the deployment status is displayed in the status tab.
If the deployment was successful, the wizard advances to the Completed step.
Fifth Step: Completed
4. Exit the JSPM tool. -
Hi,
I want to dowload sap MDM java api libraries.any sites?
Thanks,
ShafeekI think you can download it from service market place...
-
Attaching/Detaching libraries with Java API
Hello,
In my forms (Forms10g), sometimes, libraries had been attached in lower case although files are in upper case. This causes compilation errors on UNIX systems.
I'm trying to detach these libraries with Java APIs and then reattach them in upper case.
But I get an error when I want to save the module.
Here is my code :
public class UpperPll {
public UpperPll (String formName) {
try
FormModule form = FormModule.open("C:/AttachPll/" + formName);
System.out.println("Form Name is " + form.getName());
JdapiIterator AttachPll = form.getAttachedLibraries();
while(AttachPll.hasNext())
try
JdapiObject jo = (JdapiObject)AttachPll.next();
System.out.println(jo.getName());
if (jo.getName().toLowerCase().equals(jo.getName()))
AttachedLibrary.find(form,jo.getName().toUpperCase()).detach();
System.out.println(jo.getName().toUpperCase());
new AttachedLibrary(form,jo.getName().toUpperCase());
catch (JdapiIllegalStateException jdise)
jdise.printStackTrace();
form.save("C:/AttachPll/New/" + form.getName() + ".fmb");
Jdapi.shutdown();
catch (JdapiException jde)
jde.printStackTrace();
public static void main (String[] args) {
try {
FileReader r = new FileReader( "C:/AttachPll/listemodule.txt" );
BufferedReader br = new BufferedReader( r );
try {
String module;
while ( ( module = br.readLine() ) != null ) {
new UpperPll(module);
} finally {
r.close();
} catch (FileNotFoundException fnfe) {
fnfe.printStackTrace();
} catch (IOException ioe) {
ioe.printStackTrace();
And here are the errors I get :
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x2FBBDCB
Function=icobad+0xB
Library=C:\DevSuiteHome_1\bin\frmcom.dll
Current Java thread:
at oracle.forms.jdapi.BaseAPI._jni_save_form(Native Method)
at oracle.forms.jdapi.FormModule.save(Unknown Source)
at UpperPll.<init>(UpperPll.java:39)
at UpperPll.main(UpperPll.java:55)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\DevSuiteHome_1\jdk\bin\javaw.exe
0x7C910000 - 0x7C9C7000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C904000 C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E4C000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E50000 - 0x77EE1000 C:\WINDOWS\system32\RPCRT4.dll
0x77D10000 - 0x77DA0000 C:\WINDOWS\system32\USER32.dll
0x77EF0000 - 0x77F37000 C:\WINDOWS\system32\GDI32.dll
0x77BE0000 - 0x77C38000 C:\WINDOWS\system32\MSVCRT.dll
0x62DC0000 - 0x62DC9000 C:\WINDOWS\system32\LPK.DLL
0x753C0000 - 0x7542B000 C:\WINDOWS\system32\USP10.dll
0x08000000 - 0x08139000 C:\DevSuiteHome_1\jdk\jre\bin\client\jvm.dll
0x76AE0000 - 0x76B0F000 C:\WINDOWS\system32\WINMM.dll
0x6BD00000 - 0x6BD0D000 C:\WINDOWS\system32\SYNCOR11.DLL
0x10000000 - 0x10007000 C:\DevSuiteHome_1\jdk\jre\bin\hpi.dll
0x00940000 - 0x0094E000 C:\DevSuiteHome_1\jdk\jre\bin\verify.dll
0x00950000 - 0x00969000 C:\DevSuiteHome_1\jdk\jre\bin\java.dll
0x00970000 - 0x0097D000 C:\DevSuiteHome_1\jdk\jre\bin\zip.dll
0x02F60000 - 0x02F6F000 C:\DevSuiteHome_1\BIN\frmjapi.dll
0x02F70000 - 0x02F8C000 C:\DevSuiteHome_1\bin\frmd2f.dll
0x663D0000 - 0x66414000 C:\DevSuiteHome_1\bin\CA.dll
0x66340000 - 0x6636A000 C:\DevSuiteHome_1\bin\mmc.dll
0x64CA0000 - 0x64CB1000 C:\DevSuiteHome_1\bin\UTL.dll
0x60730000 - 0x607DC000 C:\DevSuiteHome_1\bin\oracore10.dll
0x608D0000 - 0x60963000 C:\DevSuiteHome_1\bin\oranls10.dll
0x62B40000 - 0x62B53000 C:\DevSuiteHome_1\bin\oraunls10.dll
0x60C40000 - 0x60C47000 C:\DevSuiteHome_1\bin\orauts.dll
0x719F0000 - 0x71A07000 C:\WINDOWS\system32\WS2_32.dll
0x719E0000 - 0x719E8000 C:\WINDOWS\system32\WS2HELP.dll
0x774A0000 - 0x775DD000 C:\WINDOWS\system32\ole32.dll
0x616B0000 - 0x61891000 C:\DevSuiteHome_1\bin\oraclient10.dll
0x62B60000 - 0x62B66000 C:\DevSuiteHome_1\bin\oravsn10.dll
0x60D30000 - 0x60DE8000 C:\DevSuiteHome_1\bin\oracommon10.dll
0x60300000 - 0x60720000 C:\DevSuiteHome_1\bin\orageneric10.dll
0x629C0000 - 0x629D2000 C:\DevSuiteHome_1\bin\orasnls10.dll
0x62B80000 - 0x62C86000 C:\DevSuiteHome_1\bin\oraxml10.dll
0x02F90000 - 0x02FA1000 C:\WINDOWS\system32\MSVCIRT.dll
0x607E0000 - 0x608CC000 C:\DevSuiteHome_1\bin\oran10.dll
0x62000000 - 0x6202C000 C:\DevSuiteHome_1\bin\oranl10.dll
0x62030000 - 0x62042000 C:\DevSuiteHome_1\bin\oranldap10.dll
0x62090000 - 0x62184000 C:\DevSuiteHome_1\bin\orannzsbb10.dll
0x61E10000 - 0x61E52000 C:\DevSuiteHome_1\bin\oraldapclnt10.dll
0x61F30000 - 0x61F47000 C:\DevSuiteHome_1\bin\orancrypt10.dll
0x71A10000 - 0x71A1A000 C:\WINDOWS\system32\WSOCK32.dll
0x76D10000 - 0x76D29000 C:\WINDOWS\system32\iphlpapi.dll
0x770E0000 - 0x7716C000 C:\WINDOWS\system32\OLEAUT32.dll
0x621A0000 - 0x621D7000 C:\DevSuiteHome_1\bin\oranro10.dll
0x621F0000 - 0x621FC000 C:\DevSuiteHome_1\bin\orantcp10.dll
0x61F70000 - 0x61F76000 C:\DevSuiteHome_1\bin\oranhost10.dll
0x61F20000 - 0x61F26000 C:\DevSuiteHome_1\bin\orancds10.dll
0x62210000 - 0x62216000 C:\DevSuiteHome_1\bin\orantns10.dll
0x60970000 - 0x60C31000 C:\DevSuiteHome_1\bin\orapls10.dll
0x62500000 - 0x62507000 C:\DevSuiteHome_1\bin\oraslax10.dll
0x627B0000 - 0x628B3000 C:\DevSuiteHome_1\bin\oraplp10.dll
0x618B0000 - 0x61905000 C:\DevSuiteHome_1\bin\orahasgen10.dll
0x622B0000 - 0x622E6000 C:\DevSuiteHome_1\bin\oraocr10.dll
0x622F0000 - 0x62315000 C:\DevSuiteHome_1\bin\oraocrb10.dll
0x6FEE0000 - 0x6FF34000 C:\WINDOWS\system32\NETAPI32.dll
0x76BA0000 - 0x76BAB000 C:\WINDOWS\system32\PSAPI.DLL
0x62A80000 - 0x62AF6000 C:\DevSuiteHome_1\bin\orasql10.dll
0x662F0000 - 0x66320000 C:\DevSuiteHome_1\bin\mmi.dll
0x64F10000 - 0x64F21000 C:\DevSuiteHome_1\bin\UIIM.dll
0x64CE0000 - 0x64DBD000 C:\DevSuiteHome_1\bin\UIW.dll
0x64CD0000 - 0x64CD7000 C:\DevSuiteHome_1\bin\UTC.dll
0x64CC0000 - 0x64CC9000 C:\DevSuiteHome_1\bin\UTJ.dll
0x72F50000 - 0x72F76000 C:\WINDOWS\system32\WINSPOOL.DRV
0x58B50000 - 0x58BE7000 C:\WINDOWS\system32\COMCTL32.dll
0x64ED0000 - 0x64EF6000 C:\DevSuiteHome_1\bin\UIOLE.dll
0x76340000 - 0x7638A000 C:\WINDOWS\system32\comdlg32.dll
0x77F40000 - 0x77FB6000 C:\WINDOWS\system32\SHLWAPI.dll
0x7C9D0000 - 0x7D1F3000 C:\WINDOWS\system32\SHELL32.dll
0x64AD0000 - 0x64C05000 C:\DevSuiteHome_1\bin\VGS.dll
0x64E30000 - 0x64E93000 C:\DevSuiteHome_1\bin\UIREM.dll
0x659A0000 - 0x659EE000 C:\DevSuiteHome_1\bin\ROS.dll
0x66250000 - 0x6627E000 C:\DevSuiteHome_1\bin\mmw.dll
0x662A0000 - 0x662B0000 C:\DevSuiteHome_1\bin\mmv.dll
0x73AA0000 - 0x73AB7000 C:\WINDOWS\system32\AVIFIL32.dll
0x77BB0000 - 0x77BC5000 C:\WINDOWS\system32\MSACM32.dll
0x75BA0000 - 0x75BC1000 C:\WINDOWS\system32\MSVFW32.dll
0x662C0000 - 0x662DF000 C:\DevSuiteHome_1\bin\mms.dll
0x66810000 - 0x66A2B000 C:\DevSuiteHome_1\bin\DE.dll
0x627A0000 - 0x627AF000 C:\DevSuiteHome_1\bin\oraplc10.dll
0x64F50000 - 0x64F66000 C:\DevSuiteHome_1\bin\UICC.dll
0x64FB0000 - 0x64FDA000 C:\DevSuiteHome_1\bin\UCOL.dll
0x02FB0000 - 0x030CA000 C:\DevSuiteHome_1\bin\frmcom.dll
0x66380000 - 0x66389000 C:\DevSuiteHome_1\bin\mma.dll
0x64FF0000 - 0x65003000 C:\DevSuiteHome_1\bin\UAT.dll
0x66220000 - 0x6623C000 C:\DevSuiteHome_1\bin\nn.dll
0x64F70000 - 0x64F94000 C:\DevSuiteHome_1\bin\UIA.dll
0x64F30000 - 0x64F45000 C:\DevSuiteHome_1\bin\UIDC.dll
0x030D0000 - 0x03194000 C:\DevSuiteHome_1\bin\frmdig.dll
0x031A0000 - 0x0324D000 C:\DevSuiteHome_1\bin\frmdug.dll
0x66210000 - 0x66215000 C:\DevSuiteHome_1\bin\obs.dll
0x77390000 - 0x77492000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
0x5B090000 - 0x5B0C8000 C:\WINDOWS\system32\uxtheme.dll
0x74690000 - 0x746DB000 C:\WINDOWS\system32\MSCTF.dll
0x76BE0000 - 0x76C0E000 C:\WINDOWS\system32\WINTRUST.dll
0x779E0000 - 0x77A76000 C:\WINDOWS\system32\CRYPT32.dll
0x77A80000 - 0x77A92000 C:\WINDOWS\system32\MSASN1.dll
0x76C40000 - 0x76C68000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72C70000 - 0x72C79000 C:\WINDOWS\system32\wdmaud.drv
0x72C60000 - 0x72C68000 C:\WINDOWS\system32\msacm32.drv
0x77BA0000 - 0x77BA7000 C:\WINDOWS\system32\midimap.dll
0x5D3F0000 - 0x5D491000 C:\WINDOWS\system32\DBGHELP.dll
0x77BD0000 - 0x77BD8000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 576K, used 35K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 6% used [0x10010000, 0x10017c90, 0x10090000)
from space 64K, 7% used [0x10090000, 0x10091348, 0x100a0000)
to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000)
tenured generation total 1408K, used 122K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 8% used [0x104f0000, 0x1050e930, 0x1050ea00, 0x10650000)
compacting perm gen total 4096K, used 1642K [0x14010000, 0x14410000, 0x18010000)
the space 4096K, 40% used [0x14010000, 0x141aaac8, 0x141aac00, 0x14410000)
Local Time = Wed Apr 12 10:35:49 2006
Elapsed Time = 5
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
# An error report file has been saved as hs_err_pid3184.log.
# Please refer to the file for further information.
Can anyone help me ?
Message was edited by:
dbouchierWe do something very simular. We rename everything to lowercase for the same reasons. I've pasted a snippet of the code we're using at the end of this post.
To get the full source code of our converter have a look at http://www.oratransplant.nl/2005/05/30/custom-built-forms-migration-assistant/#comment-642
Here is the code snippet:
while (attachedLibs.hasNext()) {
AttachedLibrary attachedLib = (AttachedLibrary)attachedLibs.next();
String attachedLibLocation = attachedLib.getLibraryLocation();
out("Found attached library " + attachedLibLocation, logLevel,
false);
if (attachedLib.getName().equalsIgnoreCase("obsolete_forms6")) {
obsoleteAttached = true;
if (attachedLib.getName().equalsIgnoreCase("webreports")) {
webReportsAttached = true;
// converted name of attached lib to lowercase
if ((!attachedLibLocation.equals(attachedLibLocation.toLowerCase())) &&
lowerLib) {
out(attachedLib,
"Converting filename to lowercase (" + attachedLibLocation.toLowerCase() +
")", logLevel + 1, true);
attachedLibLocation = attachedLibLocation.toLowerCase();
pllChanged = true;
// attachedLibLocation = attachedLibLocation.toUpperCase();
pldText.append(".attach LIBRARY " + attachedLibLocation +
" END NOCONFIRM\n");
out("Re-attaching library " + attachedLibLocation, logLevel + 1,
false);
} -
Are there any Language Translators Libraries with Java API
I have a single xml document that contains all the text displayed in my application. I now want to translate the text into other languages and I thought I could do it my using the SAX to parse the individual elements, translate the text and then write out the resulting file. Are there any open source/java libraries that can translate text into other languages.
For now I am just interested in the most popular European languages, French,Spanish,German and ItalianI hear what you are saying, but if it could just make start that would be great. I have a program that I have been very careful to ensure all text is localized but I dont have the time/expertise to translate it myself or the funds to get it done professionally. I also have my help manual in docbook xml format so would like to translate that as well.
I thought AltaVistas BabelFish might have a Java API but have been unable to find one.
Also even if the translation was to be done by humans it is very difficult for a translater to edit the file in xml format,so I think I still need a process to extract the text from the file, allow it to be translated, and then read it back in. -
Invocation API or Java Client Libraries
Hi All,
I want to invoke my short/long lived processes through my java code.
Now, There are two ways to achieve this as i know .
1. Invocation API (which I am using currently now)
2. java client libraries
Now my question is whether one can use java client libraries to invoke workbench processes through java code?
If yes, is it better than Invocation API ?
Thanks
AbhiramAbhiram,
You can invoke any service defined to LC (there are several exceptions for good reasons) whether they are out-of-the-box services or applications you have built yourself.
In my opinion, your preference for invocation should be based upon the best fit for your existing Java classes. That's the beauty of the LC APIs. They give you some flexibility. The invocation APIs are nice for dealing with documents (PDF and native file formats). However, if your Java class(es) use Web Services then use the SOAP endpoint to call the LC process, for example. If performance is an issue and the Java class(es) run on the same host as LC, then use EJB.
Steve -
Developing Application for third-party Java API (jar) libraries
I need some of your inputs on architecting a web based solution to invoke Vantive java API using SAP Netweaver Technology. The API provides methods to connect, insert, update, fetch data from Vantive system using java classes. Pl. let me know which would be best way (webdynpro/ j2ee/java) to create & run web based forms to connect, insert and update data in Vantive using these Java APIs.
I think there is your choice only that based on your experience with web technologies (in case of integration with portal as I understood) but the nominee with the best integration capabilities is Dynpro. Of course you can simply use standard JEE techniques (see the official JSR for official technology and release notes of official restrictions by SAP implementation). Third party integrations are available in both choices: Dynpro or not. In general your choice is better to be with an appropriate estimation, isn't it? Or try to define concretely criteria of such integration.
-
[java api f90jdapi]How to change locationnames of attached libs in PLL's?
I have a couple of PLL files which have some attached libraries. The problem is that the cases of the locationnames of these attached libraries are not exactly the same as the physical files: for example, the physical file 'ofgmes.pll' is attached as 'Ofgmes.pll', or 'OFGMES.PLL'. In Linux this will cause problems during compilation, because Linux is case sensitive.
We have two solutions to change the locationnames manually:
1. load PLL in Oracle Forms Builder, remove and reattach the attached libraries.
2. Convert PLL to PLD, change the .attach LIBRARY property, and convert the PLD to PLL
As you can imagine, it takes a lot of time to do this manually. So I'm looking for a solution with the java api 'f90jdapi'. I've tried to load de PLL's in a PlsqlObject object, but it's impossible to edit these objects.
Now I'm looking for a manner to convert a PLL to PLD and vice versa. Can anyone help me with that? If there is another solution to change the locationnames of the attached libraries, please tell me :)
JeroenHi Jeroen,
You have two options to work around your lib's problem. Perhaps the easiest way is to set your FORMS90_PATH to include the missing library modules. This requires no coding, but I can imaging that hard-coded paths are unwanted in the future and you want to remove them (I know I would).
The second option involves some Java coding (using JDAPI) but than the paths are removed automatically. In essense
you have to rewrite the whole library as a pld and then parse the pld into a pll and eventually compile it into a plx.
The code below shows this. It is extracted from a utility I use to reattach libraries to forms, menus and pl/sql-
libraries. I tried to strip the code from details as much as I could. You can include this method into a new class or into your exsisting class.
It does:
1) loop over all modules loaded into the JDAPI session and check if a library module is passing.
2) For each found library, it loops over the attached libraries and writes a line to a StringBuffer. This StringBuffer is going to be your pld.
3) Loop over all Program Units and write the code to the StringBuffer.
4) Construct a proper file name and save the pld module to disk.
The save method uses a java.io.FileWriter to save the pld to disk and calls the runtime method I posted earlier to parse and compile the file.
Regards,
Harm
* Reattach libraries to Libraries (PlsqlModules). Handling libraries is different
* than handling forms and menus, therefore, this method does not depend on
* the reAttach(JdapiModule, List) method.
* Libraries are handled via a .pld script file and parsing that file to a .pll file.
private void reAttachLibs2Libs() {
for (JdapiIterator modules = Jdapi.getModules() ; modules.hasNext() ; ) {
JdapiModule jmod = (JdapiModule)modules.next();
if (jmod.getTypeId() == JdapiTypes.LIBRARY_MODULE_OTID) {
StringBuffer pldModule = new StringBuffer(4800);
// loop over all attached libraries and remove hard-coded paths
for (JdapiIterator attachedLibs = ((PlsqlModule)jmod).getAttachedLibraries() ; attachedLibs.hasNext() ; ) {
AttachedLibrary attachedLib = (AttachedLibrary)attachedLibs.next();
String lib = attachedLib.getName();
if (!dettachOrSwap.containsKey(lib)) {
pldModule.append(".attach LIBRARY ").append(lib).append(" END NOCONFIRM\n");
} // end for loop attached libraries
// loop over all PU's and append it (unchanged) to pldModule
for (JdapiIterator pUnits = ((PlsqlModule)jmod).getProgramUnits() ; pUnits.hasNext() ; ) {
ProgramUnit pUnit = (ProgramUnit)pUnits.next();
pldModule.append(pUnit.getProgramUnitText()).append("\n\n");
// only if libraries are changed, save pld to file system, to the outdirectory
// entered in jdapi.properties and change file extension from pll to pld.
String fileName = jmod.getAbsolutePath().substring(
jmod.getAbsolutePath().lastIndexOf(File.separator) +1
, jmod.getAbsolutePath().length()-3) + "pld";
fileName = outDir + File.separator + fileName;
save(pldModule, fileName);
} // end if JdapiTypes.LIBRARY_MODULE_OTID -
How to build a small application using Java API
Hai expertise,
I want to retreive MDM repository info using JAVA API, i am following these blogs:
/people/andreas.seifried/blog/2006/03/26/performing-free-form-searches-with-mdm-java-api
/people/udi.katz/blog/2005/08/21/retrieving-data-from-mdm-server-using-the-mdm-java-api
/people/udi.katz/blog/2005/07/17/mdm-connectivity-to-java-application
<b>where to get the jar and sda files to build the application??
In Developer Studio.. Windows -> Preferences -> Java -> Classpath variables. Is this the only place where we need to give the jar file path??
Are there any other configurations to do(except setting container variable to MDM4J jar file) to connect my java application to MDM repository???</b>
Regards,
Chand.Hi Govada,
(1)You need to add the MDM4j and other JAR files at:-
right click on project -> Java Build Path -> Libraries -> Add External JARs
(2)If the project is Web Dynpro project one
then right click on project -> Web Dynpro Reference -> Library Reference -> and add sap.com/com.sap.mdm.tech.mdm4j
Are you using JAVA API 1 or 2???
Thanking you
Namrata Dixit -
How to initialize a replica by using Java API?
Hi, I used to initialize a replica by adding the attribute nsDS5BeginReplicaRefresh=start to the replica agreement and it works fine by using the ldapmodify commandline utility. Now I am trying to use the Java API to do the same, but I always get the Object class violation error. And I noticed that when I use the Java API to create the replica, it has the different attributes than the one created by the commandline utility. The former has the serializedJavaData and javaClass, ... And I can't find any documentation on this issue. It's really frustrating! I am wondering if the replica agreement has different attribute for initializing? If so, why it's never documented?
I badly need your help!!!
LouisHi Govada,
(1)You need to add the MDM4j and other JAR files at:-
right click on project -> Java Build Path -> Libraries -> Add External JARs
(2)If the project is Web Dynpro project one
then right click on project -> Web Dynpro Reference -> Library Reference -> and add sap.com/com.sap.mdm.tech.mdm4j
Are you using JAVA API 1 or 2???
Thanking you
Namrata Dixit -
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 -
GWT meets Flex: Java API for Flex
Hello people,
I m somedays away to release the version 2.1 of gwt4air. gwt4air is an open source project based on gwt (http://code.google.com/webtoolkit/) and provides a Java API to different platform where Java is not the primary language.
Version 2.0 added among other features support for Adobe AIR, Alive PDF, Pure PDF, Aswing and other GWT based UI libraries like EXT-GWT
With version 2.1 i added support for Flex(AIR and Browser). The goal of this approach is to make it easy for Java Developers to switch to Flex be leveraging a swing like API. But also to present an alternative to the classical Flex developement. The overall idea behind this is described here:
http://code.google.com/p/gwt4air/wiki/Beginn
A demo application ca be found here: http://gwt4air.appspot.com/
The application contains around 100 demos with source code illustrating the use of the api.
I ve tried to keep the API similar to the AS3 api so one could easely switch from AS3 to Java and vice versa
Note that this flex applicaton is entirely written in Java using gwt4air. No AS3 no MXML.
The application is still in alpha stage so please expect some errors.
The project home is located at:
http://code.google.com/p/gwt4air/
I m looking forward to hear what you think about this idea. Any inputs (good or bad) is really welcome
Help me make this an even better tool.
It s about time that Flex rocks the GWT world
cheers,
AlainIt looks like those genius @google are also thinking about a Java(GWT) API for Flash .
http://www.youtube.com/watch?v=F_sbusEUz5w&t=1718
Glad to see that i m not a fool
Or alteast not the only fool that believe combining Java and Flash/Flex is a potent mix. -
Two questions on dynamic parameter from java API point of view
Hi,
We have a requirement for dynamic parameters in crystal reports that need to be executed in java application. Since, crystal java framework do not support the dynamic parameter execution (please correct me if I am wrong), we plan to execute explicitly the query for getting the dynamic values of such dynamic parameters before listing the parameters in java application.
The query for the dynamic parameter will be given in the field 'Prompt Group Text' of the parameter.
I coudl not get hold of these details from java api. So please some one help me out.
Environment - Crystal X1 R2 with java libraries
1. How can we identify a parameter is a dynamic one?
2. How to get the 'Prompt Group Text' field value?
Any suggestions welcome.
Thanks,
Ratan.There are these two methods in the Business Objects Enterprise SDK Developer Libary:
byte[] getDynamicCascadePromptData()
Returns a collection that contains dynamic cascading prompt data.
java.lang.String getDynamicCascadePromptGroupID()
Returns a dynamic cascade prompt group ID.
For more information on what is available through available SDK's, please refer to the following link:
http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm -
Process Performance monitoring Java API
Hi,
I am looking for java API's which can help me monitor performance stats like CPU utilization, memory utilization etc on a windows platform. I did get a handle on few APIs to measure memory utilization but somehow monitoring the CPU seems to be a problem. My requirement is to measure CPU and memory for a particular process and not for the entire system. Any pointers on this front would be of great help.
Thanks
BhavinI don't see any great free libraries that you can just drop in and make this happen.
There's an interesting looking product called "SIGAR" that seems to speak directly to what you want to do here.
Or this might be a great opportunity for you to play with JNI and some C++... awesome! ;-) -
Call a Java API inside a java mapping
Hi,
I have a web service in SAP PI 7.0 that recives a PDF coded in base64. I need to call an external Java API provided by a partner for extract its digital signature and return it as Web Service Response. It's possible to do the call to a Java API inside a Java mapping for doing this? What is necessari for doing this call?
I think that I Need to install the Java libraries in SAP J2EE stack and import its inside the java mapping. Need I something else?
can you show me any exemple?
thanks.Hi,
Put your jar files on your servers java path. Doing so you can have direct access into an udf for your libraries.
Another option (for testing purposes is a good idea) is to attach to the scenario your jar file. Go to mapping objects, imported archives, and import your jar file there. By this way it will be visible only on the context of the software component and namespace where you put the file.
Regards.
roberti
Maybe you are looking for
-
Mac Pro 2009 won't boot after airport installation
Hey everyone, looking for some insight here. I recently bought a Mac Pro 2009 running Mavericks (at time of receipt). It didn't come with an airport card so I purchased one to install myself. The Mac was running fine until this evening when I finally
-
Hi, I am working behind a corporate firewall that prevents the update manager to connect to the internet. Is there a way to download manually download updates for the IDE and install them? Thanks
-
Problem with character set - Reports 11.1.1.4
Hi! I have a problem with Oracle Reports 11g regarding character set configuration. The default character set WE8ISO8859P1 works, so PDF reports have a regular display except for Eastern European (EE) letters which are replaced by "¿" sign. So, when
-
i lost my ipod and i remotely locked my ipod on the computer using icloud, but when click on find my ipod it says NO DEVICES, how can i get back to the find my ipod page??? pliz help
-
I am billed 3 times for a same item. How can I get the problem fixed? Thanks a lot for yur help. nhuttan448