Skip to Content
0

ABAP instance of keyword leads to incorrect logical expressin

Sep 27, 2017 at 10:26 AM

41

avatar image
Former Member

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.

capture.png (5.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Sep 27, 2017 at 11:16 AM
4

Hi Michal,

Are you on ABAP 7.50?

Share
10 |10000 characters needed characters left characters exceeded