‎2010 Apr 23 12:32 PM
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
‎2010 Apr 23 12:36 PM
‎2010 Apr 23 12:36 PM
‎2010 Apr 24 5:57 AM
Hi Suhas,
Thank you very much to all and especially to suhas.
your reply helped me and completed my activity in time.
Regards
Jagesh
‎2010 Apr 23 12:38 PM
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
‎2010 Apr 23 3:34 PM
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.
‎2010 Apr 23 3:37 PM
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