Suppress selection

Hi fnds,
     I had one problem. In selection screen , I had one select option after clicking the range option it will display  include and exclude ranges ..the requirement is that the need only the include single selection and remaining should be suppress..
Can any one help me ..
Regards,
SunilY.

chk this
REPORT TESTREP.
* Include type pool SSCR
TYPE-POOLS SSCR.
* Define the object to be passed to the RESTRICTION parameter
DATA RESTRICT TYPE SSCR_RESTRICT.
* Auxiliary objects for filling RESTRICT
DATA OPT_LIST TYPE SSCR_OPT_LIST.
DATA ***      TYPE SSCR_***.
* Define the selection screen objects
* First block: 3 SELECT-OPTIONS
SELECTION-SCREEN BEGIN OF BLOCK BLOCK_0 WITH FRAME TITLE TEXT-BL0.
  SELECT-OPTIONS SEL_0_0 FOR SY-TVAR0.
  SELECT-OPTIONS SEL_0_1 FOR SY-TVAR1.
  SELECT-OPTIONS SEL_0_2 FOR SY-TVAR2.
  SELECT-OPTIONS SEL_0_3 FOR SY-TVAR3.
SELECTION-SCREEN END   OF BLOCK BLOCK_0.
* Second block: 2 SELECT-OPTIONS
SELECTION-SCREEN BEGIN OF BLOCK BLOCK_1 WITH FRAME TITLE TEXT-BL1.
  SELECT-OPTIONS SEL_1_0 FOR SY-SUBRC.
  SELECT-OPTIONS SEL_1_1 FOR SY-REPID.
SELECTION-SCREEN END   OF BLOCK BLOCK_1.
INITIALIZATION.
* Define the option list
* ALL: All options allowed
  MOVE 'ALL'        TO OPT_LIST-NAME.
  MOVE 'X' TO: OPT_LIST-OPTIONS-BT,
               OPT_LIST-OPTIONS-CP,
               OPT_LIST-OPTIONS-EQ,
               OPT_LIST-OPTIONS-GE,
               OPT_LIST-OPTIONS-GT,
               OPT_LIST-OPTIONS-LE,
               OPT_LIST-OPTIONS-LT,
               OPT_LIST-OPTIONS-NB,
               OPT_LIST-OPTIONS-NE,
               OPT_LIST-OPTIONS-NP.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* NOPATTERN: CP and NP not allowed
  CLEAR OPT_LIST.
  MOVE 'NOPATTERN'  TO OPT_LIST-NAME.
  MOVE 'X' TO: OPT_LIST-OPTIONS-BT,
               OPT_LIST-OPTIONS-EQ,
               OPT_LIST-OPTIONS-GE,
               OPT_LIST-OPTIONS-GT,
               OPT_LIST-OPTIONS-LE,
               OPT_LIST-OPTIONS-LT,
               OPT_LIST-OPTIONS-NB,
               OPT_LIST-OPTIONS-NE.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* NOINTERVLS: BT and NB not allowed
  CLEAR OPT_LIST.
  MOVE 'NOINTERVLS' TO OPT_LIST-NAME.
  MOVE 'X' TO: OPT_LIST-OPTIONS-CP,
               OPT_LIST-OPTIONS-EQ,
               OPT_LIST-OPTIONS-GE,
               OPT_LIST-OPTIONS-GT,
               OPT_LIST-OPTIONS-LE,
               OPT_LIST-OPTIONS-LT,
               OPT_LIST-OPTIONS-NE,
               OPT_LIST-OPTIONS-NP.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* EQ_AND_CP: only EQ and CP allowed
  CLEAR OPT_LIST.
  MOVE 'EQ_AND_CP'  TO OPT_LIST-NAME.
  MOVE 'X' TO: OPT_LIST-OPTIONS-CP,
               OPT_LIST-OPTIONS-EQ.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* JUST_EQ: Only EQ allowed
  CLEAR OPT_LIST.
  MOVE 'JUST_EQ' TO OPT_LIST-NAME.
  MOVE 'X' TO OPT_LIST-OPTIONS-EQ.
  APPEND OPT_LIST TO RESTRICT-OPT_LIST_TAB.
* Assign selection screen objects to option list and sign
* KIND = 'A': applies to all SELECT-OPTIONS
  MOVE: 'A'          TO ***-KIND,
        '*'          TO ***-SG_MAIN,
        'NOPATTERN'  TO ***-OP_MAIN,
        'NOINTERVLS' TO ***-OP_ADDY.
  APPEND *** TO RESTRICT-***_TAB.
* KIND = 'B': applies to all SELECT-OPTIONS in block BLOCK_0,
*             that is, SEL_0_0, SEL_0_1, SEL_0_2
  CLEAR ***.
  MOVE: 'B'          TO ***-KIND,
        'BLOCK_0'    TO ***-NAME,
        'I'          TO ***-SG_MAIN,
        '*'          TO ***-SG_ADDY,
        'NOINTERVLS' TO ***-OP_MAIN.
  APPEND *** TO RESTRICT-***_TAB.
* KIND = 'S': applies to SELECT-OPTION SEL-0-2
  CLEAR ***.
  MOVE: 'S'          TO ***-KIND,
        'SEL_0_2'    TO ***-NAME,
        'I'          TO ***-SG_MAIN,
        '*'          TO ***-SG_ADDY,
        'EQ_AND_CP'  TO ***-OP_MAIN,
        'ALL'        TO ***-OP_ADDY.
  APPEND *** TO RESTRICT-***_TAB.
* KIND = 'S': Applies to SELECT-OPTION SEL_0_3
  CLEAR ***.
  MOVE: 'S'        TO ***-KIND,
        'SEL_0_3'  TO ***-NAME,
        'I'        TO ***-SG_MAIN,
        'N'        TO ***-SG_ADDY,
        'JUST_EQ'  TO ***-OP_MAIN.
  APPEND *** TO RESTRICT-***_TAB.
* Call function module
  CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
       EXPORTING
             RESTRICTION                = RESTRICT
*           DB                          = ' '
       EXCEPTIONS
             TOO_LATE                   = 1
             REPEATED                   = 2
             NOT_DURING_SUBMIT          = 3
            DB_CALL_AFTER_REPORT_CALL  = 4
            SELOPT_WITHOUT_OPTIONS     = 5
             SELOPT_WITHOUT_SIGNS       = 6
             INVALID_SIGN               = 7
            REPORT_CALL_AFTER_DB_ERROR = 8
              EMPTY_OPTION_LIST          = 9
             INVALID_KIND               = 10
             REPEATED_KIND_A            = 11
             OTHERS                     = 12.
* Exception handling
  IF SY-SUBRC NE 0.
  ENDIF.
pls reward points if helpful and close the thread if solved
Message was edited by: Sekhar

Similar Messages

  • Suppress "Select expand mode" pop up

    Hi,
    When i use "MNU_ETOOLS_EXPAND" for expansion of Input schedule, i am getting pop up "Select Expand mode", Is there any way i can suppress this message? Please let me know.
    Thanks,
    Ramanathan

    Hi Bengt,
    Thank you for your response. I feel rather silly but on reading the manual carefully - something I confess to being remiss about until I need to! Anyway, I learned that I was using the wrong cable (USB) and I need a DV cable to connect to the computer with - not one I'm familiar with as my previous camcorder connected to my computer with a firewire cable.
    Once I have that, hopefully iMovie will recognize the device but if not, I will follow the steps you suggested. Will let you know.
    Thanks again - Verna

  • Suppress "Select Image" Dialog in Image Field

    Hi everybody,
    does anybody know how to suppress the "Select Image" dialog when clicking an image field? I want to use an image as a button, but everytime I click it this dialog appears first before executing the script of the click event.
    Or do you have other ideas how to use an image as a button?
    Thanks & best regards,
    Matthias

    Images as buttons are not supported in Adobe.
    For a workaround check Juergen's reply here --> Adding Image in Button.
    Chintan

  • Suppress select audio frequency

    I have an old cassette tape-recording, recorded from the BBC radio.  I have recorded it in garageband, but the original recording had a high-pitched whistle, caused, I think, by noise from a nearby TV.  Many people would remember that annoying whistle that we used to get on radio from local TVs. Does anyone know what that frequency is, and how I could supress it in GB?  The visual EQ window only seems to allow adjustment of a broad band of frequenies.  Thanks, Keith

    Hi isteveus, thank you for this informqtion.  How do I access AUGraphic EQ please?  I think your estimate of the frequency is about right, as to me it is high-pitch, but still audible.  As I am now 70 I doubt if I can still hear any higher sounds - not like the 22 kHz of my youth!  Keith

  • SSRS 2012: How to get a "Select All" that returns NULL instead of an actual list of all values from a multi-select parameter?

    I have a multi-select parameter that can have a list of thousands of entries. In general, the user will pick a few entries from the list or "Select All". If they check "Select All", I would much prefer that I get a NULL or an empty string
    instead of a list of all values. Is there any way to do that?
    In experimenting with a work-around, I tried putting an "All" label with a null value in the list, but it is ignored (does not display in the drop-down). If I use an empty string for the value, my "All" entry does get displayed, but so
    does "Select All", which is confusing. Is there a way to suppress "Select All"?
    - Mark

    I adapted the following from a workaround posted by JNeo on 4/16/2010 at 11:14 AM at
    http://connect.microsoft.com/SQLServer/feedback/details/249227/multi-value-select-all-parameter-in-reporting-services
    To get a null value instead of the full list of all values when "Select All" is chosen:
    1) Add a multi-value parameter "MyParam" that lists the values to choose.
    2) Add a DataSet "ParamCount" identical to the one used by "MyParam", except that it returns a single column named [Count] that is a COUNT(*) of the same data
    3) Add a parameter "MyParamCount", set it to hidden and internal, then set the default value to 'Get values from a query', choosing "ParamCount" for the Dataset and the one [Count] column for the Value field.
    4) Change the parameter for the main report DataSet so that instead of using [@MyParam], it uses this expression:
    =IIF(Parameters!MyParam.Count =
    Parameters!ParamCount.Value, Nothing, Join(Parameters!MyParam.Value, ","))

  • How to insert Blank rows while Zero Suppression is Activated?

    I am using BI 2004s and have applied zero suppression to a query I have built, how ever this removes the blank rows I am using to format the report. Any ideas on how I could get the blank rows to remain whilst removing zero value rows?
    Thanks
    Stu

    in zero suppression, select active(All values = 0)
    *reward if helpful*

  • Disable Multiple Row Selection in REUSE_ALV_GRID_DISPLAY

    How can I disable multiple rows from being selected in an ALV grid that is created using REUSE_ALV_GRID_DISPLAY?
    I do not see a selection mode option in the Layout for this Func Mods

    Hi John,
    You can use NO_ROWMARK of layout structrue in REUSE_ALV_GRID_DISPLAY_LVC instead. It's still SLIS type-pools in use, though.
    Check [Vijay's bottom most post|Is it possible to color a text in ALV GRID; how to use this fm.
    Regards
    Marcin
    PS: Sorry I mixed it up. I thought you want to suppress selection at all. For your request therefore SEL_MODE = 'B' of layout strcuture is what you need. Above fm still applies.
    Edited by: Marcin Pciak on Jul 30, 2009 11:16 PM

  • How to get one value from multiple duplication for a key figure field

    Hi expert,
          I have a infoprovider, with following format:
            employee     hourly_rate   action_type  count of action
         there are multiple rows for each employee, I want to create query as follows:
            employee     hourly_rate   action_type  count of action
         in which hourly_rate is constant , only retriving one value from multiple rows for one employee, count of action should be summarized. 
    how to get this hourly_rate.
    Many Thanks,

    Hi,
    put the employee in rows panel -> reaming object put it in free char panel.
    suppress the all result rows for the all object except employee .
    select the object -> go to query properties -> select display tab -> select result rows -> select suppress.
    select the employee -> go to query properties -> select display tab -> select result rows -> select always display. - now it will give employee wise hourly rate summarize data.
    Thanks,
    Phani.

  • Creation of order information profile for COID Transaction

    Hi PP Friends,
    Could anybody tell me the procedure to creation a Order iformation profile to use in COID tranaction, I need to create a profile for the object Material.
    I have created but not showing in drop dowin of COID transaction. It look I missed some where.
    Pl give me the solution for my issue of any body knows.
    regards,
    Purna

    You can use transaction COISN
    (Following taken from IDES help )
    Define Profile for Order Information System
         In this step you can define overall profiles for the order information
         system.
         The overall profile controls
         o   what information is displayed in the order information system
         o   the layout of the information.
         An overall profile contains a number of individual profiles. Each
         individual profile contains parameters for the object overview list and
         the object detail list.
         In the overall profile you define the following:
         o   which objects are to be read from the database
         o   which objects are to be displayed in the list
         o   up to which object the objects are to be expanded in the overview.
         Activities
         Define which objects you want to display in the object overview.
    Using Production Order Information System Profiles
    The objects selected and the layout of the screen can be determined by an overall profile defined in the initial screen of the production order information system. The overall profile embodies various subordinated single profiles.
    An overall profile can be assigned the following specifications:
    u2022 A variant which can be used to suppress selection criteria
    u2022 Which objects to read from the database
    u2022 Which of these objects are to be displayed in the list
    u2022 The object up to which objects are to be expanded on the object overview
    u2022 Single profiles for all objects
    A single profile is made up of sets of parameters. The first set of parameters applies to both the object overview and the object detail list. The other sets of parameters are subprofiles that apply only to the object detail lists. A profile controls the following aspects of the information system display:
    u2022 Fields displayed in both object overview and object detail list
    u2022 Subprofile defining the fields to be displayed in the object detail list
    u2022 Specifications on how the list is formatted with respect to column width, field grouping,
       format of the values displayed
    u2022 Sort criteria
    u2022 Subprofile sort specification for the object detail list
    u2022 Grouping criteria
    u2022 Subprofile field grouping for the object detail list
    u2022 User filters
    u2022 Filter criteria to be used for selecting objectsu2014defined as a report variant for each set
    of criteria
    u2022 Status filtersu2014objects that are status controlled can be filtered according to a selection
    profile

  • Sort Columns in Hyperion Financial Reporting

    Hello Experts,
    Am a rookie in Hyperion Financial Reporting. I need to know how to carry out the following actions while developing the reports.
    1) I have a column where i have specified a range on time dimension for the data to be displayed for the last twelve months. How to arrange the columns in an ascending order during view time when all the columns within the range are displayed in the report?
    2) I have a column where i have specified a range on time dimension for the data to be displayed for the last twelve months. How to suppress selected columns within the range.

    Hi,
    probably there should not be any need of using substitution variable.
    Use following functions: (assume you selected "Mar2008" )
    Range from Apr2007 to Mar 2008
    Now you have to derive the underline values.
    Apr2007 ---> Use "Relative Member" function and offset the Current User POV by -12.
    Mar2008 ----> Current User POV.
    This way you will always get the last 12 months.
    Hopefully this will solve your problem.
    Regards,
    rahul

  • What is the use varients in sap?

    what is the use varients in sap?

    Hi Prashanth, this will clear ur doubt.
    You can create any number of selection sets (variants) for a program. The variants are allocated to the program uniquely.
    Creating variants makes sense when you frequently start a program with the same selection default values.
    You can mark Start with variants in the program attributes. Users (system, services, reporting) can then start the program only with a variant.
    If the program uses several selection screens, you can choose to create a variant for all the selection screens or individually for each selection screen.
    Naming conventions and transporting variants
    "SAP&xxx" are supplied by SAP
    "CUS&xxx" are created by customers (in client 000)
    Variants that follow these naming conventions are client-independent and will automatically be transported along with the report. If these naming conventions are not followed, an entry for a request (task) must be added to the object list: LIMU VARI .
    You have to assign a name and a description to each variant. By default, variants are available for both online and background processing. You can also define a variant exclusively for use with background processing.
    You can protect the variant itself and the individual selection criteria and parameters against unauthorized changes. If you select Display only in catalog, this variant will not be displayed in the general value help (F4).
    The type of a selection is determined in its declaration: Type s for SELECT-OPTIONS, type p for PARAMETERS. If you select Selections protected, then the field(s) will not be ready for input. You can use the hide attribute to suppress selection criteria and parameters on the screen, if required, resulting in a less cluttered selection screen.
    When you use selection variables, there are three basic ways of supplying your selections with values at runtime:
    From table TVARV (type T)
    Date fields using dynamic date calculation (type D), such as today's date
    User-specific variables (type B); Prerequisite: The selection must be declared with the MEMORY ID addition.
    kindly reward if found helpful.
    cheers,
    Hema.

  • To suppress certain fields based on radiobutton selection

    hi experts,
    I am having the requirement that on selection of presentation server(radio button) i need to suppress some fields like file path and name in application server(radio button) which are mandatory when application server is selected.
    Now my problem is if I leave the fields in application server blank and select presentation server then it is asking to fill in all required fields.
    Here is the code i am using:
    Selection Screen                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t08.
    *FOR APPLICATION SERVER FILE
    PARAMETERS: po_appln RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND upload,
                po_ipath TYPE filepath-pathintern  OBLIGATORY MODIF ID app,
                po_ifile TYPE rlgrap-filename       OBLIGATORY MODIF ID app.
    SELECTION-SCREEN SKIP 1.
    *FOR PRESENTATION SERVER FILE
    PARAMETERS: po_dsktp RADIOBUTTON GROUP rad1,
                po_dfile TYPE rlgrap-filename     OBLIGATORY MODIF ID prn.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN OUTPUT.
      PERFORM modify_screen.
    form MODIFY_SCREEN .
    *When application server radio button is checked
      LOOP AT SCREEN.
        IF po_appln EQ  'X' AND screen-group1 EQ 'PRN'.
          screen-output = '0'.
          screen-active = '0'.
          screen-input  = '0'.
        ENDIF.
        IF po_appln EQ  'X' AND screen-group1 EQ 'APP'.
          screen-input  = '1'.
        ENDIF.
    *When presentation server radio button is checked
        IF po_dsktp EQ 'X' AND screen-group1 EQ 'APP'.
          screen-output = '0'.
          screen-active = '0'.
          screen-input  = '0'.
        ENDIF.
        IF po_dsktp EQ 'X' AND screen-group1 EQ 'PRN'.
          screen-input  = '1'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    endform.         
    Can some one please help me

    Hi,
    Remove the obligatory extension in the selection-screen. Then the mandatory check will not be done when you select the radio-button.
    To handle the mandatory check of the path and file, do the checking in the event 'AT SELECTION-SCREEN'
    if sscrfields-ucomm = 'ONLI'. (Declare TABLES: SSCRFIELDS in the data declarations)
    if ipath is initial.
    message E001(z...)  with 'Please enter a file path'.
    endif.
    Regards,
    Vidya Chowdhary A.

  • Can the EXECUTE button on a selection screen suppressed?

    Can we suppress the EXECUTE button on the selection screen?

    Hi
    The flowlogic Keyword at EXIT-COMMAND is a special addition to the MODULE statement in the Flow Logic .AT EXIT-COMMAND  you can call a module before the system executes the automatic fields checks.
    u2018SUPPRESS DIALOGu2019 command allows to perform screen processing u201Cin the backgroundu201D. Suppresing screens is useful when we are branching to list-mode from a transaction dialog step.

  • Webi: unwanted zero rows suppression on BEx selection structure

    Hello,
    I have a Webi report/universe based on a BEx query having 2 structures: keyfigures in columns, characteristics selection structure in rows. We are still using BO XI 3.1 SP1.
    Now: the webi report suppresses the zero rows of the char structure, but we do not want that. in the bex query, there is no active zero rows suppression.
    I read in a similar thread about the opposite and that it will be fixed with XI 3.1 SP3:
    Re: Zero Rows suppression is not working in Webi report.
    Question: does anyone know, if "my" case is also solved by SP3? or anyone knows a workaround?
    Unfortunately the PDFs XI31_SP3_Fixed_Issues_1of2.pdf and XI31_SP3_Fixed_Issues_2of2.pdf of SAP note 1457545 contain no information about this point.
    Thanks and regards,
    Phil

    Hi Ingo,
    thanks for the workaround tip!
    In BEx query I tried with a calculated keyfigure set to "1" and alternatively with a restricted keyfigure set to "constant selection". Unfortunately, both did not work, the webi report was clocking long after the bex process was finished in BW.
    Then I got error WIS 30284 ( universe connection corrupt) and 30285 (no free memory). But maybe we just have an issue with webi server performance.
    anyway, thanks!
    Best regards,
    Phil
    Edited by: Phil on Jun 23, 2010 10:42 AM

  • Multiple selection button is suppressed

    Hi SAP Gurus, Multiple selection button is suppressed for many t codes..what could be the reason for this issue? for ex:- article selection in mm43, me5a, etc. Attached the screenshot

    Hi everyone,
    The issue is resolved....
    Help-->Settings-->F4 help-->Display-->choose option "Dialog"

Maybe you are looking for

  • How to import  text file to database 9i

    Hello friends. I need them to help me with problem. I have a file of separate text had called DEFA.TXT, located in the c:\, and I need to care him to the database. thank you Alexis Naranjo

  • Transfering Game data Ipod Touch - Iphone

    Is there any way to transfer game data from ipod touch 3g? (2009 release) to iPhone 4? I dont want to complete angry birds and cut the rope again as i already have on my ipod which i now rarly use due to having an iphone, and new levels are now avail

  • AVCHD 5.1 to Stereo Sound Issue on Panasonic SD1

    When I log and Transfer in FCP 6.0.1 The video turns out fine, but the Audio the right channel is WAY louder then the left channel after conversion. Other conversion programs do not seem to have this issue. Can anyone help? I am very stuck Also shoul

  • Query with condities

    Hi Iu2019ll try to make a query to get a material number with the price (condition). I use the tables KONP and A304, but I get no results. In table KONP Iu2019ve the condition record number and the amount; in table A304 Iu2019ve the condition record

  • Throwing jbo exception from AppModule class

    If a JBO exception does not appear on the JSF page when thrown from the AppModule class, what are some things that should be checked?