‎2008 Jun 30 6:55 AM
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
‎2008 Jun 30 6:58 AM
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..
‎2008 Jun 30 6:58 AM
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..
‎2008 Jun 30 7:00 AM
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
‎2008 Jun 30 7:02 AM
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.
‎2008 Jun 30 7:06 AM
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
‎2008 Jun 30 7:19 AM
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.
‎2008 Jun 30 7:40 AM
‎2008 Jun 30 7:42 AM