Application Development and Automation 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: 
Read only

Testing instance methods.

Former Member
0 Likes
2,743

How to test instance methods? When I click on Execute in a class, the static methods can be seen for testing but I do not see the instance methods.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
1,118

You need to create an "Instance". Use the menubar button "Instance" to create an instance. Now, you would be able to see your instance methods.

Regards,

Naimesh Patel

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
1,119

You need to create an "Instance". Use the menubar button "Instance" to create an instance. Now, you would be able to see your instance methods.

Regards,

Naimesh Patel

Read only

0 Likes
1,118

Where is this menu button located. I cant find it.

Read only

0 Likes
1,118

Actually, you really can't miss it. It is in the application toolbar, a button with name 'Instance'.

In which screen are you looking for this button? Upon entering the class name (SE24), or even when displaying it, you should first press F8 (the button with the Micrometer, same as for testing function modules). Next a pop-up screen will appear (at least most of the times that is). Just press ENTER, and on the next screen you will (I hope) see your 'instance' button.

Read only

Former Member
0 Likes
1,118

I get it now. I was trying one of the SALV classes and it did not have the instance button. But when I tried another class it does have it. Thank you.