Application Development and Automation 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: 
Read only

Function module details

Former Member
0 Likes
2,299

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
981

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.

6 REPLIES 6
Read only

Former Member
0 Likes
981

Hi,

Check the table TADIR.

Thanks,

Naren

Read only

Former Member
0 Likes
981

Hi,

Please check table SMODILOG.

Also you can check transaction SE95 and program RSWBO020.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
981

check thise

T77OMATDIR - General Attribute Maintenance: Change Information

Read only

Former Member
0 Likes
981

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

Read only

Former Member
0 Likes
982

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.

Read only

Former Member
0 Likes
981

Thanks for all the helpful suggestions!!