Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BASE64 format for image

Former Member
0 Kudos

Hi Experts,

I have to input BASE64 format of an image in field B64DATA of function  SSFC_BASE64_DECODE .

As this format is long and doesnt fit into the field.

How can i do this? or if there is any other FM by which i can do this.

Regards

Akriti

4 REPLIES 4

jack_graus2
Active Contributor
0 Kudos

Hi, the function has input parameter B64DATA of type string and output parameter BINDATA of xstring.

Both parameters are string parameters and string parameters are of unlimited length.

At which point the format doesn't fit ?

Regards Jack

Former Member
0 Kudos

Hi Jack,

Thanks for the response.

When i try to fill the field with image tyoe binary data by executing the function directly in se37. It doesnt took the whole data,

Here i am not able to fill the whole data.

0 Kudos

Hi, is the function module test tool in SE37 the problem ? In the user interface the length seems to be limited to 200 characters.

But in a real ABAP there is no length limitation.

If you still want to call the function from SE37 test tool then you can you the debugger. In the debugger a STRING variable data can be replaced with unlimited length.

For this function module the BASE 64 data is copied in to STRING variable B64COPY en you can change the content in the debugger.

Regards Jack

Former Member
0 Kudos

ok..

Thanks for the help Jack