Issue with Select Options

Dear Experts,
I used component wdr_select_options to achieve select options functionality, But it displaying only one field as per my requirement user expecting both low & high fields.
Can you guide for 5 select options whether i have use t times the component at my component level.
And also could please guide me how to use select options at code level.
Thanks & Regards,
Siva Mandapudi.
Edited by: SIVAMANDAPUDI on Jul 18, 2011 6:39 PM

Hi Saravan,
Please find below details.
The exception is:
The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
caught in
procedure "ONACTIONSEARCH_SUPPLIER" "(METHOD)", nor was it propagated by a
RAISING clause.
code:
DATA FOR WORKING WITH SELECT OPTIONS
  data: rt_SUPPLIERNO type ref to data.
  data: rt_SUPPLIERNAME type ref to data.
field-symbols: <fs_SUPPLIERNO> type table,
                <fs_SUPPLIERNAME> type table.
  TYPES: BEGIN OF T_SUPPLIERNO,
         SIGN(1),
         OPTION(2),
         LOW TYPE /SAPAPO/LOC,
         HIGH TYPE /SAPAPO/LOC,
        END OF T_SUPPLIERNO.
  TYPES: BEGIN OF T_SUPPLIERNAME,
         SIGN(1),
         OPTION(2),
         LOW TYPE /SAPAPO/LOC_DESCR40,
         HIGH TYPE /SAPAPO/LOC_DESCR40,
        END OF T_SUPPLIERNAME.
  DATA: WA_SUPPLIERNO TYPE T_SUPPLIERNO, IT_SUPPLIERNO TYPE TABLE OF T_SUPPLIERNO,
        WA_SUPPLIERNAME TYPE T_SUPPLIERNAME, IT_SUPPLIERNAME TYPE TABLE OF T_SUPPLIERNAME.
Retrieve the data from the select option
  rt_SUPPLIERNO = wd_this->m_handler->get_range_table_of_sel_field(
                           i_id = 'ID_SNO' ).
dump raising when get_range_table_of_sel_field is called.
Thanks a lot.
Regards
Siva Mandapudi.

Similar Messages

  • Issue with Select options in select statement - ABAP Question

    Hi
    I am facing an issue with select options. Select statement is returning sy-subrc as 4.
    I wrote the program as below:
    SELECT-OPTIONS:
    s_kunnr FOR bsad-kunnr,
    s_lifnr FOR bsak-lifnr,
    s_gjahr FOR bsad-gjahr,
    s_bukrs FOR bsad-bukrs,
    s_saknr FOR bsad-saknr,
    s_budat FOR bsak-budat.
    In start of selection I have written the select statement as
    SELECT * FROM bsak INTO TABLE lt_bsak
    WHERE bukrs IN s_bukrs AND lifnr = s_lifnr AND gjahr IN s_gjahr AND budat IN s_budat AND saknr IN s_saknr.
    In selection screen I have not entered any values and executed the program. I am not getting any result. When I debug that, sy-subrc is 4 at above select statement. But table has records.
    If am removing the "lifnr = s_lifnr " condition in select then select is returning values.
    I am not getting where I made the mistake. Please suggest.
    Thank you
    Hanu

    Hi,
    The problem here with where condition select option lifnr = s_lifnr.
    Use below select query.
    SELECT * FROM bsak INTO TABLE lt_bsak
    WHERE bukrs IN s_bukrs
        AND lifnr     IN s_lifnr
        AND gjahr   IN s_gjahr
        AND budat  IN s_budat
        AND saknr  IN s_saknr.
    s_lifnr is a select option and you are passing it as parameter lifnr = s_lifnr.
    if you want to pass this s_lifnr as single vale then pass in below mentioned way.
    lifnr = s_lifnr-low
    BR,
    Vijay

  • Mulitple selection with select option on subscreen

    Hi colleagues,
       I've the following issue:
    I'm programming a dynpro this dynpro contains two subscreens. The lower subscreen will contain another dynpro defined as subscreen with an ALV to display results.
    The top subscreen (0150) area will be filled with a generated subscreen with the command
      SELECTION-SCREEN BEGIN OF SCREEN 0150 AS SUBSCREEN.
    with select options I define my selection area like:
    SELECT-OPTIONS: sa_6 FOR gs_rp_attrib_sel-sonr.
       If I call my transaction starting up the dynpro containing the two subscreens the result looks quit how I expect it. BUT then I try to start up the multiply selection Pop-UP for the selection field by pressing the button just right behind the HIGH input field, nothing happens. The multiply selection pop-up basicly does not show up.
       Any clues what I need to add that it will show up?
       Does the mulitply selection not work with
    SELECTION-SCREEN BEGIN OF SCREEN 0150 <b>AS SUBSCREEN</b>???
    (If I do a simple test program with a selection screen not being a subscreen, the multiply select popup comes up.)

    Hi,
    A subscreen cannot call another screen.
    I guess this is the reason why u are facing this problem.
    Thanks,
    Rashmi.

  • I have an issue with disappearing option for 1920x1080 in Preferences / Displays.

    Recently updated to 10.9 - have all updates installed - Mid 2010 iMac 21.5.
    I have an issue with disappearing option for 1920x1080 in Preferences / Displays. - After overnight shutdown, my iMac woke up and the screen resolution of my 2nd was set at 800 x 600 - the display a Samsung S22B150 was previously working properly at 1920 x 1080.  This option is no longer available in the system preferences - highest resolution available 1600 x 1200.
    I use my mMac for Photography and use the second monitor for the interface, leaving the iMac screen as a full work area for the photos.
    I have tried:
    Power down Monitor & restart
    Shutdown & restart
    Shutdown & restart in Safe Boot Mode (options same in Prefs)
    Power down Monitor & restart in Safe Boot Mode
    Ran Disc Utility - Repaired Permissions, verified both HDD & Mac OSX
    Udated Pram
    I am now at a loss, I guess I could try a recovery, and download/install  Mavericks again, but do not wish to do this if I can help it.
    I have searched the net to see if there are any Terminal commands to enable the resolution, but can find nothing.
    Anyone out there have any ideas, please.

    Back up all data. Quit System Preferences if it's running.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    ~/Library/Preferences/ByHost
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar. Paste into the box that opens (command-V), then press return. A folder should open. If it does, look for a file with a long name that begins "com.apple.preference.displays2". There may be several such files. Move them to the Trash.
    Test.

  • Innput field with Select option on custom screen

    Hi,
    I need to create an Input field with Select Option(No interval) button on Custom dialog screen .
    Is there any idea how can I create it on screen ?
    Thanks
    Sachin

    create a normal inputfield and place an icon next to it. then in the pai on click of that button use the following code.
    data: wf_tab_field like rstabfield occurs 0 with header line ,
          wf_exl_opt like rsoptions .
    refresh: wf_tab_field  .
        move: 'KOSTL' to wf_tab_field-fieldname ,
              'CSKS' to wf_tab_field-tablename .
        append wf_tab_field .
        clear wf_tab_field .
        move: 'X' to wf_exl_opt-bt ,
              'X' to wf_exl_opt-cp ,
              'X' to wf_exl_opt-ge ,
              'X' to wf_exl_opt-gt ,
              'X' to wf_exl_opt-le ,
              'X' to wf_exl_opt-lt ,
              'X' to wf_exl_opt-nb ,
              'X' to wf_exl_opt-np .
    call function 'COMPLEX_SELECTIONS_DIALOG'
         exporting
           title                   = 'Select Cost Centers'
           text                    = 'Cost Center'
    *         SIGNED                  = 'X'
    *         LOWER_CASE              = ' '
    *         NO_INTERVAL_CHECK       = ' '
    *         JUST_DISPLAY            = ' '
    *         JUST_INCL               = ' '
            excluded_options        = wf_exl_opt
    *         DESCRIPTION             =
            help_field              = 'CSKS-KOSTL'
    *          SEARCH_HELP             = 'KOST'
            tab_and_field           = wf_tab_field
          tables
            range                   = r_kostl
         exceptions
           no_range_tab            = 1
           cancelled               = 2
           internal_error          = 3
           invalid_fieldname       = 4
           others                  = 5
        if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
        if not r_kostl[] is initial .
          read table r_kostl index 1 .
          if sy-subrc eq 0 .
            move: r_kostl-low to wf_t_kostl .
          endif .
        endif .
    wf_t_kostl  is the screen field name.
    Raja

  • How to declare and work with select-option in screen painter?

    hello there,
    can anybody plz suggest me ,how to declare and work with select-option in screen painter?
    neon

    Hi Blue,
    Please check these threads which will help you a lot..
    module pool programming " to add selection-option on screen"
    Re: Select option in Dialog program screen
    Re: SELECT-OPTIONS in Screen
    Good luck
    Narin

  • Issues with selection tools using PS CS6

    OK, I'm having issues with selections in Photoshop CC…   This video shows my issue (which I never had with CS3).  Basically, I go to select an area within an image, and then the selection area disappears, and when I go to move the selection area I am unable to get the selection to "drop".  This happens regardless of whether I'm using my wacom tablet or my trackpad.  My mac is a 2009 macbook pro running 10.8.5.  Updated my OS and wacom tablet with the latest drivers.  I've gone into preferences and disabled the GPU, but to not avail.  Haven't run into this issue at work using CS6 (but i'm on a windows box there) Any ideas?  Any help would be greatly appreciated ;-) http://www.youtube.com/watch?v=FGPla7V9QI8

    say, SAKNR is 10 character field and ur appending only 6 characters, then it will give such type of errors normally.
    before inserting the data to ur Z table use function module... CONVERSION_EXIT_ALPHA_INPUT

  • Multiple records with select option

    i have to use select option in selection screen, which wl take the multiple values but that select option wont act as a range, the select option is a session name  from sm35, the table from where data is retrieved is APQI, i have used  a parameter before using select option ,like:
    selection-screen begin of line.
    parameters: P_grpid like apqi-groupid.
    select-options: s_grpid like apqi-groupid.
    selection-screen end of line.
    AT-SELECTION SCREEN ON VALUE REQUEST FOR p-GRPID. " previous situation
    {the code starts
    FM F4 selection is called}
    AT-SELECTION SCREEN ON VALUE REQUEST FOR S_GRPID-low. " CURRENT situation
    FM F4 selection is called}
    now when i give data in slection screen for s_grpid-low then it works as a parametr, but it doesnt take multiple values at s_grpid when i have alos mentioned the same for s_grpid-high.
    Please tell me how to achive multiple records with select option, or u can also send a sample code if you have..
    Thanks
    Swarnali

    Hello Swarnali,
    You need to fill internal table of select-option once you got into the event AT SELECTION-SCREEN ON VALUE REQUEST FOR so_carr-LOW.
    so sudo code will be:
    AT SELECTION-SCREEN ON VALUE REQUEST FOR so_carr-LOW.
    Select data from table.
       so_carr-LOW = value
       append so_carr.
    You can also use NO INTERVAL to suppress the so_carr-HIGH value on selection screen.
    Thanks,
    Augustin.

  • Working with select option in WD4A

    can any one provide me some document or video file to work with select options in webdynro for abap?

    Hi,
    Find the following URLs
    PDF - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d
    Video Clip - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/1a3c52e7-0b01-0010-ed81-f31d4868c5d6
    Login to SDN to play the video clip.
    Reward accordingly.
    Regards
    ChandraK

  • Issue with Staple option in Office 2010

    We are having issue with printing with staple in Office 2010. We have Ricoh follow-me printing setup with 2 printer queue B&W and Colour. When select print in Word using Colour, we can
    see the staples option.
    But this option disappear if we use B&W queue.
    We have checked printer driver and logged a job with Ricoh. Here is what we have from Ricoh. We are using Office 2010 14.0.6029.1
    "Yes I can see below you have set it up correctly for both machines.
    Seems to me that Office is not displaying that option which is unrelated to what driver you are using. Both the drivers are the PCL6 version and the finisher has the staple functions enabled
    so in theory it should display the staple option for both print queues.
    You will need to query Microsoft about this one because as far as I can see there is no fault with the way you have the Ricoh drivers installed or the machine itself. "
    Any idea?
    Cheers,

    This is an issue between Ricoh and Microsoft. Ricoh should not be trying to shuffle it off to you. The support person is an idiot and you need to escalate it with Ricoh. Since all of the print settings are controlled by the print driver from Ricoh, if
    this is really a Microsoft problem, the developers at Ricoh should acknowledge in writing that they have filed a bug report with Microsoft.
    Kind Regards, Rich ... http://greatcirclelearning.com

  • Issue with selection paramter

    Hi all,
    I am developing a simple report.
    For selection screen, i have defined as follows.
    selection-screen: begin of block block1 with frame title text-001.
    select-options: s_date for i_table-zdate obligatory.
    parameters: p_projid like ztab1-projid obligatory.
    selection-screen: end of block block1.
    The SELECT statement as follows..
    select empid name zdate projid actid hrs remarks into
    corresponding fields of table i_table
    from ztab1
    where zdate in s_date
    and projid eq p_projid.
    Now while execution, i am facing few problems...
    If i enter "444" in the selection screen for P_PROJID, the report will  be blank, even thought the table is having values as "0000444".
    In the database table, the corresponding field has been defined as follows...
    projid     cats_cproject_guid      char    32
    How to come out of this issue?
    Please Help me.....
    Regard
    Pavan

    Hi All,
    I have coded as follows and facing few difficulties.
    In the selection screen, i have to enter date and Project ID.
    selection-screen: begin of block block1 with frame title text-001.
    select-options: s_date for i_table-zdate.
    parameters: p_projid like zpoc_time-projid obligatory.
    selection-screen: end of block block1.
    select empid name zdate projid actid hrs remarks into
    corresponding fields of table i_table
    from ztime
    where zdate in s_date
    and projid eq p_projid.
    NO, if i enter '406' in the project ID field, the pgm will retrive the value with '406' only from table. If the entry is having value as '00000406', it will not be selected.
    How to overcome this issue...????
    Message was edited by:
            Pavan Sanganal

  • Issue about Select-options in NWG

    Hi Techies,
    Greetings of the day.
    I can able to get the data using Filter in the URI but when i want to use select-options as parameters in the URI it is giving me error.
    kindly help me on this issue how to write select-options to get the data
    Thanks In Advance.
    Thanks & regards
    Sathish

    Hi Sathish,
    Your question doesn't make a lot of sense. Filters are converted into select option format in the DPC, you can't "use select-options as parameters in the URI". The URI has to be OData-compliant and select-options are nothing to do with OData.
    You should be using a filter and interpreting the select options in the DPC. Be aware that not all select-options patterns are converted from filters.
    Regards
    Ron.

  • Issue in Select Options

    Hi all,
    Iam doing a development in which iam using select option component. i have 4 selection para meters. When i use the Component iam getting 4 default buttons RESET, COPY etc.
    Is this 4 buttons mandatory? i also know we can remove the buttons via abap code but stil when i remove Copy button my select options doesnt get any input from screen . Same PO when i use with Copy button (after pressing copy button) its recognising.
    Kindly help me in resolving this issue
    thanks
    dhinesh

    Hi Dhinesh,
    Hope the below snippet solves your purpose
    DATA: LT_RANGE_TABLE TYPE REF TO DATA,
            RT_RANGE_TABLE TYPE REF TO DATA,
         LT_RANGE_TABLE1 TYPE REF TO DATA,
            RT_RANGE_TABLE1 TYPE REF TO DATA,
            READ_ONLY TYPE ABAP_BOOL,
            TYPENAME TYPE STRING.
      DATA: LR_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER,
            L_REF_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
    create the used component
      L_REF_CMP_USAGE = WD_THIS->WD_CPUSE_ZSELECT_OPTION( ).
      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_ZSELECT_OPTION( ).
    init the select screen
      WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS->INIT_SELECTION_SCREEN( ).
      WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
                                  I_DISPLAY_BTN_CANCEL  = ABAP_False
                                  I_DISPLAY_BTN_CHECK   = ABAP_False
                                  I_DISPLAY_BTN_RESET   = ABAP_true
                                  I_DISPLAY_BTN_EXECUTE = ABAP_False ).
    create a range table that consists of this new data element
      LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE( I_TYPENAME = 'Your Feild' ).
    WD_THIS->M_HANDLER->ADD_SELECTION_FIELD( I_ID = 'Your Feild'
      IT_RESULT = LT_RANGE_TABLE I_READ_ONLY = READ_ONLY ).

  • Issue with Select Query in the Delivery userexit USEREXIT_SAVE_DOCUMENT

    Hi All,
    I am facing a strang issue with delivery userexit
    1) I have a delivery user exit MV50AFZ1 - USEREXIT_SAVE_DOCUMENT.
    2) In this user exit. I have written a select query as shown below
    *Get the already delivered data
        SELECT vbeln
               vgbel
               vgpos
               erdat
               erzet
               lfimg
          FROM lips
          INTO TABLE t_lips
           FOR ALL ENTRIES IN t_xlips_reference
         WHERE vgbel EQ t_xlips_reference-vgbel
           AND vgpos EQ t_xlips_reference-vgpos.
        IF sy-subrc EQ 0.
        ENDIF.
    3) The use of the above select query is to find out if there is any delivery that has already been created for the reference slaes order for which the current delivery is being created.
    4) The issue here is that for the FIRST DELIVERY, this select query should fail becuase there is no delivery created earlier and LIPS table would not have data. But, I am seeing some data getting populated in the internal table. The data that I am seeing in the internal table is the data of XLIPS which is nothing but the one that is about to get saved in the database after finishing this userexit.
    5) STRANGE Point is that this is working fine in case if I create delivery using the transaction VL01N. But, if I create delivery using VL10A program I am facing this issue.
    << Removed >>
    Thanks,
    Babu Kilari
    Edited by: Rob Burbank on Jun 16, 2010 4:22 PM

    Then why don't you add
    AND vbeln NE likp-vbeln

  • Issue with profile Options in Inventory

    I am trying to work with profile options in Inventory and I have 4 Operating units and 2 Legal Entity and 1 Business Group.
    At this point I am not sure as how to attach OU to MO:OU ( as there are 4). Similar concern is for GL Ledger..
    Please help....

    Hi Hanu,
    In the select query, u can replace s_lifnr with s_lifnr-low, since when we enter values in selection screen, they get stored in a table structure. hence directly equating it to s_lifnr, will not fetch any records.
    SELECT * FROM bsak INTO TABLE lt_bsak
    WHERE bukrs IN s_bukrs AND lifnr = s_lifnr-low AND gjahr IN s_gjahr AND budat IN s_budat AND saknr IN s_saknr.
    Hope this helps!!!
    Prerna

Maybe you are looking for

  • New OracleConnection hangs in VS 2005 debug mode

    Client 10.2.3, ODT 10.2.0.21 for Vista, VS2005sp1, Vista Sp1 Everything has been working great until I tried to debug a service for the first time since last week. Now no matter what I do, a call to create a new OracleConnection locks up the VS debug

  • IE files downloading as .fdf instead of .pdf

    I have a user where I work that is downloading insurance quotes from an IE browser. When downloading a home insurance quote, the file is attempting to download as a .fdf file instead of a .pdf. He doesn't have the same issue with the auto quotes. I h

  • Acrobat Pro - Printing Problems

    I've just started having problems printing from Acrobat Pro 9.0.  I've heard there might be a patch or something to solve this issue, but can't find anything.  I realize that this is an old program, but don't have the funds to upgrade, so have to sti

  • How to determine whose user is using a specific transaction code?

    Hi to all! I have a simple problem. Stated at the title. For example, I want to know whose User makes OB52 locked. I am actually coding it in one of my report. Is there a table wherein I can check whose User uses T-code OB52? I have tried using BDC b

  • Windows 2008 R2 SP1 Enterprise TS Sessions stuck in Down state

    I have an environment of 30 physical Windows 2008 R2 SP1 Enterprise servers providing Remote Desktop services running Citrix XenApp 6.5.  Over the last 2 months, I've had two instances where one user session was stuck in a "Down" state.  The user cou