Skip to Content
author's profile photo Former Member
Former Member

ABAP Dictionary

I am Srikanth frm hyderabad and I am basic learner of ABAP programing

i want to know how to create a table in abap dictionary and general explanation of each settings

with regards

SRIKANTH

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2006 at 08:53 AM

    Please have a look at below link.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eb6e446011d189700000e8322d00/frameset.htm

    Procedure

    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 for the table. The corresponding maintenance screen is displayed with Goto ® Technical settings.

    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 .

    Create (if necessary) secondary indexes for the table.

    To do this choose Goto ® Indexes.

    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.

    Other Options

    Assign a search help to a field: You can assign a search help to a field with Goto ® Search help ® For field. The search help can be used by all screen fields that refer to this field. See Attaching a Search Help to a Table or Structure Field.

    Assign a search help to a table: You can assign a search help to a table with Goto ® Search help ® For table. This search help can be used by all screen fields that are checked against the table. See Attaching a Search Help to a Check Table.

    Create documentation: With Goto ® Documentation you can create a text that describes the use of the table and maintenance of the table data more precisely.

    Assign activation type: With Extras ® Activation type you can assign the table an activation type. This is only relevant for tables in the runtime environment.

    Enter or display data: If you set the Table maintenance allowed flag, you can enter data in the table with Utilities ® Table contents ® Create entries. You can display existing data with Utilities ® Table contents ® Display.

    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.

    Best Regards,

    Vibha Deshmukh

    *Plz mark useful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2006 at 08:54 AM

    hi,

    please refer to this link :

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm

    REgards,

    PReema

    *Reward points for helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2006 at 10:06 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 04:35 AM

    Hi

    U can create tables in txn SE11.

    Procedure

    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 for the table. The corresponding maintenance screen is displayed with Goto ® Technical settings.

    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 .

    Create (if necessary) secondary indexes for the table.

    To do this choose Goto ® Indexes.

    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 .

    Hope this helps u.

    Regds,

    Seema.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 05:02 AM

    Hi Srikanth,

    Kindly check the following PDF:

    <b>ABAP Dictionary</b>

    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf

    best regards,

    Thangesh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.