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: 

Conversion of Tline to Soli and String

VijayCR
Active Contributor
0 Kudos

Hello Experts,

     I am doing a functionality to send a PDF and Excel as a attachemnt to mail.For the header andd the subject i am using Read_text to get the text.If i send TD line alone i am getting like the beolw snap shot all lines in just 2 lines.

Now I have  function module where it takes subject as string and body as soli type.Please let me know how i can convert the Tline struncture to soli and string.

When i send the tlint-tdline into the soli type

* Dear sir,

* please chekc mail

*thank you

* Vijay

I am getting * infornt of every line can i know how to resolve this issue.

Thanks and regards,

Vijay Simha.

4 REPLIES 4

madhu_vadlamani
Active Contributor
0 Kudos

Hi Vijay,

Did you check with available classes.

Regards,

Madhu.

former_member585060
Active Contributor
0 Kudos

Hi,

    Try to with FM 'CONVERT_ITF_TO_HTML' instead of READ_TEXT. it will return you directly the long text in HTML format.

Thanks & Regards

Bala Krishna

0 Kudos

Hello Balu,

I have to use ID and Name from a table based on company code and get the text so i cannot use the above Fm.

0 Kudos

Please using Function module "CONVERT_ITF_TO_STREAM_TEXT" to convert TLINE to Internal table of string and using Function module "SO_STRING_TO_TAB" to convert internal table of string to internal table of SOLI