12-12-2008 7:33 AM
Hii,
I am using a fm TRIP_EDIT_TEXT_IN_POPUP to display text editor where the user can write some comments.
This is my code
DATA: TEXTTAB TYPE TABLE OF TDLINE.
DATA: MOREI TYPE MOREI,
EDITOR_TYPE TYPE EDITOR_TYPE.
CALL FUNCTION 'TRIP_EDIT_TEXT_IN_POPUP'
EXPORTING
I_MOREI = MOREI
I_EDITOR_TYPE = EDITOR_TYPE
I_TITLE = 'Title'
I_MODUS = 'C'
TABLES
T_TAB_EDITOR = TEXTTAB
EXCEPTIONS
DEFAULT_TEXT_NOT_FOUND = 1
OTHERS = 2.
The problem is when I am passing a already filled table TEXTTAB (To display data when the screen comes up) It is not working. It is showing the blank editor even if the texttab table is filled.
Does anyone know how to display data using this FM ?
12-12-2008 8:33 AM
you have to pass
I_EDITOR_TYPE
I_EDITOR_KEY
two values in exporting parameter and same value you have to populate in the table parameter.
T_TAB_EDITOR.
i.e.
T_TAB_EDITOR-EDITOR_TYPE should be equal to I_EDITOR_TYPE in exporting parameter and
T_TAB_EDITOR-EDITOR_KEY should be equal to I_EDITOR__KEY in exporting parameter.
Regards
Shiba Prasad Dutta
12-12-2008 7:40 AM
12-12-2008 7:46 AM
Hiii,
Thanx for the help..but I want to display the text editor in a popup screen
12-12-2008 8:33 AM
you have to pass
I_EDITOR_TYPE
I_EDITOR_KEY
two values in exporting parameter and same value you have to populate in the table parameter.
T_TAB_EDITOR.
i.e.
T_TAB_EDITOR-EDITOR_TYPE should be equal to I_EDITOR_TYPE in exporting parameter and
T_TAB_EDITOR-EDITOR_KEY should be equal to I_EDITOR__KEY in exporting parameter.
Regards
Shiba Prasad Dutta