SAP Knowledge Base Article - Preview

3460390 - DYN_CALL_METH_CLASS_NOT_FOUND in CL_CI_TEST_INVALID or CL_CI_CATEGORY_INVALID

Symptom

Following dump happens during ATC check:

Category               ABAP programming error                                                       
Runtime Errors         DYN_CALL_METH_CLASS_NOT_FOUND                                                
Except.                CX_SY_DYN_CALL_ILLEGAL_CLASS                                                 
ABAP Program           CL_CI_TEST_INVALID============CP                                             
Application Component  BC-ABA-LA                                                                    
                                                                                                                                                   
 
Short Text                                                                                        
    The class could not be found during the dynamic method call.    

How to correct the error
    "DYN_CALL_METH_CLASS_NOT_FOUND" CX_SY_DYN_CALL_ILLEGAL_CLASS                                  
    "CL_CI_TEST_INVALID============CP" bzw. CL_CI_TEST_INVALID============CM001                   
    "CONSTRUCTOR"  


Information on where terminated                                                                   
    The termination occurred in ABAP program or include                                           
     "CL_CI_TEST_INVALID============CP", in "CONSTRUCTOR". The                                    
    main program was "SAPMSSY1".                                                                  
                                                                                                  
    In the source code, the termination point is in line 5 of  program or                         
    include "CL_CI_TEST_INVALID============CM001".                                                
    The termination is due to exception "CX_SY_DYN_CALL_ILLEGAL_CLASS" occurring                  
     in procedure "CONSTRUCTOR" "(METHOD)".                                                       
    This exception was not handled locally or declared in the RAISING                             
    clause in the procedure's signature however.                                                  
    The procedure is in program "CL_CI_TEST_INVALID============CP". The source                    
     code begins in line 1 of                                                                     
    (include) program "CL_CI_TEST_INVALID============CM001".                                      
 
Source Code Extract                                                                               
Line     Code                                                                                        
    1    method CONSTRUCTOR .                                                                        
    2                                                                                                
    3      SUPER->CONSTRUCTOR( ).                                                                    
    4                                                                                                
>>>>>      call method ('XXX')=>('XXX').                                                             
    6                                                                                                
    7    endmethod.                    "constructor  

or

Category               ABAP programming error
Runtime Errors         DYN_CALL_METH_CLASS_NOT_FOUND
Except.                CX_SY_DYN_CALL_ILLEGAL_CLASS
ABAP Program           CL_CI_CATEGORY_INVALID========CP
Application Component  BC-ABA-LA

How to correct the error  

|    "DYN_CALL_METH_CLASS_NOT_FOUND" CX_SY_DYN_CALL_ILLEGAL_CLASS                                  
|    "CL_CI_CATEGORY_INVALID========CP" bzw. CL_CI_CATEGORY_INVALID========CM001                   
|    "CONSTRUCTOR"    

Information on where terminated                                                                   |
|    The termination occurred in ABAP program or include                                           |
|     "CL_CI_CATEGORY_INVALID========CP", in "CONSTRUCTOR". The                                    |
|    main program was "SAPMSSY1".                                                                  |
|                                                                                                  |
|    In the source code, the termination point is in line 4 of  program or                         |
|    include "CL_CI_CATEGORY_INVALID========CM001".                                                |
|    The termination is due to exception "CX_SY_DYN_CALL_ILLEGAL_CLASS" occurring                  |
|     in procedure "CONSTRUCTOR" "(METHOD)".                                                       |
|    This exception was not handled locally or declared in the RAISING                             |
|    clause in the procedure's signature however.                                                  |
|    The procedure is in program "CL_CI_CATEGORY_INVALID========CP". The source                    |
|     code begins in line 1 of                                                                     |
|    (include) program "CL_CI_CATEGORY_INVALID========CM001".    

Source Code Extract                                                                               |
----------------------------------------------------------------------------------------------------
|Line |SourceCde                                                                                   |
----------------------------------------------------------------------------------------------------
|    1|method CONSTRUCTOR.                                                                         |
|    2|  SUPER->CONSTRUCTOR( ).                                                                    |
|    3|                                                                                            |
|>>>>>|  call method ('XXX')=>('XXX').                                                             |
|    5|endmethod.     


Read more...

Environment

SAP_BASIS <7.53

Product

SAP NetWeaver all versions

Keywords

KBA , BC-ABA-LA , Syntax, Compiler, Runtime , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.