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.
Showing results for 
Search instead for 
Did you mean: 

Text Field with multiple lines

Former Member
0 Kudos

I am trying to create a text field in the selection screen where it can insert a text with multiple lines for instance those text fields which you can see online where you can key in text lines after lines.

How do you do that in ABAP?


Former Member
0 Kudos


See any Std program code for CREATING long Text lines

See any application document HEADER or ITEM text and copy that code

first declare a field with some table field


PARAMETERS: p_text like Tline-tdname.

then keep a button (for Long text) and in the program write a code such that when you press on that line it will take you to text ediotr

using the CREATE_TEXT fun module

copy it from a std program text..

<b>Reward points for useful Answers</b>



Active Contributor
0 Kudos

Edit Text function are part of SapScript, look at <a href="">BC SAPscript: Printing with Forms</a> page 156 an up (READ_TEXT, and others FM)