Selection options check list

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
parameters:
        p_check1 as checkbox default 'X' user-command UM1 modif id mg2,
           p_file LIKE rlgrap-filename modif id mg2,   " File Name
        p_check2 as checkbox user-command UM2 modif id mg1,
           p_custmr like zinvm-zcustmr default  'SCI' modif id mg1 .
select-options : s_date for sy-datum modif id mg1.
SELECTION-SCREEN END OF BLOCK b1 .
if deselct first one ( p_check1 ) second should be selected (p_check2 ) vis versa.
and below field should be input enable and disable .

Hi,
Here is a code which does what is the funcationality you expect.
Parameters :
RB_1 RADIOBUTTON GROUP G1 USER-COMMAND A1," USER-COMMAND is used to trigger event and got AT SEELCTION-SCREEN , here we do not require it
RB_2 RADIOBUTTON GROUP G1 ,
P1 TYPE MATNR ,
P2 TYPE MATNR .
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF RB_1 = 'X'.
IF SCREEN-NAME = 'P1' .
SCREEN-INPUT = 1.
else if SCREEN-NAME = 'P2'.
SCREEN-INPUT = 0.
ENDIF.
MODIFY SCREEN.
ELSEIF RB_1 = ' '.
IF SCREEN-NAME = 'RB_2' .
rb_2 = 'X'.
elseIF SCREEN-NAME = 'P1' .
SCREEN-INPUT = 0.
else if SCREEN-NAME = 'P2'.
SCREEN-INPUT = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards,
Sankar

Similar Messages

  • Can i assign a collective srch help for select option in list display

    can i assign a collective srch help for select option in list display

    Hi,
    Yes ,u can assign a collective search help for select-option in list display.
    Eg:
    Define your select option like this
    SELECT-OPTIONS: s_vbeln FOR likp-vbeln MATCHCODE OBJECT vmva.
    Regards,
    Shiva.

  • Is it possible to make new selection option check for datasource?

    Hi Experts,
    I have a standard datasource and i want selective data form this datasource but the field on which i want selection is not provided as selection checked in the datasource.
    Is there any option in BW side so that i can have that field as selection in the infopackage.
    Regards,
    RG

    Hi
    Info Package Selection Tab is the Replication of DS at Source System Extract structure.
    But making changes to the Standard DS may drive you into Errors in future, make sure that you are not locking / changing the dependent objects if you are changing the Options while DS at Source system RSA5/RSA6.
    You need to replicate / Reinit for the changes you made for DS.
    Hope it helps

  • Adobe LiveCycle Designer 7.0 - Don't have Multiple Select option for List Box

    I've created a form and need to add a List Box that will allow the user to select Multiple items in the box. I do not have the option under the Object property to set this option. Can anyone explain why I don't have this option and how I can activate it?

    Ian,
    I don't know if you can use a PDF form to do an HTTP upload of a file. You can use an image field to allow a user to browse for a GIF, TIF, JPG, or PNG and include that in the submitted XML, but I don't know if it's possible to do something similar for other file types. I doubt it. PDF does support file attachments, but that functionality requires the user to have Acrobat or the PDF has to have usage rights enabled using Adobe Reader Extensions Server. Even if you assume that all your users have Acrobat though, attaching files in this way doesn't get the file into the XML form data like an image field does.

  • ECC6.0 t-code COOIS - how to get the "Profile" select-option list

    Hi  PP Gurus
    We are implementing ECC6.0
    We upgraded one of the systems from 4.7 to ECC6.0 (and also kept data: documents, users profiles, variants,u2026etc).
    My question is regarding standard transaction COOIS.
    I do comparison in current 4.7 and ECC6.0 systems (I have SAP_ALL and SAP_NEW in both systems).
    The thing is that in our ECC6.0 system the transaction COOIS doesnu2019t display Profile on select-options screen.
    There are only the following items (select-option screen of COOIS in ECC6.0):
    -LIST
    -LAYOUT
    -Prod.orders checkbox
    -Planned orders checkbox
    u2026And u2018Selectionu2019 tab with other fields
    In the current Enterprise 4.7 system the transaction COOIS displays the following select-option screen:
    -LIST
    -PROFILE
    -LAYOUT
    -Prod.orders checkbox
    -Planned orders checkbox
    u2026And u2018Selectionu2019 tab with other fields
    Questions:
    1.     Is that possible to maintain / see and select a PROFILE in COOIS of ECC6 (or due to new functionality it no more available on that screen ?) How to do that?
    2.     Looking at layouts (I ran COOIS in two systems and compared the results) I canu2019s see in ECC6.0 some icons like u2018Refreshu2019, u2018Order logu2019, u2018Display order componentsu2019, u2018Long textu2019 , u2026.) But all of them are in 4.7 layout. How to get them in ECC6.0 ?
    What I have already explored:
    u2022     ECC6.0 has a new config. t-code COISN (4.7 has only COIS) . I created my new overall profile there, set my own layout, but running COOIS still canu2019t see/use the PROFILE;
    u2022     I have compared the standard structure PPIO_ENTRY_SC1100 in 4.7 and ECC6.0 and found the new component COIS_LISTTYP in ECC6.0. In this situation I ran a new t-code u201CDefine New List Typesu201D (it doesnu2019t exist in 4.7) and created my new entry, but still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
    u2022     I also tried situation when both config. transaction COIS (in 4.7 and ECC6.0) had the SAME overall profiles u2013 still canu2019t see PROFILE on select-option screen of COOIS in ECC6.0;
    u2022     I found a new icon u201CNavigation profileu201D in result layout of COOIS ECC6.0 Is that right place where I can maintain the icons I need (see my second question) ?
    THANK YOU.

    Hi,
    The reports are modified if am right as of ECC 5.0. Refer to note - 747469 which gives a list of all reports modified.
    If am right by profile you mean navigation profile, this is now in the display screen. The content remains, only thing is the layout is modified & more structured. So i would suggest you to have a look around in COOIS report & you will find the info.
    The navigation profile is adjacent to the icon called Environment (its a drop down list).
    Revert if you face any issues.
    Regards,
    Vivek

  • Select-option filed

    Hi ,
           If my slect option field have 10 values, if i want to fetch a particualr value....can i fetch that at the run time....because tempervary table of  seelct otpion will contain onoy low and high values..then how can we get teh particalua value from there....thanks,
    Ram.

    Hello Ram,
    I created one sample program on this scenario and it is working fine.
    here i tried to delete few records of select-option.
    check this.
    REPORT zssrtest .
    TABLES: mara.
    SELECT-OPTIONS: s_matnr FOR mara-matnr.
    s_matnr-sign = 'I'.
    s_matnr-option = 'EQ'.
    s_matnr-low = '000000000000000001'.
    APPEND s_matnr.
    s_matnr-low = '000000000000000002'.
    APPEND s_matnr.
    s_matnr-low = '000000000000000003'.
    APPEND s_matnr.
    s_matnr-low = '000000000000000004'.
    APPEND s_matnr.
    s_matnr-low = '000000000000000005'.
    APPEND s_matnr.
    s_matnr-low = '000000000000000006'.
    APPEND s_matnr.
    s_matnr-low = '000000000000000007'.
    APPEND s_matnr.
    LOOP AT s_matnr WHERE low NE '000000000000000007'.
      DELETE s_matnr.
    ENDLOOP.
    LOOP AT s_matnr." WHERE low NE '000000000000000007'.
      WRITE: / s_matnr.
    ENDLOOP.
    Regards
    Sasidhar Reddy Matli.

  • Error at transport in select option   is not followed by itab or value list

    Hi All,
    I have an issue with the following inner join. when i check with code inspector it is not showing any errors but i get the following error while transport.
    "The In operator with SO_MATKL is followed neither by an Internal table nor by a value list".
    This error appears after the system is unicode enabled is that it have any unicode significance please advice on this.
    The following is the code snippet.
    SELECT amatnr amtart aextwg amatkl bwerks bdispo b~ekgrp
        INTO TABLE tb_mara
        FROM mara AS a
       INNER JOIN marc AS b ON amatnr = bmatnr
       WHERE a~matnr IN so_matnr
         AND a~mtart IN so_mtart
         AND a~extwg IN so_extwg
         AND a~matkl IN so_matkl
         AND b~werks IN so_werks
         AND b~dispo IN so_dispo
         AND b~ekgrp IN so_ekgrp.

    Hi Gopal
    Am on UNICODE Enabled system and i dont have problem with below code. Please check, if you have used similar to this???
    tables: mara, marc.
    select-options: so_matnr for mara-matnr,
                    so_mtart for mara-mtart,
                    so_extwg for mara-extwg,
                    so_matkl for mara-matkl,
                    so_werks for marc-werks,
                    so_dispo for marc-dispo,
                    so_ekgrp for marc-ekgrp.
    types: begin of t_mara,
             matnr type matnr,
             mtart type mtart,
             extwg type extwg,
             matkl type matkl,
             werks type werks_d,
             dispo type dispo,
             ekgrp type ekgrp,
           end of t_mara.
    data: tb_mara type table of t_mara.
    SELECT a~matnr a~mtart a~extwg a~matkl b~werks b~dispo b~ekgrp
           INTO TABLE tb_mara
           FROM mara AS a
           INNER JOIN marc AS b ON a~matnr = b~matnr
           WHERE a~matnr IN so_matnr
           AND   a~mtart IN so_mtart
           AND   a~extwg IN so_extwg
           AND   a~matkl IN so_matkl
           AND   b~werks IN so_werks
           AND   b~dispo IN so_dispo
           AND   b~ekgrp IN so_ekgrp.
    Kind Regards
    Eswar

  • Hiding of Select Options in screen based on selection in selection list box

    Hi People,
             I have a screen where i have put a selection list box, it is pre-filled with values, Now based on the value which user selects, I want to show/hide some select-options fields. I have declared the select options in the top include of my program,
    SELECT-OPTIONS: so_user FOR ls_rsp_user-user_id MODIF ID 222,
                    so_userg FOR ls_rsp_usergrp-user_grp_id MODIF ID 333,
                    so_ccode FOR ls_vdmp-bukrs MODIF ID 444,
    then in the PBO of my screen, I have written a module, set screen in which I loop over screen & check the group id's
    LOOP AT SCREEN.
        IF screen-group1 = '111'.
          IF gv_hier_resp_fields_flag IS NOT INITIAL.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
        ELSEIF screen-group1 = '222'.
          IF gv_user_fields_flag IS NOT INITIAL.
            screen-active = 1.
          ELSE.
            screen-active = 0.
          ENDIF.
        ELSEIF screen-group1 = '333'.
          IF gv_user_group_fields_flag IS NOT INITIAL.
            screen-active = 1.
          ELSE.
            screen-active = 0.
        ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    I am setting some flags based on the value which user selects in the selection list box, When I debugged I found that the flags were being set correctly, but the screen group value never set to '222' or '333', these are id's i have used for select options. Hence I am unable to hide/show the select options fields.  Kindly suggest some solutions for this.
    Thanks & Regards,
    Deepak

    then in the PBO of my screen
    Your SELECT-OPTIONS are defined in a SELECTION-SCREEN so the PBO actions must be maintained in a AT SELECTION-SCREEN OUTPUT block.
    I suppose the selection-screen is a subscreen, if you dont want to get unwanted interactions with a main selection-screen of the report, check sy-dynnr
    AT SELECTION-SCREEN OUTPUT.
       CASE sy-dynnr.
         WHEN '1000'. " main screen of report
         WHEN '0100'. " selection-screen defined as subscreen
           LOOP AT SCREEN.
             CASE SCREEN-GROUP1.
               WHEN '111'.
             ENDCASE.
           ENDLOOP.
       ENDCASE.
    Regards,
    Raymond

  • Check List Option

    Pages 08 offers options for bulletized and other lists but not a check list like Appleworks where you can create a list and check off items as they are completed. Is this correct or must I look somewhere else besides list style?

    You can create your own custom list as a checklist. You will need to use the character pallette and select the checkbox dingbat. Then type in some text afterwards to have something to highlight in the directions from Pages Help below.
    *To create a new list style:*
    Select some text.
    Click Inspector in the toolbar, click the Text Inspector button, and then click List.
    Format the selected list text so that it looks the way you want. See Modifying Bulleted or Numbered List Styles and Modifying a Tiered List Style for Ordered Lists for instructions.
    (This is where I added in the dingbat You may need to move the text to follow the box. Highlight just the text)
    Press and hold the Add button at the bottom of the Styles drawer, and then choose Create New List Style From Selection from the pop-up menu.
    Type a name for the new style.
    If you don’t want to apply the new style to the selected text, deselect “Apply this new style on creation.”
    Click OK.

  • Passing Select-Option to OO method via parameter list

    Is it possible to pass a reference to a select-option through the parameter list of a method such that the parameter can be used in a "where clause" using the conventional "IN" operator?  If so, how should the parameter be typed? 
    Thanks in advance,
    Philip Smith

    Sure, here's how.
    report zrich_0002 no standard page heading.
    tables: mara.
    *       CLASS lcl_app DEFINITION
    class lcl_app definition.
      public section.
        types: t_matnr type range of mara-matnr.
        data: imara type table of mara.
        methods: constructor importing im_matnr type t_matnr.
    endclass.
    *       CLASS lcl_app IMPLEMENTATION
    class lcl_app implementation.
      method constructor.
        select * into table imara from mara up to  100 rows
                     where matnr in im_matnr.
        check sy-subrc = 0.
      endmethod.
    endclass.
    data: myapp type ref to lcl_app.
    select-options: s_matnr for mara-matnr.
    start-of-selection.
      create object myapp
            exporting
                 im_matnr = s_matnr[].
    Welcome to SDN!.  Be sure to award points for helpful answers and mark your post as solved when solved completely.  Thanks.
    REgards,
    Rich Heilman

  • How to assign list of default value for select-option variable???

    Hi every one
    This is Deepak,
    I want to know how to assign list of default value to select-option variable ? please any body tel me solution
    for example
    select-option matnr for mara-matnr default ..............and here i want to give more than 1 values that will be default value and use can choose any one at the time of input .
    Thank you in advance
    Deepak

    Hi.
    Check the following sample code.
    REPORT ztn_test.
    " It is example for list populating.
    TABLES:knvp.
    data: BEGIN OF itab OCCURS 10,
          kunnr like knvp-kunnr,
          END OF itab.
    data: wa_itab like itab.
    TYPE-POOLS: vrm.
    DATA: name TYPE vrm_id,
    list TYPE vrm_values,
    value LIKE LINE OF list.
    PARAMETERS: s_kunnr(20) type c  as LISTBOX VISIBLE LENGTH 40 .
    AT SELECTION-SCREEN OUTPUT.
    SELECT kunnr from knvp  into  CORRESPONDING FIELDS OF TABLE itab WHERE parvw = 'SP'. " SP for ur requirement
    " I have used loop to populate some values from table
    loop at itab into wa_itab.
      name = 'S_KUNNR'.
      value-key = sy-tabix.
      value-text = wa_itab-kunnr.
      append value to list.
      clear wa_itab.
    endloop.
    " If u want individaully assign the values change the code as
    name = 'S_KUNNR'." Select option name
      value-key = 1." Index
      value-text = 'VAL1'.
      append value to list.
    name = 'S_KUNNR'." Select option name
      value-key = 2." Index
      value-text = 'VAL2'.
      append value to list.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING id = name
    values = list.
    Edited by: tahir naqqash on Feb 21, 2009 4:38 PM

  • Checking against Select-Options with "CP" using "IF value IN select_option"

    Dear experts,
    first of all: I'm sorry, if this question already should have been asked and answered!
    I tried quite a lot of search terms but didn't find anything helpful.
    We are using a statement like "IF value IN select_option" to perform comparisons after the Select-Options have been used in a SELECT statement. This logical expression fails (compared to the results of the DB-SELECT) whenever a select-option line contains the option CP (Contains Pattern). To be more specific: The case sensitivity of the LOW value doesn't seem to play a role any more. A variable with the value 'ABCD' would be positively checked against a select-option with OPTION 'CP' and LOW 'abc*', whereas this value wouldn't have been selected if the select-option had been used in a DB-SELECT.
    Does anybody know a workaround?
    Thanks in advance
    Andreas

    Dear Keshav,
    it's an own field in an own table, defined as CHAR of length 140 (lowercase allowed), reflecting to a line of remittance info of an account statement. A regular Select-Option for this field is provided in a report which works perfectly fine regarding the case sensitivity. For reasons I don't want to point out in detail we need to check a value in this field against the select-option without selecting it from the db again.
    Let's assume that a field remittance_info contains the value 'ABCD'.
    A line of the select-option table looks like this:
    select_option_table-SIGN = 'I'
    select_option_table-OPTION = 'CP'
    select_option_table-LOW = 'abc*'.
    Then an ABAP statement such as
    IF remittance_info IN select_option_table.
    * would be true !!!
    ENDIF.
    but wouldn't deliver a result in a SELECT such as
    SELECT * FROM my_table INTO TABLE my_internal_table WHERE remittance_info IN select_option_table.
    because of the differences in lower/upper case.
    regards
    Andreas

  • Select-options - select multiple values from personal value list

    Hi experts,
    In my application, I am using select-options. I select the values required from the search help into the personal value list . I want to copy these values from the personal value list into my ranges table. Do I have to copy them one row at a time. Is there any way to select the values directly into the ranges table of the select-options field?
    Regards,
    Abdullah.

    Boy, this is something we're struggling with too. So we'd like to hear others' ideas on this also.
    thank you,
    iggy

  • ABAP list report, multiple selections - select-options

    I have written a very simple ABAP list report, that contains a single select-option.  On the selection screen, I have the option of entering multiple values, with each new value being displayed directly underneath the old, but I am only getting the first value entered on the screen displayed.  Does anyone have any sample code for me?

    Hi Daniel,
    Select_Options consists of 4 parameters, in with the range consists in eg...
    Select-options s_vbeln for vbak-vbeln.
    then s_vbeln-low, s_vbeln-high are the range values...
    So whne you write select query.
    write vbeln in s_vbeln
    instead of vbeln eq s_vbeln
    Hope this solves your problem.
    Thanks & Regards,
    Dileep .C

  • Select option in select list and navigate to different page

    Hello,
    I have a tabular form.One of the item is a select list with 2 options. Selecting option one should take the user to page10(just an example) and display all the values of that particular row. Similarly selecting option 2 should take the user to page 20 and display all the values of that row.
    Can some one guide me how to do above mentioned job.
    Thanks in advance.
    Pravish

    @Avinash
      if f_cat-seltext_m = 'Select'.
        f_cat-col_pos = 1.
        f_cat-seltext_l = 'EDIT'.
        f_cat-Checkbox = 'X'.
        f_cat-EDIT = 'X'.
      endif.
    I am already passing f_cat-checkbox = 'X'.
    Thanks
    Kumar.

Maybe you are looking for