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

HOW TO CREATE A DATA ELEMENT IN DATA DICTIONARY??

Former Member
0 Likes
6,292

Hi,

I don't find the radio button with the name "Data Element" in SE11 main screen. Can anyone give me the idea on how to create a Data element in Ddic?

Thanks!!!

1 ACCEPTED SOLUTION
Read only

Former Member
4,572

Hi Ramesh,

To create a DATA ELEMENT,

1. Go to SE11.

2. CLICK on the Radio Button DATA TYPE

3. Now Enter the name of the Data Element u want to create say <b>ZXXXX</b>

4. Press the<b> Create</b> button now.

5. A <b>pop up</b> comes asking for what data type u want to create,

ie Data element

Structure

Table type.

6. Now choose DATA ELEMENT and press enter.

7. Give the short Description for ur data element and specify the domain name and ACTIVATE.

8. Now ur DATA ELEMENT is created.

Hope this helps u.

****reward points if so.

All the best

6 REPLIES 6
Read only

former_member632991
Active Contributor
0 Likes
4,572

Hi,

chose the radiobutton <b>data type</b> and give the name then press create,

system will ask for whether u want to create data element , structure or table type.

hope it helps.

Regards,

Sonika

Message was edited by:

Sonika Ahuja

Read only

Former Member
0 Likes
4,572

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..

<b>DATA ELEMENT

STRUCTURE

TABLE TYPE</b>

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

Plz do remember to close the thread when your problem is solved !!!

reward all helpful answers..

sai ramesh.

Read only

Former Member
0 Likes
4,572

Hoi,

You can create the data element by TA SE11, select the radio buton Data element and give the data element name with Z and press enter it will be created.

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

Chilla

Read only

Former Member
0 Likes
4,572

Ramesh,

Creating Data Elements

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.

Choose .

Result

The data element is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred when activating the data element, the activation log is automatically displayed.

Other Options

Create documentation: With Documentation, create a text that describes the contents of the data element. This text is displayed for the F1 help in all screen fields that refer to this data element. You should therefore only leave out this step if the data element does not appear on a screen. In this case you should set the documentation status appropriately.

Assign a search help: You can assign the data element a search help. This search help is offered on all the screen fields referring to this data element when the input help (F4 help) is called (see Attaching Search Helps to Data Elements). To assign the search help, you must specify its Name in the data element maintenance screen and an export parameter of the search help in the Parameter field.

Assign a parameter ID: A field can be filled with default values from SAP memory using a parameter ID. A screen field is only filled automatically with the value stored under the parameter ID of the data element if this was explicitly permitted in the Screen Painter.

For example, if a user only has authorization for company code 001, this company code can be stored in memory under the corresponding parameter ID at the beginning of a transaction. Fields referring to the data element for the company code are then automatically filled with the value 001 in all subsequent screen templates. In this case, the corresponding parameter ID must be only entered in the data element for the company code.

Assign a default component name: You can store a proposal for the name of the table fields or structure components that refer to a data element. If possible, use an English-language default name. Always use this default name for components in BAPI structures (structures with a fixed interface). This results in a more unified assignment of field and component names.

Mark data element as relevant for change documents: The data of a business-oriented object is often distributed on several tables. To be able to trace changes to this business object, these tables can be combined in a Change document object. Function modules that can be integrated in the corresponding application programs and that log the changes are generated from such a change document object. Changed field contents are only logged if the Change document flag is set for the data element of the field.

Don't forget ot reward if useful..

Read only

Former Member
0 Likes
4,572

Hi Ramesh.

Then i think just open create a new table and enter that data element name and then double click, it will ask for creating then create it. Hope this helps you, reply for queries, Shall post you the updates.

Regards.

Kumar

Read only

Former Member
4,573

Hi Ramesh,

To create a DATA ELEMENT,

1. Go to SE11.

2. CLICK on the Radio Button DATA TYPE

3. Now Enter the name of the Data Element u want to create say <b>ZXXXX</b>

4. Press the<b> Create</b> button now.

5. A <b>pop up</b> comes asking for what data type u want to create,

ie Data element

Structure

Table type.

6. Now choose DATA ELEMENT and press enter.

7. Give the short Description for ur data element and specify the domain name and ACTIVATE.

8. Now ur DATA ELEMENT is created.

Hope this helps u.

****reward points if so.

All the best