‎2008 Oct 31 8:28 PM
Hello,
I have a structure which has one of the component of type String. I want to print the contents of this String field [which has more than 255 chars] into smartforms. I have searched for the thread similar to this and broke the contents in the table but the format is getting lost. Is there anyway I can get large string printed in smartform without loosing its format.
Thanks,
Navneet
‎2008 Oct 31 8:36 PM
Hi,
By Using INCLUDE STATEMENT we can get more than 255 chr.
Regards
Ranga
‎2008 Oct 31 8:48 PM
Hi,
Thanks. But for that I should have a text object. I dont have text object, I have a string type field.
Thanks.
Navneet
‎2008 Nov 01 4:57 AM
can you explain a bit more, what formatting is lost? Cant you get all the characters?
Regards
Karthik D
‎2008 Nov 01 10:46 AM
‎2008 Nov 01 11:05 AM
Hai,
Kindly try the following function module.
READ_TEXT , which is used to bring the long texts.
Regards,
Harish
‎2008 Nov 01 3:44 PM
Hi,
Thank you all for your responses.
using of String or XSTRING wont help me as I am assigning my string field to a TEXT element which has limitation of 255 chars.
Now I have a string field which has more than 1000 characters with bullets and numbered bullets plus there are carriage returns for new paragraph/new line. All these formatting placeholders does't work if I break my string in String table and print it in loop thru text element which takes 255 chars at a time.
Harish can you explain more abt thie READ_TEXT. Do I have to use it in TEXT MODULE Type? I tried putting it in there but gave me error saying READ_TEXT doesnt exist.
Is there any way out?
Thank you,
Navneet
‎2008 Nov 03 10:34 PM
I was able to find the solution for this by splitting the string at the carriage return and further splitting it by offset at required characters.
Thank you for your responses.