06-07-2007 3:39 AM
For test, I just migrated class BADI - BADI_MAT_F_SPEC_SEL with SE18 while the interface IF_BADI_MAT_F_SPEC_SEL and class CL_BADI_MAT_F_SPEC_SEL were created, then implement it. After finding it's not what i want, I delete the BADI as well as interface/class, but now I get problem when I go to MM42, SAP just give an error message and exit.
I debugged, found the problem happened at:
*1x Instance erzeugen
IF G_BADI_MAT_F_SPEC_SEL IS INITIAL.
class CL_EX_BADI_MAT_F_SPEC_SEL definition load.
CALL METHOD CL_EXITHANDLER=>GET_INSTANCE
EXPORTING
EXIT_NAME = 'BADI_MAT_F_SPEC_SEL'
IMPORTING
ACT_IMP_EXISTING = badi_imp_found
CHANGING
INSTANCE = G_BADI_MAT_F_SPEC_SEL
EXCEPTIONS
others = 1.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
and the error message is 356(message class OL: SAPLSHL2): Element MATERIALEVG is not available in the container!
Who know how to fix this problem?!
Thanks in advance
11-22-2007 6:26 AM
07-20-2014 5:18 PM