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: 

Display long text in i/o field(Module Pool)

Former Member
0 Kudos

Hi all,

I am using "CATSXT_SIMPLE_TEXT_EDITOR" function module

to type long text in module pool.

I did it successfully but my requirement is how to move

long text i entered in "CATSXT_SIMPLE_TEXT_EDITOR"

to my "input/output field text box".

can anyone plz help me to solve this problem.

Regards,

Ranjith C.

1 REPLY 1

Former Member
0 Kudos

hi

The long text ur giving is getting stored in CH_Text.

So, declare a field and pass that to the FM.. so after that FM executes, then pass it on to the screen..using internal table.

data: text type CATSXT_LONGTEXT_ITAB.

CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'
  EXPORTING
    IM_TITLE              =
*   IM_DISPLAY_MODE       = ' '
*   IM_START_COLUMN       = 10
*   IM_START_ROW          = 10
  CHANGING
    CH_TEXT               = text. " it will fill the long text here.

Then move it to a internal table...

Regards,

Vishwa.

.