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

Domain Creation

sivaprasad_ml
Participant
0 Likes
865

Dear All,

I came across a function module CALL FUNCTION 'GET_DOMAIN_VALUES' which fetches values for a user defined domain ZBLOWK.

Can any one plz tell me how this could be created and predefine value ranges with description .

Best answer will be rewarded with points.

Best Regards

Sivaprasad

1 ACCEPTED SOLUTION
Read only

former_member195383
Active Contributor
0 Likes
818

in the domain...u have one tab called Value range

There u can give ur reqd. values and descriptions..

Reward points if the abv helps..

7 REPLIES 7
Read only

former_member195383
Active Contributor
0 Likes
819

in the domain...u have one tab called Value range

There u can give ur reqd. values and descriptions..

Reward points if the abv helps..

Read only

Former Member
0 Likes
818

hi,

Goto SE11---> Give the name of ur domain.

Press on click button.

Fill in the Required fields on the screen.

Click On 'Value Ranges'.

Enter the Possible values Here and then SAve and Activate.

Hope this will help.

Sumit Agarwal

Read only

Former Member
0 Likes
818

hi

When you create a domain... you have a value-range tab

You can specify single values

range of values and even a table of values along with their descriptions.

Read only

Former Member
0 Likes
818

Hi Siva,

These are steps to create a user defined domain.

1. Go to SE11. Select Doamin radiobutton and enter your domain name, starting wwith Z or Y and click create.

2. Enter Short Description and the data type which it represents and the no. of characters and decimals( if it has).

3. Got Value range tab and in the Value table section enter the table name from which you want the possible values for that domain.

4. Save and Activate.

Now if you assign this domain to any field the possible vakues from the table you specified in VAlue Range are displayed for that field.

Hope this helps you.

Any queries, get back to me.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
818

Hello Sivaprasad,

The FM GET_DOMAIN_VALUES get the value range of the Domain into the table DD07V_TAB. For this, the values must be given in the 'Value Range' tab in the Domain creation.

In the FM, if TEXT is given a value 'X', the short text maintaind for the default values are also retrived by this FM.

GET_DOMAIN_VALUES with TEXT = 'X' has "outer join behaviour", that is, in the result table DD07V_TAB there as exactly as many entries as there are domain fixed values. If there is no text in the required language for a domain fixed value, the field DDLANGUAGE (and thus DDTEXT) in the corresponding entry in DD07V_TAB is not filled.

GET_DOMAIN_VALUES with TEXT = 'X' and LANGU = '*' delivers as many entries per domain fixed value as there are texts belonging to it in various languages.

GET_DOMAIN_VALUES with TEXT = 'T' reads only the fixed value texts, that is, if no text exists for a domain fixed value, there is no entry in the result table DD07V_TAB for this domain fixed value.

Hope you find it useful.

Indu.

Read only

0 Likes
818

Dear All,

Got it... Thanks alot .

Best Regards

Siva

Read only

0 Likes
818

Your answer was well described... thank you keep rockin!!!