ALV, domain and F4 value ranges.

Hi all
I'm having trouble with getting F4 value range help up and running on a cell in my ALV. The main reason for my problems is because I'm not using a DDIC structure, but one I defined locally. The structure's field is associated with a domain type defined in the DDIC and as such I'd like to pull the value range from there.
Here's what more-or-less what I'm doing:
- Create a local structure type corresponding to fields of a DDIC table.
- Select from the table into the structure.
- Load ALV with structure.
Is there anyway to get the F4 help on a cell?
Ps. ref-table and ref-field doesn't work.

As I'm not at the office at the moment I can't test anything, so I'll give you a progress update tomorrow, but in the mean time:
Anjali - I'll have a look at that link. I'm still fairly new to ABAP so I can't tell off hand if that's what I'm looking for, but I'll know for sure when I have a look at the demo applications.
Vijay - I do have value ranges for the domain of the type used by my structure. I believe ref-table and ref-field isn't working because my internal table is of type local structure rather than DDIC table type.
Sekhar - I did try setting F4AVAILABL to 'X', but all that does is display the 'value range button' (which you can click to get the same effect as pressing F4), without actualling doing anything else.
Thanks for the help thus far.

Similar Messages

  • Color space, gamma, and code value range data

    Greetings!
    I'm getting close to submitting my film for professional DCP creation.  It's a ProRes 422 4096 by 1716, 2.39 - 1 file, created as a "master file" in a Premiere Pro CC export (the sequence being an "online" of sorts, built from SpeedGrade color-corrected DPX files).
    The Guidelines for "Digital Cinema Source Delivery" require me to provide information about Color Space, Gamma, and Code Value Range Information (head vs full).  Specifically, an order form asks for TRT, Color-Space, and Full or Head. 
    This is simply all Greek to me.  I know my film looks gorgeous, and the rest of what I've told you, but that's the limit of my experience.
    Can someone help me out?  Specifics are preferred to broad strokes.  Many thanks in advance.

    This is probably too late now for you anyway but here is some extra information:
    The "Digital Source Master" is the video footage before any D-Cinema formatting or encoding has been done.
    It can be literally anything. The DCI specification did not specify this.
    They did however specify exactly what the transcoded verison has to look like. The "D-Cinema Distribution Master" (16bit TIFF, XYZ)
    So in other words, you need to tell your service provider:
    The resolution, fileformat, frame rate and especially the colourspace that you used.
    For example r709 for HD or any other RGB colourspace with applied gamma value (2.3 for example).

  • 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

  • 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

  • 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

  • It is possible to assign value range to non key fields in the table?

    Hi,
    I want to give some range of values to the fields which are non key fields in the table.
    is it possible?
    can anybody tell me the procedure.
    Thanks in Advance,
    venkat

    HI,
    It is higjly possible in case of Z-table. but in standard table you can't make any modification.
    You assign the value range to the domain of field.
    go to SE11 and open the database table.
    Select the Data Element of the fieldto which  you want assign the range.
    Click on its domain .
    click on Value Range tab.
    Set the range.
    Regards,
    anirban

  • Value ranges

    Hi,
           Can anyone tell me what is the use of value ranges. and Can anyoen plz give me example how to give data in value ranges table which is presnt in domain.
    thanking u all.
    regards,
    kavita

    hi,
    A domain defines a value range. A domain is assigned to a data element. All table fields or structure components that use this data element then have the value range defined by the domain.
    <b>The value range of a domain is defined by specifying a data type and length (and number of decimal places for numeric data types).</b>
    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.
    regards,
    ashokreddy

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • 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

  • 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

  • How do I set domain and range in grapher.app?

    Hey, I'm brand new to this program, and i can't figure out for the life of me how to set the domain and range of an equation.
    For example, if i had the equation y=x^2 , how would i go about setting the x values>0?
    Any quick replies are very appreciated! Its rather urgent.

    Apple's Grapher does, in fact, have this capability. It's a shame that Apple's documentation is very poor. Grapher is a wonderful application. In any case, here is how to do it:
    The general syntax is:
    y = condition(s) ? expression
    So for example, if you only wanted to graph the positive x values of x^2, you would enter:
    y = x > 0 ? x^2
    You can also have multiple conditions, separated with an ampersand (&). For example, the sinx graph from -pi to pi:
    y = x > -π & x < π ? sinx
    You can even limit the range. Example:
    y = y < 5 ? x^2
    This only shows the parabola up to the y = 5 line.
    Again, you can mix and match any set of conditions you desire with the ampersand, including limits on the domain and range within the same set of conditions. Example of x^2 only showing positive x values up to the y = 5 line:
    y = y < 5 & x > 0 ? x^2
    Hope this helps.

  • 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

  • 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

  • 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

Maybe you are looking for