Urgent regarding select option

Hi All,
Hi All,
i have lfart(delivery type) field on selction screen defiend as select-option.whenever i click on the multiple selection arrow button besides the lfart field then i n that i have selected "=" as values for opyion field of select-option table(sign,option,low,high).then an icon of "=" is displayed behind the lfart field.
then i have wriiten a qery like this
SELECT lfart,lfdat,.....
INTO TABLE tb_likp
FROM likp
FOR ALL ENTRIES IN tb_get_del1
WHERE vbeln = tb_get_del1-vbeln
AND lfart IN s2_lfart
AND lfdat IN s_lfdat,......
but it is failing(bczo s2_lfart is not initial).then how to write the correct query .
Thanks&Regards,
Padma.

Hi Padma,
remove the = because of this the Select-option is working as parameter and your select-query is looking for the lfart  = SAPCE in the DB, which it can't found so it is failing.
Hope it is clear.
Reward points if useful.
Regards,
Atish

Similar Messages

  • Regarding select option in a module pool prog .

    hello .. i need some help regarding select options in a module pool program .. i hav tried putting a select options in a module pool prog but i am not able 2 ... can any one tel me why select options r not aloowed in a module pool prog ?? and i read that we hav 2 use ranges 2 fulfil the needs of the select options . is there any way i cal get all the functionality of select options ( eg including , excludig , equal to , not equal to , .... .) using a range ??

    Hi
    Select-options won't work if you declare the program as Module POOL.
    if you wants to use select-options like utility in module pool programming
    use ranges
    declare and develop ranges and use that in select statement where condition.
    ranges: r_vbeln for vbak-vbeln.
    r_vbeln-low = '0018900678'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    r_vbeln-low = '0018900456'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    reward if useful
    regards
    Anji

  • Regarding selection options

    whan i am using select-options prior to this i what to display check  box on the same line.
              when i am selecting the this check box it should execute automaticall
    could u plz explain the code clearly with example.

    search forums.
    Re: Dynamic Selection Options
    Posted on: Jul 17, 2006 5:50 PM, by user: Praveen -- Relevance: 100% -- Show all results within this thread
    am doing exactly as you had stated. But the user wants to see it something like this: 1. For the selection options, he wants to see three box's. a. Technical Name of the field selection. b. ...
    Re: regarding selection options
    Posted on: Mar 15, 2007 8:46 AM, by user: SHIBA DUTTA -- Relevance: 99% -- Show all results within this thread
    you have to use begin of line and end of line. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1. PARAMETERS: ...
    Re: Restricting selection-options
    Posted on: Jan 18, 2005 8:58 AM, by user: Andreas Mann -- Relevance: 90% -- Show all results within this thread
    FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'. INITIALIZATION. PERFORM init_1001. START-OF-SELECTION. SELECT belnr FROM bkpf INTO bkpf-belnr WHERE bukrs = '0001' AND ...
    Check that at least on Selection Options are filled
    Posted on: May 25, 2006 4:37 AM, by user: Boater -- Relevance: 90% -- Show all results within this thread
    I have a program that has four selection options. The user needs to enter a selection for at least one of the four selection options. ...
    possible entry for selection-options
    Posted on: Feb 22, 2007 7:32 AM, by user: Tiwa Noitawee -- Relevance: 89% -- Show all results within this thread
    F-1 At last 3 alphabets of Prod.hierarchy is Product line (EX1, PC5) that users have to choose via selection-options like this <b>EX1</b> EXCEL 251 : F-1 <b>PC5</b> POWERTOP W-200 ...
    select-options multiple selection
    Posted on: Mar 5, 2007 3:06 AM, by user: venkateswarao gangavarapu -- Relevance: 87% -- Show all results within this thread
    hi can u send code for getting multiple selections in select-options Thanks in advance venkat ...
    Submitting Report with selection screen options
    Posted on: Apr 27, 2005 5:45 PM, by user: Rajesh Nittala -- Relevance: 85% -- Show all results within this thread
    Hi all, I have a situation, in my report i am using a selection screen which contains input select-options are store(range), date (from ..to)....after that ...
    sample program to remove standard selection-options & replace user defined.
    Posted on: Dec 7, 2005 5:37 AM, by user: Josephine Clara Arokiasamy -- Relevance: 83% -- Show all results within this thread
    The standard selection-options are provided for the logical database. i need to supress the standard selection-options ...
    Adding default value for a select-options in a selection-screen
    Posted on: May 26, 2006 11:51 AM, by user: sid alpay -- Relevance: 77% -- Show all results within this thread
    hello gurus, i have a report program with the following select-options in a selection-screen block:
    select-options: so_site for MyTable-werks.
    i want the so_site ...
    Adding Selection Options Fields in Report(Using Query)
    Posted on: Aug 25, 2004 5:26 AM, by user: lijo joseph -- Relevance: 76% -- Show all results within this thread
    Hi, how can we add Selection Fields Options in Query Reports Which we create using SQ01. I need a default option by which ...
    Getting the selection parameters/options in a diffrent program
    Posted on: May 11, 2006 3:05 AM, by user: Chad Cheng -- Relevance: 75% -- Show all results within this thread
    use Submit to get a report from a diffrent program and I am using variants to get the value of the selection criteria. However, for a less tedious approach, I think it would be better if I get the selection ...
    Read options from selection-screen
    Posted on: Aug 24, 2006 3:30 PM, by user: Silke Eng -- Relevance: 75% -- Show all results within this thread
    Hi Kiran, as all other questions are answered already, remains the one on the select-options. Function module <b>RS_REFRESH_FROM_SELECTOPTIONS</b> returns those. Kind regards, Silke ...
    Selection screen for SAP Query: OR between options
    Posted on: Jun 29, 2006 3:04 PM, by user: Tania Pouli -- Relevance: 74% -- Show all results within this thread
    need a variant where either of two fields should not be 0. Is there some way to add an OR between two selection options? I can't change the actual query because it's used with many other variants. Thanks ...
    Pass internal table of selection-options through method!
    Posted on: Nov 22, 2004 3:49 PM, by user: Frank Roels -- Relevance: 74% -- Show all results within this thread
    I created a selection screen with multiple select-options. Now I want in a method of a class work with the internal ...
    select-options: at selection-screen on value-request
    Posted on: Sep 18, 2006 10:51 PM, by user: Sumit Agarwal -- Relevance: 72% -- Show all results within this thread
    one field is dependent on the values of the other field in the select-options. I am using the "at selection-screen on value-request event on" to populate the select-options field, S_AUFNR, that is dependent ...
    Pages: 16 [ 1 2 3 4 5 6 7 8 9 10 |

  • FM regarding select-options

    Hi all,
    Is there any function module to pass the values in a zstucture of select-options( i.e. in sign,options,low,high).
    Thanks,
    Goutam Sahoo.

    DATA: BEGIN OF it_final1 OCCURS 10,
          sign(1) VALUE 'I',
          option(2) VALUE 'EQ',
          low TYPE crmd_order_index-guid ,
          high TYPE crmd_order_index-guid,
         END OF it_final1.
      LOOP AT it_final INTO wa_final.
        LOOP AT  it_guid1 INTO wa_guid1 WHERE partner = wa_final-partner.
          IF wa_guid1-sales_office NE wa_final-sales_office.
            it_final1-low = wa_guid1-header.
            APPEND it_final1.
          ENDIF.
        ENDLOOP.
      ENDLOOP.
    SELECT object_id FROM crmd_orderadm_h INTO wa_object_id WHERE guid IN it_final1.
    Regards
    Anbu

  • Question regarding SELECT-OPTIONS

    All,
    When I create a select-option in my program like:
    SELECT-OPTIONS: s_role FOR AGR_DEFINE-AGR_NAME.
    It does not work. To make it work I need to define AGR_DEFINE with the tables statement.
    My question is why? In my opinion I just make a reference to a dictionary object. The tables statement is more or less used to create a headerline for a used database table. I don't see any relation in that. Still it is needed to make it work. Any ideas?

    This has been the syntax for select-options since the begining. You need the definition of 'FOR' defined before you use it in the select-option.
    I guess the interpreter/compiler was designed to understand and inherit the properties of the referred field if you use 'LIKE' or 'TYPE' but not when you are using 'FOR'. Since the LOW and HIGH fields of the select-option inherits the properties of the 'FOR' field, the properties of it are needed to be defined before. Why, I still don't know, but that is the design.
    For some strange reason, SYST(or SY) fields reference will work even if you don't define them before. Is there a clue here? System structure/fields seem to be available for referencing but not static database table fields.
    Regards,
    Srinivas

  • Regarding Select-options

    select-options :s_kunnr for kna1-kunnr.
    s_kunnr-low = 1000.
    the select options low value is 1000 and freeze the low value.mean's output mode onely.next high value is modified giving variable value.in select options how to freeze the only low value?

    REPORT demo_sel_screen_select_options.
    DATA wa_carrid TYPE spfli-carrid.
    SELECT-OPTIONS airline FOR wa_carrid.
    LOOP AT airline.
      WRITE: / 'SIGN:',   airline-sign,
               'OPTION:', airline-option,
               'LOW:',    airline-low,
               'HIGH:',   airline-high.
    ENDLOOP.
    Structure of select options:
    LOW Low value
    HIGH High value
    SIGN E = Excluding, I = Including
    OPTION BT = Between EQ = Equal
    data: l_sign(2) type c,
    l_option(3) type c.
    WRITE AT 3 ‘Printdoc:’ INTENSIFIED ON. loop at s_prtdoc. if s_prtdoc-sign = ‘E’. l_sign = ‘<>‘. else. l_sign = ‘=’. endif. if s_prtdoc-option = ‘EQ’. clear l_option. else. l_option = ‘to’. endif. write at 35 l_sign. write at 39 s_prtdoc-low. write at 55 l_option. write at 59 s_prtdoc-high. new-line. endloop.
    REPORT:
    Printdoc: = 800000000501 to 800000000501 <> 800000000502 = 800000000503

  • Regarding Select-option

    Provide validation in selection screen to restrict the users to enter only four digit account codes. Provide dropdown functionality to show the four digit statutory accounts list to allow users to select the required account from the list. When four digit account code is entered, select all the related six and eight digit account codes. Get all the accounting data for the selected accounts and diplay the data based on the level entered in the selection screen.
    rewards will be given.

    1:example
    type-pools: vrm.
    data: it_val type vrm_values,
          w_line like line of it_val,
          wa_line like w_line occurs 0.
    parameters P_ACCOUN(4) as listbox visible length 4 obligatory.
    --initialization--
    initialization.
      w_line-key = '0001'.
      w_line-text = '0001'.
      append w_line to it_val.
      w_line-key = '0002'.
      w_line-text = '0002'.
      append w_line to it_val.
      w_line-key = '0003'.
      w_line-text = '0003'.
      append w_line to it_val.
      w_line-key = '0004'.
      w_line-text = '0004'.
      append w_line to it_val.
      w_line-key = '0005'.
      w_line-text = '0005'.
    append w_line to it_val.
    --at selection-screen--
    at selection-screen output.
      call function 'VRM_SET_VALUES'
        exporting
          id     = 'P_ACCOUN'
          values = it_val.
    2:
    DATA:P_ACCOUNT TYPE ACCOUNT.
    CONCATENATE P_ACCOUN '*' INTO P_ACCOUNT.
    SELECT
    FROM TABLE
    WHERE
    AND ACCOUNT LIKE P_ACCOUNT

  • Multiple records in select options-Urgent help

    Hi all,
       Iam using the following function module to get the set values. I need to pass multiple values in select options(ie) select options with no intervals. to the function module parameter Shortname. I have declared the variable which has to be passed as
         S_SETID   FOR  SETHEADER-SETNAME NO INTERVALS.
      The problem is when i use S_SETID-LOW the value is passed to the function module , but if multiple data is entered in the input then how to pass all the data to the function module. Please Help.

    Hi,
    Declare the Range in the Function module , then you can pass that Select-option fields to that ranges and use that in the Function module.
    Or you can use the RANGE_C8 for the Select-optios in the Function module, you can declare the Internal table with the type of RANGE_C8 in the tables parameter, then pass the Select-option to this Internal table
    If you want more length field then search based on RANGE_* then you will get all the Range Structure.
    Regards
    Sudheer

  • Regarding the select-options on the selection screen

    In select-options the low and high fileds must be displayed in the following explained manner...
    How to get the low field value as 1000 (default) and it must be in display mode (not possible to change the value) and high field must be empty and it has to allow us to enter the value.
    How to get this....?
    Please help me in this regard...
    Thank u very much
    Regards..
    Nagarjuna

    TABLES : mara.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    INITIALIZATION.
      S_MATNR-SIGN  = 'I'.  "inclusion
      S_MATNR-OPTION = 'BT'    "between
      S_MATNR-LOW = '1000'.
      APPEND s_matnr.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name EQ 'S_MATNR-LOW'.
          screen-input = 0.
          MODIFY screen.
          EXIT.
        ENDIF.
      ENDLOOP.
    Reward if Helpful.

  • On value request in select-options in a repot URGENT

    Hi all,
       my requirement is to provide on value request in select-options
    in selection screen Gsdpr user one select-option is there
    For GSDPR User field, provide F4 help. Users list can be selected from ZWF_UPI table where WF_UPI_TYPE is ‘HR’. From the table, select UPI Number and employee full name fields
    in ZWF_UPI  table the key fields are UPI and WF_UPI_TYPE
    non key  field is emp_full_name.
    please send me the code .
    regards
    Nagendra

    Hi,
    I do not have sample code , But you have to use the function module
    F4IF_INT_TABLE_VALUE_REQUEST on the AT-SELECTION-SCREEN ON VALUE REUQEST FOR S_OPTION-LOW event
    Select Data as per the requirement into Value table of the Function module
    Return the Data fro the Return table of the function module.
    The good choice will be Go to SE37-> Type this FM F4IF_INT_TABLE_VALUE_REQUEST  and look for Where used list-> Programs . There u will get the list of programs used this FM
    Regards
    Pavan

  • Query regarding OBLIGATORY option in SELECT-OPTIONS

    Hi,
    The requirement is to have a select-option for any date field(i've used bkpf-budat) and set its HIGH value to SY-DATUM i.e. current system date. The select-option field MUST BE "OBLIGATORY".
    On Executing, the current date should be display on the HIGH filed of select-options. Now, what i need here is that the program should execute normally even if the LOW field of select-options field is left BLANK.
    The code is as follows.
    TABLES: bkpf.
    SELECT-OPTIONS:  s_budat FOR bkpf-budat OBLIGATORY.
    AT SELECTION-SCREEN OUTPUT.
        s_budat-low    = space.
        s_budat-high   = sy-datum.
        s_budat-sign   = 'I'.
        s_budat-option = 'BT'.
        APPEND s_budat.
    Do suggest the methodlogy to achieve this requirement.
    Thanks & Regards,
    Rajesh

    Hi rajesh,
    1. directly its not possible.
      we have to use some extra logic.
    2. first of all remove OBLIGATORY.
    3. THEN USE LIKE THIS.
    REPORT abc.
    TABLES: bkpf.
    SELECT-OPTIONS: s_budat FOR bkpf-budat .
    AT SELECTION-SCREEN OUTPUT.
      s_budat-low = space.
      s_budat-high = sy-datum.
      s_budat-sign = 'I'.
      s_budat-option = 'BT'.
      APPEND s_budat.
    <b>START-OF-SELECTION.
      IF s_budat-high IS INITIAL.
        MESSAGE s999(yhr) WITH 'Date should not be blank'.
        LEAVE LIST-PROCESSING.
      ENDIF.</b>
    regards,
    amit m.

  • How to get calender in f4 help for select options in module pool (URGENT)

    Hi All,
    how to get calender in f4 help for select options in module pool
    Please help .
    Thanx in advance,
    amruta

    Hi Amruta,
    First of all, you can not create select-options directly in module pool.
    For creating <b>select-option is dialog prog</b> follow these steps:
    1. create your selection screen model as subscreen by:
    SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.
    PARAMETRS: P_MATNR LIKE MARA-MATNR.
    SELECT-OPTIONS: S_BISMAT FOR MARA-BISMAT.
    SELECTION-SCREEN END OF SCREEN 2000.
    2. create a screen ( example 100 ) in your module-pool dedicated for selection-screen. on this screen layout sketch a sub-screen name like subscree_2000.
    3. write this bit of code in PBO and PAI of the screen 100;
    CALL SUBSCREEN SUBSCREEN_2000.
    4. include this code in PBO:
    INCLUDING SY-REPID '2000'
    6. write user_command of PAI, call screen which is going to executable after selection-screen.
    5. create a transcation for this dialog module pool with screen 100.
    6. execute this transaction and you can see it's behaving like cool with select-options.
    After that in [bprocee on value-request]</b>, use F4_DATE for both from and to option field.
    Hope it will solve the problem.
    Regards
    Krishnendu

  • Select option criteria (urgent)

    hi all,
    i have one select option craeted for matnr from mara table.
    SELECT-OPTIONS : S_matnr FOR mara-matnr.
    so it creates internal table with 4 fields.
    my criteria is that in  low option i give default value 100 and
    it should be protected ie not open for any input and having default as 100.
    but the high open should be open for entry by user.
    how to get this done.
    plz reply

    Hi Sanjeev
    <b>You can initialize the low value in the initialization.</b>
    S_MATNR-low = '100'.
    Append s_MATNR.
    <b>To disable low write the following code.</b>
    select-options: s_matnr for mara-matnr.
    at selection-screen output.
    loop at screen.
      if screen-name = 'S_MATNR-LOW'.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
      endif.
    endloop.
    I have tested it... it's working fine.
    Regards
    Surya.

  • Select-options.. Date range..URgent...

    Hi All,
    Can anyone let me know.. how to give last one month date range in select options.
    Regards,
    Parvez.

    Hi,
    In the INITIALIZATION event you can do that.
    v_month = sy-datum+4(2) - 1.
    v_year = sy-datum+0(4).
    concatenate  v_year v_month 01 to v_date1
    concatenate  v_year v_month 31 to v_date2
    Or get the 1st and last dates of the last month and
    s_date-low = date1 (1st date of last month).
    s_date-sign= 'I'
    s_date-high = date2 (last date of last month).
    s_date-option = 'BT'
    append s_date.
    reward if useful
    regards,
    anji

  • How to get calender in f4 helpfor select options in module pool (urgent)

    Hi All,
    how to get calender in f4 help for select options in module pool
    Please help .
    Thanx in advance,
    amruta

    Hi,
    Check this Example..
    Tables:Mara.
    Select-options:s_matnr for mara-matnr.
    Types:Begin of i_mara,
           matnr like mara-matnr,
           end of i_mara.
      data:it_mara type standard table of i_mara.
      At selection-screen on value-request for s_matnr-low.
      Select matnr from mara into table it_mara.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          RETFIELD               = 'MATNR'
        PVALKEY                = ' '
         DYNPPROG               = SY-REPID
         DYNPNR                 = SY-DYNNR
         DYNPROFIELD            = 'S_MATNR-LOW'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         VALUE_ORG              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
        CALLBACK_PROGRAM       = ' '
        CALLBACK_FORM          = ' '
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          VALUE_TAB              = IT_MARA
        FIELD_TAB              =
        RETURN_TAB             =
        DYNPFLD_MAPPING        =
       EXCEPTIONS
         PARAMETER_ERROR        = 1
         NO_VALUES_FOUND        = 2
         OTHERS                 = 3

Maybe you are looking for

  • Design View not working in DW CS5

    I have one .html file that displays the following in Design View: The code is all there, and if I view it in Live Code then all the content is visible. Here is what Live View looks like: Here is the current web page: Pennsylvania Philharmonic Subscri

  • Regarding Purchase Order Screen - Copy From

    Hi friends, In purchase order screen <b>Copy From</b> Button was in disable mode.i want to enable that button . i am using SAP Business One 2005 A(6.80.317) SP:01 version. expecting reply soon ...... Thanks & Regards SARAN

  • Requests with Output in PDF format failing

    Hi, I want to know after the full installation of e-biz suite do we need to any additional packages or anything, so that reuquests whose output is in bit map report can be seen. Like on my laptop whe i run conc. req by selecting o/p as PDF for active

  • URL Link and the W over the hand tool?

    I think I have two things going here.  1 is how do I unlink a PDF to a URL?  2 what is the W over the hand tool?  I want to highlight some text but the hand with the w shows the link of where I found the pdf and does not allow me to make the text cha

  • How to call jsp from another jsp

    Hi, All, I have several jsp files in my pagelet. I need to put a link in one jsp file. When client click the link, it will show another jsp file. Could anybody tell me how to do that?  i have tried to use following code in page1.jsp, IPortalComponent