‎2009 Apr 20 10:23 AM
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..,
‎2009 Apr 20 10:30 AM
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!
‎2009 Apr 20 10:30 AM
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!
‎2009 Apr 20 10:32 AM
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.