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

Need to list down custom developed programs for input strings

jagesh_lakdawala
Active Participant
0 Likes
690

Hello Experts,

I want to list down all the custom developed program names which having the given string name in the input.

For example, i want to list down all the custom programs which are using the CO11 BDC. So i can not give input string directly as 'CALL TRANSACTION CO11' as there may be Variable used like C_CO11 in place of constant value CO11.

further i dont want detail information, just program name is enough for me.

I already know about the Program 'RPR_ABAP_SOURCE_SCAN', but it does not allow the search by two strings linked by AND condition. that is 'CALL TRANSACTION' AND 'CO11'.and furthermore it provides the List output so it becomes difficult to consolidate the program names. looking for the ALV kind of Output.

Looking forward for your help.

Thanks & Regards

Jagesh

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
646

Check if transaction CODE_SCANNER helps you !!

5 REPLIES 5
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
647

Check if transaction CODE_SCANNER helps you !!

Read only

0 Likes
646

Hi Suhas,

Thank you very much to all and especially to suhas.

your reply helped me and completed my activity in time.

Regards

Jagesh

Read only

Former Member
0 Likes
646

Hi,

For this requirement we had developed a code like below...copy the code and execute it...

Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code

Regards

Debarshi Roy

Edited by: Rob Burbank on Apr 23, 2010 10:45 AM

Read only

Former Member
0 Likes
646

Hi,

Below is a test program I have written once, you modify it.

REPORT  Z_MAIN.

*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
* Report:  Z_MAIN                                                      *
* Topic:   <topic>                                                     *
*                                                                      *
* Author:  Anurag*
* Date:    12.02.2010                 Original: N01                    *
* Request:                            Release : 700                    *
*                                                                      *
* Responsible                                                          *
* internal:                           external:                        *
* Project:                                                             *
*                                                                      *
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
* Modification history                                                 *
* Number  Date        Name                           Change-Request    *
*         Comment                                                      *
*----------------------------------------------------------------------*
*    1.)                                                               *
*                                                                      *
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
*
*
tables:stokex.
parameters: p_pack type DEVCLASS.


select-options:  keyword for stokex-str no intervals .


data : t_TADIR type standard table of TADIR,
       t_TDEVC type standard table of TDEVC,
       t_ZSEARCH type standard table of ZSEARCH,
       w_ZSEARCH type ZSEARCH,
       w_TADIR   type TADIR.
ranges : r_prog for sy-repid.


    select * from tadir into table t_tadir
              where object = 'PROG' and
             DEVCLASS = p_pack .



  loop at  t_tadir into w_tadir.
    r_prog-sign = 'I'.
    r_prog-option = 'EQ'.
    r_prog-low = w_tadir-OBJ_NAME.
    append r_prog.
    endloop.

    submit Z_TMP_SCAN with
              prog in r_prog
              with keyword in keyword. 

Read only

0 Likes
646

in Z_TEMP_SCAN program submitted earlier write this code

Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code

Search package wise in first program

Edited by: Anurag_n on Apr 23, 2010 4:39 PM

Edited by: Rob Burbank on Apr 23, 2010 10:45 AM