08-02-2007 6:17 AM
Hi All,
Is there any API in ABAP that will give the last changed date and time of function modules and/or includes?
Regards,
Ram
08-02-2007 10:05 AM
I dont know about APIs, but you can use the table <b>TRDIR</b> to get the last changed date of programs and function groups
08-02-2007 10:18 AM
Hi ramalingam,
1. This is one of the way.
2. Input = Function Name (on selection screen)
Output = Date on which it is changed.
3. Just copy paste
4.
REPORT ABC.
DATA : INCLUDE LIKE RS38L-INCLUDE.
DATA : REPOSRC TYPE REPOSRC.
*----
PARAMETERS : FUNCNAME LIKE RS38L-NAME.
*----
CALL FUNCTION 'FUNCTION_EXISTS'
EXPORTING
FUNCNAME = FUNCNAME
IMPORTING
INCLUDE = INCLUDE
EXCEPTIONS
FUNCTION_NOT_EXIST = 1
OTHERS = 2
.
SELECT SINGLE *
FROM REPOSRC
INTO REPOSRC
WHERE PROGNAME = INCLUDE.
WRITE:/ FUNCNAME , REPOSRC-UDAT.
regards,
amit m.
08-02-2007 10:19 AM
see table trdir
trdir is system table all program attributs,changes ,crate date
store on this table
08-02-2007 11:26 AM