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 set break point in specific line in code of smartform

bhavinnayi28
Explorer
0 Kudos

i m trying to set break point but its not set and showing " you can set only in active or unchanged " its active and also transported i m just opening it in display mode .....

in fm( from Environment -> FM Name ) and in its main program i m finding my code but its not shoiwing also not in "" perform %global_init "

1 ACCEPTED SOLUTION

iftah_peretz
Active Contributor
0 Kudos

Hey,

Put a "Program lines" before where you want to stop of these lines:

Break your_user_name.
4 REPLIES 4

iftah_peretz
Active Contributor
0 Kudos

Hey,

Put a "Program lines" before where you want to stop of these lines:

Break your_user_name.

Jelena
Active Contributor
0 Kudos

"you can set only in active or unchanged " is usually pretty accurate, so you might want to double check if everything is indeed active and unchanged.

Not sure I understand "finding... but not showing part". What is not showing where?

raymond_giuseppi
Active Contributor
0 Kudos

There are documents, like Easy Step To Debug a Smartform, which explain how to debug a Smartform. But of course activate your form first 😉

In some cases, you may also find useful to start a 'trace' of the form execution with transaction SFTRACE to identify and solve some problems.

bhavinnayi28
Explorer
0 Kudos

We can also find the line where we want to set break point in main program of FM and then set the break point .