Application Development and Automation 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: 
Read only

base64 encoding in ABAP

Former Member
0 Likes
3,281

Hi,

in need a base64 encoding in ABAP, and can't use the methods of the IF_HTTP_UTILITY interface.

Does anybody have some ABAP code for RFC 2045 compatible base64 encoding code to share?

Thanks!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,339

Hi ,

Take a look at the following FMs:

SCMS_BASE64_ENCODE

HTTP_BASE64_ENCODE

SSFC_BASE64_CODE

Regards,

Anand Mandalika.

3 REPLIES 3
Read only

Former Member
0 Likes
1,340

Hi ,

Take a look at the following FMs:

SCMS_BASE64_ENCODE

HTTP_BASE64_ENCODE

SSFC_BASE64_CODE

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
1,339

Hi Frank,

I have used this FM "SSFC_BASE64_CODE" to convert XML format into base64 format. it is working fine.

Have look at this for Base64 encoding decoding sample check http://makcoder.sourceforge.net/demo/base64.php

Prabhu Rajesh.

Read only

Former Member
0 Likes
1,339

I think FM ENCODE_SLDPWD_BASE64 is the best for simple string encoding as it doesn't require superfluous parameters as with the *_BASE64_ENCODE FMs!