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

Custom code - count of lines

Former Member
0 Likes
627

Hi,

How can I obtain the count of lines of code in all the custom objects such as z programs, z functions, z methods, user exits etc?

THank you,

Mike

Hi,

How can I obtain the count of lines of code in all the custom objects such as z programs, z functions, z methods, user exits etc?

THank you,

Mike

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
535

check fm RPY_FUNCTIONMODULE_READ

Check how it reads the source code and returns it.

Use a describe statement to the return table

or try this syntax

itab must hold a field of char72.

READ REPORT 'Y123' INTO ITAB.

lines_r = lines( itab ).

also check in se37 for rpy*

Also check the f1 for read report, there are many other options

Read only

uwe_schieferstein
Active Contributor
0 Likes
535

Hello Mike

You may want to have a look at blog:

[How many lines of custom ABAP code are inside your system?|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12853] [original link is broken] [original link is broken] [original link is broken];

Regards

Uwe