07-14-2016 4:54 PM
hi Friends,
Facing dump at MIGO @Quality system. And from the error log provided below, found out that the Implementation Class been missing and the same been saved along with the Methods from Dev system and moved the TR to Quality expecting the issue to resolve...but now again dump with this error "INCLUDE report "ZCL_IM_MA_BADI_REF_DOC========CL" not found" - second time dump
pl find below Runtime Error Long Text - first time dump
------------------------------------------------------------------------------------------------------------------------------------------
Syntax error in program "CL_EX_MB_MIGO_BADI============CP
The current ABAP program "CL_EXITHANDLER================CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
In include "CL_EX_MB_MIGO_BADI============CM001 ", in line 12 of program
"CL_EX_MB_MIGO_BADI============CP ", the following syntax errors
have occurred:
Implementation class does not exist: Implementation "ZMA_BADI_REF_DOC"
in enhancement "ZMA_BADI_REF_DOC" of the BAdI "MB_MIGO_BADI" points t
o the nonexistent class"ZCL_IM_MA_BADI_REF_DOC"
---------------------------------------------------------------------------------------------------------------------------------------------
this is all related to this BADI <MB_MIGO_BADI> & related Class <CL_EXM_IM_MB_MIGO_BADI>
Could anyone come across the similar issue, pl do needful.
Regards,
Suren.
07-15-2016 9:52 AM
Hi,
Have you compared the versions (utilities->version management) of both DEV and Quality servers?
Are both of them same?
Regards,
Priyanka.
07-14-2016 5:00 PM
Probably you transported only the BADI definition and not the class behind it. Please goto SE19, and find the class name. Make a transport to send that class also to Q system.
Thanks,
Juwin
07-15-2016 6:33 AM
hi Juwin,
Thanks for your reply.
From the dev system, i just saved the Implementation Class along with all the Methods available to the TR & moved to the Quality system - so taken care of Implementation too....
Now in Quality - whenever i check for syntax for that class, ZCL_IM_MA_BADI_REF_DOC, it resulting with below error:
" INCLUDE report "ZCL_IM_MA_BADI_REF_DOC========CL" not found "
Regards,
Suren.
07-15-2016 3:04 PM
I don't think you still transported the entire class. Please goto SE09, and create a new workbench transport. Goto change mode of the transport and type in R3TR CLAS ZCL_IM_MA_BADI_REF_DOC for the object details. Now release the new TR and see if it still errors in Q.
Thanks,
Juwin
07-14-2016 8:08 PM
The CL includes are now obsolete, so I'm afraid that you still have the old version of that class. I think that you may repair/migrate the class using the menu "migrate locals" in SE24, and then transport the whole class ZCL_IM_MA_BADI_REF_DOC. There is probably a SAP note about that but I can't find it any more... Or maybe it has been already migrated, but you have not transported the new structure -> transport the whole class.
07-15-2016 9:36 AM
Thanks for your reply Sandra.
We're using ECC6 (EHP7) version and the same class in Dev system working fine with those CL Includes - hope so it's not obsolete..
And yes, i make sure the whole class (ZCL_IM_MA_BADI_REF_DOC) along with the related Methods and interface IF_EX_MB_MIGO_BADI saved in that released TR - but still the issue at Q system persists !
Please let me know if you've any more inputs related, thanks.
Regards,
Suren.
07-15-2016 9:38 AM
Thanks for your reply Sandra.
We're using ECC6 (EHP7) version and the same class in Dev system working fine with those CL Includes - hope so it's not obsolete..
And yes, i make sure the whole class (ZCL_IM_MA_BADI_REF_DOC) along with the related Methods and interface IF_EX_MB_MIGO_BADI saved in that released TR - but still the issue at Q system persists ! Dump occuring once the MIGO transaction enters.
Please let me know if you've any more inputs related, thanks.
Regards,
Suren.
07-15-2016 9:48 AM
Still i am believing.Something is missing. That something is not moved to Quality.Class and methods are activated or not Please Check it.
07-15-2016 9:51 AM
Again, the CL "extension type" of class pools was made obsolete (since 7.02). This is about the internal structure. It has been replaced with extension types CCDEF, CCIMP, and so on. I found the SAP notes: Note 830204 - Conversion of class-local types in customer system and Note 1942657 - Class exists in the old structure, conversion not possible when applying SAP Note
07-15-2016 10:34 AM
Also to mention on Transport log:
Transport ended with below errors !
Program ZCL_IM_MA_BADI_REF_DOC========CP: Syntax error in line 000005
INCLUDE report 'ZCL_IM_MA_BADI_REF_DOC========CL'not found
And i compared the same with Dev system, i could not see these programs there as well !!
Any inputs please?
Regards,
Suren.
07-15-2016 9:52 AM
Hi,
Have you compared the versions (utilities->version management) of both DEV and Quality servers?
Are both of them same?
Regards,
Priyanka.
07-15-2016 10:40 AM
07-15-2016 11:44 AM
Deeper answer: look at table SEOCLASSDEF, field CLSCCINCL, in both systems, for the class ZCL_IM_MA_BADI_REF_DOC. Do you have the same value in both systems, and which value? Value space means the class is based on CL include. Value 'X' means the class is based on CCDEF, CCIMP, etc. includes.
07-15-2016 3:21 PM
The issue got resolved finally...
I just included the Object at Task level this way and moved TR to Quality:
program id | Object type | Object name
R3TR CLAS ZCL_IM_MA_BADI_REF_DOC
Hence, instead of handling at Object level (se24) to save in TR, it's always better to include Objects this way - especially for the things related to Badi as it involves instances and embedded interfaces.
Thanks all for your inputs.
Regards,
Suren.
07-18-2016 10:09 AM
For information. Just learned from , you may directly display the internal structure of classes via SE24, and enter "show_clif" in the command field (cf http://scn.sap.com/community/abap/blog/2014/03/14/general-properties-of-abap-classes-interfaces#comm...). This way you could have seen that the main include of the class pool referred to the CL include (and maybe now it refers to CCDEF, etc.)