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

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

2,492

Hi Folks,

Anyone please help for my Subject question.

Regards,

Baigan

1 ACCEPTED SOLUTION
Read only

FredericGirod
Active Contributor
2,074

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

8 REPLIES 8
Read only

FredericGirod
Active Contributor
2,075

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

Read only

0 Kudos
2,074

Not working as per you.

Read only

2,074

Hello moli.kaddu12

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

Kind regards,
Mateusz

Read only

0 Kudos
2,074

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

Read only

2,074

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

Read only

0 Kudos
2,074

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

Read only

2,074

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

Read only

0 Kudos
2,074

Thanks Frederic Girod for your time and advice.

Am obliged.