cancel
Showing results for 
Search instead for 
Did you mean: 

Use MDM java Api for saving an image to mdm image table

Former Member
0 Kudos

Hi experts

I want to save an image from web dynpro java to MDM image table using java Api's

Can anyone provide a code snippet .

I am using MDM 7.1 sp6.

Thanks and regards

Suresh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Suresh

Unfortunatly, this is no possible, i mean, to load images to mdm repository through JAVA API.

Sure you can do it directly to database ( but for that you need to do saome investigation)

Here you can found JAVA API classes for MDM:

http://help.sap.com/javadocs/MDM71/

Next two classes are working with BLOBs (pdf, images, video, etc.) in MDM repository:

com.sap.mdm.blobs

com.sap.mdm.blobs.commands

Regards

Kanstantsin chernichenka

Edited by: kanstantsin_ch on Sep 8, 2011 2:36 PM

Former Member
0 Kudos

hi

Problem resolved

Using java api's i am able to save image through web dynpro java application

com.sap.mdm.blobs

com.sap.mdm.blobs.commands

Thanks and regards

Suresh

Former Member
0 Kudos

suresh,

can you let me know the how you had resolved this. I have a requirement to extract image from file share and update mdm repository.

can you suggest what are the options.