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

How to convert binary base64 string to BMP image and upload to SE78 Tx. through program

harikrishna_malladi
Active Participant
0 Kudos
963

Dear experts,

How to convert binary base64 string to BMP conversion and upload to SE78 transaction programmatically ? I have tried so many ways but no luck. 

Through program I can able to convert base64 string to PNG image and able to download the file and i can view it, but when i am trying with same functionality with .BMP extension its not opening the image in the presentation server. 

I have tried to upload the binary content to function module SAPSCRIPT_CONVERT_BITMAP_BDS but here we are getting the exception "no_bmp_file". 

I have tried so many ways to call the below function modules but no luck, not able to convert my binary base 64 to bmp image, could you please suggest us on this conversion how we can convert base64 to BMP image, it will help us to resolve my issue.

SCMS_BASE64_DECODE_STR

SCMS_XSTRING_TO_BINARY

SAPSCRIPT_CONVERT_BITMAP_BDS

Thanks in advance 

 

Accepted Solutions (0)

Answers (0)