‎2007 Feb 19 5:09 PM
Hi - does anyone know a way of checking which SAP standard function modules have been modified by an SAP user? I know table TFDIR stores a list of function modules however there are no details about authors, change dates etc. Can anyone point me in the right direction? Thanks in advance
‎2007 Feb 19 6:20 PM
hi Gary,
Please use the following logic, you will get what you are looking for!
report ysjtest.
types:
begin of t_include,
include(40),
end of t_include.
data:
lv_include(40),
it_tfdir type table of tfdir,
it_trdir type table of trdir,
it_include type table of t_include,
wa_tfdir type tfdir,
wa_trdir type trdir.
select * from tfdir into table it_tfdir where funcname not like 'Z%' and funcname not like 'Y%'.
loop at it_tfdir into wa_tfdir.
concatenate wa_tfdir-pname+3 'U' wa_tfdir-include into lv_include.
append lv_include to it_include.
endloop.
select * from trdir into table it_trdir for all entries in it_include
where name = it_include-include and unam ne 'SAP'. "you can include additional logic here
loop at it_trdir into wa_trdir.
write:/ wa_trdir-name,
wa_trdir-unam,
wa_trdir-udat.
endloop.Hope this helps,
Sajan Joseph.
‎2007 Feb 19 5:10 PM
‎2007 Feb 19 5:12 PM
Hi,
Please check table SMODILOG.
Also you can check transaction SE95 and program RSWBO020.
Regards,
Ferry Lianto
‎2007 Feb 19 5:15 PM
check thise
T77OMATDIR - General Attribute Maintenance: Change Information
‎2007 Feb 19 5:16 PM
Hi,
Use the table TRDIR with the function module (include) name in the field name..
Example
-
If the function module name is MARA_SINGLE_READ then the include name is LMG21U04..you can get the include name from the attributes tab of FM..
Thanks,
Naren
‎2007 Feb 19 6:20 PM
hi Gary,
Please use the following logic, you will get what you are looking for!
report ysjtest.
types:
begin of t_include,
include(40),
end of t_include.
data:
lv_include(40),
it_tfdir type table of tfdir,
it_trdir type table of trdir,
it_include type table of t_include,
wa_tfdir type tfdir,
wa_trdir type trdir.
select * from tfdir into table it_tfdir where funcname not like 'Z%' and funcname not like 'Y%'.
loop at it_tfdir into wa_tfdir.
concatenate wa_tfdir-pname+3 'U' wa_tfdir-include into lv_include.
append lv_include to it_include.
endloop.
select * from trdir into table it_trdir for all entries in it_include
where name = it_include-include and unam ne 'SAP'. "you can include additional logic here
loop at it_trdir into wa_trdir.
write:/ wa_trdir-name,
wa_trdir-unam,
wa_trdir-udat.
endloop.Hope this helps,
Sajan Joseph.
‎2007 Feb 20 1:07 PM