cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Type "Class name " is unknown.

0 Kudos
5,027

Hi,

I have a local class containing static methods. When I perform a syntax check, every instance where a class method is called, an error is displayed "Type /LPROFILE/ZCL_P2D_KPI is unknown".

This is the method declaration:

Implementation:

Method call:

The error messages displayed:

PS: The class name is used correctly.

Thanks in advance.

View Entire Topic
webwolf
Discoverer
0 Kudos

I had the same problem, and I noticed that if you log off and then login the issue is automatically fixed.  I guess if you activate the class  /LPROFILE/ZCL_P2D_KPI in the same session as the consumer class, some kind class name cache is not automatically refreshed.