Application Development 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: 

creation

Former Member
0 Kudos

how to create typr group and table type

4 REPLIES 4

Former Member
0 Kudos

Hi,

Go to SE11

There are radio Button For Type Group.

And select Data Type For Radio Button for Table Type Creation.

regards

Sandipan

Former Member
0 Kudos

Hi,

TYPE GROUPS

type groups will contains the definition of variables,constants that we use most of the time.for example see the type pools SLIS in se11.this will be useful to work with ALv concept.

goto transaction SE11.

Select type group radio button.

Enter the name of the type group u want to copy.

then select the copy button on the application toolbar enter the name of the ztype group u want to create. Activate it.

That's it!!

for more info check this link

http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3138358411d1829f0000e829fbfe/content.htm

TABLE TYPE

A table type describes the structure and functional attributes of an internal table in ABAP. In ABAP programs you can reference a table type TTYP defined in the ABAP Dictionary with the command DATA <inttab> TYPE TTYP. An internal table <inttab> is created in the program with the attributes defined for TTYP in the ABAP Dictionary.

A table type is defined by:

its line type, that defines the structure and data type attributes of a line of the internal table

the options for managing and accessing the data ( access mode) in the internal table

the key ( key definition and key category) of the internal table

for more info check this link

http://help.sap.com/saphelp_nw04/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/90/8d7325b1af11d194f600a0c929b3c3/frameset.htm

Regards,

Harish

Former Member
0 Kudos

hi kiran,

creation can be done in :

Way: 1:

Go to SE84 --> Select ABAP Dict --> Table Types -->

Enter the short names like ORDER wih leading and ending * on the Table Types Field. ---> F8

This will bring all related entries of Table Types(Line Types) having ORDER has a part of its Name.

Way:2:

If you know the Table Name, then go SE11 --> Putch in the Table Name --> Press Display

Now put the cursor on the Table Name field, press CNTLSHFTF3, on the WHERE USED LIST Pop up, Select only the TABLE TYPE Option and press EXECUTE.

This will bring the Table Types and Line Types.

SAP Table Types

I. Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)

• Allows secondary indexes (SE11->Display Table->Indexes)

• Can be buffered (SE11->Display Table->technical settings) Heavily updated tables should not be buffered.

II. Pool Tables (match codes, look up tables)

• Should be accessed via primary key or

• Should be buffered (SE11->Display Table->technical settings)

• No secondary indexes

• Select * is Ok because all columns retrieved anyway

III. Cluster Tables (BSEG,BSEC)• Should be accessed via primary key - very fast retrieval otherwise very slow

• No secondary indexes

• Select * is Ok because all columns retrieved anyway. Performing an operation on multiple rows is more efficient than single row operations. Therefore you still want to select into an internal table. If many rows are being selected into the internal table, you might still like to retrieve specific columns to cut down on the memory required.

• Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported

• Can not be buffered

IV. Buffered Tables (includes both Transparent & Pool Tables)

While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, it is not always necessary. Some tables are already buffered in memory. These are mostly configuration tables. If a table is already buffered, then a select statement against it is very fast. To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary display of a table (SE12). Pool tables should all be buffered.

Table Types : A table type describes the structure and functional attributes of an internal table in ABAP. In ABAP programs you can reference a table type TTYP defined in the ABAP Dictionary with the command

DATA : itab TYPE TTYP.

Reafer these link below for clear ideas.

[http://help.sap.com/saphelp_nw04/helpdata/en/90/8d7304b1af11d194f600a0c929b3c3/frameset.htm]

hope its clear to you,

Reward if usefull,

Thanks & Regards,

Kalyan.