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:-
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.)
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.
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.