Fixed Value Ranges in Domain

Hi all,
            i have create table in DDIC and use some domain in that. Now my problem is that there is a option in Domain which is Value Range.I am not able to find the reason why we use this in domain. Means what is the benifit of using Value Range ??
Hoping for the best solution.
Thanx,
Vaneet

The check table must have a key field which has the same domain as the check field of the foreign key table."
the above means that when I use domain(which contains value table ) the same domain must be there in check table .
Yes, the domain must be the same for check field (some field in ztable which you want input help for) and for key field of check table (which we match with check field).
I.e. when you look at table SPFLI you can see field CARRID (this is check field ) . Click on it and select Foreign keys (key icon button). You will see SCARR (this is check table ) and matching keys MANDT and CARRID (foreign keys for them are SPFLI-MANDT and SPFLI-CARRID). Then you go to check table SCARR and look at field CARRID.
The domain must be equal for check field (SPFLI-CARRID) and corresponding check table field (SCARR-CARRID). Only then the input help will be provided correctly.
So that means value table and check table are always same .
Not necessarly, but most often yes. This is because value table serves only the purpose of providing default table for foregin key relationship (when you want to define one), but you are allowed to change that assignment during relationship creation. No other "value" comes with using value table
By defining only value table i cannot get input help , i have to have check table
Correct!
Then what is the use of value table ?
As explained above, only for developer to have proposed this value table as a check table during foreign key definition.
whlile creating z field i can directly use a check table without defining a value table in domain.
Yes, you can. Nevertheless you will have to provide check table yourself. System will not suggest one.
Kindly explain me the use of value table in terms of adding zfield .
No sure if correctly understand you here. ZFIELD can use value table, but without check table it is useless. It will not provide you any input help, nor will check entry for that field when used i.e. on the screen.
If you still feel not good with above explanations please refer [url]When is Value table called?;url]
Edited by: ajay KOLLA on Jun 29, 2010 12:40 PM

Similar Messages

  • Finding short text description of Fixed values for value range for domain

    Hi,
    When I got to Dictionary: Dispaly Domain and click on tab value range; I get the template showing Fix. Val and its associated short text.
    I want to fetch the short text for a particular fix. val for a domain.
    How can I do that ? What table can I use it ? Or do I need to use some function module ?
    Lets say I want to fetch the short text for a given Fix val. for domain VBELN.
    Please help me out.

    Hi,
    You can use Function Module 'FM_DOMAINVALUE_CHECK' to get the fixed values of any domain.
    Regards,
    Atanu

  • Where do fixed values of a domain get checked?

    hi
    where do fixed values of a domain get checked?

    Hi Jyothsna,
    My understanding is you want to restrict values at domain so that the field that uses the domain should allow only specific values defined.
    For this, In the declaration of domain, you can find a tab called "Value Range". Here you can give specific values that should be allowed for the field declared using the data element which carries the domain. Also you can define a range of values.
    Check the standard domain "XFELD". You can get an idea about this.
    Award points if helpful.
    Regards,
    Senthil G.

  • F4 help not reflecting in ALV Grid for fixed values specified in domain

    Hi experts,
       As per subject i have a field for which i have assigned 5 fixed values in the domain level (of that field) . The problem is when i am displaying my ALV grid output i need a F4 help and F4 Option for the same is not reflecting and i have assigned in the field catlog as shown bellow.
    wa_fcat-fieldname = 'ZDEPLOY'.
      wa_fcat-tabname = 'IT_FINAL'.
    wa_fcat-f4availabl = 'X'.
    wa_fcat-key     =  'X'.
      WA_FCAT-SELTEXT_L = 'Deployment Planned'.
      wa_fcat-outputlen = '25'.
       WA_FCAT-EDIT = 'X'.
       WA_FCAT-REF_FIELDNAME = 'ZDEPLOY'.
       WA_FCAT-REF_TABNAME = 'ZETMDEPL'.
      APPEND WA_FCAT TO IT_FIELDCAT.
      CLEAR WA_FCAT.
    for the above field the f4 help is not reflecting.
    Intrestingly i have another field which i have declared using the same procedure for which my F4 help (with fixed values ) is reflecting in the same program .with the values as shown below
        wa_fcat-fieldname = 'ZFINAL'.
      wa_fcat-tabname = 'IT_FINAL'.
      WA_FCAT-SELTEXT_L = 'Final Status'.
      wa_fcat-outputlen = '10'.
       WA_FCAT-EDIT = 'X'.
       wa_fcat-ref_fieldname = 'ZFINAL'.
       wa_fcat-ref_tabname = 'ZETMDEPL'.
      APPEND WA_FCAT TO IT_FIELDCAT.
      CLEAR WA_FCAT.
    can u plz suggest me with a solution .
    Regards,
    Edited by: abhilash aswath on Oct 20, 2010 3:32 PM
    Moderator message: please do not use SMS speak.
    Edited by: Thomas Zloch on Oct 20, 2010 3:58 PM

    hi,
    There was a mismatch of characteristics. I resolved by matching the same.

  • Value range of domain as serach help

    A Z domain have been defined a with a value range and domain is not used in any table. Can this value range of domain  is used as F4 help on selection screen.
    Selection screen is not designed thru screen painter but thru statements.
    Kindly resolve.
    anu

    HI anu  ,
    yes  it is  possible   in the   at selection output   ...
    DATA  : lt_dd07v_tab_a     TYPE  TABLE OF dd07v.
      DATA  : ls_dd07v_tab_a     LIKE  LINE  OF lt_dd07v_tab_a.
      DATA  : lt_dd07v      TYPE  TABLE OF dd07v.  " this  is  internal table for  your screenfield
      DATA  : ls_dd07v      LIKE  LINE OF  lt_dd07v. " work area for  your screenfield
    CALL FUNCTION 'DD_DOFV_GET'
           EXPORTING
             get_state           = 'M'
             langu               =  ' '
    *       PRID                = 0
             withtext            = 'X'
             domain_name         =   'zkunnr'       "  your  zdomain hardcode it
    *     IMPORTING
    *       GOT_STATE           =
            TABLES
              dd07v_tab_a         =  lt_dd07v_tab_a
              dd07v_tab_n         =  lt_dd07v_tab_n
         EXCEPTIONS
           illegal_value       = 1
           op_failure          = 2
           OTHERS              = 3
    LOOP  AT  lt_dd07v_tab_a   INTO  ls_dd07v_tab_a .
            MOVE-CORRESPONDING   ls_dd07v_tab_a   TO   ls_dd07v .
            APPEND   ls_dd07v  TO  lt_dd07v .
          ENDLOOP .
    in the  above  the    lt_dd07v  is your     screen  field  internal table  
    or else   you can  move the   field  which you  delcare in the program
    reward  points if it is usefull
    Girish

  • Value range of domain

    Hi Experts,
                       what is the importance of value range tab of domain?........if we enter any interval in value range for the domain and then we assgined that domain to a table field.Now can we only enter value into the field only satisfying the interval in value range of the domain?
    I have already assigned domain to a package and Now I want to change that package and request no.Is there any way out?

    Hi,
    A Domain defines a Value Range. The value range of a domain can be restricted by defining fixed values. If all the fields or components that refer to the domain should be checked against a certain table, this table can be defined as the value table of the domain. If you maintain only the interval values, then your values entered will be restricted in that Interval only.
    For Changing the package Assignment of the domain, go the Object Navigator (TX:SE80) and then navigate to the domain using the package. Select the Data Dictionary Objects like Domain and using the Context Menu of the mouse you can change the package assignment.
    For changing the transport request, you have to go to SE09 ( Transport Organizer Tool) and then delete the old task from it or you can create a new transport request and the change the task assignment of the existing ones to the new one.
    Hope this helps.
    Thanks,
    Samantak

  • Can i create value range in domain

    can i create value range in domain

    Hi,
    Value range means we will give possible values at Domain level.
    We will have Value tabe also at Domail level.
    when we give possible values at Domain level it will restrict to those values to that particular field.
    Deepak.
    If this helps you reward with points.
    Message was edited by: KDeepak

  • New fixed value in standard domain BLCKD

    Hello Experts,
    I want to add a new block id in a purchase requisition.
    I saw in the forum that there is no customizing for that and that I need to add the new block ID's directly in the domain BLCKD.
    I made this and add a field "2-Blocked by Purchasing" in the domain BLCKD. But when I enter in the functionnal transaction ME52N to set this new block id to my pruchase requisition, it does not appear in the list of the possible block Ids.
    Have somenone an idea about what to do to solve this ?
    I did not receive appropriate answer from the MM forum so I think it is perhaps a question more dedicated to ABAPers.
    Thanks a lot for your answer.
    Céline

    Hello Selva,
    I thank you a lot for answer ( and for the tips to create an append avoinding to use the SCCR key).
    I tried again today but it still not works.
    Even I translated it in different languages, I try aolso in connecting me in different language but the result is the same. I only see the twos originally items and not the third I created.
    I insert my item between the two existing items. Does the problem come from this ? I looked in the table DD07T and the field "Val pos" is now 2, and also for the field "fixed value".
    Do you have another id ?
    Should I try to delete it and recreate ?
    I thank you (or someone else who will answer) in advance for your help.
    Céline

  • Value range for domain

    Is it possible to enter value range more than 10 characters long ??

    HI Michal
    This seems to be a restriction as the DOMAIN for storing the value range is defined of length 10 Chars.
    Kind Regards
    Eswar

  • Checking domain fixed values

    I have a screen field in a dynpro where the domain has a fixed value range. The values shows up in the F4 help, but I can't figure out the best way to validate it in the PAI short of hardcoding, which I'd like to avoid.
    Take for example a domain with possible values 'A', 'B', 'C', '1', '2' or '3'. These values pull through to the search help but I also need to validate manual user input against this list.
    I understand the DDIC attribute for a screen element can do this, but that's not an option in this case as the name of the field does not match the name of a dictionary field. Any other suggestions?
    Thanks

    >
    Chris wrote:
    > I have a screen field in a dynpro where the domain has a fixed value range. The values shows up in the F4 help, but I can't figure out the best way to validate it in the PAI short of hardcoding, which I'd like to avoid.
    >
    > Take for example a domain with possible values 'A', 'B', 'C', '1', '2' or '3'. These values pull through to the search help but I also need to validate manual user input against this list.
    >
    > I understand the DDIC attribute for a screen element can do this, but that's not an option in this case as the name of the field does not match the name of a dictionary field. Any other suggestions?
    >
    > Thanks
    If this field should only contain values from the domain fixed value range, why don't you make it into a drop down listbox field?  This would make manual input impossible and all they can do is select values from the drop down list.

  • Domain fixed values columns

    Hello all,
    a liitle bit strange while maintaining fixed values to the domains in 2 diff SAP systems.
    in one SAP system, i am getting 3 columns for maintaining fixed values namely:
    I (Initial value)
    Fix.Val.
    Short Descrip.
    but in another SAP system, i am NOT getting the column I (Initial value).
    Should i need to do some settings, in order to get coumn I (Initial value).
    <removed by moderator>
    Regards,
    Venkat
    Edited by: Thomas Zloch on Mar 5, 2012

    Hi Venkata,
    For value range in the domain - when the 'Configuration' icon that is table settings icon in the top right corner is  opened and
    'Current settings' and 'Standard settings' are maintained as 'Basic setting' and 'Use as standard setting' check box is selected and saved then all the columns in that table(I , Fix Val , Short Description , Fixed Value Append , Switch ) are displayed.
    Please check it for your domain.
    Regards,
    Sai

  • HOW TO ACESS DOMAINS VALUE RANGE PROGRAMTICALLY

    DOMAIN IS WITHOUT VALUE TABLE, BUT WITH FIXED VALUES,
    HOW CAN WE ACCESS THESE VALUES PROGRAMTICALLY,
    WELL NOT FOR VALUE REQUEST TO SEE THE VALUES BUT TO DISLPAY ALL THE VALUES ENTRED IN THE VALUE RANGE OF DOMAIN , WITHIN THE PROGRAM
    REGARDS

    Using the FM is probably the best way to go.
    report zrich_0001.
    data: idd07v type table of  dd07v with header line.
    start-of-selection.
    call function 'DD_DOMVALUES_GET'
         exporting
              domname        = 'RFBSK'    "<<--- Supply domain name here
              text           = 'X'
              langu          = sy-langu
         tables
              dd07v_tab      = idd07v
         exceptions
              wrong_textflag = 1
              others         = 2.
    loop at idd07v.
      write:/ idd07v-domvalue_l, idd07v-ddtext.
    endloop.
    Regards,
    Rich Heilman

  • Function Module to validate a value against domain fixed values

    Hi,
    Could anybody please let me know if there is a standard Function Module that takes a Value and Domain name as an input and checks if the input value exists in the Fixed Values of the domain.
    Thanks,
    Shalabh

    Hi,
    you can use fm FM_DOMAINVALUE_CHECK. Pass parameter values for I_DOMNAME and I_DOMVALUE.
    If the value is invalid, exception VALUE_NOT_ALLOWED will occur.
    Regards,
    Klaus

  • Hide domain fixed values for future use

    We have  a custom domain with 7 fixed values.These Fix values will display if we click on f4 help in the screen.I dont want 4th value and 5th value in the f4 search help button.whether it is possible to hide those values for future use. if we delete the fix values from the domain fixed value list..then it is effecting the past data.Please help me on this.

    Hi Prashanth,
    Use FM : DDIF_DOMA_GET  to get the fixed values for that domain in an internal table, then you can process that internal table according to your requirement and display only those values, in AT SELECTION_SCREEN ON VALUE_REQUEST event in the report.
    I hope it resolves your problem.
    Thanks,
    Avinash

  • Can I use the value range as F4 ValueHelp in WebUI?

    Hi,
    I have a Z-field in CustomerH. Its datatype has a domain with a fixed value range attached.
    I show this field in the header of a sales order but the value help does not show up automatically.
    My question is: Can I use this value range as input for the value help or do I have to code a "real" value help and attach it via the V-Getter?
    Thanks.

    Hi,
    /people/tim.back/blog/2009/02/09/learn-how-to-create-drop-down-listboxes-in-crm-70s-web-client-ui
    to fetch data, you can use table mentioned above. Pass domain name and language to get all values maintained in domain.
    Regards,
    BJ

Maybe you are looking for

  • Costing Sheet on QM Orders

    We recently upgraded from 4.5b to ECC 6.0.  Prior to the upgrade, we did not have costing sheets on our QM orders (they settle to other cost objects which then get overhead).  However, since the upgrade, these orders have been automatically given cos

  • Project server 2013----new custom field value is not synced between my work assignment view and project professional

    Hi All, I would like to add a new custom enterprise field in project server to caculate the effective work. I hope it can work as the default field "work" and "overtime work". And I add my custome enterprise field to my work assignment and the relate

  • Spry Horizontal Menu Bar background image

    Hello, I am trying to insert a .gif file into the background of the spry menu bar items, I believe the default was grey. I changed it to dark grey and it worked fine but then I decided it would look better with an image in it. Therefore I created a .

  • Grand Total is not showing

    Good Day everyone, I have created a report in Discoverer Desktop Edition (Release 4.1), at first, it shows the grand total for the Budget column but when I added a calculated columns "Actual Cost" and "year-to-date", then the grand total no longer di

  • Bluetooth File Exchange - V551 - 10.4.10

    I am able to use iSync to sync the addresses, etc. with my mac and Motorola V551 cell phone (which bluetooth sees as a computer – not a cell phone). I know the computer sees the V551 because of the success in syncing addresses into this particular Ma