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 box in module pool

Former Member
0 Kudos

How to create more than 10 lines in a single trext box...Anyone help me with the code

2 REPLIES 2

Former Member
0 Kudos

You can add an text button on the screen and call the following function module when the user clicks on the button.

data: i_objtxt like solisti1 occurs 10 with header line.

call function 'TERM_CONTROL_EDIT'

exporting

titel = text-ttl

langu = sy-langu

tables

textlines = i_objtxt

exceptions

user_cancelled = 1

others = 2.

Former Member
0 Kudos

Hi,

Check the sample program SAPSCRIPT_DEMO_NOTE_EDITOR

Thanks

Naren