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.

Similar Messages

  • Input Field: Value Range in IP Web Layout

    Hi Experts,
    I've created a Web Layout based on IP with a copy function (e.g. from actual 2008 to plan2009) over 12 calendar months. For choosing the months to be copied, I created a Variable (calmonths) and added an Input Field into my layout to enter the the months to be copied. I referred the variable to the input field and it's working...
    When I want to select several months to be copied, I can type in " 1; 2; 3; " into the input field, execute the planning function and only month 1, 2, 3 (i.e. Jan, Feb, Mar) are being copied. But when I want to copy all 12 months, i have to enter 1; 2; 3; 4;...11; 12 which is kind of anoying! Has somebody some experience whether I can use a value range like 1-12 (or something like that) to avoid entering all the months individually? (I tried 1-12; 1- 12; 1 - 12; 1:12 etc but nothing like this is working)
    It would be very helpful if someone has an idea
    All the best,
    Norbert

    Hi Mayank, hi Srinivas.
    Thanks a lot for your valuable input! Unfortunately I was not able until today to test your recommodations.
    I tried your Interval variable but then faced the problem that I cannot enter multiple months anymore (e.g. 5 - 8 worked, 1; 3; 5 not).  Then I inserted both variables, multiple values & interval, into the planning function as well as in the button group in WAD for executing the PF but was not able to execute the following example: 1; 8; 4 - 6. After trying out for some time I figured out that one has to type in the figures in the following order: 4 - 6; 1; 8. Only then I am able to execute the planning function for the months April-June & Jan & August. So, if you're facing the same problem in the future, maybe you have the solution
    Best regards,
    Norbert

  • 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

  • Default value for variable are not within permitted value range (precalc)

    Hello BW community
    Issue:
    I have created a variable (Characteristic Value/ Manual input-default value) and use the precalculated value set (details-basic settings). In the further variable definition I could select the  precalculated value set in 'Default values', which I have defined beforehand in the broadcaster..
    The precalculated value set in the broadcaster settings is just based on a master data query on 0CUSTOMER.
    Error:
    The variable gets the error E991/R9E Errors: Default values for variable 'XXX' are not within permitted value range.
    The detail description of the error is: You defined default values for variable 'Sold-to party precalc value set for manuel input' that are not appropriate for the variable type; for example, a range is defined as a default value for a variable that only permits a single value.
    So please has someone had the same issue and found out how to solve it? It would be excelent to get good solution for this issue.
    Best regards and thanks
    Christian
    PS-1: System BW 701 / SAPKW70105
    PS-2 : there has been a SDN entry with the same topic but not resolved too.
    link: /thread/980839 [original link is broken]

    Hello,
    Thanks for your response.
    I should have mentioned that in my post. I tried this very first time. I thought that this is the place where you provide default value. But I got following exception at that time, so I thought, may be this is used for something else.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jbo.NameClashException: JBO-25001: Object viewAllInd of type Control Binding Definition already exists.
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)Do I need handle something else when you put the default value?
    Thanks,
    Jai

  • Variable for value range

    Hi
    I want to use a variable for giving a value range in a customer exit.
    My scenario is that i have to find the total of quantity for the previous fiscal year. i have declared a variable with the following parameters :
    Processing type : Customer exit
    variable represents: Interval
    variable is not ready for input.
    I have to pass the initial and the final fiscal periods. I have written the code for it as
            l_s_range-low  = l_frstyr.
            l_s_range-high = l_lstyr.
            l_s_range-opt = 'BT'.
    but when i execute the query i get an error saying "Variable Z_FP01_1 contains too many values".
    How can i solve this problem????
    Regards
    Sujai

    maybe l_s_range already has values for thah variable, or you are doing the addition of values several times because of you are not having in count the i_step variable.

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • 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

  • Validation for the select option value range of selection screen

    Hi All.
    if i wish to validate the selection screen parameter for a value range(select options),is it possible?
    what should i write in code.Also,m using FM DD_DOMVALUES_GET to get the values for a specific domain name.
    Please reply.

    Hiii,
         Yes it is possible.... Can you give me the piece of code ... about the select option
    and also the value range against which you want to validate the select option.
    So that i can help you with the coding tips...
    Thanks in advance..

  • Function Module required for getting Value Range data

    I need a function module where in i can get the data from a value range in a domain.
    Message was edited by:
            Gurpreet Singh

    Hi,
    You can use this code to get the Doman's fixed values.
    DATA:  lt_fixed_values     TYPE ddfixvalues,
      CALL METHOD cl_abap_typedescr=>describe_by_name
        EXPORTING
          p_data      = 'Domain_name' " Pass the domain name here
        RECEIVING
          p_descr_ref = lcl_abap_typedescr.
      TRY.
          lcl_abap_elemdescr ?= lcl_abap_typedescr.
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF lcl_abap_elemdescr IS BOUND.
        CALL METHOD lcl_abap_elemdescr->get_ddic_fixed_values
          EXPORTING
            p_langu        = sy-langu " Give the language
          RECEIVING
            p_fixed_values = lt_fixed_values " This table will have the fixed values
          EXCEPTIONS
            not_found      = 1
            no_ddic_type   = 2
            OTHERS         = 3.
      ENDIF.
    Regards,
    Sesh

  • 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

  • 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

  • Value range(column chart): management cockpit

    Hi friends,
    how can i put value range condition in column chart. my situation is like this 
    I have 10 employees with expereinces 4.1(i.e 4 yrs 1 month),5.5, 1.2, 0.5, 3.5, 0.2, 4, 6, 7 and 8.
    I want to present in column chart in x-axis like <1 yrs, 2-4,5-6,>7 and in y-axis count.
    How can i achieve this. I maintained calculated keyfigues(for <1 yrs, 2-4,5-6,>7) on key figuer total experience and, in bi report i'm getting correct output. Even total experience is also calculated key figure and perfectly viewing this value in cockpit. But in managment cockpit, remaining calculated keyfigues(<1yrs,2-4,5-6,>7) i'm not getting. So i want to prefer to set value range in chart.
    pls suggest me.
    thanks,
    raju

    Hello  Raju,
    You can achieve this by simply using a User defined Periodization & Time Variable.
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/1b/3131375fc9342ae10000009b38f839/frameset.htm
    Defining Periodizations
    1.     To define a periodization, choose Periodization in the dialog structure.
    2.     Choose  to switch to change mode.
    3.     Choose New Entries.
    4.     In the Periodization column, enter a name for the periodization (up to four characters).
    5.     In the Fiscal Year Variant column, choose the fiscal year variant on which you want to base the periodization. (The periodization itself is based on periods of the fiscal year variants.)
    6.     In the Long Text column, enter a descriptive name for the periodization.
    7.     Save your entries and return.
    8.     In the list of periodizations, select the periodization you just created.
    9.     Choose Interval in the Dialog Structure.
    10.     Choose New Entries.
    11.     In the Interval No. column, enter a sequential number for each period to be defined, starting with "1".
    12.     Specify the left time limit (= Start column) and the right time limit (= End column) of the range by entering the respective period of the fiscal year variant on which it is based.
    Eg: In your case you follow this
                   Start Column          End Column
    Period 1(<1 yrs)           1               12
    Period 2(2-4 yrs)                     13               36
    Period 3(5-6 yrs)                     37               60
    Period 4(>7 yrs)          61               specify the no. of months you want to calculate for
    13.     Save your entries and return
    In the Cockpit-Frame-Design screen for the mesures(KPI) on the Y-axis you select the check box of Periodization and select this User defined Periodization created by you. You click on the aggregation box too to get the cummulative value for the defioned periods.
    Hope this helps. Revert incase of any query or let me know if it doesnot work as I have tried this with quarters and its working fine in my case.
    Regards,
    Priyanka Singh

  • As Bex Query design why I canu2019t select from list in values range

    Hello experts,
         I want to pop input window when I use analyzer run bw report, I know to add filter through restrict, then I selected value ranges, it was appearing between input text, the button canu2019t let me input, I tried select from list, Bex Query design occured some errors, if click u2018exitu2019 will prompt unknown software exception(0xc00200001) then stop .
    the imange: [http://www.itpub.net/thread-1192217-1-1.html]
    How to input text or select list? Why My Bex query design canu2019t do select from list? 
    please let me know the soultions, thanks for you help in advance
    Regards,
    Steve

    first of all, thanks for your help.   if need to install batch, please let me know. many thanks .
    more infomation as belows:
    the windows prompt:
    Your application an unhandled exception occurs. If you click [continue], the application will ignore the error and try to continue. If you click the [end], it will immediately close the application.
    I clicked more detail button , displayed as belows:
    For more information call using Just-In-Time (JIT) debugging details
    Please refer to the end of this message (instead of this dialog box) information.
    Exception Text **************
    System.NullReferenceException: Object reference not set to be the implementation of individual objects
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.HandleUnhandledException(Exception iException)
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.OnGuiUnhandledException(Object iSender, ThreadExceptionEventArgs iEventArgs)
    in System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
    in System.Windows.Forms.Control.WndProcException(Exception e)
    in System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    in System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow)
    in System.Windows.Forms.Control.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Form.SetVisibleCore(Boolean value)
    in System.Windows.Forms.Control.set_Visible(Boolean value)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    in System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
    in System.Windows.Forms.Form.ShowDialog()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.GetUserSelection()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUIDialog.ShowSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.InvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.OnInvokeSelector()
    in com.sap.bi.et.selector.BExSelectorDialog.SelUICtrlDDBox.picValueHelp_Click(Object sender, EventArgs e)
    in System.Windows.Forms.Control.OnClick(EventArgs e)
    in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    in System.Windows.Forms.Control.WndProc(Message& m)
    in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    inSystem.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

  • Value Ranges option not available in Query

    Hi ,
    I am trying to hardcode some GL ranges in Query global filter in prodution environment.
    But i feel strange the option is not available.
    I dev while creating new Query i have the option.
    Did any one face this kind of strange problem.
    Please adivce.
    Thank

    HI Kiran,
    You don't have authorization to see the value ranges.
    Login with other id which have the full permissions and check.It it is problem with authorization.
    Hope it helps.
    Thanks & Regards,
    Ramnaresh.P.

  • Search help on a field with value range

    Hi,
    I have a z-table. One of its fields has a z-data element with z-domain which has a value range. I have a requirement to add a search help on selection screen field which is parameter for mentioned field of my z-table. How can I do that?
    Tnx in advance,
    Nati

    Hi,
    Where you want to add the search help, i mean in report or in screen painter.
    In Screen painter, you can take the reference of Z-Data Element by Dictionary option in Screen layout.
    If it is report, you can use F4 function module(F4IF_INT_TABLE_VALUE_REQUES) or can creat the elementary search help in DDIC and give it as MATCHCODE OBJECT in PARAMETER statement.
    Regards,
    Chandu

  • HR ABAP: Value Range Filtering in F4 help.

    Dear Experts,
    I'm using a common data element and domain used by our team for a field called "Overall Status"! The value range inside the domain for this OS is appended by each individuals, as and on based on individual requirements.
    Now, i've appended 5 value range inside the existing domain's value range.
    When, i call my custom infotype screen, i need only those values added by me in the f4 search help, instead of all the existing enteries in the value range?
    Can anyone throw some lights for the procedure to do so?
    Thanks in anticipation!
    Useful solution will be definitely rewarded!
    Regards,
    Sundar.

    Old!

Maybe you are looking for