SELECT-OPTIONS : No-Display?

Hi Experts,
One simple doubt, pls. clarify that,
Wht is the practical use of NO-DISPLAY in SELECT-OPTIONS(I gone thru SAP help, but did not get any!)? like,
<b>p_vprsv like mbew-vprsv no-display.</b>
thanq.

The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY , the fields are then truncated whenever the selection screen is processed in the background (SUBMIT without VIA SELECTION-SCREEN ).
... NO-DISPLAY
Effect
Does not display the selection on the selection screen. Creates the internal table sel as with 'normal' selection options and you can then transfer the selection option with SUBMIT .
These selection options represent a part of the interface which the user does not see on the selection screen. You can set the values either internally (through the routine INIT in SAPDBldb or INITIALIZATION in the report) or with SUBMIT . These selection options are also stored for variants.
Sometimes, (e.g. when the user has entered particular values for other selection options or parameters ), you may want to display these undisplayed selection options on the screen so that the user can enter values. You can do this in the routine PAI of the database program SAPDBldb (for database-specific selection options) or under AT SELECTION SCREEN (for report-specific selection options) by calling a function module (see CALL FUNCTION ) or your own screen (CALL SCREEN .
also refer this
http://www.erpgenie.com/phpBB2/viewtopic.php?p=16454&sid=74b2d670b72ac27732cbee2f97d51098
regards,
srinivas
<b>*reward for useful answers*</b>

Similar Messages

  • Select-options in display mode

    Hi
    How to set the SELECT-OPTIONS in display mode by default
    regards
    Srinivas

    hiii
    for every LOW and HIGH value of select option you can use a code like given below..
    First initialize your select option with some values then use following code
    AT SELECTION-SCREEN OUTPUT .
      IF s_docno IS NOT INITIAL .
        LOOP AT SCREEN.
          IF screen-name CS 's_docno'.
           screen-input = 0.
            MODIFY SCREEN.
          ENDIF.                           " IF screen-name CS 'p_docno'.
        ENDLOOP.                           " LOOP AT SCREEN.
    regards
    twinkal

  • Select-option in display mode

    HI ABAP Gurus,
    In selection screen i want to make selectoption/parameter field in displaymode( User cant change that field it shud appear but in display mode).
    Plz help me regarding this.
    I am using At selection-screen output for this as declaring Modif id in slect-option/parameter. but its not working.
    Regards,
    Shakya

    assign that field to a modif id abc .
    and do the coding as
    at selection screen output.
    loop at screen.
    if screen-group1 = 'ABC'.
    screen-input = '0'.           "<----to enable display mode
    modify screen.
    endif.
    endloop.
    execute this code
    tables likp.
    select-options : s_vbeln for likp-vbeln modif id ABC,
                     s_erdat for likp-erdat modif id PQR,
                     S_LFART FOR  LIKP-LfART MODIF ID XYZ.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'ABC'.
        SCREEN-input = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 = 'PQR'.
        SCREEN-input = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    regards,
    vijay

  • Select-options values display

    Hi experts,
    I have three select-options in a selection-screen like
    s_vbeln for vbak-vbeln,
    I want to display the values entered in the select-options of the selection-screen on the report.
    eg!..
    If user enters the multiple values in the select-options, it should show all the multiple values .
    If the user enter only the ranges ("From and To"), it should display only the ranges .

    Hi,
    Actualy all the select option behave as internal and stores the value entered in them. So here your select options s_vbeln is  an internal tables.
    To display the value Just use LOOP AT Write statement to print values.
    REPORT z_sdn.
    TABLES:
      vbak.
    SELECT-OPTIONS:
      s_vbeln for vbak-vbeln,
    loop at s_vbeln.
    WRITE:
      / s_vbeln-low,
        s_vbeln-high.
    endloop.
    By the way you are repeating the same question in the same community and you also heve more than 10 post unresolved. Both are against the rule of engagement. Moderator may lock the thread. So please avoid them.
    Regards,
    Anirban

  • Select-option in interactive report

    Hello , this is urgent requirement.
    I have one report in which in the basic report i need to display the table name like mara, mard, marc etc etc 100 table is there.
    when i click on the particular table , in the secondary list the key field of the select option should display with select option.
    please let me know if you have soultion.
    Thanks and regards,
    zubera

    hi,
    try this code
    TABLES : dd02t,databrowse.
    DATA : it_dd02t TYPE TABLE OF dd02t WITH HEADER LINE.
    PARAMETERS : table LIKE dd02l-tabname default 'M%'.
    SELECT *
           INTO TABLE
           it_dd02t
           FROM dd02t
           WHERE tabname LIKE table AND ddlanguage = 'E'.
    LOOP AT it_dd02t.
      WRITE / it_dd02t-tabname HOTSPOT.
      HIDE  it_dd02t-tabname.
    ENDLOOP.
    AT LINE-SELECTION.
      CASE sy-lsind.
        WHEN '01'.
          databrowse-tablename = it_dd02t-tabname.
          SET PARAMETER ID 'DTB' FIELD databrowse-tablename.
          CALL TRANSACTION 'SE16'.
      ENDCASE.
    reward if helpful.
    prasanth

  • Select-options on selection-screen type char100 problem

    Hi friends! I created on selection-screen a select-options:
    SELECT-OPTIONS: zzcduc     FOR      equi-ZZCDUC.
    The field  equi-ZZCDUC is a CHAR100 field. The problem is when I run program, in this field user can't input more of 46 characters. This is a serial number with 100 characters, why I can input 100 characters?
    Thanks for any help.

    Hi, this is copied from SELECT-OPTION documentation:
    The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, use SUBMIT to pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY, the fields are then truncated whenever the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN).
    regards,

  • SELECT-OPTIONS on custom screen problem

    Hi all,
    I have a screen added on the standard transaction IW21 (with selection screen definition and called like subscreen). On this screen I have some SELECT-OPTIONS and when I press the button of selecting multiple values, I get the following message: "Requested function & is not available here" (V0 104), where & is long number starting with %..No matter the error message, the values are transferred correctly from the multiple selection screen to my screen. I have added entries to the tables T185F and T185 with the transaction VFBS, but I dont know how to assign the Function codes to SELECT-OPTIONS..
    Thanks in advance for feedback!
    Anna

    Hi, this is copied from SELECT-OPTION documentation:
    The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, use SUBMIT to pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY, the fields are then truncated whenever the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN).
    regards,

  • Hiding and then making select-options visible on the selection-screen

    I've created a selection screen. On this i've got a field (pr_inpt) depending on whose value i have to display the rest select-options viz. (so_c1, so_n1, so_d1, so_t1) say ,
    1.)if (pr_inpt) contains value 'A' then display (so_c1 & so_d1)
    2.)if (pr_inpt) contains value 'B' then display (so_n1, so_d1 & so_t1)
    To achieve it, in the initialization event, i looped at the screen and for all (so_c1, so_n1, so_d1, so_t1) i made screen-active = '0'. Due to this my objective to hide fields in the beginning is achieved.
    Next when user is entering value into (pr_inpt), i am making screen-active = '1' at selection-screen output event, for those relevant select-options (say if A, then made active for so_c1 & so_d1) but my problem is that it is making all select-options (so_c1, so_n1, so_d1, so_t1) visible on the screen which i don't want.
    How can i achieve this, also is it possible to change the label of the select-options while displaying.
    Plz help.

    hi just copy and paste following code into ur abap editor and see weather this logic helps u ????
    REPORT Z_HRA1.
    tables: pa0000, pa0001.
    parameters: p_chk1 as checkbox user-command rusr,
    p_chk2 as checkbox user-command rusr,
    p_chk3 as checkbox user-command rusr,
    p_chk4 as checkbox user-command rusr,
    p_chk5 as checkbox user-command rusr.
    selection-screen: begin of block blk1 with frame.
    select-options: s_pernr for pa0000-pernr modif id ABC no-extension no intervals,
    s_stat2 for pa0000-stat2 modif id DEF,
    s_werks for pa0001-werks modif id GHI,
    s_persg for pa0001-persg modif id JKL,
    s_persk for pa0001-persk modif id MNO.
    selection-screen: end of block blk1.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'ABC'.
    IF p_chk1 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'DEF'.
    IF p_chk2 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'GHI'.
    IF p_chk3 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'JKL'.
    IF p_chk4 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'MNO'.
    IF p_chk5 = 'X'.
    SCREEN-ACTIVE = 1.
    ELSE.
    SCREEN-ACTIVE = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards
    Gagan

  • Dynamic select-options using parameter

    Hi experts,
    It the user selects one value from dropdown list, it should generate one select-option using that name. Is it possible?
    for example, (pls see my code).
    If user selects 'Malek' from parameter, <b>and press 'ENTER'</b>
    <b>select-option should display with that name</b> like
    Malek      malek-low  malek-high
    And if user selects some other like 'Amran'. It should generate(and append)
    Malek      malek-low  malek-high
    amran      amran-low amran-high
    and so on....
    report c.
    data: t_return like ddshretval occurs 0 with header line.
    data: begin of t_names occurs 0,
           name like usr01-bname,
          end of t_names.
    parameters : i_inspec like usr01-bname.
    at selection-screen on value-request for i_inspec.
      perform get_names.
    form get_names.
      t_names-name = 'Malek'.
      append t_names.
      t_names-name = 'Amran'.
      append t_names.
      t_names-name = 'Ow CC'.
      append t_names.
      t_names-name = 'titbit'.
      append t_names.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield    = 'T_NAMES-NAME'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          dynprofield = 'I_INSPEC'
          value_org   = 'S'
        tables
          value_tab   = t_names.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno with
        sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      read table t_return index   1.
    endform.                    "GET_NAMES
    Reward guaranteed,
    thanks
    kaki

    Use At selection-screen output,use screen internal table..
    User Dynamic Selection
    at selection-screen output.
      select single * from t000md.
      loop at screen.
        case screen-group1.
          when 'REL'.
            if not  p_old is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
          when 'BEL'.
            if not p_new is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
          when 'ARB'.
            if  p_new is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
          when 'MTA'.
            if  p_new is initial.
              screen-input = '0'.
              screen-required = '0'.
              screen-invisible = '1'.
            endif.
            modify screen.
        endcase.
      endloop.

  • Drop down required for select-options

    drop down required for select-options as displayed in VT01N 'shipment type'.

    Hi
    Check out..this example
    data: i_value       TYPE vrm_values,
            wa_value      LIKE LINE OF i_value.
    PARAMETERS :  p_field   TYPE dd03l-fieldname AS LISTBOX
                             VISIBLE LENGTH 80 OBLIGATORY.
    INITIALIZATION.
    *-- Populate List Box
    *-- TEMKSV - Legacy Value
      wa_value-key = 'TEMKSV'.
      wa_value-text = 'Legacy Key'.
      APPEND  wa_value TO i_value.
      CLEAR:  wa_value.
    *-- Installation
      wa_value-key = 'INSTLN'.
      wa_value-text = 'Installation'.
      APPEND  wa_value TO i_value.
      CLEAR:  wa_value.
    Setting the selection
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = 'P_FIELD'
          values = i_value.
    Patil

  • How can I re-display my selected option?

    In my jsp, I gain option values for a list of 'types' and 'names'
    If the currentType = null I do not show the form that accepts the 'names'.
    When a type is selected the Action class calls the getMethod in the ActionForm
    and upon success returns to the jsp page and presents the 'name' form.
    Unfortunately the 'type' form redisplays the first type in the list and not the
    currentType.
    Question. How can I set the selected option in my form to display the currentType?
    <!-- Access session bean for picklist types -->
    <jsp:useBean
    id="typesBean"
    scope="session"
    class="com.aaa.zzz.refdata.beans.CPartyTypesBean" >
    <jsp:setProperty name="typesBean" property="*" />
    </jsp:useBean>
    <%
    CPartyTypesBean typeBean = (CPartyTypesBean) session.getValue("typesBean");
    String[] PicklistTypes = typeBean.getTypes();
    %>
    <!-- Access Form Bean (ActionForm) for current Name & Type -->
    <jsp:useBean
    id="pb"
    scope="session"
    class="com.aaa.zzz.refdata.beans.CPartyPicklistBean" >
    </jsp:useBean>
    <jsp:setProperty name="pb" property="*" />
    <%
    String currentType = pb.getType();
    String currentName = pb.getName();
    %>
    <html:form action="/typeAction" focus="type">
    <table>
    <tr>
    <td WIDTH="20%">
    Picklist Type
    </td>
    <td WIDTH="30%">
    <select name="type">
    <%
    for(int i=0; i<PicklistTypes.length; i++)
    out.println("<option>" + PicklistTypes[i] + "</option>");
    %>
    </select>
    </td>
    <td WIDTH="20%">
    <html:submit property="submit" value="GetType"/>
    </td>
    <td WIDTH="30%">
    </td>
    </tr>
    </table>
    </html:form>
    <%
    if (currentType != null)
    %>
    <html:form action="/nameAction" focus="name">

    Thanks Beattris, I guess 'selected' is the obvious answer but what I was looking for was
    how to apply 'selected' to the loop that prints my options.
    However I figured it out and did this:
    <%
    for(int i=0; i<PicklistTypes.length; i++)
    String sel = null;
    if(currentType != null && currentType.compareTo(PicklistTypes)==0)
    sel = " SELECTED>";
    else
    sel = ">";
    out.println("<option value=" + PicklistTypes[i] + sel + PicklistTypes[i]+"</option>");
    %>

  • Clearing the displayed value for a SELECT-OPTION

    How do I clear the displayed value of a SELECT-OPTION? 
    I have 2 SELECT-OPTIONs on my screen (standard basic report program screen).  I use code like this to populate the drop-down boxes for each one. 
    =====
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prgrp-low.
      PERFORM fill_prgrp_values.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prctr-low.
      PERFORM fill_prctr_values.
    =====
    The value the user picks for the first SELECT-OPTION will affect what values I put in the drop-down list for the second SELECT-OPTION. 
    If a user enters a value for the second SELECT-OPTION, and then goes back and changes the value of the first SELECT-OPTION, then I want to do two things:
    1.  Create a new set of values for the drop-down list for the second SELECT-OPTION (no problem; working fine);
    2.  Clear the displayed value from the second SELECT-OPTION that the user entered previously.  That value became invalid when the user picked a new value for the first SELECT-OPTION. 
    How do I clear that second displayed value? 
    I have tried CLEAR and REFRESH for the second variable using the formats s_prctr, s_prctr[], and s_prctr-low.  They will erase the values of the internal table or part(s) of it, but the displayed value stays on the screen. 
    I need to clear out the displayed value so the user will either leave it blank or enter or select a new value. 
    I am using F4IF_INT_TABLE_VALUE_REQUEST to build the drop-down lists, and it works fine, but I do not see any function module to clear the displayed value off the screen. 
    Thanks for your help.

    Sorry, but calling DYNP_VALUES_UPDATE did not work.  This is how I coded it. 
    fld_reset_rcd-fieldname  = 'S_PRCTR'.
      fld_reset_rcd-stepl      = sy-stepl.
      CLEAR fld_reset_rcd-fieldvalue.      "  re-initialize s_prctr
      CLEAR fld_reset_rcd-fieldinp.        "  what goes in here?
      APPEND fld_reset_rcd TO fld_reset_tbl.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname = 'ZFI_GL_BALANCE_NGL'
          dynumb = '1000'
        TABLES
          dynpfields = fld_reset_tbl
    <Added code tags>
    I have discovered that CLEAR and REFRESH of s_prctr will clear it somewhat.  If I enter multiple values, ranges, etc., they will all be cleared, EXCEPT for the one single value that is displayed on the main screen.  It is not cleared and it remains if you push the button to display the pop-up to enter ranges, etc. 
    To devrath.sampat  --  Thanks for your example for building the drop-down list, but that is not the problem I am having.  I am already able to build it just fine. 
    To repeat my problem, if I: 
    1.  first enter / select a value for the first SELECT-OPTION s_prgrp
    2.  then enter / select a value for the second SELECT-OPTION s_prctr
    3.  And finally go back and select a new value of the first SELECT-OPTION s_prgrp from its drop-down list,
         when I do, the program needs to clear the value displayed on the main screen for the second SELECT-OPTION s_prctr (any additional values, ranges, etc., are cleared by CLEAR and REFRESH, if I go look; but not the value shown on the main screen).
    Edited by: Scott Crosby on Feb 14, 2012 4:20 PM
    Edited by: Suhas Saha on Feb 15, 2012 12:03 PM

  • 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 there any option to display selection screen text in bold or big font?

    Hi all,
    Is there any option to display selection screen text in bold letters or with increase font size?
    Thanks n Regards

    Hi,
    Just give atry in this way..
    open the same program ans selection-screen screen no will be 1000 in se51 screen painter,
    go to properties of the texts u want to change then go to display tab and check the checkbox bright.
    it may or may not work but this will work in module pool .
    just give a try...
    Regards,
    Suresh.

  • Display Selected Options

    Scenario:
    Page 1: (Main movieclip on Frame 10)
    Has 5 buttons(movieclips).
    Movieclip - Has 3 states >> active, over, selected
    onRelease the user goes to the selected state of the movieclip and movieclip is disabled.
    User has to select any number of options and then proceed to the next page.
    Ex: User selects option 1,2 and 3.
    Question:
    How do I display in Page 2(Main movieclip on Frame 20) what options the user had clicked or selected?
    Please show the code for both Page 1 and Page 2.

    your terminology is confusing.
    there's one main timeline or movieclip.  that's the timeline you see when you create a new fla.
    you have some movieclip (you're calling Main) that's on frame 10 of the main timeline?

Maybe you are looking for