Skip to Content
avatar image
Former Member

String Variable Printing in SmartForm

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

.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 25, 2009 at 09:29 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 25, 2009 at 09:26 AM

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

    Add comment
    10|10000 characters needed characters exceeded