on 07-14-2016 8:23 AM
Hi Experts,
I am getting Error in ME23N
Short text
The current application triggered a termination with a short dump.
Runtime Errors MESSAGE_TYPE_X
ABAP Program SAPLMMTE
Application Component MM-PUR
Information on where terminated
Termination occurred in the ABAP program "SAPLMMTE" - in
"SEND_TEXT_TO_CONTROL".
The main program was "RM_MEPO_GUI ".
In the source code you have the termination point in line 45
of the (Include) program "LMMTEF08".
Source Code Extract
Line SourceCde
15 lt_tline LIKE tline OCCURS 0, "352736
16 lt_stream TYPE STANDARD TABLE OF l_stream. "352736
17
18 READ TABLE gt_control WITH KEY object = p_object INTO l_control.
19 IF sy-subrc EQ 0.
20 LOOP AT l_control-textlines INTO l_textline
21 WHERE tdid EQ p_id.
22 MOVE-CORRESPONDING l_textline TO l_tline. "352736
23 APPEND l_tline TO lt_tline. "352736
24 ENDLOOP.
25
26 * convert the text lines
27 CALL FUNCTION 'CONVERT_ITF_TO_STREAM_TEXT' "352736
28 EXPORTING
29 language = l_control-language
30 TABLES
31 itf_text = lt_tline
32 text_stream = lt_stream.
33
34 * send the text lines to the text edit control
35 CALL METHOD l_control-editor_handle->set_text_as_stream "352736
36 EXPORTING text = lt_stream.
37 ENDIF.
38
39 CALL FUNCTION 'CONTROL_FLUSH'
40 EXCEPTIONS
41 cntl_system_error = 1
42 cntl_error = 2
43 OTHERS = 3.
44 IF sy-subrc <> 0.
>>>>> MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
46 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
47 ENDIF.
48
49 ENDFORM. "send_text_to_control
Kindly need input for this issue,
Thanks,
Ahmed
This is more than likely an MM issue rather than a GUI issue
Please open a ticket in MM-PUR-GF-TEXT and provide the exact steps you used to recreate this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.