Skip to Content
0
Former Member
Jul 22, 2008 at 11:28 AM

How to save the contents of custom editor

40 Views

Hi,

I have created a custom container for a text area. I want to know how to save the contents typed in the custom editor into an internal table??

my code for creating the custom editor is as follows:

DATA : container TYPE REF TO cl_gui_custom_container,

g_editor TYPE REF TO cl_gui_textedit.

CREATE OBJECT container

EXPORTING container_name = 'G_CUSTOM'.

CREATE OBJECT G_editor

EXPORTING parent = CONTAINER.