Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to Color Text in Mail Form

$
0
0

Hello Imran,

 

Please find response to your queries:

 

1.  Refer the screen shot for HTML code of the mail form and the related tag for colouring.

 

 

Mail Form Color Text.JPG

     You may be using following method to trigger e-mail.

 

   CALL METHOD cl_crm_pml_mail_form_api=>preview
      EXPORTING
        is_parameters = <parameter>
      IMPORTING
        ev_body       = <body>
      EXCEPTIONS
        not_possible  = 1
        OTHERS        = 2.

 

<body> will give you the HTML code of the final e-mail going out to the customer. You have to write code to find the changed attribute and change its colour using the tags (refer screen shot for tags).

 

2. FM READ_TEXT returns multiple lines based on the data available for the document and text type. Each line is of 132 characters. If text in one order objects is more that 132 characters (including spaces and new line, carriage return). You have read the whole table output and concatenate individual lines.

 

Regards,

Kapil Patil


Viewing all articles
Browse latest Browse all 7775

Trending Articles



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