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: 

How to Debug a Instance Method of a Class(SE24) ?

0 Kudos

Hi Folks,

Anyone please help for my Subject question.

Regards,

Baigan

1 ACCEPTED SOLUTION

FredericGirod
Active Contributor

Like other code, putting a break-point, a break "username", a session break point ....

8 REPLIES 8

FredericGirod
Active Contributor

Like other code, putting a break-point, a break "username", a session break point ....

0 Kudos

Not working as per you.

Hello moli.kaddu12

If it doesn't work, then you need to provide more details, because Frederic's solution is correct.

Kind regards,
Mateusz

0 Kudos

it could be due to background processing, but it is not linked to the Class specificity.

or update task, or asynchronous task/session breakpoint, or wrong user, or ...

0 Kudos

Hi Sandra & Frederic,

Providing more details as:

Have one Custom Class already build in SE24 with a Instance Method and Static Method.

Am able to Debug the Static Method as well as Test from SE24 itself by passing required importing parameters and getting the desired result in Returning parameters.

But the problem is, How to Debug for Instance Method from SE24 directly by passing required importing parameters.

My instance Method is not Visible while pressing CTRL + F8.

Kindly, guide me both.

Regards,

Baigan

You would like to test an instance method...

You should have a view to the Constructor, you click on it, and it will create an instance for your class.

The better way, is to use Abap Unit. You could test easily the method, and the input/output will not be lost. It will stay with your code

0 Kudos

Thanks Frederic Girod for your time and advice.

Am obliged.