cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Form - Tables with one column as Image

venkateswaran_k
Active Contributor
0 Kudos

Dear All

I have a requirement as follows:

I need to print a Sales Order - with line item of material with its image.

I am using Adobe Form for our outputs.  I have created a form with table with all detail. 

I am not able to bring the appropriate image of the material in the respective row.

My images are stored in MIME Repository.

Can you please guide me how i can fetch the Xstring of image data from mime repository for each row and bind it.

Regards,

Venkat

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

1) Get the image xstring as below

cl_mime_repository_api=>get_api( )->get( EXPORTING i_url = 'IMAGE_URL' IMPORTING e_content = DATA(lv_xstring) ).

2) Use below code to encode xstring to base64 call function 'ssfc_base64_encode'     exporting           bindata  =  lv_xstring     importing           b64data  =  lv_img_str

3) Bind this field to an image field in the table

4) Make sure Embed Image Data is ticked