Select-options in sap

any one plz  tell me for what <b>SIGN</b> is used for in select-options .

Hi sai
This statement defines an internal table sel with a fixed structure which consists of the fields sel-SIGN, sel-OPTION, sel-LOW and sel-HIGH. While sel-SIGN and sel-OPTION have a fixed format (type character, length 1 and 2 respectively), sel-LOW and sel-HIGH inherit the type and length of their reference field f in variant 1.
... DEFAULT g ... OPTION op ... SIGN s
(xx is OPTION, i.e. one of the values EQ,NE,CP,NP,GE,LT,LE,GT); s is SIGN, i.e. one of the values I or E)
Effect
Similar to "... DEFAULT g", except that the system also proposes the specified selection option and SIGN.
You can specify the additions OPTION and SIGN in any order or omit them. The standard OPTION is EQ, the standard SIGN is I.
Example
DATA CITY(20).
SELECT-OPTIONS SO_CITY FOR CITY DEFAULT 'SAN*'
                                OPTION CP SIGN E.
On the selection screen, this results in an entry specifying that cities not beginning with "SAN" are selected.
Notes
The option op and SIGN s must be specified without quotation marks.
Addition 3
... DEFAULT g TO h
Effect
Proposes the range from g to h when the report is called.
Addition 4
... DEFAULT g TO h ... OPTION op ... SIGN s
(op is OPTION, that is, one of the values EQ,NE,CP,NP,GE,LT,LE,GT); s is SIGN, i.e. one of the values I or E).
Effect
Similar to "DEFAULT g TO h", except that the system proposes the specified selection option and SIGN.
You can specify the additions OPTION and SIGN in any order or omit them. The default OPTION is BT, the default SIGN is I.
Example
DATA WORD(20).
SELECT-OPTIONS SO_WORD FOR WORD DEFAULT 'SPRING' TO 'SUMMER'
                                OPTION NB SIGN I.
On the selection screen, this results in an entry specifying that the words between "SPRING" and "SUMMER" are excluded.
The option xx and SIGN s must be specified without quotation marks.
Reward all helpfull answers
Regards
Pavan

Similar Messages

  • Programming a select option in abap webdynpro

    Dear Gurus,
    I have used a select option in a specific webdynpro, but this select option does not
    enable the same functionalities as select option in SAP GUI.
    As an example, the possibility to upload a file or the clipboard in the multiple
    selection for individual value is not available.
    This is really a problem for my  customer.
    Any solution ?
    Thanks in advance.
    F.Alllut
    Moderator message : Post the question in Web Dynpro forum. Thread locked.
    Edited by: Vinod Kumar on Jul 11, 2011 7:00 PM

    check this code
    REPORT ZSELOPT_TO_CLASS .
    TABLES: VBRK.
    SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN.
    DATA: IT_VBELN TYPE RSELOPTION.
    DATA: X_VBELN TYPE RSDSSELOPT.
    CLASS C1 DEFINITION.
    PUBLIC SECTION.
    DATA: IT_VBRP TYPE VBRP_TAB,
          X_VBRP LIKE LINE OF IT_VBRP.
    METHODS: GET_DATA IMPORTING S_VBELN TYPE RSELOPTION.
    METHODS: DISP_DATA.
    ENDCLASS.
    CLASS C1 IMPLEMENTATION.
    METHOD GET_DATA.
      *SELECT * FROM VBRP*
       INTO TABLE IT_VBRP
       WHERE VBELN IN S_VBELN.
    ENDMETHOD.
    METHOD DISP_DATA.
      LOOP AT IT_VBRP INTO X_VBRP.
        WRITE:/ X_VBRP-VBELN,
                X_VBRP-POSNR.
      ENDLOOP.
    ENDMETHOD.
    ENDCLASS.
    START-OF-SELECTION.
    DATA OBJ TYPE REF TO ZCL_SELOPT.
    CREATE OBJECT OBJ.
    LOOP AT S_VBELN.
      MOVE S_VBELN-LOW TO X_VBELN-LOW.
      MOVE S_VBELN-HIGH TO X_VBELN-HIGH.
      MOVE S_VBELN-SIGN TO X_VBELN-SIGN.
      MOVE S_VBELN-OPTION TO X_VBELN-OPTION.
      APPEND X_VBELN TO IT_VBELN.
    ENDLOOP.
    CALL METHOD OBJ->GET_DATA
                        EXPORTING
                          S_VBELN = IT_VBELN.
    CALL METHOD OBJ->DISP_DATA.
    Edited by: moazam hai on May 17, 2008 6:17 AM
    Edited by: moazam hai on May 17, 2008 6:19 AM

  • Select-option variable length

    hi experts,
    i am using select-options in my report prg.
    i want to make its display length more than 8 characters since select-option variable can be upto 8 characters long.
    how can i achieve this?
    thanx in advance...
    Thanx & Regards,
    Viral Patel

    For technical limits on SELECT-OPTIONS read SAP documentation ([SELECT-OPTIONS|http://help.sap.com/abapdocu_70/en/ABAPSELECT-OPTIONS.htm])
    The name of the selection criterion selcrit is limited to a maximum of 8 characters. This statement is allowed in the global declaration part of executable programs, function groups, and module-pools. In function groups and module-pools it is only allowed within the definition of an independent selection screen. In executable programs it is otherwise automatically assigned to the standard selection screen.
    and
    Two input fields with the name selcrit-low and selcrit-high are created on the current selection screen using a matching external data type in a new line at positions 35 and 60. The length of the input fields bases upon the length of the data type which is defined after FOR. The maximum length of the input fields is 45. The maximum visible length of the input fields is, depending on the nesting depth, in blocks with frames between 10 and 18. If the length is larger than the maximum visible length, then the content is scrollable.
    So if your field (the field after the FOR option) is less than 8 character the visible length will be less than 8, you may use another field with 8 character, but you will have to map it to the correct field length (in AT SELECTION-SCREEN ON so, fill a TYPE RANGE internal table that you will use in following statements) you may also need to manage the search-help in your code (may work without problem if no conversion exit and character type field, else manage the AT SELECTION-SCREEN ON VALUE-REQUEST)
    Regards,
    Raymond

  • To add select-options to standard report program...

    Hi,
    How to add  a field as select-options to sap standard report program?
    Regards,
    sachin
    Moderator Message: Do some R&D on the topic first and ask a specific question, instead of a step-by-step process.
    Edited by: kishan P on Nov 25, 2010 5:40 PM

    Hi shiva,
    I have following doubts?
    1) exactly where should i add select-options of a field in enhancement point?
    and 2) where to keep the database extraction logic for the same select-options?

  • Selection screen for SAP Query: OR between options

    Hi,
    I have a SAP Query and I 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

    In abap you can do it, but not sure how you do it in query.
    if s_matnr[] is initial or s_werks[] is initial.
    Do something
    endif.

  • SELECT OPTION Control in SAP UI5

    Hi all,
    is there a select option control in SAP UI5. I didn't find any description on the description page !
    Thanks for information.
    Best regards,
    Christoph

    Hi,
    the value help dialog has the select option handling included :-)
    SAPUI5 Explored
    Thanks for help.
    Best regards,
    Christoph

  • Select-options in WEB UI View on SAP CRM7

    Hello,
    I wanted to know how to make a u2018select-optionu2019  on a view in Web UI on CRM7.
    Is there a standard BSP application that I can use in component usage for this?
    I need to have show only one value but for one field I may have several values filled like a multivalues in select-options as in Transaction SE16.
    I can't use an advanced search page because for some criteria I can have more 100 different values.
    Tank you for your response.

    Thank you Kiran for your response, but you misunderstand my question.
    In my process I can't use a ADVANCED SEARCH PAGE for these reason :
    - the display of fields depends on a value selected from a dropdown list on a first view
    - Some fields can contain multiple values ​​(value list) not a range value like Between, but i can't show all theses values in a view like in an ADVANCED SEARCH PAGE
    I need to know if exist a standard BSP application that can used in USAGE COMPONENT for my specific BSP application like a Popup to put several values and associate this value list to a field of my specific view.
    Regards.
    David Méloux

  • Re : select-options in abap objects

    Dear friends,
    I want to give select-options in abap-objects program. How to give that.
    Thanking You
    with regards,
    Mani

    HI Mani,
    It's common mix ABAP Procedural with ABAP Objects in the same program.
    You should use the same way used in ABAP procedural program as Marco Cerdelli sad.
    But inside ABAP OBJECTS classes you can't use is these statement type.
    Don't forget to close this thread and all yours previous when your question be answered ! In case of doubt read the [rules of engagement|https://forums.sdn.sap.com/].
    Best Regards.
    Marcelo Ramos

  • Does BOBJ support OR select statement against SAP BW

    Hello,
    We are looking at BOBJ for reporting against SAP BW, and I was wondering if BOBJ supports select OR statements and select AND statements in the same report.
    For example.
    We have three select parameters:
    Company Code
    Document Type
    Vendor
    The business would like to run the following select statements:
    Company Code = 1010 AND
    Document Type = WE OR
    Vendor = 123123
    or from the same query, run the report this way:
    Company Code = 1010 AND
    Document Type = WE AND
    Vendor = 123123
    Is this possible? If yes, what options do we have.

    Hi Bill,
    there are several options to achieve this:
    In the BI Query you have a parameter type that is called "selection option" which allows the end-user to create very complex selection.
    In Crystal Reports you can create your own filter / parameters but you would have to pay attention to make sure that the parameters are being send down to the server.
    in Web Intelligence / a Universe you could do the same like in CR.
    Ingo

  • Select Options, Report Painter

    How can I create "Select Options" for a variable in the "General Data Selection" of the report painter screen.
    Thank You.

    If you specify selection parameters for several years and periods in a
        Report Writer or Report Painter report, the characteristics year and
        period are taken into account independent of each other.
        A report with the selections:
               From-year   :    1997
               To-year     :    1999
               From-period :     003
               To-period   :     008
        will hence select all the following data:
                003/1997 .. 008/1997, 003/1998 .. 008/1998, 003/1999 .. 008/1999
         This is the standard behavior of Report Writer and Report Painter
         reports.
         However, reports which directly display the data for the period
                003/1997 .............................................  008/1999
         are required in some cases.
         You can achieve this in the report definition using the following
         procedure.
         Additional key words
         several years several periods GS274
         rolling periods, rolling
               SUPPORTGUIDE 20010330131459
         REPORTWRITER, SGRW_DOCU_CONS_NOTE,
         SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS
         Cause and prerequisites
         This is a standard behavior of the Report Writer.
         Solution
         A procedure is described below to implement the selection over a period
         of several years and periods. This is merely an example which should
         serve as a support for experienced users of the Report Painter and
         Report Writer when defining their own reports.
         1.  Definition of auxiliary column 1: 'All-periods'
             Period:   0  ...  17
             Year:      From-year .. To-year
             000/1997.....................................................017/1999
             Definition of auxiliary column 2: 'Periods before'
             Period:   0 ... From-period - 1
             Year:      From-year
             000/1997..002/1997
             Definition of auxiliary column 3: 'Periods after'
             Period:    To-period + 1 .. 17
             Year:      To-year
             009/1999..017/1999
             Definition of the formula column:
             Formula = 'All-periods' - 'Periods before' - 'Periods after'
             000/1997.....................................................017/199
             9
             000/1997..002/1997
             009/1999..017/1999
                                003/1997............... 008/1999
             Hide the three auxiliary columns. The formula column now correctly
             shows the required period
                                003/1997............... 008/1999
      Note:The new reporting table RWCOOM is also available as of Release 4.0
      for reports which were, up to now, defined in table CCSS. RWCOOM
      contains the characteristic FISCPER which represents a combination of
      year and period. You can directly define reports over several years and
      periods using characteristic FISCPER without having to follow the
      procedure described above.
      Please take into account that you cannot call reports via report
      Interfaces in the formula columns (see Note 98187).
      If you have any query, you may reach me
    Dr. Ravi Surya Subrahmanyam, PhD Finance,
    SAP FICO Consultant,
    Answerthink (India) Limited,
    Hyderabad. AP. India
    Phone : +91 9848550024
    Email : [email protected]

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

  • How to get the output format options of SAP QUERY

    Hi Gurus,
    I want to get the output options available for sapquery program.means when you execute the program "AQZZ/SAPQUERY/FDF1============" you will get output options like sap alv,display as table,wordprocessing  etc.
    i am not able to unsderstand the logic in that standard code.my requirement is after fetching the data from the database i want to provide the ouput options SAP ALV,DISPLAY AS TABLE,WORD PROCESSING,SPREAD SHEET,FILESTORE.
    I can output the data in SAP ALV and i can store the data.But i am not able to use the the remaining options in my program.please provide me solution.
    I am very much thankful to the people who can provide me the solution.

    Hi,
    If you have a query then go to transaction 'SQ01' . Then press the change button . Then u will able to see the Output Options.Their u can select the option what ever u want.

  • OnSelect event for a Drop down UI Element in Webdynpro ABAP Select Options

    Hi Experts
    We have built our UI based on the webdynpro ABAP Select Options. We have a requirement that, when we change the value of a drop down box in the UI, I need to hide some fields. Can anybody help me out in handling of OnSelect event of a drop down box built using webdynpro ABAP Select Options. We are on SAP Netweaver 7.0 EHP1.
    Rrgards,
    Srikanth.
    Edited by: Srikanth Kancherla on Apr 29, 2010 10:43 PM

    Hi Srikanth,
    as you seem to be already aware, the component is dynamically built.
    so you would have to enhance the code that builds the element and insert a reference to a new action (enhancement) that could handle the onSelect event.
    What is it about this that you particularly want help with?
    Cheers,
    Chris

  • How to change the valueswhich are entered in select-options

    Hi ,
    Iam passing Material Numner Vlaues through select-options.
    My requirement is i need to prefix and postfix star to the Material.
    For that i have written logic like below.
    LOOP AT S_MATNR.
    S_MATNR-SIGN = 'I'.
    S_MATNR-OPTION = 'EQ'.
    CONCATINATE  '' S_MATNR-LOW '' INTO S_OBJKY-LOW.
    APPEND S_OBJKY.
    ENDLOOP.
    What my problem is if user enters high low and high values how we can write the logic.

    >
    vinay raj wrote:
    > What my problem is if user enters high low and high values how we can write the logic.
    Hello Vinay,
    I suppose you want to prefix & postfix a '*' to allow for selecting data using patterns.
    Unfortunately you cannot use CP (read: patterns) if the HIGH value is not initial. read SAP documentation on SELECT-OPTIONS.
    BR,
    Suhas

  • Select option greyed out for fields of custom DataSource (rso2, rsa6)

    Hi
    Why are several fields, in my custom DataSource (created in rso2) not available for select?
    I do not think this is a permission issue, since several fields are selectable, but not all fields.
    It is not the data type, since I see other custom DataSources that have the same data type, and it is selectable as a select option.
    This is not a DataSource that was provided by SAP, it is completely custom, and uses a custom data definition (defined as a structure via se11), and a custom function.
    I have read the responses to similar questions, but have not found an answer that explains how to make the field selectable for select.
    What determines which fields can be selected for selection, and which fields have this option greyed out (not selectable)?
    I have come across multiple answers, for similar questions, that suggest an abap program to directly update table roosfield.
    Is this safe?
    IF I choose this route will I need to run the update program on production, or will the change it makes to my dataSource transport with my transport?
    (I can test this).
    What I most need to know is If this suggestion is safe, or if it has side effects?
    Thank you

    Hi Eileen,
    In Least case to enable the selection for the fields with the below program:
    Below code is for your reference which will use to unhide objects in RSO2 or RSA6 for Data source( in code for BELNR, KUNNR, VBELN, BUDAT fields are unhiding for 0fi_ar_4 data source selection option) . Still need any clarifications let me know.
    SE38: Create a program for ref below code.
    REPORT ZNP_SELE_DS.
    tables: ROOSFIELD.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND   OBJVERS = 'A' AND FIELD = 'BELNR'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'KUNNR'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'VBELN'.
    UPDATE ROOSFIELD SET SELECTION = 'P'
    WHERE OLTPSOURCE = '0FI_AR_4' AND OBJVERS = 'A' AND FIELD = 'BUDAT'.
    Thanks & Regards,
    Srinu.Rapolu

Maybe you are looking for

  • AppleID keeps getting disabled

    It's driving me rather crazy. My AppleID keeps coming up with an error, "This AppleID has been suspended for security reasons." I keep resetting the password at the iForgot webpage, and it works for a little while again, but then it comes up suspende

  • FERC Code of Conduct - Restricting access for employees

    hello - I am project lead for an effort to separate market and transmission data from certain employees in our company. I'm finding this to be a monumental task, since we have a large SAP implementation. FI/CO, MM, HR (postion-based security), Custom

  • Acrobat "forgets" about duplex mode

    I am using Acrobat X Pro on an Intel MacBookPro with OS 10.6.8. I have a networked HP ColorLaserJet 5550dn printer with duplex unit which works just fine in any other application. If I have a multi-page .pdf document I want to print from Acrobat (or,

  • Why am I unable to download Premiere?

    I'm having issues downloading Premiere because my Adobe Application Manager keeps quitting unexpectedly. Any solutions?

  • Not able to see new posts

    Hello everyone. This morning, I logged to Technet/Forum. However, I have noticed that the newest post is from 9 hours ago. It was weird, so I waited a couple of minutes and tried again, but nothing changed. Tried to choose Quick Access > My Forum Thr