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: 

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?

2 REPLIES 2

Former Member
0 Kudos

Hi

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

like

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>

Regards

Anji

raymond_giuseppi
Active Contributor
0 Kudos

Edit Text function are part of SapScript, look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf">BC SAPscript: Printing with Forms</a> page 156 an up (READ_TEXT, and others FM)

Regards