Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3208

Handling long text display

$
0
0

Dear forumers,

 

I have a bit of an issue with a long text display for a smartform in CRM. Hope you can help me out.

 

Here's what I've done so far:-

 

one.jpg

A sample text input is initially in a string data type as shown above – in this example, it has 808 characters of length in total.

Next, this text input is passed to the FM, CONV_TEXTSTRING_TO_ITF.

(I had earlier used the FM, G_SPLIT_LINE, but this didn't work well because it had a limitation of 500 characters of length for the text input.)

 

two.jpg

The text input is broken down into multiple lines as shown above after it is processed by the FM, CONV_TEXTSTRING_TO_ITF.

The text lines here have a maximum length of 132 characters per line.

Next, these text lines will processed by the FM, FORMAT_TEXTLINES.

 

three.jpg

The text lines are finally formatted as above after it is processed by the FM, FORMAT_TEXTLINES (this is meant to limit the length of text up to 100 characters per line, solely for the smartform display purposes).

These text lines now have a maximum length of 100 characters per line.

 

How may I resolve the issues as highlighted in the red bubbles?

 

Appreciate any of your help here.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 3208

Trending Articles



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