09-30-2008 3:10 PM
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.
09-30-2008 3:16 PM
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.
.