cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to pass BASE64 image data to smartform graphic or any other option to get the image in invoice

0 Likes
519

I have an image of a QR code which contain data 'A'. I am working on a Smart form, here in the invoice I need to get this data 'A' when the user is scanning the QR code.

The above-mentioned Image is in a BASE64 data. How can I make it appear in invoice through Smart form.

I have tried decoding the data and converting it to Binary, but I was not able to covert that binary to BITMAP data as I got exception saying No BITMAP file. However, even if I get that bitmap data also I couldn't find a way to bind it in graphic node, as there is no option to select graphic type in Smart form.

FM which I have used 

SCMS_BASE64_DECODE_STR

SCMS_XSTRING_TO_BINARY

SAPSCRIPT_CONVERT_BITMAP

Accepted Solutions (0)

Answers (0)