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

hw to create data element

Former Member
0 Likes
1,965

plz give me the step that how to create a data element.

Thanks.....

7 REPLIES 7
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,335

Hi

With the use of the built-in type, you have to set always in every different data element the exact type.

With the use of the domains (pre-defined types) you just have to enter the domain name into the data element. If you have to modify the type, you can maintain it in the domain (only once) but the built in types have to modifyed in every data element (which means more work).

Domains have a little more options also, than the built in types.

Regards,

Sree

Read only

Former Member
0 Likes
1,335

hi,

goto se11 -> in tables attributes section -> click on table fields -> give field name -> data element ->double click on data element -> give domain name ( same as data element) -> double click on domain name -> give data type, length (o/p) ->desc -> activate -> back -> give data element desc, selection text for data element -> activate -> back.

if helpful reward some points.

with regards,

suresh.

Read only

Former Member
0 Likes
1,335

hi

Procedure

In the initial screen of the ABAP Dictionary, select object type Data type, enter the data element name and choose Create.

A dialog box appears.

Select the data element and choose .

The maintenance screen for data elements appears.

Enter an explanatory short text in the field Short text.

The short text appears as title in the F1 help for all the screen fields referring to this data element.

On the Data type tab page, define the data type, number of places and possibly the number of decimal places of the data element. You can define these attributes by specifying a domain or by direct type entry.

If the data element should have the type attributes of a domain, you only have to select Domain and enter the domain name in the corresponding field. You can also define a new domain and create it by navigating to the domain maintenance screen by double-clicking (see Creating Domains).

If you want to enter the type attributes directly, select Direct type entry. Entries are now possible in the fields Data type, Number of places and Decimal places.

If the data element should describe a reference type, choose Reference type and then Referenced type. Enter the name of the referenced type. This can be the name of a class or of an interface, a generic reference to ANY, OBJECT or DATA or a reference to a type defined in the Dictionary. If you want the reference type to be a predefined Dictionary type, select Reference to a predefined type. Enter the type, the number of places and possibly the decimal places.

On the Field label tab page you can maintain text information (short, medium, and long field labels and the title) for the data element.

You can use this text information in input templates to represent fields that refer to this data element.

Save the data element.

You are asked to assign the data element a development class.

more details refer

http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7307b1af11d194f600a0c929b3c3/content.htm

regards

swati

<b>plz reward points if helpful</b>

Read only

Former Member
0 Likes
1,335

Hi,

Goto SE11 initial screen and give the name of the dataelement 'Zname' in data type Input field and select the radio button data type and click the push button CREATE..

Now u will get a popup window to select one of the data type creation..

DATA ELEMENT

STRUCTURE

TABLE TYPE

select the radiobutton for DATA ELEMENT and press ENTER.. it will take you to the DATA ELEMENT creation initial screen

also see the below link

http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7307b1af11d194f600a0c929b3c3/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d72feb1af11d194f600a0c929b3c3/content.htm

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

Regards

Priyanka.

Read only

Former Member
0 Likes
1,335

HI

GOOD

go through this link which ll give you detail idea about creating the data element.

http://help.sap.com/saphelp_nw2004s/helpdata/en/90/8d7307b1af11d194f600a0c929b3c3/content.htm

thanks

mrutyun^

Read only

Former Member
0 Likes
1,335

Hi,

Goto SE11->Select the Data Type Radio button-> give the some name and press Create ->It will list out 3 radio buttons->select the Data Element Radio button->it will take you to the respective screen->give short description ,domain name and select field label tab to give the text. and save and activate it.

Reward points if it is helpful.

Regards,

Sangeetha.A

Read only

Former Member
0 Likes
1,335

hi abhay,

that's simple,just try this,

Go to T.code se11,

select Data type radio button,

provide data element name start's with Z or Y,

create,

in pop up select data element radio button,

enter,

then provide decsription and domain,

activate.

regards,

seshu.