I have doubt in Selection Screen

Hi all.
I was created Dialogue screen as  a initial screen 9000. after that i changed 1000 as initial screen (Selection screen),Moved 9000 as second screen,i have some application tool bar in selection screen 1000.it is displaying when iam execute my program without transaction code.but it does not display when i execute programe by Transaction code,i was given  screen no 1000 for t-code.
Regards,
Jay

Hi Jay,
Although i am not fully clear of the situation..please try the following suggestions that may prove useful..
1) for dummy sake try creating a new Tcode with dialog (option 1) again and see it you can achieve the desired output by running it...if not you can delete the new tcode you have created
Reason : Creating a fresh Tcode may put an end to your problem because i guess that you may have created the tcode first and reassigned the screens later......
2)  try the "set PF status"  code written in the module...if possible debugg in the Tcode and direct execute version marking the "Set PF status" as break point..
I am sure you can come up with something there...
ReAson : Last resort of any ABAPer is the debugger...
Regards
BX
"Happy New Year"

Similar Messages

  • Doubt in selection screen

    Hi i have a doubt in selection screen I had given statement as below now i can see the output screen and i'm getting the output also now i want to know the value of only one vendor. If i had given a vendor number it must select the particular data of that vendor only can u give me any suggestions please
    SELECTION-SCREEN BEGIN OF BLOCK P WITH FRAME TITLE TEXT-000.
          PARAMETERS: VENDORNO like EKKo-LIFNR,
                      PURORG like EKKO-EKORG,
                      PLANT like EKPO-WERKS,
                      PURDOC like EKKO-BEDAT.
    SELECTION-SCREEN END OF BLOCK P.

    Hi Pavan,
    <b>I think this is what u required when u select vendor number automatically for that particular vendor u require values in the remaining 3 parameter fields.
    </b>
    REPORT zex31 .
    PARAMETERS: vendorno LIKE ekko-lifnr,
                      purorg LIKE ekko-ekorg,
                      plant LIKE ekpo-werks,
                      purdoc LIKE ekko-bedat.
    DATA: dynfields TYPE TABLE OF dynpread WITH HEADER LINE.
    DATA: return TYPE TABLE OF ddshretval WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR vendorno.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                tabname           = 'EKKO'
                fieldname         = 'LIFNR'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'VENDORNO'
           TABLES
                return_tab        = return
           EXCEPTIONS
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                OTHERS            = 5.
      BREAK-POINT.
      REFRESH dynfields.
      READ TABLE return WITH KEY fieldname = 'VENDORNO'.
    Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue = return-fieldval.
      APPEND dynfields.
    Get the company code from db and add to dynpro
      DATA: xekko TYPE ekko,
            xekpo TYPE ekpo.
      CLEAR xekko.
      CLEAR xekpo.
      SELECT SINGLE * INTO xekko
      FROM ekko
      WHERE lifnr = return-fieldval.
      dynfields-fieldname = 'PURORG'.
      dynfields-fieldvalue = xekko-ekorg.
      APPEND dynfields.
      dynfields-fieldname = 'PURDOC'.
      dynfields-fieldvalue = xekko-bedat.
      APPEND dynfields.
      SELECT SINGLE * INTO xekpo
       FROM ekpo
       WHERE ebeln = xekko-ebeln.
      dynfields-fieldname = 'PLANT'.
      dynfields-fieldvalue = xekpo-werks.
      APPEND dynfields.
    Update the dynpro values.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           TABLES
                dynpfields = dynfields
           EXCEPTIONS
                OTHERS     = 8.
    START-OF-SELECTION.

  • TO HAVE USER DEFINED SELECTION SCREEN USING LOGICAL DATABASE AFI

    AFI is the logical database i need to use, but if i include the AFI is the program attributes, i get the selection screen which is already there for AFI, but i need to get the selection screen, that i have defined

    Hi ,
    you can exclude sel. from ldb with
    loop at screen - statement
    and you can include your own sel-option and parameters
    regards Andreas

  • Unable to have field in selection screen of Infopackage

    Hello Gurus,
    I have a small problem,
    I am unable to bring on field in selection screen in Infopackage,
    even thou the object is ticket in DataSources selection option,
    I have noted that the object is of type DEC is it something to do with,
    Or is their any other way to have this object in selection screen of Infopackage,
    Please help me on this,
    Thanks & Regards,

    Bhanu its field type is DEC that’s why its not coming in selection screen in Infopackage .This is a big problem in our Development as this field is SPRIO(Procurement Priority) and we want to restrict this field with conduction SPRIO EQ 1.
    Our DataSource is based on Infoset , Bhanu is it possible to restrict this Field in Infoset writing some code. As their is option in Infoset for CODE we tried this but didn’t work.
    or any other way to restrict this field with 1.
    I really appreciate your reply.
    Thanks Once again.

  • Doubt with selection screen

    Hi all!
    I have to show the inspection lot details (QA32) as per the requirements given in the selection screen.
    In my selection screen , I should have select option for Inspection lot created date(QALS-ENSTEHDAT) and lot created time (QALS-ENTSTEZEIT). I would like to know the lots created from yesterday evening till today morning.
    When I give the values 09.02.2008 to 10.02.2008 for date and 17:30:00 to 10:00:00 for time , it'll obviously intimate that 'From- time is greater than To- time'.Is there any way to relate the From-date to From-time and To-date to To-time in the selection screen , so that my problem will be solved.Please help with possible code.
    Edited by: Jayasri P. on Feb 9, 2008 5:55 AM

    Hi,
    try this.........
    TABLES qals.
    DATA it_qals TYPE TABLE OF qals WITH HEADER LINE.
    SELECT-OPTIONS   s_date  FOR  qals-enstehdat  NO-EXTENSION.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN comment (10)   for field  p_timel.
    SELECTION-SCREEN POSITION 35.
    PARAMETERS       p_timel LIKE qals-entstezeit.
    SELECTION-SCREEN comment 54(2)  for field  p_timeh.
    SELECTION-SCREEN POSITION 60.
    PARAMETERS       p_timeh LIKE qals-entstezeit.
    SELECTION-SCREEN END   OF LINE.
    SELECT *
    FROM   qals
    INTO   TABLE it_qals
    WHERE  enstehdat IN s_date.
    IF sy-subrc IS INITIAL.
      SORT it_qals BY enstehdat entstezeit.
      LOOP AT it_qals WHERE enstehdat EQ s_date-low
                      OR    enstehdat EQ s_date-high.
        CASE it_qals-enstehdat.
          WHEN s_date-low.
            IF it_qals-entstezeit LT p_timel.
              DELETE it_qals.
            ENDIF.
          WHEN s_date-high.
            IF it_qals-entstezeit GT p_timeh.
              DELETE it_qals.
            ENDIF.
        ENDCASE.
      ENDLOOP.
    ENDIF.
    LOOP AT it_qals.
      WRITE : / it_qals-enstehdat ,it_qals-entstezeit.
    ENDLOOP.
    also goto selection text and give descriptionas below..
    P_TIMEH     to
    P_TIMEL     Time
    S_DATE     Date
    Cheers,
    jose.

  • Doubt in Selection-Screen for Program type "Function Group"

    Hi Gurus,
    I created a Function group in that i created one screen and writtem the Screen flow logic. In that screen I called a Function module "COMPLEX_SELECTIONS_DIALOG" For Creating a selection-Screen.
    The code snippet is like below.
    CASE ok_code .
        WHEN c_clk1.
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
         EXPORTING
           title                   = text-002
           text                    = 'Material Number'
           signed                  = 'X'
            lower_case              = ' '
            no_interval_check       = ' '
             just_display            = ' '          " Un commented by Srihari
             just_incl               = 'X'          " Un commented by Srihari
            excluded_options        =
            description             =
            help_field              =
            search_help             =
           tab_and_field           = st_tab
          TABLES
            range                   = r_matnr
         EXCEPTIONS
           no_range_tab            = 1
           cancelled               = 2
           internal_error          = 3
           invalid_fieldname       = 4
           OTHERS                  = 5.
    it works fine. But the problem is if i click the multiple selection button for the select-option in selection screen and enter the values and copy those value. In the multiple selection button green button is not coming like noram report selection-screen. Please remember I used the program type as "Function Group" not "Module Pool".
    Please send your suggestions.
    Thanks,
    Srihari.

    Ok, I am not 100% sure, if I understand you correctly, you said, you created one screen to 'simulate' a standard selection screen behavior without using select-options statement?
    If that's not correct, could you please post a few more details on what exactly you are doing.
    I had to 'simulate' a select-option behavior which I did as follows:
    - I created a range variable to store the values (s_ctby)
    - on the screen I defined the LOW (s_ctby-low), HIGH (s_ctby-high) and the multiple selection field pushbutton
    - In the PBO I set the icons for the multiple selection pushbutton
      READ TABLE s_ctby INDEX 2 TRANSPORTING NO FIELDS.
      IF sy-subrc NE 0.
        gv_createby = gc_icon_enter_data.
      ELSE.
        gv_createby = gc_icon_disp_data.
      ENDIF.
    - In the PBO make sure that any values entered on the screen are transferred to the range
    * transfer any changed values into the correct range for user transaction
    * (screen 0110) because that screen just 'simulates' a selection screen
    * so we have to make sure that any data the user enters in the selection
    * fields is passed into the appropriate ranges
      IF sy-tcode EQ gc_trans_user.
    *   created by
        IF NOT s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_bt.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF NOT s_ctby-low  IS INITIAL AND
                   s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_eq.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF s_ctby-low  IS INITIAL AND
               s_ctby-high IS INITIAL.
          DELETE s_ctby INDEX 1.
        ENDIF.
    - If the user hits the multiple selection pushbutton
        WHEN gc_fc_create_by.
    *     if the user hits the multiple selection button on the screen
    *     we call the standard SAP functionality to show the multiple
    *     selection popup SAP uses on a standard selection screen
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
              title             = text-t02
            TABLES
              range             = s_ctby
            EXCEPTIONS
              no_range_tab      = 1
              cancelled         = 2
              internal_error    = 3
              invalid_fieldname = 4
              OTHERS            = 5.
          IF sy-subrc NE 0 AND NOT sy-msgty IS INITIAL.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    *     now update the header line so the screen fields display the correct values
          CLEAR s_ctby.
          READ TABLE s_ctby INDEX 1.
    Hope that helps,
    Michael

  • Doubt in selection screen modification

    Hi all,
    I have  a Checkbox (select all) in my selection screen and 23 other check boxes.
    When i click the 'select all' checkbox, all the 23 checkboxes should be selected automatically in the selection screen and the lf i remove the tick mark in the checkbox, all the 23 check boxes should be cleared automatically and it should allow the user to select any of the checkboxes on his own..
    I'm able to select all, when it is ticked.   But my pbm is when the 'select all' tick mark is removed, i'm clearing all the 23 checkboxes.   so after this, if the user a select any check box on his own, it is not taken. Bcoz, i'm clearing all the value in 'at selection screen' event.
    Could any one help to achieve this ...
    Regards,
    Shanthi

    Hi Shanti,
    Here is the modified code of the fellow SDN. Just check. It works as u requested.
    REPORT zvenkat_notepad.
    SELECTION-SCREEN : BEGIN OF BLOCK blk1 WITH FRAME.
    PARAMETERS:p_all AS CHECKBOX USER-COMMAND rusr.
    SELECTION-SCREEN : END OF BLOCK blk1.
    SELECTION-SCREEN : BEGIN OF BLOCK blk2 WITH FRAME.
    PARAMETERS: p_chk1  AS CHECKBOX,
                p_chk2  AS CHECKBOX,
                p_chk3  AS CHECKBOX,
                p_chk4  AS CHECKBOX,
                p_chk5  AS CHECKBOX,
                p_chk6  AS CHECKBOX,
                p_chk7  AS CHECKBOX,
                p_chk8  AS CHECKBOX,
                p_chk9  AS CHECKBOX,
                p_chk10 AS CHECKBOX,
                p_chk11 AS CHECKBOX,
                p_chk12 AS CHECKBOX,
                p_chk13 AS CHECKBOX,
                p_chk14 AS CHECKBOX,
                p_chk15 AS CHECKBOX,
                p_chk16 AS CHECKBOX,
                p_chk17 AS CHECKBOX,
                p_chk18 AS CHECKBOX,
                p_chk19 AS CHECKBOX,
                p_chk20 AS CHECKBOX,
                p_chk21 AS CHECKBOX,
                p_chk22 AS CHECKBOX,
                p_chk23 AS CHECKBOX.
    SELECTION-SCREEN : END OF BLOCK blk2.
    AT SELECTION-SCREEN." OUTPUT.
      IF p_all = 'X'.
        p_chk1 = 'X'.
        p_chk2 = 'X'.
        p_chk3 = 'X'.
        p_chk4 = 'X'.
        p_chk5 = 'X'.
        p_chk6 = 'X'.
        p_chk7 = 'X'.
        p_chk8 = 'X'.
        p_chk9 = 'X'.
        p_chk10 = 'X'.
        p_chk11 = 'X'.
        p_chk12 = 'X'.
        p_chk13 = 'X'.
        p_chk14 = 'X'.
        p_chk15 = 'X'.
        p_chk16 = 'X'.
        p_chk17 = 'X'.
        p_chk18 = 'X'.
        p_chk19 = 'X'.
        p_chk20 = 'X'.
        p_chk21 = 'X'.
        p_chk22 = 'X'.
        p_chk23 = 'X'.
      ENDIF.
      IF sy-ucomm = 'RUSR' AND p_all = space.
        CLEAR:
              p_chk1,
              p_chk2,
              p_chk3,
              p_chk4,
              p_chk5,
              p_chk6,
              p_chk7,
              p_chk8,
              p_chk9,
              p_chk10,
              p_chk11,
              p_chk12,
              p_chk13,
              p_chk14,
              p_chk15,
              p_chk16,
              p_chk17,
              p_chk18,
              p_chk19,
              p_chk20,
              p_chk21,
              p_chk22,
              p_chk23.
      ENDIF.
    Regards,
    Venkat.O

  • Is it possible to have two at selection-screen events in a program

    Hi all,
         I have a selection screen wherein i am using i have 5 radiobuttons and 3 select-options and a parameter. I am trying to use two at selection-screen events
    1) at selection-screen on radiobutton group rad1.
    2) AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_STATUS.
    the second event is not getting triggered.
    I have to get certain values for the parameter p_status based on the radiobutton selected from an internal table(the field doesn't belong to any dictionary table i am filling an itab with some values based on the radiobutton selected) pls help. its urgent.
    Regards
    Tharanath

    Hi
    TYPES : BEGIN OF ST_OBJID_SH,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
            END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0
                 WINDOW_TITLE           =
                 VALUE                  = ' '
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '
                 DISPLAY                = ' '
                 CALLBACK_PROGRAM       = ' '
                 CALLBACK_FORM          = ' '
                 MARK_TAB               =
               IMPORTING
                 USER_RESET             =
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =
                 RETURN_TAB             = RETURN_TAB
                 DYNPFLD_MAPPING        =
               EXCEPTIONS
                 PARAMETER_ERROR        = 1
                 NO_VALUES_FOUND        = 2
                 OTHERS                 = 3
        IF SY-SUBRC <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                      WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    Use in this way it will defently triggers
    <b>REward if usefull</b>

  • Doubt on selection-screen

    Hi gurus,
    I done one report to get the Purchase order details. At the time of creating purchase order the users enters a One text field in the Purchase order header text of ME21N transaction. I need to fetch that field into Report. Upto this its fine. I also done this report by using the function module "READ_TEXT". The o/p is also generated successfully.
    But now our client is asking, Please put that text field in selection-screen. Once he presses F4 in that field he needs to display all the values in text field. I know how to do if it is a table field. But it is a purchase order header text. Client enters different text when he creates diferent purchase orders.
      Based on that text field only the report o/p will needs to display.
    For example:
    The User1 creats a Purchase order using ME21N. In that he enters Purchase order header text as ABC.
        when ever he creats a purchase order he enters only ABC.In this way he creats 100 Purchase orders.
      if the user execute the report and in selection screen of that text field , suppose he gives a  ABC, only those 100 purchase orders only needs to appear.
       Like this so many users enters no.of text items. Suppose there are 100 users. totally 100 text values will be there.
        once he presses F4 help on the selecton screen all 100 values need to display. And this is dynamic, the no may increase in future also. thats totally depends on Purcase orders.
    Please guide me how to  do this. 
          Thanks in Advance...
    Thanks and Regards
    Siri........

    hi frnd,
    try like this
    write the logic to fetch text fields into some internal table in
    at selection-screen output event.
    and pass this to selection-option as f4 using ...> call function 'F4IF_INT_TABLE_VALUE_REQUEST'.
    ex
    at selection-screen output.
    use fm "READ_TEXT".  and assign all values to one internal table
    then
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'.
    hope it may help u.
    regards,
    chandu

  • Hi friends i have doubt on select statement

    hi friends, i am using one ztable which contains around 60 fields. i would like to consider in to itab around 52 fields. for this i am using "select * from ztable into itab....". can u please suggest me how can i improve by selecting all the fields and without reducing performance.

    Declare as below:
    Select-options: s_matnr FOR mara-matnr.
    Data: Begin of itab.
      INCLUDE STRUCTURE mara.
    Data: End of itab.
    Clear itab.
    Refresh itab.
    Select * from mara
             into table itab
             where matnr = s_matnr.
    if sy-subrc = 0.
    SORT itab.
    endif.
    OR if you are selecting based on some internal table then use
    FO ALL ENTRIES IN itab1.
    Hope this helps you, it will also improve your performance.
    Reward points and close the thread else revert back.

  • Filter value for variable selection screen

    Hi & help !,
    This could be a tricky or an easy question, but it seems too hard for me !
    I'm storing version in my cube, and have a report which shows informations for the version you select (with a variable = ZVERSION01).
    ex :  Version :
    V01
    V02
    V03
    V04
    When report is executed i have my variable selection screen (for variable ZVERSION01) which give all version [V01 -> V04]. But i want users have no access to version V01 & V02.
    Variable ZVERSION01 is "single selection", i tried to filter with Default Values screen or Characteristic Restriction screen but it doesn't work.
    ex : caracterisitic restriction screen : VERSION = !V01 / !V02
          default value screen : variable VERSION = ZVERSION01
    Any idea?
    Thx

    Hi,
    In BI 7.0 there is Anaylysis authorisation RSECADMIN transaction. That you can use here or normal role concept will also do.
    What you need to do is grant authorisation to the users for V03 and 04 version only and create 'Authorisation' type variable on version in the query. (type of variable - it asks while creating the variable). This way users will only be able to see authorised versions only.
    Note you have to make version infoobject as Authorisation relevent infoobject. ( in infoobject properties).
    Let me knw if you have any doubt.
    Regards,
    Viren

  • Selection screen parameter

    hi friends,
    for the below given description i have to create selection screen parameter .
    can u suggest how to solve this.
    <b>#times excess qty
         Default value: If “control class-pseudo no.1”  = "NonCtrl” then value = 3 Else value = 2. User able to change the default value.</b>
    regards,
    siri.

    HI Raj,
    fromm the below PSEUDO CODE i have retrived ALNUM . but the values of this ALNUM  has to be moved to the parameter in selction screen. my doubt is how can i do this  one is in AT SELECTION SCREEN AND  ONE IN DATA SELECTION IS IN START-OF-SELECTION. 
    1.     “Control Class”: Write “Ctr Vault” if MAEX-ALNUM(export control class) = ("CNTROL2" or "CNTROL2N") and Write “Ctrl Cage” if MAEX-ALNUM = ("CNTROL3" or "CNTROL3N" or "CNTROL4" or "CNTROL5") else Write “NonCtrl” where MATNR=VBAP-MATNR and match with the user-specified input in selection criteria (see section 5).
    REGARDS,
    SIRI.

  • Reg SELECTION SCREEN BLCOK....

    Hi,
       I have one doubt regarding selection screen. i.e.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TILE TEXT-001.
    SELECTION-SCREEN : END OF BLCOK B1.
    The above syntax will give standard length of frame in SELECTION SCREEN but i want to customize it, I mean I want to decrease the size of frame as per requirement. So, How will I change the size of frame? regarding this plz give me example coding.
    Regards,
    Kishore.

    refer
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9c2e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Unable to retreive values from selection screen built using WDR_SELEC_OPTIO

    Hi All,
    I have created a selection screen as below
    lr_field = wd_this->m_handler->create_range_table( 'YFMTFLOW' ).
    *  ASSIGN lr_field->* TO <fs_range>.
    *  ls_date-sign   = 'I'.
    *  ls_date-option = 'EQ'.
    *  ls_date-low    = 'US'.
    *  APPEND ls_date TO <fs_range>.
    * Add the select-option to the group
      wd_this->m_handler->add_selection_field(
        i_id           = 'FLOW'
        i_within_block = 'PROC'
        i_no_intervals = abap_true
        it_result      = lr_field ).
    If i enter some value  and click a button to retireve the values as below
    DATA
        lt_sel_item TYPE if_wd_select_options=>tt_selection_screen_item.
    types: ty_flow type range of yfmtflow.
      FIELD-SYMBOLS:
        <fs_sel_item> LIKE LINE OF lt_sel_item,
        <fs_process>   TYPE yfmtprocess,
        <fs_flow>   TYPE ty_flow.
    * Get the selection-screen items
      l_handler->get_selection_screen_items(
        IMPORTING et_selection_screen_items = lt_sel_item ).
    * Retrieve the values from the select-options items
      LOOP AT lt_sel_item ASSIGNING <fs_sel_item>.
        CASE <fs_sel_item>-m_id.
          WHEN `PROCESS`.
            ASSIGN <fs_sel_item>-m_value->* TO <fs_process>.
          WHEN 'FLOW'.
            ASSIGN <fs_sel_item>-mt_range_table->* TO <fs_flow>.
        ENDCASE.
      ENDLOOP.
    <fs_flow> is empty
    but after I enter value and then press enter and then click the button to retrieve the values I am able to get low value <fs_flow> not the sign and option
    Is it the standard functionality ,if yes how can we overcome
    Thanks
    Bala Duvvuri

    Am giving clear coding of select options.
    nOTE: S_CARR_ID IS THE DATA ELEMENT OF CARR ID  FIELD,
    FOR THAT I AM APPLYING SELECT OPTIONS IN BELOW CODING.
    WRITE THE BELOW CODE IN WDDOINT( ) METHOD OF
    REQUIRED VIEW
    Data: lt_range_table type ref to data,
         read_only type abap_bool.
    WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS-
    >WD_CPIFC_SELECT_OPTIONS( ).
    WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS-
    >INIT_SELECT_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_FALSE
         I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
    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
              I_READ_ONLY = READ_ONLY ).
    BELOW CODE IN REQUIRED ACTION( SAY IN SOME BUTTON
    ACTION WHICH WILL RETRIEVE THE DATA FROM DATABASE TABLE
    USING SELECTI OPTIONS VALUES)
    fIRST THE GET REFERENCE TO NODE( CTRL F7--->READ
    CONTEXTB---FLIGHT NODE )
    ***THEN BELOW CODE
    DATA: RT_CARRID TYPE REF TO DATA.
    DATA:IS_FLIGHT TYPE TABLE OF SFLIGHT.
    FIELD_SYMBOLS: <FS_CARRID> TYPE TABLE.
    RT_CARRID = WD_THIS-> M_HANDLER-
    >GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    ASSIGN RT_CARRID-> TO <FS_CARRID>.*
    SELECT * INTO CORRRESPONDING FIELDS OF TABLE IS_FLIGHT
       FROM SFLIGHT WHERE CARRID IN <FS_CARRID>
    NODE_FLIGHT->BIND_TABLE( IS_FLIGHT ).

  • How to create a variant for  a selection screen  button

    hi ,
          i have  created a selection screen for a normal report .   
    In the selection screen  there is one button after the selct option for company code. when user enters some company code and  presses the button the user i call a able contraol in which user gives some additional values for the comapny code.
    how  do i create variant.  when i create  varaint  for the slection screen  it does  not take into account the  other screen i called .
    so every time user has to click that button and enter some values and execute. please suggest  some way.
    THANKX IN ADAVANCE:)

    Hi,
          Inorder to create a variant for selection screen report, you need to enter valid data on the screen and click on the SAVE button which is available in the Menu.
          And regarding the button you were asking about after select option, it is not created manually it comes automatically,, you can remove this by mentioning no-extension after the select-option. You can get clear information of this if you do F1 help on select-option.
    My advice to you, make effect use of F1 help.
    Edited by: Madhuri on Sep 23, 2008 4:46 PM

Maybe you are looking for

  • Reading and printing from a file

    I have a method that reads temperatures from a data file and prints them to the monitor. I use a while loop to read each line of the file, but for some reason it doesnt skip the loop when readLine returns null. My question is how do i get the method

  • How can I change an Aperture serial number?

    I loaded Aperture on a second machine and to be able to run both at the same time I need a second license. No problem there, especially with the price drop. However, how or where do I enter the newly purchased serial number? Thanks, Peter

  • How to print Current date and time

    In my program I put in java util.Date now = new java.util(Date); the next line is: System.out.println("Today's Date is = " + Date); when I try to compile it, I get "1 Error" what do I do wrong? Thank you for your help: Charles.

  • Stacked Bar chart and Line graphs

    I have a report in Crystal which has stacked bar chart and a line graph together in one report. Is it possible to do the same thing in WebI . Can anybody share the experience.

  • Burning windows photo cd

    Why is it every time I burn a photo cd that I want my friends it comes out Mac OS X Extended format? I have tried three different methods. Under old System 7 I could to format as Mac HFS, HFS Extended, DOS, Windows, or generic photo cd format. I no l