cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP API - Images

michael_pang4
Active Participant
0 Kudos

Hi,

In Java API, there is a way to get ImageInfo using the catalog class method getImageInfo( ).

This will allow me to get the image name.

I realised in the ABAP API, in the private section there is a getImageInfo method but it's not used anywhere.

Can anyone please help me?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Michael,

there is no support for image datatypes in the current releases of the MDM ABAP API.

What you see in the private section is just a dead-ended generated method.

Kind Regards

Andreas

michael_pang4
Active Participant
0 Kudos

Thanks for your reply Andreas.

Are there any plans in the future for Image support?

Cheers

Michael.

Former Member
0 Kudos

Hi Michael,

we are currently thinking about adding image functionalities.

But it would be good to know how you want to use the images inside NW ABAP or

specifically what are your requirements regarding the image functionalities.

Is there any use case you could tell us about, are there any customers asking for specific image functionalities within ABAP?

Any information would be apprechiated.

Kind Regards

Andreas

michael_pang4
Active Participant
0 Kudos

Hi Andreas,

We have a lot of products in our company. We tried to load the images into repository, and as it becomes too big, the performance becomes really slow. (We had about 4 images per product).

It is slow in a sense both maintaining the repository using the GUI, and loading data.

The only option out was to store all images on a HTTP server, and store the link in the repository.

We are still on SP4.

In the Java API we used to use:

catalog.GetImage(tableName, field, id, ImageType.ImageTypeOriginal);

ImageInfo imageInfo = catalog.GetImageInfo(tableName, field, id);

filename = imageInfo.GetName();

Hope this helps.

Cheers

Michael.

Answers (0)