Application Development and Automation 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: 
Read only

Text box in module pool

Former Member
0 Likes
416

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

2 REPLIES 2
Read only

Former Member
0 Likes
365

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.

Read only

Former Member
0 Likes
365

Hi,

Check the sample program SAPSCRIPT_DEMO_NOTE_EDITOR

Thanks

Naren