[Help] Multiple Selection at Select Options.

People, I've coded following Select Options:
DATA: g_created TYPE zapomatxref-erdat,
            g_modif   TYPE zapomatxref-aedat,
            g_matnr   TYPE zapomatxref-pr1_material.
SELECT-OPTIONS: s_creat FOR g_created,
                               s_modif FOR g_modif,
                               s_matnr FOR g_matnr OBLIGATORY.
Thing is, when I execute the program and hit the Multiple Selection, an error pops up saying "Fill in all required fields".
I know it goes through PBO validating that OBLIGATORY so I can't enter the multiple selection screen.. But is there a way to enter the multiple selection screen without changing the OBLIGATORY adition ?
Thanks in advance.
PS: This is an executable program, not module pool. Also I want to enter Mutliple Selection screen without filling s_matnr.

Guys, solved the problem. You have to remove the OBLIGATORY addition and set the following code.
("Percentage symbol" below is the traditional percentage centessimal symbol we know, the mozilla wont let me insert it...)
TOP Include:
CONSTANTS: c_per002     TYPE c    VALUE '(percentage symbol)002'.
MAIN PROGRAM:
AT SELECTION-SCREEN ON s_matnr.
  IF sy-ucomm NE c_per002.
    IF s_matnr[] IS INITIAL.
      MESSAGE e025(ycapo).
    ENDIF.
  ENDIF.
START-OF-SELECTION.
PS: c_per002 comes to be the sy-ucomm value when hitting Multiple Selection Button at Selection Screen.. As any action validates the whole screen, you just set a clause when you don't want to validate if sy-ucomm not equals (different from) c_per002.

Similar Messages

  • 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

  • Passing multiple values to select-option low by submit at one go from zpro.

    Hi all,
    I have a requirement pass descrete multiple values form my z-program to to select-option low on selction screen of standard SAP program using SUBMIT statment at one go.At the same time select-option high will be empty.I will be thankful if anybody can help me in this regard.
    Sandeep.

    Hi Check this link...on submitting programs
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db9d7535c111d1829f0000e829fbfe/frameset.htm
    here is the code . we are calling the same program....you can call any other program as well.
    REPORT  demo_program_submit_rep1.
    DATA number TYPE i.
    PARAMETERS      paramet(14) TYPE c.
    SELECT-OPTIONS  selecto FOR number.
    The program DEMO_PROGRAM_SUBMIT_REP1 is called by the following program using various parameters:
    REPORT demo_program_submit_sel_screen NO STANDARD PAGE HEADING.
    DATA: int TYPE i,
          rspar TYPE TABLE OF rsparams,
          wa_rspar LIKE LINE OF rspar.
    RANGES seltab FOR int.
    WRITE: 'Select a Selection!',
    SKIP.
    FORMAT HOTSPOT COLOR 5 INVERSE ON.
    WRITE: 'Selection 1',
         / 'Selection 2'.
    AT LINE-SELECTION.
      CASE sy-lilli.
        WHEN 4.
          seltab-sign = 'I'. seltab-option = 'BT'.
          seltab-low  = 1.   seltab-high   = 5.
          APPEND seltab.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH paramet eq 'Selection 1'
                          WITH selecto IN seltab
                          WITH selecto ne 3
                          AND RETURN.
        WHEN 5.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'E'. wa_rspar-option = 'BT'.
          wa_rspar-low  = 14.  wa_rspar-high = 17.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'PARAMET'. wa_rspar-kind = 'P'.
          wa_rspar-low  = 'Selection 2'.
          APPEND wa_rspar TO rspar.
          wa_rspar-selname = 'SELECTO'. wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'. wa_rspar-option = 'GT'.
          wa_rspar-low  = 10.
          APPEND wa_rspar TO rspar.
          SUBMIT demo_program_submit_rep1 VIA SELECTION-SCREEN
                          WITH SELECTION-TABLE rspar
                          AND RETURN.
      ENDCASE.

  • Search help multiple values selection problem

    Hello Friends,
    I am using FM f4_if_int_table_value_request FM to display multiple values on selection screen
    in AT-selection-screen on value request event.
    Multiple values are getting displayed perfectly .
    Then after that I am using DYNP_VALUES_UPDATE FM to return the values back to screen.
    But the problem is in the select-option field . It only picks the last value selected.
    I have a row:
    I EQ 'last value selected from F4 help screen''.
    Is there a way to update multiple rows in the select option selection screen field.
    Thanks.

    Hi Suhas,
    you may try the following:
    TABLES spfli.
    SELECT-OPTIONS: s_carrid FOR spfli-carrid.
    SELECTION-SCREEN: PUSHBUTTON /1(20) but1 USER-COMMAND carr.
    INITIALIZATION.
      but1 = 'Choose CARRID(s)'.
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
        WHEN 'CARR'.
          TYPES: t_return_tab  TYPE ddshretval.
          TYPES: BEGIN OF ty_line,
            carrid   TYPE spfli-carrid,
            carrname TYPE scarr-carrname,
          END OF ty_line.
          DATA: it_list TYPE STANDARD TABLE OF ty_line,
                wa_return_tab TYPE t_return_tab,
                i_return_tab TYPE STANDARD TABLE OF t_return_tab,
                v_repid TYPE sy-repid,
                v_dynnr TYPE sy-dynnr.
          v_repid = sy-repid.
          v_dynnr = sy-dynnr.
          SELECT carrid carrname
          FROM scarr
          INTO TABLE it_list.
          IF sy-subrc = 0.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                retfield        = 'CARRID'
                dynpprog        = v_repid
                dynpnr          = v_dynnr
    *        dynprofield     = 'S_CARRID-LOW'
                value_org       = 'S'
                multiple_choice = 'X'
              TABLES
                value_tab       = it_list
                return_tab      = i_return_tab
              EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
            IF sy-subrc = 0.
              s_carrid-sign = 'I'.
              s_carrid-option = 'EQ'.
              LOOP AT i_return_tab INTO wa_return_tab.
                s_carrid-low = wa_return_tab-fieldval.
                APPEND s_carrid.
              ENDLOOP.
              READ TABLE s_carrid INDEX 1.
            ENDIF.
          ENDIF.
      ENDCASE.
    What I have done is:
    - not linking the result of the F4 search to field S_CARRID-LOW
    - inserting this F4 search into event AT SELECTION SCREEN. This allows to see the select-options filled when its contents are actually populated.
    I hope this helps. Kind regards,
    Alvaro

  • I have bought a Seagate Backup Plus 1TB drive, first time I have selected Mac Windows option which excludes Time Machine to work on it, but now I want to go back and select Only Mac option to activate my Time Machine application. I request you to help me

    I have bought a Seagate Backup Plus 1TB drive, first time during plug-in, I have selected Mac Windows option which excludes Time Machine to work on it, but now I want to go back and select Only Mac option to activate my Time Machine application.
    I request you to help me with the procedure of the same?

    IMPORTANT - This will reformat your Seagate drive and hence wipe it.  If there is anything on your Seagate drive you want to keep, save it somewhere else FIRST.
    Plug the drive in.
    In Finder select Applications > Utilities > Disc Utilities.
    Select the external drive, select Partition option, give it a name (I call mine Mac Backup), select Mac OS Extended (Journaled) as the Format and under the drop down menu "Partition Layout" select the number of partitions you want (so if you want the drive to just be for Time Machine, select 1 Partition, if you want part of the drive to be for Time Machine and the rest for something else, select 2 partitions and so on).  Click apply and the Disc Utility will partition and reformat your drive ready to use.
    When this is complete, open Time Machine in System Preferences. Use  Select Disc to select the drive (or if you have multiple partitions, the partition of the drive) you want and you are good to go.
    This may be a long way round, but it gives you the option to partition your disc which you may want.

  • I can´t remove win from my mac because I can´t select the remove option from boot camp assist. Can anybody help me?

    I can´t remove windows partition from my mac because I´can´t select the remove option from boot camp assit. Can any body help me?

    open disc utility choose the drive you need partitioning highlight the bootcamp partition and click on the minus sign at the bottom left.
    after this manually resize your drive by dragging the partition line all the way down and click on partition.

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro

    Hi,
    refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
    and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
    Thanks,
    Chandra

  • Search Help for selection screen select-option

    Hi Friends,
              I want have search help for KSCHL with only the condition types starting with Z. I need your help to do that.
    Thanks in Advance.

    hi,
    chek a sample code, for restricting the serach help.
    REPORT Z_CONECT_A.
    Include type pool SSCR
    TYPE-POOLS sscr.
    TABLES : marc.
    defining the selection-screen
    select-options :
      s_matnr for marc-matnr,
      s_werks for marc-werks.
    Define the object to be passed to the RESTRICTION parameter
    DATA restrict TYPE sscr_restrict.
    Auxiliary objects for filling RESTRICT
    DATA : optlist TYPE sscr_opt_list,
               *** type sscr_***.
    INITIALIZATION.
    Restricting the MATNR selection to only EQ and 'BT'.
      optlist-name = 'OBJECTKEY1'.
      optlist-options-eq = 'X'.
      optlist-options-bt = 'X'.
      APPEND optlist TO restrict-opt_list_tab.
      ***-kind = 'S'.
      ***-name = 'S_MATNR'.
      ***-sg_main = 'I'.
      ***-sg_addy = space.
      ***-op_main = 'OBJECTKEY1'.
      APPEND *** TO restrict-***_tab.
    Restricting the WERKS selection to CP, GE, LT, NE.
      optlist-name = 'OBJECTKEY2'.
      optlist-options-cp = 'X'.
      optlist-options-ge = 'X'.
      optlist-options-lt = 'X'.
      optlist-options-ne = 'X'.
      APPEND optlist TO restrict-opt_list_tab.
      ***-kind = 'S'.
      ***-name = 'S_WERKS'.
      ***-sg_main = 'I'.
      ***-sg_addy = space.
      ***-op_main = 'OBJECTKEY2'.
      APPEND *** TO restrict-***_tab.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
       EXPORTING
        restriction                  = restrict
       EXCEPTIONS
         TOO_LATE                     = 1
         REPEATED                     = 2
         SELOPT_WITHOUT_OPTIONS       = 3
         SELOPT_WITHOUT_SIGNS         = 4
         INVALID_SIGN                 = 5
         EMPTY_OPTION_LIST            = 6
         INVALID_KIND                 = 7
         REPEATED_KIND_A              = 8
         OTHERS                       = 9
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    regards
    anver
    <b><i>if helped pls mark points</i></b>

  • When i give end location from my location which is selected from the options available, also i receive the message that the directions could not found- pl. help

    when i give end location from my location which is selected from the options available, also i receive the message that the directions could not found- pl. help

    # Yes, if you go to accounts.firefox.org, sign out, you will now be signed out.
    # Sign back in, and you will be asked to save the password you entered.
    # This will save the password and autocomplete if you have this option turned on.
    I am not exactly sure why the menu did not detect the password change or if it was stored incorrectly after you changed it? But after storing the correct password you can manage any duplicate passwords in the password manager.[[Password manager - Remember, delete and change saved passwords in Firefox]]

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

  • Search help multiple selection of search results

    Hi,
    I have a search help (SE11) and it is correctly integrated in my WDP4A application using 'automatic' search help integration. Unfortunately multiple selection of search results does not seem to be supported (the ok button greys out when >1 result is selected). Is there a standard way to link a search help to an attribute in a 0..n value node, so that at runtime a new context element is created for each selected search result? Or do I have to recreate the search help from scratch to get this behaviour (OVS)?
    If the latter is true, then why is it even possible to select multiple search results?
    Kind regards,
    Jeroen

    Hallo Jeroen,
    OVS standard configuration does not allow you to select more than one configuration, You need to specify that explicitely on Phase-0 of OVS using the set_configuration method.
    see
    [Multiple Selection in F4 help|Multiple Selection in F4 help]
    [http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true]

  • How to select multiple data without select options?

    Dear experts,
    I have a rquirement that i have a one selection screen and in that selection screen on date field is there which is parameter type. we using this parameter date field in the program for selecting data..after that i am using the logic to multiple value..now my requirement is how to select the data for multiple value..
    PARAMETERS :  SO_DATE TYPE SY-DATUM OBLIGATORY.
    CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
       EXPORTING
         DATE            = so_date
         DAYS            = 1
         MONTHS          = 0
         SIGNUM          = '-'
         YEARS           = 0
       IMPORTING
         CALC_DATE       = so_date
          l_cm_first+0(6) = so_date+0(6). " month & year
          l_cm_first+6(2) = '01'. " date
          l_cm_end = so_date.
    my requirement is that how to use l_cm_first and  l_cm_end multiple selection in select query ??
    eg- i want to fetch the data from 1/8/2014 to 11/08/2014 using this field l_cm_first and  l_cm_end

        l_cm_first+0(6) = so_date+0(6). " month & year
          l_cm_first+6(2) = '01'. " date
          l_cm_end = so_date.
    after executing this line l_cm_first = 1/8/2014 and  l_cm_end = 11/08/2014
    now i have to select in this range how to do it?

  • Visual Composer 7.0.1 (EHP1) - Value Help only shows "Single Selection"

    I tried to add a value help to a field that allows multiple selections. However, when I used the wizard through "Add Value Help" drop-down menu, I can only see one proposed selection -  "Single selection". However this SAP help document (http://help.sap.com/saphelp_nw70/helpdata/en/b5/036d391f074f769e00602634ee9960/content.htm) mentioned about the "Multiple selection" option. What I can do to make this selection available?
    I am using VC 7.0.1 (EHP1). Thanks for any helps in advance.
    Kelly

    Hi
    Are you using 'BI Query' as 'data Service'? & are you creating value help for variable? If Yes -
    Create necessary variable as 'Multiple Single Options' in your BEx query & then create value help in VC. Then it will allow multiple options or interval values.
    Regards
    Sandeep

  • How can i select multiple values form select list

    Hi ,
    I have created few items in a page and all items are Lov items and based on these items stacked charts will display. My requirement is I need to select multiple values form LOV's
    Eg: In Interactive report goto filter and select an item and expression as IN and select multiple items and i need to select multiple values like this.
    Please anybody help me how to get multiple values.
    I have one more doubt Can we have a Print preview option in APEX.
    I have to see print preview for stacked charts. is it possible?
    Regards
    Narender B

    HI ,
    Thank you for valuable information and looks good.but Here our client need to select multiple values.... for eg: Open IR report and click on Actions button --->select filter
    select any column , operator as IN and from expression select multiple items.
    I need to select multiple values in that way so, could you please guide me how can i achieve this.
    Regards
    Narender B

  • HELP!  Is there a way to change column information in iTunes such as name of artist, genre etc, other than deleting them one at a time? Such as the way you delete an entire group of songs by holding down control keys or selecting the Select All command.

    HELP!  Is there a way to change column information in iTunes such as name of artist, genre etc, other than deleting them one at a time? Such as the way you delete an entire group of songs by holding down control keys or selecting the Select All command. Thanks.

    If you select all the songs you want to change, Be it one song or an akbum, or an Artist, Or Genre, or playlist. Then Right mouse click  and Get Info. You then get a slightly different from normal Get Info box as this is the One for Multiple items.
    In there have a look at the tags and see if the one you want to changes is in there. There are a few tabs so if for example you wanted to change the Media Type from Home Movie to Movie go to the Options tab and select Movie and OK and it will change the whole selection.

  • Multiple Input in selection screen more than 10000 material,,prg dumped?

    Hi All,
    I am running a report and giving  input as..
    multiple selection for Matnr(Material no)   = 14000 materials
    but I m getting a
      Possible error causes:
      o The maximum size of an SQL statement was exceeded.
      o The statement contains too many input variables.
      o The input data requires more space than is available.
    Please let me the solution of this error.
    Thanks and Regards
    Steve

    Hi,
    There is a limit on the SQL statement length and if it exceeds, the program will dump and that is exactly what is happening in your case too. So the only choice you have is to introduce options BT or CP etc .
    The other alternative would be to break the selection range into small bits of say 1000, 2000 lines ,and select the data and append it to the internal table using these smaller bits of the selection range.
    loop at selection_range.
    append selection_range to selection_range_1000.
    if sy-tabix mod 1000 = 0.    " Select for every 1000 records of selection range
    select * from dbtab appending itab where field in selection_range_1000.
    refresh selection_range_1000.
    endif.
    endloop.
    " Remaining records
    if selection_range_1000[] is not initial.
    select * from dbtab appending itab where field in selection_range_1000.
    endif.
    Hope this helps.
    Br,
    Advait

Maybe you are looking for

  • Problems with the Oracle Pre-Load actions in an homogeneous system copy

    Hi, I am trying to do a NW04 homogeneous system copy, and I am having troubles with the ABAP copy. (Oracle Pre-Load Actions step) I am with the database specific procedure, so I am creating the new system until the sapinst asks me to bring an online-

  • How do i make my screen saver the same as my desktop on my macbook pro 2012?

    how do i make my desktop the same as my screen saver on my MacBook Pro 2012? if i can't, how can i choose certain pictures to have as the desktop, instead of all of my photos?

  • Is it possible to take control over ssl handshake process?

    Hi, I'd like to write an application that will show whole ssl handshake process step by step. So I was wondering if it is possible to do something like that: when user connects his ssl client to ssl server he can push eg."Next" button moving to the n

  • CFPDF pdf being downloaded as .cfm file

    Hi there, My website uses ColdFusion to create pdfs. Currently, users have been contacting me to say the PDFs that are created are being downloaded as .cfm files instead of .pdf files. This is annoying because they have to manually rename the file ex

  • How to get past 6700 not recognizing new print heads.

    Ok, so I bought a new printer that came with setup cartridges. I wanted one with network capabilites so I took it back to the store and got a new  hp 6700 all in one.  But when I took the other one back I forgot to include the start upcartridges in t