cancel
Showing results for 
Search instead for 
Did you mean: 

How to display image from Content Server

Former Member
0 Kudos

HI,

I have to display some images from an content server in my webdynpro application.

It's the first time I work with the content server.

I have some code to get the binary data of a file, but for the image I need an url. How do I get the url of the image?

Any ideas or any links to some tutorials are welcome.

Best regards,

Peter

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member696081
Participant
0 Kudos

Hi Peter,

I have also the same kind of requirement. I need to display an image of invoice pdf document in my BSP application.

Can you please suggest how did you get the data from Content server for the image and how you displayed that image in your application.

I will get the boject ID in the tabel TOA01 to create the web link.

Thanks in advance.

Regards,

Ranganadh.

Former Member
0 Kudos

Hi Ranganadh,

I am trying to print an image from content server can you help me in this how did you able to print that object.

Regards,

Vanitha P.

Former Member
0 Kudos

Found solution on my own

Former Member
0 Kudos

Hi Mr. irk,

I want to display an image file in web dynpro, can you share your solution?

Many thanks in advance.

I post a thread about my question, the link is:

Best Regards,

Derek

Former Member
0 Kudos

HI,

My solution was, to get the Content from the Contentserver with a RFC Function. The ABAP Function returned me the content of a file Base64 encoded. I saved the file in the local resource path of the DC (WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart());)

If you have any further questions, just ask.

Best regards,

Peter

Former Member
0 Kudos

Hi Peter,

I am also facing same problem in accessing data from the content server into SAP smartform.

Can you please please let me knoe how u did this.

Regards,

Vanitha P.