try as below
1) bind your image field to a string attribute(lv_img_str) instead to xstring
2) encode icon(xstring) value to base64 with
call function 'ssfc_base64_encode'
exporting
bindata = lv_icon
importing
b64data = lv_img_str
try as below
1) bind your image field to a string attribute(lv_img_str) instead to xstring
2) encode icon(xstring) value to base64 with
call function 'ssfc_base64_encode'
exporting
bindata = lv_icon
importing
b64data = lv_img_str