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

ABAP program structure analysis

Former Member
0 Likes
1,318

Hello,

I wonder if there is a report to analyse the structure of a program?

The problem:

My company set my on a big chaotic hitorical grown program. Inludes inluding inludes, form routins are dubble in this nested chaos but do not have the same code/function.

What I'm looking for:

Is there a report that

  • lists the include structure?
  • show the nesteling?
  • lists all formroutines?

Thanks,

Jan

8 REPLIES 8
Read only

Former Member
0 Likes
1,264

Hi Jan,

There are two programs to scan ABAP program

  • RS_ABAP_SOURCE_SCAN
  • RPR_ABAP_SOURCE_SCAN

Try exploring these , these might hel you or else take its help and  go for custom development.

Regards,

Amit

Read only

0 Likes
1,264

Hello Amit,

your reports are searching for strings in reports. Maybe it could help me to develop my own scanner.

Thanks

Jan

Read only

DirkAltmann
Active Participant
0 Likes
1,264

Hi Jan,

go to SE38, enter the program name and press F9 or use Menu "Utilities/Internal Program Environment" and flag the objects you need.

Kind regards

Dirk

Read only

0 Likes
1,264

Hi Dirk,

your hint sounded so promising, it's almost what I'm looking for.

Unfortunately it can't list the include nesting.

Thanks anyway.

Read only

0 Likes
1,264

Hi Jan,

try the "Environment Analysis" in the Menu "Utilities" or Shift+F4. This list also the includes but I'm not sure that the nested include also listed.

Kind regards

Dirk

Read only

pradeep_gupta1
Active Participant
0 Likes
1,264

Hi Jan,

Use SE80 - Object Navigator, to display all the components used in your program.

Regards,

Pradeep.

Read only

0 Likes
1,264

se80 shows me only the structure one component, the current function or program. I can't see the nesting of includes. Please correct me if I'm wrong.

Read only

0 Likes
1,264

Hi there just want to know how I can check which data types were converted in my abap program?? I am a beginnere and a simple procedural program needs to be tested/analysez. thx