Skip to Content
author's profile photo Former Member
Former Member

long text query

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2009 at 06:50 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 04, 2009 at 10:29 AM

    answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.