Skip to Content
0
Former Member
Apr 07, 2013 at 10:33 AM

CL_GUI_TEXTEDIT - comment box not visible in QM notification

29 Views

Hello,

I have a requirement where a new tab(Subscreen) is required for QM notification QM01/QM02/QM03

I created and configured a screen 90 - program SAPLXQQM.

I created a comment Box as part of the screen design, and the problem is, some people can see the comment box, and some cannot.

below is the code i used to create the comment box in the PBO

Data : lv_LINE_LENGTH TYPE I VALUE 254,

lcl_EDITOR_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,

lcl_TEXT_EDITOR TYPE REF TO CL_GUI_TEXTEDIT,

CREATE OBJECT lcl_EDITOR_CONTAINER

EXPORTING

CONTAINER_NAME = 'TEXTEDITOR'

EXCEPTIONS

CNTL_ERROR = 1

CNTL_SYSTEM_ERROR = 2

CREATE_ERROR = 3

LIFETIME_ERROR = 4

LIFETIME_DYNPRO_DYNPRO_LINK = 5.

CREATE OBJECT lcl_TEXT_EDITOR

EXPORTING

PARENT = lcl_EDITOR_CONTAINER

WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION

WORDWRAP_POSITION = lv_LINE_LENGTH

WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE

EXCEPTIONS

error_cntl_create = 1

error_cntl_init = 2

error_cntl_link = 3

error_dp_create = 4

gui_type_not_supported = 5

others = 6

.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

I suspected authorization or GUI incompatibility, also raised an OSS message 0000248579, but to no solution 😔

I am using SAP GUI 7.2 Patch Level 3.

Please advice!