cancel
Showing results for 
Search instead for 
Did you mean: 

String Variable Printing in SmartForm

Former Member
0 Kudos

Hi,

I need to print the values stored in a String Variable in a smartform. The length of the variable is not known until run time and gets dynamically populated in the data processing logic. But while printing it in the smartform &lv_string&, it writes only 255 characters of the string. But my requirement is to print whatever the value stored in the string. It may be even multiple lines that run into more than 2000 char long. I am using &lv_string& which is printing only 255 chars of the string variable. Not sure, how to make it printing the whole values stored in the string. Am I missing any formatting options with String variable here? I am not sure. Please suggest me a suitable solution. Appreciate your help in advance.

Thanks,

Kannan

.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the FM RKD_WORD_WRAP to convert lv_string into internal table with each row of length of 255. You can use the internal table to print the data.

Answers (1)

Answers (1)

Former Member
0 Kudos

try using standard table of string..there by storing multiple lines of string.