2022 Dec 20 10:58 AM
Question why my text in smartform is like this. auto break line after the word street1 ?
note the box is a border of the window
here is my code. i also tried to use concatenate but i got same result
i want a result like this
2022 Dec 20 11:40 AM
could post the smartforms object displaying the text ?
could you check the variable does not contains a line break?
2022 Dec 20 2:38 PM
2022 Dec 21 12:44 AM
2022 Dec 20 3:06 PM
I suspect that if SAP tries to display the text on the right, it would override the right border, see this manual attempt by me to confirm what I suspect:
As this is not permitted, it flows over the next line:
2022 Dec 21 12:45 AM
i tried to extend the width of the window but still got the same result
2022 Dec 21 1:49 AM
if the character reach the border it should be like this the 4 will go to the nextline i don't know why after the street1 word all the nextword is going to new line
this gv_fulladdress variable is type string and the value length is below 200 characters.
2022 Dec 21 1:59 AM
2022 Dec 21 4:01 AM
You word is too long to fit. To avoid to break the word, SAP is moving it to the next line.
Microsoft Word is behaving in the same way :
2022 Dec 21 6:05 AM
2022 Dec 21 7:54 AM
bolivs22 The only and unique behavior of SAPscript and Smart Forms is to split the words at the space character. If you have very long words and want to split them, insert space character in the middle of the word. That's it.
2022 Dec 21 3:55 AM
it is working fine if the text is manually entered. but if i use the variable the word is moving to next line