Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Text Editor

abdulgaffarmohd
Participant
0 Likes
452

Hi ,

I am working on Z-table.

Based on this table i have create one

module pool programm in this module pool screen

i have created one Text Editor option

but i want to save this edited text ..,

For this one does i need to create text objects ..

text name ..,

how to carry on ..,

Regards,

MOHD..,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
428

Hi Abdul,

You need to create text objects from the SE75.

and while saving the text from that modulepool program, use the FM CRETE_TEXT. in that you have to give your created text object.

Thanks!

2 REPLIES 2
Read only

Former Member
0 Likes
429

Hi Abdul,

You need to create text objects from the SE75.

and while saving the text from that modulepool program, use the FM CRETE_TEXT. in that you have to give your created text object.

Thanks!

Read only

Former Member
0 Likes
428

HI,

use the following to get pointers to your query :

Data Declaration


DATA :  container TYPE REF TO cl_gui_custom_container,
        g_editor TYPE REF TO cl_gui_textedit.
*FIELD-SYMBOLS : <itab> TYPE STANDARD TABLE.
TYPES: BEGIN OF x_texttable,
  line_length(132) TYPE c,
END OF x_texttable.

DATA : g_t_text TYPE TABLE OF x_texttable.

IN PBO




  CREATE OBJECT container
    EXPORTING container_name = 'G_CUSTOM'.

  CREATE OBJECT g_editor
    EXPORTING parent = container.

IN PAI


CALL METHOD g_editor->get_text_as_r3table
        IMPORTING
          table           = g_t_text
        EXCEPTIONS
          error_dp        = 1
          error_dp_create = 2
          OTHERS          = 3.

Regards,

Mansi.