Anton Semenov
Anton Semenov

Reputation: 6347

Class test in ABAP class builder

I'm trying to test class from within of ABAP class builder. I pressed F8 (Test) but Create instance menu item is not active on test screen:

enter image description here

My class has both static and instance constructors. Where is my mistake? How to force this menu item to be active?

Upvotes: 0

Views: 721

Answers (1)

Jagger
Jagger

Reputation: 10514

Is this parameter set to public? enter image description here

Moreover, if it is, then it is probably because your class implements an interface. Just click the magnifying glass icon next to the interface name and you will both be able to execute static and instance methods.

Upvotes: 2

Related Questions