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: 

creating tables in SE11

Former Member
0 Kudos

Hello all,

Can someone please tell me how to create a table using se11?

Thanks in advance.

Ol Pom.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Go to SE11

enter the table name start with Y or Z

press create

Enter the Table Text and attributes like delivery class ( A or C)

press fields

enter the fields and enter Data elements(if you already defined) or enter PREDEFINED type

and enter against each field the respective size and type and save.

Go to Technical settings. enter data class and size category Save and activate the total table.

reward if useful

regards,

Anji

8 REPLIES 8

Former Member

former_member181962
Active Contributor
0 Kudos

Former Member
0 Kudos

Hi,

Go to SE11

enter the table name start with Y or Z

press create

Enter the Table Text and attributes like delivery class ( A or C)

press fields

enter the fields and enter Data elements(if you already defined) or enter PREDEFINED type

and enter against each field the respective size and type and save.

Go to Technical settings. enter data class and size category Save and activate the total table.

reward if useful

regards,

Anji

Former Member
0 Kudos

Hi.., these are the steps !!!.



-->

In the initial screen of the ABAP Dictionary, select object class Database table, enter the table name and choose Create.

The maintenance screen for the table is displayed.

-->

Enter an explanatory short text in the field Short text.
You can for example find the table at a later time using this short text.

-->

On the Delivery and Maintenance tab, enter the delivery class of the table.
On this tab, choose an entry from the dropdown box for the Data Browser/Table View Maintenance field. Choose Table maintenance allowed on this tab page if users with the corresponding authorization may change the data in the table using the Data Browser (Transaction SE16). For more information refer to the available options in Data Browser/Table View Maintenance.

-->

On the Fields tab page, enter the table fields. Perform the following steps for each table field:
Enter a name for the table field in the column Fields. The field name may only contain letters, digits and underlining, and it must begin with a letter. A field name may not be longer than 16 characters.

-->

Select the Key column if the field should be part of the table key.

-->

Enter the name of a data element in field Field type. In this case the field takes the data type, length, decimal places and short text from this data element. If there is no suitable data element, you can go to the data element maintenance screen by entering a name and double-clicking.

-->

With Data element/Direct type, you can directly enter the data type, field length, decimal places and short text. Press this key again if you want to enter data elements for further fields.

Only a limited functionality is provided for fields without data elements. No foreign keys or fixed values may be defined for such fields, and there is no F1 help.

-->

You must also define the reference field and reference table on tab page Currency/quantity fields for fields of types CURR (currency) and QUAN (quantity)

-->

You also can include the fields of an existing structure in the table. Note that the field names in the structure may not be longer than 16 places in this case.

-->

Maintain the technical settings ( SE13) for the table.
The technical settings are a separate object and can be activated and transported separately from the table.

-->

Maintain (if necessary) the foreign key relationships of the table to other tables.
The corresponding maintenance screen is displayed if you place the cursor on the check field and choose .

-->

Save the table.
A dialog box appears in which you have to assign the table a development class.

-->

For tables with the Delivery Class G or E, you must also maintain a customer namespace (key block of the table) for the table entries. SAP cannot change table entries or import new entries in the customer namespace during upgrades. To navigate to the appropriate maintenance transaction, choose Define Customer Namespace on the Attributes tab.

Choose an enhancement category. For more information, see Structure Enhancements.
Choose .
Result

During activation, the table and all the indexes on the table are automatically created in the database (if not explicitly excluded when the index was defined). You can display the table definition in the database with Utilities ® Database object ® Display.

At activation, the runtime object for the table is also created. You can display the runtime object with Utilities Runtime object Display.

You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. The activation log is displayed automatically if errors occur when the table is activated.


Constraints

All the key fields of a table must be stored together at the beginning of the table. A non-key field may not occur between two key fields.

A maximum of 16 key fields per table is permitted. The maximum length of the table key is 255.

If the key length is greater than 120, there are restrictions when transporting table entries. The key can only be specified up to a maximum of 120 places in a transport. If the key is larger than 120, table entries must be transported generically.

A table may not have more than 249 fields. The sum of all field lengths is limited to 1962 (whereby fields with data type LRAW and LCHR are not counted).

Fields of types LRAW or LCHR must be at the end of the table. Only one such field is allowed per table. There must also be a field of type INT2 directly in front of such a field. The actual length of the field can be entered there by the database interface.

REWARD IF IT HELPS U..

SAI RAMESH

Former Member
0 Kudos

go to transaction se11

1....click database table

2....give a name starting with z or y ,,, click create

3....specify a delivery class and whether you want restrictions on maintenance

4....specify the fields.. if there is any currency field, specify in the last tab.

5.... you need to provide technical settings where you specify data class and size..

that how many records the table is expected to hold..

6... you need to specify enhancement category.

7.... go to utilities -> table maintenance generator and after making all the entries,

make the entries of values in the table.

Former Member
0 Kudos

Hi,

Answer1

steps to create database tables

1.go to se11

2.give name the database table

3.give short description for the table

4.Give delivery class name as A and data browser / table view maint as Display/maintenence allowed

5.select fields tab

6.give field name data type(user defined element type/built-in-type),short text

7.select technical settings tab ,give data class as appl0 and size category as 0

8.save it

9.go utillities menu click table contents select create and enter the field values then select display in table contents and u can view the table values with field lables

Answer2

bottom to top approach:

_________________________

step 1:

creating a domain:

*se11,select the object type as domain ,name it ,create,description,enter the datatype and length(size),save ,activate

step2:

creating a dataelement;

se11,select the object type as :date element,name it ,create,desc,assign it with a domain what we created now,save,activate it.

step3:

creating a table;

se11,select the object type as table,name it, create,

enter the field name and assign it with the data element instead of assigning a datatype to it,

like this create req fields:

on behalf of this:

table maintainence:

assign the type of the table ie.,A C G L S

NEXT

maintaince:

allowed,not allowed ,allowed with restricions

______________________________________________

fields of a table:(as descripted above)

___________________________________________

techical settings:

A0

OR

A1

AND

BUFFERED OR NON-BUFFERED

regards,

bharat.

Former Member
0 Kudos

hi

1 go to se11

2 give the table name starting with z or y

3 press create button

4 give short description and the packege name

5 define the fields along with their data element

6 do the technical settings

7 go to utilities and the maintain the table

8 table maintenance is necessary in order to add data to table using sm30 transaction.

please reward points if helpful

regards ravish

Former Member
0 Kudos

HI,

1. Goto <b>SE11</b>

2.Enter the table name in the text field either in <b>Z or Y</b> (radio button should be on database tables).

3.Click on <b>Create</b>.

4 Enter the <b>delivery class(usually A) and table view maint..</b><b>(Display/Maintenance allowed)</b>

5 It will ask for save where u can save in ur own development class r local object.

6.next goto <b>fields tab</b> where u can give fields name either predefined or new fields.

7. If u are creating new ones then u need to define domain and data element,which should also start from Z or Y.

8. Once all this is done save it. it will ask for <b>technical setting</b> (data calss and size catagory) give the setting then save it, activate it.

your table as been created.

9 goto <b>utilities</b>-----> <b> table content</b> -


> <b>create entries</b> . can fill the data in the tables like this.

Rgds,

Deepti.