cancel
Showing results for 
Search instead for 
Did you mean: 

Generated code WebDynpro ABAP

Former Member
0 Kudos

Hi all,

I am setting up a tool that counts the number of specific lines written for a SAP project, for KPI purpose. It is already working for reports, includes, functions (group and functions), classes, BSP applications and so on....

I am now looking for a way to count the lines of codes written in a Webdynpro ABAP application. Does anyone knows where is the code generated? In what format (classes, reports) ?

Quick and Helpful answers will be highly rewarded.

Yann

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Yann,

If you want to get the generated class name via code then use FM WDY_WB_GET_CLSNAME_WITH_GENERA which expects webdynpro component name and returns you the class name and program name.

I hope, this will help you.

Thanks,

Prashanth

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Yann,

Code will be generated as class. IF you want the class name of current webdynpro component that is generated, right click on the webdynpro component -> select check -> extended syntax check. New window will be opened in which program name will be specified. Remove the "" ==CP" suffix and remaining part is the class name of the current webdynpro component.

Thanks,

Prashanth