cancel
Showing results for 
Search instead for 
Did you mean: 

Text output limitations

Former Member
0 Kudos

I'm reading in external Notes data using a function module into an internal table. (Table structure has a single field defined as String).

In a loop node in main window I read the data into work area. I've checked the length & value of the work area string and its > 255 characters but each time I output the work area attribute using a text node only 255 characters display.

Can anyone help?

Cheers, Steve

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

probably u need to word wrap the text to less than 255 characters per line....

u can use the FM word_wrap

Answers (4)

Answers (4)

Former Member
0 Kudos

Cheers, but its not standard text I'm after. It's a table output formatting problem with the Work Area text. I'm getting a blank line between text lines and the span is too short.

Former Member
0 Kudos

Hi,

I think if you want to get the text you can define that particular text in SO10 (to create a standard text)

And include that in your script text editor...

Hope this would help you.

Regards

Narin Nandivada.

Former Member
0 Kudos

Reverting back to my previous way of using a table, the text comes out in full but seems to throw a blank line and the width is shorter than the width of the letter. Probably this is due to a formatting problem, but I cant work out the method to do it. I've switched off footer and header print and changed the text type to Dynamic Text and inserted field, (as previously suggested), but get a syntax error at run time even though it activates ok.

former_member187452
Contributor
0 Kudos

Hi,

If you want to display the long text then use include text .

Regards,

Bharat.

Former Member
0 Kudos

Thanks for the replies but...

Text word wraps fine, it just only does the first 255 chars - (FM states max length is 255)

Include text is related to fixed defined SAPScript text with set name & object - not applicable - I have used a FM to retrieve specific user note text