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

To encode the PDF (OTF) data to base64

Former Member
0 Likes
2,497

My requirement is to encode the PDF (OTF) data to base64.

I was trying the method cl_http_utility=>if_http_utility~encode_base64 to convert it.

In this method, I can able to pass a string as input. But the requirement is to pass internal table as input and the output must also be in internal table. Tried passing one line at a time for the above from internal table but the encoding is not proper. Please help me how to convert the OTF to base64.

Do the needful ASAP.

Thanks & Regards,

Uday

My requirement is to encode the PDF (OTF) data to base64.

I was trying the method cl_http_utility=>if_http_utility~encode_base64 to convert it.

In this method, I can able to pass a string as input. But the requirement is to pass internal table as input and the output must also be in internal table. Tried passing one line at a time for the above from internal table but the encoding is not proper. Please help me how to convert the OTF to base64.

Do the needful ASAP.

Thanks & Regards,

Uday

1 REPLY 1
Read only

Former Member
0 Likes
1,119

Hi,

Check thes FMs

SCMS_BASE64_ENCODE

HTTP_BASE64_ENCODE

SSFC_BASE64_CODE

Regards,

Satish