Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: Email Question: TXT emails are formatted fine but HTM emails just produce one long string

$
0
0

Hi,

 

 

I change the code to work with "string_to_soli"

 

 

*  DATA: it_solix TYPE solix_tab .

*

*  CALL METHOD cl_bcs_convert=>string_to_solix

*    EXPORTING

*      iv_string = message_text

*    IMPORTING

*      et_solix  = it_solix.

 

 

  DATA: it_soli TYPE soli_tab .

 

 

  CALL METHOD cl_bcs_convert=>string_to_soli

    EXPORTING

      iv_string = message_text

    RECEIVING

      et_soli   = it_soli.

 

 

  CALL METHOD cl_document_bcs=>create_document

    EXPORTING

      i_type    = 'HTM'

      i_subject = p_sbjct

      i_text    = it_soli

*     i_hex     = it_solix

    RECEIVING

      result    = ob_document_bcs.

     

It is working also.     

 

 

Regards.


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>