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: 

long text query

Former Member
0 Kudos

Hello Friends,

I want to print long text in smartforms which user has entered in long text field in zmodule pool program.

The problem is that when im displaying in smartforms using fm read_text its not showing the data as user has entered

For eg.

User has entered in long text u2018this is a sample programu2019

u2018tested successfullyu2019

In smartforms it is displaying as : u2018this is a sample programu2019 u2018tested successfullyu2019

I want to show the data same as entered by the user .. pls suggest??

Kind Regards,

Sunny Vaswani

2 REPLIES 2

Former Member
0 Kudos

Hi,

Use STRING type for your screen field and for your table field. You cannot use TABLES for declaring your table in your program. Also you cannot use the statement LOOP AT ITAB WITH CONTROL in screen's PBO and PAI. But you can use the variant LOOP WITH CONTROL.

You can use class CL_GUI_TEXTEDIT

see the demo program

SAPTEXTEDIT_DEMO_1

regards,

Shamma

Former Member
0 Kudos

answered