Skip to Content
0
Former Member
Jan 21, 2008 at 06:53 AM

Saving text editor

16 Views

I have this text editor that I want to save everything in my text editor line by line.

For eg. If my text editor haves values like these:

-


Report ZTEST.

TABLES: ZPROGRAM_TABLE.

DATA: ITAB_PROGRAM TYPE TABLE OF ZPROGRAM_TABLE.

DATA: CODE_EDITOR_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,

CODE_EDITOR TYPE REF TO CL_GUI_TEXTEDIT.

DATA: WA_PROGRAM LIKE LINE OF ITAB_PROGRAM.

-


How am I suppose to save each line in my text editor into my table called ZPROGRAM_TABLE and column name PROGRAM_CODE?

Codes example is preferred and I shall reward points accordingly.