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

Value range

Former Member
0 Likes
1,410

Hi.

What is the use of values range in data dictionary ? give any example for this..

To be reward all helpfull answer.

JNJ

8 REPLIES 8
Read only

Former Member
0 Likes
1,326

hai,

value range is given at domain level.

suppose if u want to restrict the user to enter values between 1 to 100.

then it is usefull for u.

Read only

Former Member
0 Likes
1,326

Hi,

Value Range is for restricting values for a domain:

We can do this by:

Specifying fixed values. – By stipulating a value table.

Value Table:

This is maintained at Domain Level.

When ever you create a domain , you can entered allowed values. For example you go to Domain SHKZG - Debit/credit indicator. Here only allowed values is H or S.

When ever you use this Domain, the system will forces you to enter only these values.

This is a sort of master check . To be maintained as a customization object. This mean that if you want to enter values to this table you have to create a development request & transport the same.

Divya

Read only

Former Member
0 Likes
1,326

Value range will be given at domain level.

if we have few values for a field we can give those values at fixed value level.

if we have some range of values then we have to give at intervels level.

if we want to refer to a perticular table in the data bse then we will give at value tables level.

while inserting the vlaues into database table it will refer the values mentioned at valuerange table level

Read only

Former Member
0 Likes
1,326

Hi,, JNG

Value range is one more functionalty for some Specific Value.

Suppose you have create on fields in SAP table Which have value either 1 or 0. you should not have to allow use to enter any other no.

For this type of requirement we generally use the Value range. Either we can code the same in ABAP itself. But this functionality is already there.

Hope it help you.

regards

Swati Namdeo

Read only

Former Member
0 Likes
1,326

A domain describes the value range of a field. It is defined by its data type and length. The value range can be limited by specifying fixed values.

Read only

0 Likes
1,326

value range is given at domain level.

It specifies range of values.

if we want to check the possible outcomes within certain range then we have to give value range.

eg. if we select carrid = 'lh'

and connid = range '400 to 405 '

then it cheks all values in between 400 to 405 ...that is 400 401 402 403 404 405.

Read only

Former Member
0 Likes
1,326

valid value ranges can be defined, which are used for input

checks.

A domain describes the value range of a field by its data type and length. The

value range can be limited by specifying fixed values.

The domain describes the value range of a field by specifying its data type and

field length. If only a limited set of values is allowed, they can be defined as

fixed values.

Specifying fixed values causes the value range of the domain to be restricted by

these values. Fixed values are immediately used as check values in screen entries.

There is also F4 help.

Fixed values can either be listed individually or defined as an interval.

The value range of a field can also be defined by specifying a value table in the

domain.

In contrast to fixed values, however, simply specifying a value table does not

cause the input to be checked. There is no F4 help either.