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

customized objetcs in sap

Former Member
0 Likes
707

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'

1 ACCEPTED SOLUTION
Read only

anversha_s
Active Contributor
0 Likes
677

hi,

go to se36.

type Z* or Y* press f4.

u will get all the pgms

if hlped pls rwrd points

anver

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'

5 REPLIES 5
Read only

anversha_s
Active Contributor
0 Likes
678

hi,

go to se36.

type Z* or Y* press f4.

u will get all the pgms

if hlped pls rwrd points

anver

Read only

Former Member
0 Likes
677

hi anil,

u can get them from TADIR table

Read only

former_member206396
Active Participant
0 Likes
677

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.

Read only

former_member206396
Active Participant
0 Likes
677

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

Read only

former_member206396
Active Participant
0 Likes
677

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