cancel
Showing results for 
Search instead for 
Did you mean: 

Image field in table - Dynamically from SE78 ?

former_member186822
Participant
0 Kudos

We have a standard SAP ALV Report today, where we have a column with icons. ( Column Type MD_ICON_AMPEL )

Typically, we use the icons: ICON_GREEN_LIGHT, ICON_YELLOW_LIGHT and ICON_RED_LIGHT.

We want to create the same list in Adobe Form pdf, so we can print out the list with icons.

I created these icons as BMP-pictures in SE78, and in my ABAP code I have a routine where I call the:

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp

In my table I have a field called:

ICON_IMAGE of type RAWSTRING, and bind it to a imagefield in my Adobe form. (in a table )

No image shows up !

Please Help.

Regards Rolf

Edited by: Rolf Hoven on Sep 30, 2011 7:31 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member186822
Participant

Solved by myself !!

It's possible to create GRAPHIC-nodes in a a table also, in the Adobe Context !!!

Graphic Type: Graphic Content

Field: "ZMYTABLE-ICON_IMAGE"

MIME Type: image/bmp

0 Kudos

I have the same issue and i think you have the answer i need.

I need to display a dynamic list of items. Each item displaying it's own image.

The images are uploaded as BMP in SE78 and are read in the form interface with

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp

into table MY_ITEMS-IMAGE_DATA.


How did you declare your GRAPHIC node in the form context ?
I know how to declare a single graphic content, but i am stuck in declaring a table of graphic contents.

Graphic Type: Graphic Content

Field:        "MY_ITEMS-IMAGE_DATA"

MIME Type:    image/bmp

Thanks for your reply.

0 Kudos

I found the solution for binding a list of images in thread http://scn.sap.com/thread/1563373

The key was to pass the image data as a Base64 encoded STRING to the form context.

former_member186822
Participant
0 Kudos

1. Create a node called "MYLOGO" as type XSTRING

2. In your graphic node, set "field" to "MYLOGO" and set "MIME type" to "image/bmp"

Answers (0)