2007 May 16 2:49 PM
Hi Friends,
I am using transaction MM02 when creating Purchase Order Text . Its working fine in foreground, but when I run it in background it is raising exception ERROR_CNTL_CREATE when calling the Text Editor.
I know in background SAPGui is not available and thats why it is raising the exception. But is there a way I can avoid it?
Thanks in advance,
Victoria
Here is the dump info:
The termination occurred in the ABAP program
"CL_GUI_TEXTEDIT===============CP"
In "CONSTRUCTOR".
The main program was "SAPMMG01 ".
The termination occurred in line 6 of the source code of the (Include)
program "CL_GUI_TEXTEDIT===============CM002" (when calling the editor 60).
The program "CL_GUI_TEXTEDIT===============CP" was started as a background job.
Error occurred during batch input processing
Here is the source code where the error occurs:
1 *creates and links TextEdit control
2 METHOD constructor .
3 DATA prog_id(80).
4
5 if parent is initial.
>>>>> raise error_cntl_create.
7 endif.
8
9 CLASS cl_gui_cfw DEFINITION LOAD.
10
11 * assign prog_id to get the frontend specific control
12 if not activex is initial.
13 prog_id = 'SAPGUI.TextEditCtrl.1'.
14 elseif not javabean is initial.
15 prog_id = 'com.sap.components.controls.textEdit.SapTextEdit'.
endif.
Hi Friends,
I am using transaction MM02 when creating Purchase Order Text . Its working fine in foreground, but when I run it in background it is raising exception ERROR_CNTL_CREATE when calling the Text Editor.
I know in background SAPGui is not available and thats why it is raising the exception. But is there a way I can avoid it?
Thanks in advance,
Victoria
Here is the dump info:
The termination occurred in the ABAP program
"CL_GUI_TEXTEDIT===============CP"
In "CONSTRUCTOR".
The main program was "SAPMMG01 ".
The termination occurred in line 6 of the source code of the (Include)
program "CL_GUI_TEXTEDIT===============CM002" (when calling the editor 60).
The program "CL_GUI_TEXTEDIT===============CP" was started as a background job.
Error occurred during batch input processing
Here is the source code where the error occurs:
1 *creates and links TextEdit control
2 METHOD constructor .
3 DATA prog_id(80).
4
5 if parent is initial.
>>>>> raise error_cntl_create.
7 endif.
8
9 CLASS cl_gui_cfw DEFINITION LOAD.
10
11 * assign prog_id to get the frontend specific control
12 if not activex is initial.
13 prog_id = 'SAPGUI.TextEditCtrl.1'.
14 elseif not javabean is initial.
15 prog_id = 'com.sap.components.controls.textEdit.SapTextEdit'.
endif.
2008 Feb 18 11:02 AM
Dear Vici Reed,
I encounter same raise exception ERROR_CNTL_CREATE in MM02 while maintaining material texts in different languages.
Can you please let me know how you resolved this issue in your case.
Thanks in advance .
Warm Regards,
RajaShekar Gangula.
2008 Feb 18 11:02 AM
Dear Vicki Reed,
I encounter same raise exception ERROR_CNTL_CREATE in MM02 while maintaining material texts in different languages.
Can you please let me know how you resolved this issue in your case.
Thanks in advance .
Warm Regards,
RajaShekar Gangula.
2008 Feb 18 11:02 AM
Dear Vicki Reed,
I encounter same raise exception ERROR_CNTL_CREATE in MM02 while maintaining material texts in different languages.
Can you please let me know how you resolved this issue in your case.
Thanks in advance .
Warm Regards,
RajaShekar Gangula.
2016 Feb 22 12:44 PM
2016 Feb 22 12:57 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |