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: 

PDF convertion for standard text

Former Member
0 Kudos

Hi all,

Currently i am using this function module "SX_OBJECT_CONVERT_OTF_PDF",

working fine for script out puts.

but i want to convert the standard text also as a pdf file . we are using 4.0 version.

I am reading the standard text through READ_TEXT.

Please do needful.

Regards,

Giridhar P

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos

Whatever text that you read into an internal table using read_text fm, can be filled in the OTF table and passed to the same fm SX_OBJECT_CONVERT_OTF_PDF.

This fm should work fine for standard text as well.

Alternatively, you can use the FM: CONVERT_OTF_2_PDF

Regards,

Ravi

0 Kudos

Hi Ravi,

after reading the Standard test the file format is :

li_cnt_txt like solisti1 occurs 0 with header line.

But the OTF file is like ITCOO this structure which is having only 2 fields.

please suggest me how i can go ahead

Thank you.

Regards,

Giridhar

Former Member
0 Kudos

Hi,

Try using FM 'OTF_CONVERT'.

-B S B