cancel
Showing results for 
Search instead for 
Did you mean: 

Wrap many lines in sapscript form

Former Member
0 Kudos

Hi,

I have a requirement to wrap the include text in a sapscript form. Things would be simple if I just have a long text line to wrap by calling the FM "RKD_WORD_WRAP". But the include text contains many lines, which can not be passed to FM "RKD_WORD_WRAP" if not using a loop. However, the first long text in the include may resulted in 1,5 wrapped text. And it will go to next line to create another wrapped text, without concatenating to the previous long text.

Do you have any suggestions ? Are there an FM that can wrap a text table from an include text ?

Thanks

Paul

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I just concatenate all the text line in the internal table in 1 string, pass this string to a character variable before passing this char variable to FM 'RKD_WRAP_WORD'.

The only problem is that I need to catch the break lines in the include text to display those paragraph correctly in the form. But I think I have solution for this as well.

Thanks,

Paul

Former Member
0 Kudos

Solved it myself.

Thanks,

Paul

raviahuja
Contributor
0 Kudos

Please give the solution and mark the question as answered.

Thanks.

Ravi