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

tables

Former Member
0 Likes
573

i am trying to create table .i have entered the field name and i have two check boxes ie

1.key.

2.initial.

I will check 'key' so that i can maintain uniqueness then what is the purpose of initial check box if i kept it blank what will happen.plz explain me.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

Indicator that NOT NULL is forced for this field

Use

Select this flag if a field to be inserted in the database is to be

filled with initial values. The initial value used depends on the data

type of the field.

Please note that fields in the database for which the this flag is not

set can also be filled with initial values.

When you create a table, all fields of the table can be defined as NOT

NULL and filled with an initial value. The same applies when converting

the table. Only when new fields are added or inserted, are these filled

with initial values. An exception is key fields. These are always filled

automatically with initial values.

Restrictions and notes:

o The initial value cannot be set for fields of data types LCHR, LR

and RAW. If the field length is greater than 32, the initial flag

cannot be set for fields of data type NUMC.

o If a new field is inserted in the table and the initial flag is s

the complete table is scanned on activation and an UPDATE is made

the new field. This can be very time-consuming.

o If the initial flag is set for an included structure, this means

that the attributes from the structure are transferred. That is,

exactly those fields which are marked as initial in the definitio

have this attribute in the table as well.

5 REPLIES 5
Read only

Former Member
0 Likes
550

Hi,

If you check the INITIAL check box, then it will take the INITIAL VALUE for that data type. Lets say it is Charecter data type, and you haave not entered anyh thing in the table field then it will take SPACE in it, and lets say it is a DATE type and you have not entered any thing, then it will take 00000000 in it.

Hope you understand this

Regards

Sudheer

Read only

Former Member
0 Likes
551

Indicator that NOT NULL is forced for this field

Use

Select this flag if a field to be inserted in the database is to be

filled with initial values. The initial value used depends on the data

type of the field.

Please note that fields in the database for which the this flag is not

set can also be filled with initial values.

When you create a table, all fields of the table can be defined as NOT

NULL and filled with an initial value. The same applies when converting

the table. Only when new fields are added or inserted, are these filled

with initial values. An exception is key fields. These are always filled

automatically with initial values.

Restrictions and notes:

o The initial value cannot be set for fields of data types LCHR, LR

and RAW. If the field length is greater than 32, the initial flag

cannot be set for fields of data type NUMC.

o If a new field is inserted in the table and the initial flag is s

the complete table is scanned on activation and an UPDATE is made

the new field. This can be very time-consuming.

o If the initial flag is set for an included structure, this means

that the attributes from the structure are transferred. That is,

exactly those fields which are marked as initial in the definitio

have this attribute in the table as well.

Read only

Former Member
0 Likes
550

Hi

See this doc for that check box INITIAL

Indicator that NOT NULL is forced for this field

Use

Select this flag if a field to be inserted in the database is to be filled with initial values. The initial value used depends on the data type of the field.

Please note that fields in the database for which the this flag is not set can also be filled with initial values.

When you create a table, all fields of the table can be defined as NOT NULL and filled with an initial value. The same applies when converting the table. Only when new fields are added or inserted, are these filled with initial values. An exception is key fields. These are always filled automatically with initial values.

Restrictions and notes:

The initial value cannot be set for fields of data types LCHR, LRAW, and RAW. If the field length is greater than 32, the initial flag cannot be set for fields of data type NUMC.

If a new field is inserted in the table and the initial flag is set, the complete table is scanned on activation and an UPDATE is made to the new field. This can be very time-consuming.

If the initial flag is set for an included structure, this means that the attributes from the structure are transferred. That is, exactly those fields which are marked as initial in the definition have this attribute in the table as well.

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
550

Hi Manjula,

Initial Check box is the indicator that NOT NULL is forced for this field.

Select this flag if a field to be inserted in the database is to be

filled with initial values. The initial value used depends on the data

type of the field.

Please note that fields in the database for which the this flag is not

set can also be filled with initial values.

When you create a table, all fields of the table can be defined as NOT

NULL and filled with an initial value. The same applies when converting

the table. Only when new fields are added or inserted, are these filled

with initial values. An exception is key fields. These are always filled

automatically with initial values.

Restrictions and notes:

o The initial value cannot be set for fields of data types LCHR, LRAW,

and RAW. If the field length is greater than 32, the initial flag

cannot be set for fields of data type NUMC.

o If a new field is inserted in the table and the initial flag is set,

the complete table is scanned on activation and an UPDATE is made to

the new field. This can be very time-consuming.

o If the initial flag is set for an included structure, this means

that the attributes from the structure are transferred. That is,

exactly those fields which are marked as initial in the definition

have this attribute in the table as well.

Read only

Former Member
0 Likes
550

Manjula,

SAP Documentation States the Following...

Indicator that NOT NULL is forced for this field

Use

Select this flag if a field to be inserted in the database is to be

filled with initial values. The initial value used depends on the data

type of the field.

Please note that fields in the database for which the this flag is not

set can also be filled with initial values.

When you create a table, all fields of the table can be defined as NOT

NULL and filled with an initial value. The same applies when converting

the table. Only when new fields are added or inserted, are these filled

with initial values. An exception is key fields. These are always filled

automatically with initial values.

Restrictions and notes:

o The initial value cannot be set for fields of data types LCHR, LRAW,

and RAW. If the field length is greater than 32, the initial flag

cannot be set for fields of data type NUMC.

o If a new field is inserted in the table and the initial flag is set,

the complete table is scanned on activation and an UPDATE is made to

the new field. This can be very time-consuming.

o If the initial flag is set for an included structure, this means

that the attributes from the structure are transferred. That is,

exactly those fields which are marked as initial in the definition

have this attribute in the table as well.

Regards

Vijay