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

Smartform to a BASE64 String

Former Member
0 Likes
1,899

I need to convert the OTF data returned by the smartform in a base64 string but i haven't success.

I think that my problem is to convert OTF data in a binary or xstring or string format .Then i will convert to base64 using the several functions and classes that sap provides me.

The function standard CONVERT_OTF return a table with two fields of 2 and 132 characters but i cannot get to convert successfuully to other formats like string by example.

3 REPLIES 3
Read only

Former Member
0 Likes
1,142

Hi

check the fun modules

CONVERT_OTF_MEMORY

CONVERT_OTF

CONVERT_OTF_2_PDF

SSFCOMP_CONVERT_OTF_C2X

SSFCONVERT_OTF_AND_FAX

SSFCONVERT_OTF_AND_MAIL

Regards

Anji

Read only

Former Member
0 Likes
1,142

I convert the output of the smartform in pdf, then i convert in a binary table then in xtring and finally in a base64 string

Read only

0 Likes
1,142

hi,

can you tell me which fm's u used after you got the pdf?

Regards

Bjorn