Skip to Content
0
Former Member
May 21, 2010 at 10:58 AM

How to read html code to an internal table

104 Views

Hii,

I am currently working with the class cl_bcs to send an email. I have html coding, that I want to give to the method

*   Creating Document
      lr_bcs_document ?= cl_document_bcs=>create_document(
        i_type = 'HTM'
        i_text = li_emal 
       i_subject = 'Hello'
      ).

My html coding looks like :

<p>Convert internal table data into html - Hotfile Search &amp; Free ... - [ Diese Seit</p>
<ol>
 <li>Ultra lightweight, NO crowded buttons, FAST LOADING! </li>
 <li>Ultra lightweight, NO crowded buttons, FAST LOADING!<br />
  <br />
  fwdewdewdwd </li>
 <li><br />
  <br />
  <span style="FONT-SIZE: 8pt; FONT-FAMILY: Helvetica">
   <p align="left">global structure/work</p>
   <p align="left">area Not allowed</p>
   <p align="left">global variable Not allowed</p>
   <p align="left">global internal table Not 
   <p>example: pr_xxxx type ref to</p></span></li>
</ol>

My problem is, I don't know how to save the html coding to an internal table. I used the structure SOLISTI1 to save it to an internal table, but the structur allows only 255 characters.

I tried to do it with CONCATENATE INTO and the append to my internal table but as I said, I can only save 255 Characters.

Can anybody help me ?

regards,

Harris