‎2008 May 27 6:44 AM
Hi,
i had a requirement to get all the Z objects(custom), for this i am getting from TRDIR table, but i am getting all the Z objects, but i dont want the temporary objects to get, is there any methods all the Z OBJECTS other than the temporary objects.
Regards.
venkat.
‎2008 May 27 7:02 AM
You can try extracting the details from table TADIR to get the list of Non-Local Objects. Exclude objects that have DEVCLASS = '$TMP'.
Below code can give you some idea:
TYPES: BEGIN OF t_prog,
obj_name TYPE sobj_name,
END OF t_prog.
DATA: i_prog TYPE STANDARD TABLE OF t_prog.
SELECT obj_name INTO TABLE i_prog
FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name LIKE 'Z%'
AND devclass NE '$TMP'.
BREAK-POINT.
Edited by: Eswar Rao Boddeti on May 27, 2008 2:06 PM
‎2008 May 27 7:07 AM
HI ,
use table REPOSRC and then filter the records based on TADIR dev class NE '$TMP'.
Rajesh.D