Application Development 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: 

API to find the last changed date and time of function modules

Former Member
0 Kudos

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

4 REPLIES 4

former_member189059
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

see table trdir

trdir is system table all program attributs,changes ,crate date

store on this table

Former Member
0 Kudos

Hi All,

Thanks for your help!!

Regards,

Ram