Select options higher range value not appearing

Dear Experts,
Carrid : AA to AZ
But at runtime i see that low value is AA and high value is null....
written code in wdoinit and code in button to search values.
code of wddoinit:
  DATA: LT_RANGE_TABLE TYPE REF TO DATA.
  DATA: LR_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER,
             L_REF_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
  L_REF_CMP_USAGE = WD_THIS->WD_CPUSE_SELECT_OPTIONS( ).
  IF L_REF_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
             L_REF_CMP_USAGE->CREATE_COMPONENT( ).
  ENDIF.
  WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS->WD_CPIFC_SELECT_OPTIONS( ).
  WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS->INIT_SELECTION_SCREEN( ).
  LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
                                                     ( I_TYPENAME = 'S_CARR_ID' ).
  WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
                                                     ( I_ID = 'S_CARR_ID'   IT_RESULT = LT_RANGE_TABLE ).
can anyone pls help me to resolve this.
Regards......
Sajid
Edited by: shaik sajid on May 17, 2009 3:39 PM

got it."should press enter after entering values"..i am new to webdynpro and learning on my own,hope i will be successful...

Similar Messages

  • Difference between select-option and range

    Hi,
      wat are the difference between  select-option and range
    where u have to use those and give the syntax for the range option.
      if u use range option in report programming there is any advantages ?
      pls reply for this ..
    thanks
    rams

    Hi,
    Not much of a difference,
    A Select-Option could be like,
    SELECT-OPTIONS sel FOR f
    And a Range could be like,
    DATA: BEGIN OF sel OCCURS 10,
             SIGN(1),
             OPTION(2),
             LOW  LIKE f,
             HIGH LIKE f,
          END   OF sel.
    Here they both function the same. But then the Select-Options has numerous options associated with it than the RANGE option.
    Hope it helps,
    Pradip Parmar.

  • SCCM 2012 R2 - Software metering Reports Parameters Value not appear to choice

    Hello Every Body
    I hope to get answer as soon as possible
    I have SCCM 2012 R2 & SQL Server 2012 SP1, my problem is ( all software metering Reports Parameters Values Not appear so I cannot select
    Note:-
    ( All parameters Available Value set to Get Values From a Query) 

    Has it been over 45 days since you created the active SWM rules? Do all (most) other SWM reports
    work?
    all other reporting in SWM which doesn't ask for month and year working
    only the problem in year & Month Parameters Values
    note:-
    these reports doesn't need a 45 days to work, alwasy when i install SCCM reports working only from the second day of installation

  • L.C value not appearing in MB51 report

    Dear gurus,
    The l.c value not appearing in MB51 t.code,are there any other reports to see this values if so,plz explain in detail

    Dear Jay,
    It will be available in MB51, may be check your variant for hidden fields or your authorization, You will get in MR51 also
    In Standard SAP System Asset GR will not have any Finance document at the time of Goods Receipt, So you are not getting Amount in LC, If you want to trigger finance document at the time of GR, you have to change the account assignment category A properties like i.e., remove the tick of GR Non valuated  in the below path
    SPRO-->Materials Management-->Purchasing-->Account Assignment-->Maintain Account Assignment Categories, Select A
    Goods receipt made after this change will be triggered the finance document.
    R,
    amala

  • Select-options and ranges

    Hi all,
    Belated Happy Holi.
    Can u  explain me the difference between
    Select-options and ranges?
    When, where and how to use them ?
    I know the basic differences, but i need to know in deep .
    could u give me the informatin with a scenario please ?
    Thanks in advance
    Ravi

    HI
    <u>SELECT-OPTIONS:</u> Declare an internal table that is also linked to input fields on a selection screen
    <u>RANGES:</u> Declare an internal table with the same structure as in select-options, but without linking it to a selection screen.
    FOR FURTHER DOCUMENTATION PLEASE GO THROUGH THE LINK
    <a href="http://72.14.203.104/search?q=cache:btyoj86smhEJ:www.sap-img.com/abap/difference-between-select-options-ranges.htmSelect-optionsandrangesIN+ABAP&hl=en&gl=in&ct=clnk&cd=1">Difference Between Select-Options & Ranges</a>
    <a href="http://72.14.203.104/search?q=cache:EJgiHLpghDEJ:help.sap.com/saphelp_nw04/helpdata/en/fc/eb3034358411d1829f0000e829fbfe/content.htmSelect-optionsandrangesIN+ABAP&hl=en&gl=in&ct=clnk&cd=4">Statical Declaration</a>
    <a href="http://72.14.203.104/search?q=cache:VWS1erlabRIJ:help.sap.com/saphelp_nw04/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/content.htmSelect-optionsandrangesIN+ABAP&hl=en&gl=in&ct=clnk&cd=5">Selection tables</a>
    REGARDS
    ANOOP
    Message was edited by: ANOOP R.S

  • How to use select options whitout ranges ie like parameter

    how to use select options whitout ranges ie like parameter and pls send me the code on that
    thanks
    raja.

    hi,
    SELECT-OPTIONS : s_kunnr for kna1-kunnr <b>no intervels.</b>
    eg: code
    <b>SELECT-OPTIONS : s_kunnr for kna1-kunnr <b>no intervels.</b></b>
    data: itab type table of kna1 with header line.
    select * from kna1 into table itab where kunnr IN s_kunnr.
    rgds
    Anver

  • Trying to delete an app from my IPad 2 IOS8. I press on the app, all the apps wobble but the option to delete is not appearing. Pls help

    Trying to delete an app from my IPad 2 IOS8. I press on the app, all the apps wobble but the option to delete is not appearing. Pls help

    Assuming you aren't attempting to delete built in Apps, go to: Settings - General - Restrictions - Deleting Apps = ??
    i need help deleting apps on my iphone 6  When I tap and hold it jiggles but a "x" doesnt appear.  Any ideas 

  • Specific default values for select-options high and low

    Hi
    My requirement is in the selection screen i have a select-options field for which i need to give default values as mentioned below.
    Description                              Data Type       Default Value     Mandatory?             Sel Scrn Type     
    Delivery/BOL Date        ekab-bedat                         1st DOM to current day     Y              Range     
    The datatype is ekab-bedat.
    In the low value field ,it should be 1st Date of month(DOM) and in the high value field it should be current day.
    Give me the code for the same asap.

    >
    sreedeep.sreekumar wrote:
    > Dont mistake my intensions. When i tried to write it in the form of a request it showed me that it cannot me posted beacuse the words that i am using (please,kindly) is not following the terms and conditions of the words to be written in the threads
    Sounds quite vague to me.
    >
    sreedeep.sreekumar wrote:
    > I was asking help for this as i am a novice in SAP-ABAP and i couldnt find solutions for it and also i have seen people directly writing codes for the queries.
    Becuase you see people posting pieces of code doesn't mean you can ask for a solution asap. Besides, whether you're new or a veteran in ABAP, what you need can be solved with some very basic knowlegde of ABAP. Just use a bit of common sense.

  • Dynamic variant for select option High value

    Hi ,
    Please help me in creating dynamic variable for a select option date field high value.
    II tried the following method:
    1. Enter the values in the selection screen
    2. Save the variant using the SAVE button
    3. In the next screen for the date variable select the 'Selection variable' checkbox (L) and click on the button 'Selection variable' in the toolbar.
    4. Now you will see this variable in the next screen with 3 types of buttons. Click on the middle button (i.e. D - Dynamic date calculation).
    5. Click on the down arrow button and select the option 'Current Date'.
    5. Save the variant.
    But it is saving the date value in Field LOW of select option( From value).
    I need it in TO field( High value).
    Please help.
    regards,
    Sheeba

    Hi Sheeba
        we can do it other way .. Select the same steps as you have done but after the assigning the value current date to low ..click on the selection option push button at the application bar and choose the 'less than or equal to' option to your select option value and try the same ....
    I guess this would throw you same results as that of the value in the high value button
    Cheers,
    Jacks.

  • [Selection Screen] Select-Options populate mult. values & Green pushbutton

    Hi,
    I programmatically fill a SELECT-OPTIONS on event AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_us-low.
    As I use a FM ('RHP0_POPUP_F4_SEARK') that allows me to select several entries in a single step, the right pushbtton stays unchanged. I have to press enter to make it go green.
    I tried thinks like:
        ls_dynpfield-fieldname = '%_S_US_%_APP_%-VALU_PUSH'.  " 'S_US-LOW'.
        ls_dynpfield-fieldvalue = ICON_DISPLAY_MORE.
        APPEND ls_dynpfield TO lt_dynpfields.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
          EXPORTING
            dyname               = sy-repid
            dynumb               = sy-dynnr
          TABLES
            dynpfields           = lt_dynpfields
          EXCEPTIONS
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            undefind_error       = 7
            OTHERS               = 8.
    and it works but it's not that nice !
    Any idea how to avoid this behaviour and directly set it green?
    Thanks in advance.
    Best regards,
    Guillaume

    Hi
    Guillaume Garcia
    U can try following code. it may help you.when I press f4. Colour will change to Green.
    REPORT  ztest.
    tables: mara.
    CONSTANTS : tp_mara type C VALUE 'X'.
    select-OPTIONS: matnr for mara-matnr..
    at SELECTION-SCREEN on VALUE-REQUEST FOR matnr-low.
    matnr-sign = 'I'.
    matnr-option = 'BT'.
    matnr-low  = '1'.
    matnr-high = '2'.
    append matnr.
    matnr-sign = 'I'.
    matnr-option = 'BT'.
    matnr-low  = '4'.
    matnr-high = '5'.
    append matnr.
    SUBMIT ZTEST VIA SELECTION-SCREEN WITH matnr IN matnr.
    START-OF-SELECTION.
    BREAK-POINT.
    END-of-SELECTION.
    Many thanks,
    Suyog.

  • Limitation of using select-options or ranges

    Hi
    I have the following code to fill the select-option AUFNR with the orders from SEL_TAB table, which I have to submit to another report to get a result set.
    LOOP AT SEL_TAB.
       MOVE: 'I'   TO AUFNR-SIGN,
             'EQ'  TO AUFNR-OPTION,
             SEL_TAB-AUFNR TO AUFNR-LOW.
      APPEND AUFNR.
    ENDLOOP.
    I know that we can use the RANGES option also for the above scenario since I don't display the select-option AUFNR in my selection screen.
    My question is, is there any limitation to how many number of values the RANGES or SELECT-OPTIONS can hold? Is it 200 or 256? I am not sure of this figure, can anyone give the exact number?
    Thanks,
    Bala.

    Hi Bala,
      there's not SAP limitations for range dimension but there is a limitation about native SQL statement size.
    In fact an open SQL statement (in ABAP language) will be translated in native SQL .
    For example:
    select * from mara where matnr in r_mara
    will be translated in
    SELECT ... FROM MARA WHERE MATNR = value1 OR MATNR = value2 etc...
    So if your range is too large, the native SQL will exceed the maximum length (and short dump will occur).
    with the following simple trick you can bypass the problem:
    describe table rng_ebeln_marc lines i.
    if i > 0.
      if i <= max_rng_rows.   "MAX NUMBER OF RANGE LINES
        select *
          from ekbe
          into table tekbe
         where ebeln in rng_ebeln_marc.
      else.
        from_i = 1.
        to_i = max_rng_rows.
        clear new_ebeln_marc.
        do.
          if i < from_i.
            exit.
          endif.
          append lines of rng_matnr_mara from from_i to to_i to new_ebeln_marc.
          select *
            from ekbe
       appending table tekbe
           where ebeln in new_ebeln_marc.
           clear: new_ebeln_marc, new_ebeln_marc[].
           from_i = from_i + max_rng_rows.
          to_i = to_i + max_rng_rows.
        enddo.
      endif.
      sort tekbe by ebeln ebelp zekkn vgabe gjahr belnr buzei.
    endif.
    This will split the sql statement into more (and shorter) statements. The result will be joined.
    Let me know if you need further infos.
    Kind Regards, Manuel

  • Plan next yrs values not appearing in Report Painter

    Hi,
    In our one of Z report (developed thrugh SAP std Report Painter functionality), Plan next yrs column does not shows any value in output of report.
    Basically this column should show next years plan values for WBS Element cost elementwise.
    When I double click on any of the cell of this column, I am getting output with 0 records but selection criteria is appearing as Period 7 and Fiscal year as 2999 on output screen on the top. So I am thinking that output is not appearing because of wrong selection criteria field values/characteristics values.
    Just wanted to know from you all guys, what things should I check in Report Painter to resolve this issue? Also what are the causes of this issue?
    Could you please tell me the remedial procedure and transaction code to resolve this kind of issue?
    Edited by: SWAPNIL PRAMOD KHARUL on Jan 30, 2011 12:17 PM
    Edited by: SWAPNIL PRAMOD KHARUL on Jan 31, 2011 9:29 AM

    Hi,
    Thanks for reply.
    Characteristics are:
    Value Type: ZCJUL01
    Value Type:10
    Version:6-VERP
    Period:  7
    Valuation:0
    Object ind.:1  to 5
    Object ind.:P
    Fiscal Year: Z-GJHNJ Next Year  to 2999
    I think it looks like wrong Period selection characteristics value.
    Please suggest/guide what has to be done?
    Edited by: SWAPNIL PRAMOD KHARUL on Feb 3, 2011 9:19 AM
    Edited by: SWAPNIL PRAMOD KHARUL on Feb 3, 2011 9:21 AM

  • Changes on Selection option in MPP is not transport to Test Sys

    Hi,
       I created Selection Option with no interval Using Sub screen in Modlue pool Programming. I have need two textbox (Inputoutput) and labels in same Sub screen. It is working fine in Develop System but I transport this Sub screen into Test System. Test System has only sub screen in Selection option but not there in two textbox and labels.
    Again I created request and send to Test System but that sub screen have only one textbox.
    Please give the advice
    Thanks,
    K.Rani.

    Try to put the labels out of the subscreen, trasnport and see if they appeared then, otherwise, see the transport log for the errors,
    regards

  • Select options- (negavtive range)

    Hi,
    My doubt is ...Is it possible to add a condition in the code to  fetch data if we enter a range of valuesin the RED column of  the selection screen .To be precise I want to restrict dates in my selection screen,if i enter certain dates in the selection screen I dont want the details of that date to be printed.By default itself if i enter it in the Red column ,it will restrict but my requirement is to do some more changes if I have given it in the RED columns,so I want to knw if i can add code in the program ,if so how to do it.Please advice.

    Hi,
    Please try something like this.
    select-options: so_date for sy-datum.
    initialization.
    *exclude the dates between August 01, 2007 and August 10, 2007
    so_date-sign = 'E'.
    so_date-option = 'BT'.
    so_date-low = '20070801'.
    so_date-high = '20070810'.
    append so_date.
    Regards,
    Ferry Lianto

  • Container values not appearing in alerts - SAP CRM 7.0

    Hi Experts,
    I have 2 issues:
    1. I am calling an alert on lead creation by calling an action with processing type as TRIGGER ALERT.
    The alert appears on the home page but the container values defined in the long text are not appearing. The containers defined are as follows:
    OBJECT_ID - Object type - BUS2000108 - business transacton number
    Call later date - Z field in CRMD_ORDERADM_H - structure - CRMD_ORDERADM_H - Field Zabcd
    Please let me know if there is something i'm missing or if i need to define these values in the Method TRIGGER ALERT???
    2. If i want to call this action on a particular date (call later date as above), is it possible to take the reference of this date in the start condition?
    Regards
    Nitin Sehgal

    Dear Nitin,
    The first I am not sure, so hopefully someone else can help you with that.
    For the second, If you want a Z-field to be used in the action conditions, you should add an attribute to your BOR-object in SWO1.
    How to do this can be found here.
    [http://sapcrmweblog.blogspot.com/2011/01/adding-attributes-to-bor-object.html|http://sapcrmweblog.blogspot.com/2011/01/adding-attributes-to-bor-object.html]
    Hope it helps...
    Regards,
    Pieter Rijlaarsdam

Maybe you are looking for