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: 

To Display the whole long text on a report display

Former Member
0 Kudos

Hi All,

Pls let me know how can i display the full long text in a column of a report display. I am getting the long text from the function module READ_TEXT.

This is very urgent

Thanx in advance

Suresh

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Do you have a fixed column width. If so, do you want to break the text up into lengths of that fixed length.

Example...

<b>Sales Order  Item  Material  Long Text</b>
123456       10    6000000   This is the long
                             text of the material
                             6000000 for the 
                             sales order 123456.

Regards,

Rich Heilman

0 Kudos

If this is what you want to do, then you can try using the function module FORMAT_TEXTLINES to break the text into specific column length. The text will be returned format per line in an internal table.

Regards,

RIch Heilman

Former Member
0 Kudos

itab will have matnr, TDLINE.

loop at itab.

write :/1(18) itab-matnr,

40(40) itab-tdline+0(40).

write :/40(40) itab-tdline+40(40).

*--Like that use TDLINE to print.

endloop.

Former Member
0 Kudos

Is the column part of an ALV report or classic report?

May be you can provide a button like any standard SAP transactions do for long text, and show the text in a seperate pop-up screen.

Srinivas