‎2009 Apr 24 10:35 AM
Hi,
I have created text edit container using this code.
IF OB1 IS INITIAL.
CREATE OBJECT EDITOR_CONTAINER
EXPORTING
CONTAINER_NAME = 'OB1'.
CREATE OBJECT OB1
EXPORTING
PARENT = EDITOR_CONTAINER
WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
*WORDWRAP_POSITION = LINE_LENGTH
WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.
CALL METHOD OB1->SET_TOOLBAR_MODE
EXPORTING
TOOLBAR_MODE = CL_GUI_TEXTEDIT=>FALSE.
CALL METHOD OB1->SET_STATUSBAR_MODE
EXPORTING
STATUSBAR_MODE = CL_GUI_TEXTEDIT=>FALSE.
ENDIF.
Now, I want to upload data in this text editor through BDC. My problem is when i do recording SAP do not upload data in this custom control.
Is there any other way to do this Please reply.
Thanks
‎2009 May 26 5:57 AM
Its easier to use SAVE_TEXT function module to upload the texts than to record them. you can first record the transactiona and do a SAVE_TEXT call at the end.