Application Development 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: 

command used in abap

Former Member
0 Kudos

hi,

is there a way to know if command or keyword, for example, ranges is used in abap program?

just like function module, we can search via where used list.

just ask, i know its impossible.

thanks

2 REPLIES 2

Former Member
0 Kudos

chk this program RPR_ABAP_SOURCE_SCAN

former_member583013
Active Contributor
0 Kudos

You can also use this small app...


TYPES: BEGIN OF SOURCE_TAB,
             LINE(150) TYPE C,
             END OF SOURCE_TAB.

DATA: T_SOURCE_TAB TYPE STANDARD TABLE OF SOURCE_TAB 
           WITH HEADER LINE.

DATA: NAME TYPE TRDIR-NAME.

NAME = 'Z_SIMPLE_APP'.

READ REPORT NAME INTO T_SOURCE_TABLE.

Then, you loop T_SOURCE_TABLE and look for the particular command -:)

Of course it's better to use <b>RPR_ABAP_SOURCE_SCAN</b>, but if your like me....You would like to do it by yourself -;)

Greetings,

Blag.