on 12-10-2010 7:57 AM
Hi Experts,
I am upgrading my SAP system from ERP6.0 EHP4 ready SR1 to EHP4 SPS8
right now in the downtime phase JOB_RSINDCHK, we are getting an
Error as per below.
Severe error(s) occured in phase MAIN_NEWBAS/JOB_RSINDCHK!
Last error code set: RFC_ERROR 2: DUMP_ERROR
In ST22 :
The exception 'CX_ENH_INTERNAL_ERROR' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_R3STANDARD_PERSISTENCE=====CP' has to be
terminated.
Based on SAP notes search I can find that SAP Note 1483283
According note i unlocked with below commands
tp unlocksys BST pf=E:/DUMP/EHPI/abap//bin/DEFAULT.TPP
tp unlock_EU BST pf=E:/DUMP/EHPI/abap//bin/DEFAULT.TPP
now i logged with ddic on 000 and executed below steps
Start SE24 -- entered the class -- CL_ENH_BADI_PREGENERATION, choosed the Object Type->Test (F8).
Pressed the Execute button beside BADI_PREGENERATION
Entered the Spot name: SFW_SWITCH_DETERMINE_OBJ after that t execute iam getting screen :
STOP Exception CX_ENH_INTERNAL_ERROR triggered
An internal error occurred when processing the enhancement
How to proceed for the same.
Thanku
Hello,
in the end we opened an OSS message to SAP.
SAP suggested us to upgrade the kernel.
We was already on the last SP kernel available (kernel 701 64bit unicode patch 117), so we upgrade only disp+work to patch level 139.
After that we were abble to implement the note and to continue with the upagrade.
So the solution is:
- upgrade the kernel
- implement the note
- repeat the phase of upgrade
Bye
Matteo Stocco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Matteo,
Please write a detailed step by step how you solved the problem. I did everything the same, but I can't apply note 1483283.
In automatically mode:
Cannot implement/deimplement notes; upgrade running
In manually mode:
Exception CX_ENH_INTERNAL_ERROR triggered
An internal error occurred when processing the enhancement
---
BR, Roman
But the problem is that I can't do any change in the method (any method) because I received always the dump...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Balaji,
thank you for your answer.
But the problem is that when I run se24>CL_ENH_BADI_PREGENERATION>Display> From Methods tab>Double click on Body Pregeneration
I receive this dump:
SYNTAX_ERROR
Syntax error in program "CL_WB_ED_ENHANCEMENT_HANDLER==CP "
Error in the ABAP Application Program
The current ABAP program "CL_WB_CLEDITOR================CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
SO I can't see and chage the code of the method suggested by the note...
Regards
Matteo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We are facing the same issue as discribed in SAP note 1483283 in Solution Manager Upgrade to EHP1
I am not sure what to do with command unlocksys as it is not taking default profile for TP-
tp unlocksys SM9 pf=usr/sap/trans/bin/TP_DOMAIN_SM9.PFL
which profiel we should use as we have not created any seperate directory, what would be the dorectory for DIR_PUT and what would be the default.tpp profile.
Solutions are highly appreciated.
Regards,
Sabita
Hello,
I'm doing an upgrade fomr SAP 4.7 ext 110 to ECC 604 and I have the same problem.
In fase JOB_RSINDCHK i have a dump in program CL_R3STANDARD_PERSISTENCE=====CP so I wish to apply note Note 1483283 - Upgrade/EHPI: CX_ENH_INTERNAL_ERROR or syntax errors (version 8), but when I try apply the correction change in CL_ENH_BADI_PREGENERATION method BADI_PREGENERATION I receive thos dump;
Runtime Errors SYNTAX_ERROR
Date and Time 07.03.2011 14:57:28
Short text
Syntax error in program "CL_WB_ED_ENHANCEMENT_HANDLER==CP ".
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_WB_CLEDITOR================CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program
"CL_WB_ED_ENHANCEMENT_HANDLER==CP " in include
"CL_WB_ED_ENHANCEMENT_HANDLER==CM01R " in
line 23:
""COMMENTS", "TYPE-POOLS", or "LIST TOKENIZATION" expected after "WITH"
". ."
" "
" "
The include has been created and last changed by:
Created by: "SAP "
Last changed by: "SAP "
Error in the ABAP Application Program
The current ABAP program "CL_WB_CLEDITOR================CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
How did you implement the source code correction?
Anybody know ho to solve my issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matteo Stocco
The ABAPer can do it perfectly, even you can try
First unlock the system through tp command according to the note...login other than SAP*/DDIC.
se24>CL_ENH_BADI_PREGENERATION>Display> From Methods tab>Double click on Body Pregeneration
Click on Display to Change Icon.
Then open the Note corrections-->you will get Delta001 like and Blocks of coding..
here you have to use the TABs like INERT DELETE.. according the mentioned in the note
Finally it looks like
****************************************
METHOD badi_pregeneration.
DATA: dummy TYPE enhbadiid,
spot TYPE REF TO if_enh_spot_tool,
lv_enquname TYPE ddobjname VALUE 'ENQBADIIMPL_ENH', "Commented on 05.03.2011
l_version type r3state, "Added on 05.03.2011
lv_enquname TYPE ddobjname VALUE 'ENQBADIIMPL_ENH', "Added on 05.03.2011
lv_gen_enqu TYPE boolean.
SELECT SINGLE badi_name FROM badi_spot INTO dummy WHERE enhspotname = enhspotname.
IF sy-subrc NE 0.
spot = cl_enh_factory=>get_enhancement_spot( spot_name = enhspotname "Commented on 05.03.2011
run_dark = 'X' ). "commented on 05.03.2011
*---Added here on 05.03.2011
*<exchange version 'N' -> 'A'>
select single for update version from enhspotheader into l_version
where enhspot = enhspotname and version = 'N'. "DB_COMMIT is called in generation
if sy-subrc = 0 and l_version = 'N'.
delete from enhspotheader where enhspot = enhspotname and version = 'A'.
update enhspotheader set version = 'A' generated = space where enhspot = enhspotname and version = 'N'.
select single version from enhspotobj into l_version
where enhspot = enhspotname and version = 'N'.
if sy-subrc = 0 and l_version = 'N'. "should always be true
delete from enhspotobj where enhspot = enhspotname and version = 'A'.
update enhspotobj set version = 'A' where enhspot = enhspotname and version = 'N'.
endif.
endif.
*</exchange version>
spot = cl_enh_factory=>get_enhancement_spot( spot_name = enhspotname ).
*---Ends here on 05.03.2011
*<Generate the ENQU/DEQU function modules if it does not exist to avoid upgrade problems>
CLEAR: lv_gen_enqu.
" Does the DEQUEUE FUNC exist?
CALL FUNCTION 'RPY_EXISTENCE_CHECK_FUNC'
EXPORTING
name = 'DEQUEUE_ENQBADIIMPL_ENH'
EXCEPTIONS
not_exist = 1
OTHERS = 2.
IF sy-subrc <> 0.
lv_gen_enqu = abap_true.
ENDIF.
" Does the ENQUEUE FUNC exist?
CALL FUNCTION 'RPY_EXISTENCE_CHECK_FUNC'
EXPORTING
name = 'ENQUEUE_ENQBADIIMPL_ENH'
EXCEPTIONS
not_exist = 1
OTHERS = 2.
IF sy-subrc <> 0.
lv_gen_enqu = abap_true.
ENDIF.
if lv_gen_enqu = abap_true.
CALL FUNCTION 'DDIF_ENQU_ACTIVATE'
EXPORTING
name = lv_enquname
EXCEPTIONS
NOT_FOUND = 1
PUT_FAILURE = 2
OTHERS = 3.
IF sy-subrc <> 0.
" The ENQU object probably doesn't exist...Do nothing & continue...
ENDIF.
CLEAR: lv_gen_enqu.
ENDIF.
*</End of generation>
spot->if_enh_object~after_import( changing protocol = protocol ).
ENDIF.
loop at protocol transporting no fields where severity = 'A' or severity = 'E'.
generation_error = 'X'.
return.
endloop.
ENDMETHOD.
***************************
Regards
Balaji
Hi,
Check the note
Note 1483283 - Upgrade/EHPI: CX_ENH_INTERNAL_ERROR or syntax errors
This may help you.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I already followed the SAP Note 1483283
According note i unlocked with below commands
tp unlocksys BST pf=E:/DUMP/EHPI/abap//bin/DEFAULT.TPP
tp unlock_EU BST pf=E:/DUMP/EHPI/abap//bin/DEFAULT.TPP
now i logged with ddic on 000 and executed below steps
Start SE24 -- entered the class -- CL_ENH_BADI_PREGENERATION, choosed the Object Type->Test (F8).
Pressed the Execute button beside BADI_PREGENERATION
Entered the Spot name: SFW_SWITCH_DETERMINE_OBJ after that t execute iam getting screen :
STOP Exception CX_ENH_INTERNAL_ERROR triggered
An internal error occurred when processing the enhancement
How to proceed for the same.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.