‎2010 May 04 12:13 PM
Hi guys!
I have a task to calculate total amount of lines of source code. The only way i have found out is to get report
with read report prog into itab statement and get number of lines with describe itab lines num_of_lines.
But in this way it is not possible to handle classes for example. Is it possible to count lines with SQL statement?
‎2010 May 04 11:27 PM
Hi
check this blog
[How many lines of custom ABAP code are inside your system? u2013 Part2|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17078] [original link is broken] [original link is broken] [original link is broken];
Regards,
Andrea
‎2010 May 04 12:24 PM
Hi,
try this report [https://wiki.sdn.sap.com/wiki/display/Snippets/SearchforStringsinABAPSourceCode].
For counting the lines you specify a search string of
*The includes for classes can be specified by
ZCL_XY*Best regards
Thomas
Edited by: Thomas Schulz on May 4, 2010 1:33 PM
‎2010 May 04 11:27 PM
Hi
check this blog
[How many lines of custom ABAP code are inside your system? u2013 Part2|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/17078] [original link is broken] [original link is broken] [original link is broken];
Regards,
Andrea
‎2010 May 05 7:23 AM