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

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Value range

    what is value range

    hi,
    Refer this thread..
    Re: can i create value range in domain
    Cheers
    Alfred
    Reward points for helpful answers.

  • Filtering domain value ranges

    Is it possible to filter domain value ranges when displaying a dropdown listbox in a table control according to the value of another field?
    For instance,
    - I have an ITAB with the fields FIELD1 and FIELD2 and a table control TABCON connected to it.
    - FIELD1 is an instance of the domain ZDOMAIN1 and FIELD2 is an instance of the domain ZDOMAIN2.
    - ZDOMAIN1 has the value range X, Y.
    - ZDOMAIN2 has the value range A, B, C, D.
    The value of FIELD1 will be already set and not changeable at this point, as for the drop-down list for FIELD2, I want it to include
    - only A and B if the value of FIELD2 is X for that entry
    - only C and D if the value of FIELD2 is Y for that entry
    I hope I've been able to explain my problem here.

    yes it is possible
    in process before output, you should build the value list dynamically and call function module VRM_SET_VALUES to update it on screen

  • Get domain value range dynamically

    Hi all,
    I need to create a dynamic method that retrieves the value range (key-value) of a domain.
    It is pretty simple to get fixed values using FM DD_DOMVALUES_GET, but how do I manage a value table?
    For example:
    Field XFELD has fixed values so use DD_DOMVALUES_GET
    Fields BUKRS and SPRAS have value tables.
    I can get the value table name using FM DDIF_FIELDINFO_GET and retrieve the data from that table. Unfortunately, I can be sure to get the right key field, but I can't be sure to get the right value field, it depends on the value table definition.
    BUKRS has T001 that stores the text in field BUTXT of the same instead SPRAS has T002 that stores the text in text table T002T in field SPTXT.
    Is there any standard function module that does the trick?
    In this thread Gregor Wolf managed it manually using a case statement, but I would avoid it, too many case statements...
    Thanks
    Ivan

    What I am doing is not quite the same but similar - I am dynamically getting the text description when I have a data element and the value of the variable that references that data element.
    I was pointed to CL_TEXT_IDENTIFIER which when you pass in the domain and the value magicaly brings back the text description, despite the fact that, as far as I can see, SAP has set up almost every text table slightly differently - sometimes in the main table like T001W or lFA1, sometimes which just the language and the value as a key, sometimes with extra key fields (e.g. MAKT) and sometimes with added organisational key fields e.g. the same GL account have different text descriptions in different chart of accounts.
    I think at some stage CASE statements or subclasses are going to have to come into the equation, due to the utter lack of consistency in SAP table defintions.
    Cheersy Cheers
    Paul

  • Any FM avaliable for reading domain value range

    Hi experts,
    Is there any FM avaliable to read values from value range of a domain.
    I need to fetch short  descriptions for corresponding fixed values in value range.
    Please help.
    Thanks in advance,
    Neelima

    Hi,
    Is there any FM avaliable to read values from value range of a domain?
    Yes. Of course, you can try using the following.
    Let me assume that there is a domain called ZGENDER and it has the following fixed values:
    Value  Description
    M        Male
    F         Female
    U         Unknown.
    Then do the following code:
    DATA: l_t_gender TYPE TABLE OF dd07v.
    To get the possible list of Genders
      CALL FUNCTION 'GET_DOMAIN_VALUES'
        EXPORTING
          domname         = 'ZGENDER'
        TABLES
          values_tab      = l_t_gender
        EXCEPTIONS
          no_values_found = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    I need to fetch short descriptions for corresponding fixed values in value range.
    Yes. After calling the function module, l_t_gender-ddtext will have the short descriptions.
    Please revert back for any clarifications.
    Best Regards,
    Suresh

  • Get value range value from Domain

    Hi all,
    My screen field ZXX is using data element ZDEXX and domain ZDOXX.
    I maintain list of record in ZDOXX, eg
    001 Pepsi
    002 Cola
    After user select value from value-help table for ZXX field(say 001), the field will be display '001'.
    I want to display the description, "Pepsi" when user hit enter key on ZXX field.
    How can i achieve that? Can i read the value range table value from Domain ZDOXX?
    Many thanks.
    Best regards,
    Xiang Li Heah

    Hi,
    in se11->search help ->create a search help
    provide the table name and the field for wich u need to provide the search help
    now in the database table u need to provide the foreign key relationship for that field.
    generate a proposal and give the data element name , make sure that the domain name is the same.
    thanks
    ravi aswani

  • Diplay Domain Value Range.

    Hi,
    I wish to display Value Range as define in Domain for certain field in R/3.
    Eg, ZSEX domain 's Value Range in R/3 as below
    01 Male
    02 Female
    Assume ZZSEX field is using ZSEX domain;and
    Expected "Male" to be display when field value ZZSEX = 01.
    How to achieve this in Java Web Dynpro?
    Thanks.
    Best regards,
    Xiang Li Heah

    Hi,
    Why dont you send both ZSEX domain 's value range and text to WebDynpro from R/3 in bapi output as below?
    ZZSEX     ZZSEXTXT
    01           Male
    02           Female
    (Or)
    What you need to do is , You have to store these texts (key , value) in WebDynpro side.
    You can use simple type for this purpose.
    Create one simple type "SEXSimpleType" in webdynpro local dictionary and enter the enumeration values as below.
    01           Male
    02           Female
    Create one context attribute called "SEXAttr" and change the type of this context attribute to "SEXSimpleType".
    Now in the code when the value of ZZSEX = 01 then get the corresponding text by using the below code.
    ISimpleTypeModifiable simpleType = wdContext.nodeTest().getNodeInfo().getAttribute( "SEXAttr").getModifiableSimpleType();
    ISimpleValueServices services = simpleType.getSVServices();
    IModifiableSimpleValueSet valSet = services.getModifiableSimpleValueSet();
    wdComponentAPI.getMessageManager().reportSuccess( "SexText: " + valSet.getText(ZZSEX));
    Regards,
    Charan

  • Domain value range

    hi
    i am changing the table field domain value range. after changing i am getting the warning msg like below. if i ignore it and transport odes it affect anyways.
    and also does anyone tell me when we transport only the structure get transported or even the values get transported?
    <b>The key length, i.e. the sum of the field lengths of all the key fields of the table,
    is more than 120 bytes.
    Note the following restricted fuctionality for this table:
    - Table contents cannot be transported by specifying key values, at
      best by specifying generic key values with a maximum length of 120
      bytes.
    - The table may not be used as the base table of a lock object.</b>

    Hi ,
    Instead of changing the domain value range ,
    create a Z Domain group say copy it from the existing one and increase the range .
    This will reflect on the field name in the Ztable . Do activate and adjust database from SE14 on the table .
    Remember that the new range of values will be overlapped to the existing version in the target system .
    for this what u have to do is for the existing domain field where used list see the tables in which it is to be used .
    and then if its not causing any inconsistencies u can transport or else the dependent tables which are referring to the domain group have to be modified .
    regards,
    Vijay

  • Pointers needed to change Value Range in a Domain through a program

    Hi All,
              I have a requirement in which i have to change the Value range of a domain while executing a program...
    Is there any FM available to achieve this functionality.... Kindly provide pointers to achieve my requirement...
    Regards,
    Navin.

    Hi Navin!
    From functional point of view, that's a DDIC change - which you should not do by a program, but in DEV system and transports.
    Otherwise, have a look at table DD07D - with no garantee of the results of direct DB changes in this table.
    Regards,
    Christian

Maybe you are looking for

  • Broadband drops every few hours causing router to ...

    For the last 8 days my router has been rebooting between four and 6 times a day.  There is no pattern, happens during day and at night when not in use. I have spent many hours with level 1 and level 2 re-expalining the issue each time I call, have pl

  • Can i over ride my pass code

    i have broke the screen on my i phone, and need to sync to a new lap top. how can i do this please

  • Cisco Prime 1.2 (MAPS/FLOOR PLANS)

    Hi All, Does anyone have any idea on how to import and scale correctly campus, building and floor diagrams into Cisco PI? I have tried several times via the editor to rescale and it just doesn't work. Any advise would be greatly appreciated. Thanks i

  • Labview 2012 Runtime Ubuntu

    Hello. I am trying to distribute a compiled labview program on Ubuntu linux machines. However, I can't seem to get the Labview Run Time Enviroment to install on Ubuntu in order to run the executable. Has anyone managed to do this? I have tried using

  • Lumia 625 not charging, after battery dead

    Last night i was using my lumia 625 and it was working fine. but it drained to 3% and switched off. i thought i would charge it in the morning. Now its not charging.  i have kept it for charge for more than 3-4 hours, but no signs of life is there. i