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

Finding a statement on all the system programs

Former Member
0 Likes
381

Good Morning,

I need to see where the statement

TYPE X.

is used in all the system programs, functions, objects, etc...

How should i do that? Is there any tool for do it?

Best Regards,

Pedro Gaspar

2 REPLIES 2
Read only

Former Member
0 Likes
358

Hi Pedro,

you can try with program RS_ABAP_SOURCE_SCAN

Give the program name

On the selection screen second block search for TYPE 'X'

Read only

Former Member
0 Likes
358

Hi,

There are no standard tools for doing so. You will have to develop a program capable of reading the Programs/source code.

You will find the program names in TRDIR. ( search with z* or Y* for your custom ones ).

Then use SCAN or READ REPORT statements to check if these TYPE X declarations appear. ( like doing a Ctrl + F on individual programs ).

Hope it helps.