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

Search program in 'PERFORM subroutine(program)'

Former Member
0 Likes
488

Hi,

What is the best way to find the <b>program</b> name in PERFORM subroutine(<b>program</b>) in customized programs?

I have been making use of RPR_ABAP_SOURCE_SCAN, but this std prog only allows (1)first level of drill down

(1)Example:

Main program ZABC.

PERFORM sub1(ZSUBPROG).

-


Subprogram ZSUBPROG.

PERFORM sub2(ZSUBPROG2).

For the above, i need to have the result returns me both subprogram <b>ZSUBPROG</b> and <b>ZSUBPROG2</b>.

-


My second problem would be difficult to (2)merely extract the sub program name alone since there is a lot of pattern of syntax declaration for PERFORM xxx(ZXXX).

(2) Example:

a.   PERFORM xxx(ZABC)         .
b.  PERFORM: xxx(ZABC),
                       xxx(ZEFG),      "perform xxx(ZEFG)
          .
c. PERFORM: xxx(ZABC), xxx(ZEFG)    .

Pls comment is there is any std FM or any tools can help.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
409

hi,

use trx. se84, i mean you can search for subprograms here

A.

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
410

hi,

use trx. se84, i mean you can search for subprograms here

A.