Use the function module GET_INCLUDETAB to get the list of includes used in a program. This module also retrieves...
the includes used in the include programs. Report Madhavi_test.
* Internal table to hold the include names
begin of t_includes occurs 0,
end of t_includes.
CALL FUNCTION 'GET_INCLUDETAB'
EXPORTING progname = 'SAPMM07M' tables incltab = t_includes .
* Displaying the includes on the list
loop at t_includes.
write :/ t_includes-prgname.