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

Similar Messages

  • 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

  • How to make htis code work with select options???

    REPORT YTEST.
    TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
    DATA: BEGIN OF I_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-beskz,
    END OF I_MARC.
    DATA: BEGIN OF I_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    WERKS LIKE MARD-WERKS,
    END OF I_MARD.
    DATA: BEGIN OF I_MBEW OCCURS 0,
    MATNR LIKE MBEW-MATNR,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    END OF I_MBEW.
    DATA: BEGIN OF I_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    MATKL LIKE MARA-MATKL,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    BSTME LIKE MARA-BSTME,
    END OF I_MARA.
    DATA: BEGIN OF I_MVKE OCCURS 0,
    MATNR LIKE MVKE-MATNR,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    END OF I_MVKE.
    DATA: BEGIN OF I_MAKT OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
    MATNR LIKE MARC-MATNR,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    MATKL LIKE MARA-MATKL,
    MTART LIKE MARA-MTART,
    BSTME LIKE MARA-BSTME,
    WERKS LIKE MARD-WERKS,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-BESKZ,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_OUT.
    select-options: s_matnr for marc-matnr.
    SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
    CORRESPONDING FIELDS OF TABLE I_MARC where matnr in s_matnr.
    SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
    CORRESPONDING FIELDS OF
    TABLE I_MARA FOR ALL ENTRIES IN I_MARC
    WHERE MATNR EQ I_MARC-MATNR.
    SELECT MATNR SPRAS MAKTX FROM MAKT INTO
    CORRESPONDING FIELDS OF TABLE I_MAKT
    FOR ALL ENTRIES IN I_MARC
    WHERE MATNR = I_MARC-MATNR.
    SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
    CORRESPONDING FIELDS OF TABLE
    I_MARD FOR ALL ENTRIES IN I_MAKT
    WHERE MATNR = I_MAKT-MATNR.
    SELECT MATNR BWKEY PEINH FROM MBEW INTO
    TABLE I_MBEW
    FOR ALL ENTRIES IN I_MARD
    WHERE MATNR = I_MARD-MATNR.
    SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
    TABLE I_MVKE
    FOR ALL ENTRIES IN I_MBEW
    WHERE MATNR = I_MBEW-MATNR.
    LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
    ENDLOOP.
    Loop at i_out.
    write:/ i_out-MATNR,
    i_out-EKGRP,
    i_out-PSTAT,
    i_out-DISPO,
    i_out-BESKZ,
    i_out-LGORT,
    i_out-ERSDA ,
    i_out-WERKS,
    i_out-BWKEY,
    i_out-PEINH,
    i_out-MTART,
    i_out-MATKL,
    i_out-MEINS,
    i_out-MBRSH,
    i_out-BSTME,
    i_out-VKORG,
    i_out-VTWEG,
    i_out-VRKME,
    i_out-KONDM,
    i_out-SPRAS,
    i_out-MAKTX.
    endloop.
    regards,
    sriram

    REPORT YTEST.
    TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
    DATA: BEGIN OF I_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-beskz,
    END OF I_MARC.
    DATA: BEGIN OF I_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    WERKS LIKE MARD-WERKS,
    END OF I_MARD.
    DATA: BEGIN OF I_MBEW OCCURS 0,
    MATNR LIKE MBEW-MATNR,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    END OF I_MBEW.
    DATA: BEGIN OF I_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    MATKL LIKE MARA-MATKL,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    BSTME LIKE MARA-BSTME,
    END OF I_MARA.
    DATA: BEGIN OF I_MVKE OCCURS 0,
    MATNR LIKE MVKE-MATNR,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    END OF I_MVKE.
    DATA: BEGIN OF I_MAKT OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
    MATNR LIKE MARC-MATNR,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    MATKL LIKE MARA-MATKL,
    MTART LIKE MARA-MTART,
    BSTME LIKE MARA-BSTME,
    WERKS LIKE MARD-WERKS,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-BESKZ,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_OUT.
    select-options: s_matnr for marc-matnr.
    SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
    CORRESPONDING FIELDS OF TABLE I_MARC where matnr in s_matnr.
    if i_marc[] is not initial.
    SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
    CORRESPONDING FIELDS OF
    TABLE I_MARA FOR ALL ENTRIES IN I_MARC
    WHERE MATNR EQ I_MARC-MATNR.
    SELECT MATNR SPRAS MAKTX FROM MAKT INTO
    CORRESPONDING FIELDS OF TABLE I_MAKT
    FOR ALL ENTRIES IN I_MARC
    WHERE MATNR = I_MARC-MATNR.
    endif.
    if i_makt[] is not initial.
    SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
    CORRESPONDING FIELDS OF TABLE
    I_MARD FOR ALL ENTRIES IN I_MAKT
    WHERE MATNR = I_MAKT-MATNR.
    endif.
    if i_mard[] is not initial.
    SELECT MATNR BWKEY PEINH FROM MBEW INTO
    TABLE I_MBEW
    FOR ALL ENTRIES IN I_MARD
    WHERE MATNR = I_MARD-MATNR.
    endif.
    if i_mbew[] is not initial.
    SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
    TABLE I_MVKE
    FOR ALL ENTRIES IN I_MBEW
    WHERE MATNR = I_MBEW-MATNR.
    endif.
    LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
    ENDLOOP.
    Loop at i_out.
    write:/ i_out-MATNR,
    i_out-EKGRP,
    i_out-PSTAT,
    i_out-DISPO,
    i_out-BESKZ,
    i_out-LGORT,
    i_out-ERSDA ,
    i_out-WERKS,
    i_out-BWKEY,
    i_out-PEINH,
    i_out-MTART,
    i_out-MATKL,
    i_out-MEINS,
    i_out-MBRSH,
    i_out-BSTME,
    i_out-VKORG,
    i_out-VTWEG,
    i_out-VRKME,
    i_out-KONDM,
    i_out-SPRAS,
    i_out-MAKTX.
    endloop.
    reward points to all helpful answers
    kiran.M

  • 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.

  • 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.

  • 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.

  • 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

  • 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

  • Subscreen with Select-Options called from At Selection Screen event

    Dear friends,
    I'm trying to call a subscreen that contains a select-options, from an 'at selection screen' event, in a report program, but without sucess.
    Here's go what I'm doing:
    I declared a selection-screen as subscreen in my main program, and I'm calling it from a module-pool subscreen area, to make the module-pool select-options magic.
    In my main report program, I have a customized status GUI with a new toolbar button and I'm handling it at the 'at selection screen' event.
    What I need to do is to call the subscreen that contains the select-options when this new customized button get pressed, but when It happens, the select-option selections pop-up doesn't appear.
    If I call the subscreen from the 'start-of-selection' event, it goes fine, just don't work from the 'at selection screen'.
    Any ideas on how can I do it?
    Thank you,
    Heber

    i think you should try something like this:
    at selection screen.
    if condition handled ....
      show_popup = 'X'.
    endif.
    at selection screen output.
    if show_popup EQ 'X.
    call subscreen
    endif.

  • Multiple Single Values with Select Options

    hi,
    I'm using the SELECT_OPTIONS to accept the multiple input values through CREATE_RANGE_TABLE and it is working well but
    1) i have requirement for some input fields that should accept multiple single values means without RANGES(From .. To).. Usually we achieve this by statement SELECT-OPTIONS in ABAP,  could you help me out how i can achieve same functionality in webdynpro application.
    2) i'm using dictionary search helps for WD4A, here i need to select multiple rows in the F4 results.
    kindly provide suggestion how to achieve above functionalities.
    thanks,
    gupta.

    Hi , make the ls_rsoptions-eq eq abap_true .. this disable the multiple value selection
    data: ls_complex_restrictions type if_wd_select_options=>t_complex_restrictions,
               ls_rsoptions                    type rsoptions.
      clear ls_rsoptions.
      ls_rsoptions-bt = abap_false.
      ls_rsoptions-cp = abap_false.
      *ls_rsoptions-eq = abap_true.   " for enable only single value* 
    ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_complex_restrictions-m_exclude = ls_rsoptions.
      clear ls_rsoptions .
      ls_rsoptions-bt = abap_false.
      ls_rsoptions-cp = abap_false.
      *ls_rsoptions-eq = abap_true.   "  for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_complex_restrictions-m_include = ls_rsoptions.
    wd_this->m_handler->ADD_SELECTION_FIELD(
        I_ID                         =  typename
        I_DESCRIPTION                = 'N length 5'
        IT_RESULT                    = lt_range_table
        I_COMPLEX_RESTRICTIONS       = ls_complex_restrictions
        I_USE_COMPLEX_RESTRICTION    = ABAP_TRUE
        I_NO_EXTENSION               = ABAP_false
        I_NO_INTERVALS               = ABAP_TRUE ).
    for result see this screen shot from the below URL , hope this is your requirement
    [http://i35.tinypic.com/2u8ckno.jpg|http://i35.tinypic.com/2u8ckno.jpg]
    Regards
    Chinnaiya P

  • Office 2010 created PDF only bringing up Work with Certificates option with Signing

    When creating PDF documents with Microsoft Word 2010, the only Sign option showing is Work With Certificates and is greyed, I Need To Sign and Get Others to Sign is missing.  My previous PC with Windows 7/Office 2010 and Reader Xi was able to sign documents.  I'm also able on my old XP machine to create a dummy pdf in Word 2010 and sign it in Reader, and on my Windows8/Office 2013/Reader Xi PC.  Any idea as to where this might have been broken?
    With the PDF file created in 2013, I Ctrl+D'd to get the security settings as it's commonly suggested that electronic signatures is failing because of a setting there, however I'm still able to sign it with Signing: Not Allowed and get the full signing menu instead of the Work With Certificates.

    Hi,
    If you meet any problems when using our products, you can post the question here. Please post one question in a single thread, and the question should be posted in the proper forum.
    The current forum is for Office 2010 - Planning, Deployment, and Compatibility.
    Just as Don mentioned, you may have multiple questions and some of them are not well placed, post them to the correct forum to get the specific support.
    Regards,
    Melon Chen
    TechNet Community Support

  • Facing Problem with Select-options input data......help me?

    I have a select-options on my selection screen. In the database table i have different four values for this. ex EEX01, EEX02, EEX03 and EEX04.
    their overall names are DE, HE, IT, TR respectively.
    Now the requirement is user will enter this data like DE to TR , i am now confused how do convert these value to the values that i have in table. Because i have to use this for extracting the data from database table.
    thanks in advance.

    hi,
    what is the table name for the case.
    and jsut list what are the fields .. we'll try to map the same and see if it works..
    if for the field there is a check table attached then conversion routine will take care of that .
    just check on the field of the domain  in the dbtable
    like matn1 for dataelement matnr and domain matnr in mara table.
    regards,
    vijay

  • Multipl selection not working in Select Options, NO-EXTENSION not specified

    Hi,
    My code for the selection screen is as given below:
    data: v_bukrs type ekko-bukrs.
    select-options: s_one    for v_bukrs default '1234',
                    s_two    for ekko-lifnr,
                    s_three  for ekko-ekgrp.
    select-options: s_last   for ekko-llief no intervals.
    However, when I execute my program, all for select-options show Multiple selection icon. When I click on the icon for multiple selection, it is not processed.
    I tried to debug and find out but to no avail. Also I have searched extensively over SDN, but have not found any solution for my problem.
    Kindly help with relevant solution.
    Regards,
    Smruthi

    Hi Anurag and Vinod,
    Thanks for your replies.
    The FM - SELECT_OPTIONS_RESTRICT has not been used in my program.
    The issue is however, resolved. There was an error in the selection screen events, that was triggering the disabling.
    Regards,
    Smruthi

  • F4 help for PO number field with SELECT OPTIONS

    Hi all,
    I have a field (PO no) using SELECT OPTIONS on my selection screen.I need F4 help for this field.How shud i declare it?
    I have declared it as follows:
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    select-options sel_po for ZPO_LOI-zobject_id obligatory .
    SELECTION-SCREEN END OF BLOCK b1.
    ZPO_LOI is a table view with a z data element ZOBJECT_ID to which i have attached a search help which displays the required values for the PO field in the selection screen.But now the problem is i cant see the F4 icon for the field on the sel screen.
    Please help.

    Hi I have a sapmle code for this.
    *&                AT SELECTION SCREEN ON VALUE REQUEST
    *-- F4 help for IDOC numbers
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_docnum-low.
      PERFORM value_request_status USING 'S_DOCNUM-LOW'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_docnum-high.
      PERFORM value_request_status USING 'S_DOCNUM-HIGH'.
    *&      Form  value_request_status
          text
         -->fp_field  dynpro field that gets the return value
    FORM value_request_status  USING fp_field TYPE dynfnam.
      STATICS tl_values TYPE STANDARD TABLE OF tp_value.
      IF tl_values IS INITIAL.
         SELECT docnum FROM edidc UP TO 500 ROWS INTO TABLE tl_values
              WHERE credat   IN  s_credat
              AND   cretim   IN  s_cretim.
         IF sy-subrc eq 0.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
              retfield        = 'DOCNUM'
              dynpprog        = syst-repid
              dynpnr          = syst-dynnr
              dynprofield     = fp_field
              value_org       = 'S'
             TABLES
              value_tab       = tl_values
             EXCEPTIONS
              parameter_error = 1
              no_values_found = 2
             OTHERS          = 3.
             IF sy-subrc IS NOT INITIAL.
               MESSAGE i999(zz) WITH 'No values found'(004).
             ENDIF.
          ENDIF.
        ENDIF.
    ENDFORM.                    " value_request_status
    Regards,
    Amit.

  • Problem with select option in module pool

    Hello friends,
                           I have successfully created a select option in my module using sub-screen. My problem is the EXTENSION buttom in the select option. When i click on the EXTENSION button a proper pop-up appears but when i input some values or cancel this pop-up then the program gives the following dump.
    Error
    The attribute screen type with the values 'Normal Screen' and
    'Subscreen' determines the use of the screen. If a normal screen is used
    as subscreen or vice versa, an error occurs.
    The screen "ZRPMSEA" 0002 has, in this respect, an inappropriate screen type.
    Kindly Help

    HI,
    Go to the Screen Attributes and select the appropriate Radio Button
    1) Normal Screen " Whichever is required (in Which type of Screen you Want)
    2) Subscreen  " Check for the Correct type and Check the Radio Button Accordingly
    3) Modal Scree
    Cheerz
    Ram

Maybe you are looking for

  • IPod not recognized by Windows or iTunes, troubleshooting didn't help.

    I have an 80 gig iPod classic. When I plug it into my computer it is not recognized by either Windows or iTunes. However, it does charge while connected. I have gone through every troubleshooting tip on the Apple website and nothing has worked. The o

  • Can't open FCP 10.0.3 files on laptop with Mavericks 10.9.2

    Hi, has anyone come across the following problem? I have been working on an event in a film class using 10.0.3. That computer runs on Lion Os I think. I have copied those files onto my Macbook Air, which I recently updated to Mavericks 10.9.2. I then

  • Surveys using iWeb

    Hello there, I was just wondering whether anyone could help me. I want to use my website that I maintain in iWeb and is hosted by MobileMe to create surveys. As long as it's free, I don't care whether it's a script that uses my own website or an exte

  • ITunes create AAC version cuts track length

    I tried everything from deleting and adding the songs. and Installing uninstalling iTunes. I don't know what to do anymore. iTunes cuts down the track time of the converted version and yes, This is happening to the most of the plays. I used everytime

  • ITunes 8.2.1.6 install problems

    Downloaded the new iTunes 8.2.1.6 file fine, but when installer ran kept getting an error saying "Invalid drive F:". Changed my secondary hard drive, where my music is stored and I wanted to install iTunes, to F. Installation went through just fine.