Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Row Text Length in Standard Text SO10

Former Member
0 Kudos


Hi All,

I have a requirement.

I need to send an email from Report Program. The Body of this mail is created in a standard text in SO10.

The line I'm giving in standard text is:

To view your pay statement for the period of &MONTH&&DAY&&YEAR& to &MONTH&&DAY&&YEAR&

But this line is getting printed in the email as Two lines:

To view your pay statement for the period of &MONTH&&DAY&&YEAR& to

&MONTH&&DAY&&YEAR&

This line should get printed as a single line. Is there any constraint to the length in the editor ?

I have used all the options in Formatting Options in SAP Script Editor but it didn't work.

Thanks in Advance,

Bharath.

9 REPLIES 9

Former Member
0 Kudos

A long text can not exceed 70 characters on a line.  There is however a line extension character for long texts.

Neal

0 Kudos

= is the line continuation symbol

0 Kudos

Hi Neal,

Thanks.

Could you please tell me where can i find this line extension character ?

Bharath.

0 Kudos

I have used this Extended Line Format option. But it didn't work. It is coming in a separate line

0 Kudos

like this

0 Kudos

I have tried the same way you told but no luck.  the row length is limited to 72 characters. But my line is around 85 characters. Hence it is pushing it to next line. But the requirement is, it should get displayed in the same line

0 Kudos

What statement are you using to display it?  What reporting context is it in? (ABAP, ALV, Report Painter, SAPScript...)  Any other context that might give us more context?

Neal

jack_graus2
Active Contributor
0 Kudos

Hi, not sure how your SO10 text is being mailed in your report.

For converting long text into a text string with unlimited line length I always use this function call:     

CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT'

  EXPORTING

    language    = nast-spras

  TABLES

    itf_text    = lt_tline

    text_stream = lt_soli.

lt_line is a table with the SO10 long text

lt_soli is a table type SOLI_TAB that holds the text string. SOLI_TAB is input for some e-mailing routines like class CL_BDS->SEND or function SO_NEW_DOCUMENT_SEND_API1.

Regards Jack

naresh_kabar
Explorer
0 Kudos

hi Mahesh

use this

  • = Extended line
  • This line is not subject to the line formatting in the SAPscript editor. The text contained in this line is appended directly to the character of the preceding text line which was output last. If this is not required, there must be at least one blank at the beginning of the extended line.