Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP instance of keyword leads to incorrect logical expressin

Former Member
0 Kudos

Hello,

I want to use instance of keyword but the compiler says it is wrong logical expression. Here is the code:

  if ( me is instance of zprt_cl_comment ).
 endif.

The code is placed in a method of an abstract class. But I tried to use instance of on objects of class zprt_cl_comment but the result was the same. What could be the problem? Thank you.

1 ACCEPTED SOLUTION

Hi Michal,

Are you on ABAP 7.50?

1 REPLY 1

Hi Michal,

Are you on ABAP 7.50?