2008 Jan 25 1:02 PM
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
2008 Jan 25 1:07 PM
Hi,
Check thes FMs
SCMS_BASE64_ENCODE
HTTP_BASE64_ENCODE
SSFC_BASE64_CODE
Regards,
Satish