2006 Sep 11 12:39 PM
Hi frenz,
Can anybody tell me how to find the customized objets in SAP system...and how many are they starts with 'z 'and howmany are starts with 'y'
2006 Sep 11 12:45 PM
hi,
go to se36.
type Z* or Y* press f4.
u will get all the pgms
if hlped pls rwrd points
anver
hi,
go to se36.
type Z* or Y* press f4.
u will get all the pgms
if hlped pls rwrd points
anver
2006 Sep 11 12:45 PM
hi,
go to se36.
type Z* or Y* press f4.
u will get all the pgms
if hlped pls rwrd points
anver
2006 Sep 11 12:45 PM
2006 Sep 11 1:05 PM
hai anil boddu ,
check the program.,
all custom transactions stored in TSTCT table..
to get this write the code in se38
do something like this : just copy the program and execute u will get all custom transactions.
type-pools : slis.
DATA : BEGIN OF lt_tcode OCCURS 0,
tcode TYPE tcode,
ttext type ttext_stct,
END OF lt_tcode,
t_fieldcat TYPE slis_t_fieldcat_alv,
w_fieldcat TYPE slis_fieldcat_alv.
SELECT tcode
ttext
FROM tstct
INTO TABLE lt_tcode
WHERE tcode LIKE 'Z%'." OR
TCODE LIKE 'Y*'.
*LOOP AT LT_TCODE.
*WRITE 😕 LT_TCODE-TCODE.
*ENDLOOP.
w_fieldcat-col_pos = '1'.
w_fieldcat-seltext_l = 'Transaction Code'.
w_fieldcat-fieldname = 'TCODE'.
w_fieldcat-outputlen = 15.
APPEND w_fieldcat TO t_fieldcat.
clear w_fieldcat.
w_fieldcat-col_pos = '2'.
w_fieldcat-seltext_l = 'DESCRIPTION'.
w_fieldcat-fieldname = 'TTEXT'.
w_fieldcat-outputlen = 50.
APPEND w_fieldcat TO t_fieldcat.
clear w_fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = t_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = lt_tcode
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
2006 Sep 11 1:07 PM
hai anil,
in above program that sent just write table name as
<b>"TADIR"</b> in place of TSTCT, you will get all custom objects..
check previous reply of mine
2006 Sep 11 1:38 PM
sorry yar , u asked the count too right.,
just write select stmt as :
Select count(*)
from tadir
into no_objects
where OBJ_NAME like 'Z%' or 'Y%'.
this gives count and if you put obj_name in place of count(*), u will get custom records
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |