2007 May 03 11:59 AM
Hello everybody,
I have to delete 600 Z-Programms which all begins with ZCONV*. Is there a tool in SAP who could do this at once? Should I write a programm which deletes the entries from table TADIR? But than the sources are still in the system.
Thanks for any help!
Chris
Hello everybody,
I have to delete 600 Z-Programms which all begins with ZCONV*. Is there a tool in SAP who could do this at once? Should I write a programm which deletes the entries from table TADIR? But than the sources are still in the system.
Thanks for any help!
Chris
2007 May 03 12:03 PM
Hi,
First fetch all Z programs from TADIR and delete them from there.
and to delete them from SE38(source code), write a small BDC program and use it such that the source code is deleted.
Reward points if useful
Regards
Anji
2007 May 03 12:07 PM
hi,
Write a BDC program for SE38.Before that first download all the ZCONV programs from the table TADIR and loop at the internal table ...pass the program name to SE38 and delete it.
Reward points if it is helpful.
Regards,
Sangeetha.A
2007 May 03 12:11 PM
Hi,
populate all program names from TADIR starting with ZCONV* in table I_prg
loop at i_prg .
Use BDC on SE38 (initial screen) to delete program at a time .
endloop .
SAP doesnt provide any tool to do this.
Reward points if useful..
Regards
Nilesh
2007 May 03 12:13 PM
Hi,
use below logic .
get all entries from tadir and loop the table and call Fm
CALL FUNCTION 'RS_DELETE_PROGRAM'
EXPORTING
PROGRAM = L_S_PDIR-PROGNAME
suppress_checks = ' '
SUPPRESS_COMMIT = 'X'
SUPPRESS_POPUP = 'X'
WITH_CUA = 'X'
WITH_DOCUMENTATION = 'X'
WITH_DYNPRO = 'X'
WITH_INCLUDES = ' '
WITH_TEXTPOOL = 'X'
WITH_VARIANTS = 'X'
TADIR_DEVCLASS =
IMPORTING
CORRNUMBER =
PROGRAM =
EXCEPTIONS
ENQUEUE_LOCK = 1
OBJECT_NOT_FOUND = 0
PERMISSION_FAILURE = 3
REJECT_DELETION = 4
OTHERS = 5.
Note:all deleted program names should be assigned to request so that objects
are also deleted in quality and production
Regards,
Amole
2007 May 03 12:21 PM
Hi,
Go transaction SE80, Choose package $TMP. Click Display. You will find all your Z programs. Just right click and delete them.
If you are using Latest versions, you can even select all by pressing mouse key and right click and can able to delete multiple items at single time.You shud be very careful since all the objects which are stored in $TMP will also be there.
All the Best!
<b>***Reward Points if Useful.</b>
Regards
Gokul
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |