Wednesday, 11 January 2012

Basics of ABAP : Creating Data Element


The second step of table creation is to create data element. It assigns a certain meaning to the table fields, which are defined using that data element. A Data element always needs to be defined over a domain and field is always defined over a data element. This allows all fields with same technical properties to use the same data element.

Parameters to be passed when creating a data element:
Short text: Mandatory field.

Domain: A mandatory field. If the domain does not exist, SAP can take
you directly to domain definition screen.

Text element: You can enter description is short or long text for the field.
This text is used when entering data for these fields.

To create a data element go to t-code SE11.

Select the Data type radio button, enter the name of the data element and press create.
Select the Data Element radio button and press continue.

Enter short description. Assign a domain to the data element. Press field label tab to maintain the field labels for the data element.

Enter the field labels in Field labels tab , Save and activate the data element.

2 comments:

  1. This post is really sweetest on this notable topic. I harmonise with your conclusions and will thirstily look forward to your incoming updates. Keep posting good blogs. Thanks.
    domain name web hosting

    ReplyDelete
  2. Thanks for your very nice post. However, i found out that in the below link they taught us to create data element, domains while creating foreign key. Thats good to.

    Refer: http://learnabaponline.blogspot.in/2013/04/how-to-create-table-in-abap.html

    ReplyDelete