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 get all executed lines of a program in run-time

titanium
Participant
0 Kudos

Hello ,

how can I execute a program in run-time and then get Only executed lines of code ?

Ex :

if I have this simple program :

if x > y  .
WRITE :  ' X ' .
else .
write : 'Y' .
endif.

I want to run this program in another program and know what lines got executed like in our example if x is bigger these lines should be in some itab :

if x > y .

WRITE : ' X ' .

endif.

Hope you can help

1 ACCEPTED SOLUTION

horst_keller
Product and Topic Expert
Product and Topic Expert

Use the coverage analyzer, TA SCOV.

1 REPLY 1

horst_keller
Product and Topic Expert
Product and Topic Expert

Use the coverage analyzer, TA SCOV.