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

Data element and domain

Former Member
0 Likes
1,151

Hi All,

I am creating a table with a one data element with the elementary data type as built in type.

And trying to create a number range for it.But i am getting error as domain in data dictionary is not defined.

Can you please tell me what can be the problem.

Regards

Ritika

Hi All,

I am creating a table with a one data element with the elementary data type as built in type.

And trying to create a number range for it.But i am getting error as domain in data dictionary is not defined.

Can you please tell me what can be the problem.

Regards

Ritika

7 REPLIES 7
Read only

former_member195698
Active Contributor
0 Likes
977

Written in SAP help....

"Create sub-object

If you want to differentiate a number range object, enter the data element according to whose value you want to differentiate:

Data element sub-object (object types 4-8)

This data element must exist and be active in the Dictionary and have a check table (value table). The domains must have a field length between 1 and 6.

"

http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa0331493111d182b70000e829fbfe/content.htm

Read only

0 Likes
977

Hi Abhishek,

Thanks for your response.My question is

1.is it mandatory to assign a value table for the domain.

( i am trying to create a dummy application)

If yes then on what basis i should assign a value table.

Read only

0 Likes
977

That is required only in case you are using the Concept of SUB OBJECTS.

Create a data domain for the data element and provide that domain in the field

'Number length domain'.

In this case there is no need of providing any value table to the domain

Regards,

Abhishek

Read only

0 Likes
977

I don't think it's mandatory to use.

You can create Domain with out Value range

Read only

0 Likes
977

Then is it mandatory to create a domain for the data element.

Even though i have not created one for the data element ,I am getting an error message ' domain is not active in the data dic for the data element'

Read only

0 Likes
977

If you are using Sub objects, then its mandatory to have a domain and also a value table associated with the domain,

If you just want to create a number range for your field,

a) either create a domain for your data element and use that domain in the field

"Number length Domain"

b) use an existing domain having the same type and length in the field "Number length Domain"

You can't use a Data Element in the field "Number length domain".

Regards,

Abhishek

Regards,

Abhishek

Read only

0 Likes
977

I need little clarification about the value table.

As per my understanding value table should contain the values which I am expecting to be entered in my table.

If yes. Then my value table will be my number range object.

Is that correct...

Or my value table and my number range object are same.