Selection screen PNPCE - hide som options

Hi group,
We have an infoset based on LDB PNPCE.  We create queries that we assign to transaction codes for end users.  So far so good.  However, in the selection screen, we would like to hide some options.
Output format.
Hide the expand button.  We want the user to be able to choose layout setting, but not to choose all the other options when you expand (like ABC-analysis).
Dynamic selection
We would like to hide this button as well.  But not as important.
Any suggestions appreciated.
Kirsten

Hi,
For the ALV output format control, you can look at standard auth. object S_ALV_LAYO. A value of 23 gives maintenance access within this and this controls whether you can change ALV options. Iu2019m not entirely sure though; please consult with your security team.
Maybe auth. object S_SCR for dynamic selection.
Hope this gives you a starting point.
Donnie

Similar Messages

  • Changing the selection screen based on the option in list box option

    Hi Experts,
    I have a list box parameter in my selection screen,
    i have four options and i am changing my selection screen based the option selected.
    see my code below,
    at selection-screen output.
      GS_VRM_VALUES-KEY = '1'.
      GS_VRM_VALUES-TEXT = TEXT-S02.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '2'.
      GS_VRM_VALUES-TEXT = TEXT-S03.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '3'.
      GS_VRM_VALUES-TEXT = TEXT-S04.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      GS_VRM_VALUES-KEY = '4'.
      GS_VRM_VALUES-TEXT = TEXT-S05.
      APPEND GS_VRM_VALUES TO GT_VRM_VALUES.
      CLEAR: GS_VRM_VALUES.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          ID                    = 'P_DROP'
          VALUES                = GT_VRM_VALUES
      EXCEPTIONS
        ID_ILLEGAL_NAME       = 1
        OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    LOOP AT SCREEN .
        CASE P_DROP .
          WHEN '1'.
            IF SCREEN-GROUP1 = 'M2' OR
              SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '2'.
            IF SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '3'.
            IF SCREEN-GROUP1 = 'M2' OR
                SCREEN-GROUP1 = 'M4' .
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN '4'.
            IF SCREEN-GROUP1 = 'M2' OR
            SCREEN-GROUP1 = 'M3'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
              screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
          WHEN OTHERS.
            IF SCREEN-GROUP1 = 'M2' OR
               SCREEN-GROUP1 = 'M3' OR SCREEN-GROUP1 = 'M4'.
              SCREEN-INPUT = 0.
             SCREEN-ACTIVE = 0.
          screen-invisible = 1.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.
    my problem is when i change the option in the list box, the particular modify group ie, the screen is getting changed only after i press enter, So please suggest me how i can change the screen without pressing enter.

    Hi,
    without using VRM_SET_VALUES...you just create one data element by going se11....create one domain for it...now give the values in the "value range" tab....and at the time of declaration just write ..
    PARAMETERS var1 TYPE <your created data element>
                        AS LISTBOX VISIBLE LENGTH 20
                        USER-COMMAND onli
                        DEFAULT <one value>.
    You will get the same effect as list box....and make it mandatory..
    Arunima

  • How to hide some variables on variables screen in web report (in WAD)

    I need to hide some optional variables (not all of them) on variables screen in web template.
    Hiding the whole selection screen is not an option, since users have to populate other variables and some variables are mandatory.
    Web template is based on a query that can be run in BEx Analyzer by superusers - and there they need all variables. I want to use the same query both in BEx Analyzer for superusers and on the Portal for regular users. For portal version though I need to hide some of the variables on the selection screen. Is it possible at all?
    I would like to avoid creating two separate queries - one for Analyzer and one for Portal.

    if the variables are optional and mandatory both avaialble
    then there is no chance that u can hide them
    the only option is to create a save as QUERY and remove those variable.
    it is not possible to just hide the variable screen...
    if u hv used they will be displayed....
    if u dont want it dont use it...
    and if really using another query is not advisable as u said
    the only thing i can say is that... try to interact with ur security person
    ask him u need to create several authorization objects for several variables
    if that is possible
    let him create those
    assign those specific authorization object to specific user id
    use it for specific variables u need
    tat way super users with specaial authorization can acess the same query and can see specific variables
    regular users withouts authorization of variables can see rest of variables.

  • Hide / Show a block in Selection screen

    Hi,
    How to hide or show a block in selection screen.
    Plz help.
    Regards,
    Sriram

    REPORT  ZTESTETSET.
    02.
    03."First we create the selection screen which contains 2 option
    04."buttons For show and hide.
    05.
    06. SELECTION-SCREEN BEGIN of BLOCK screen1 WITH FRAME TITLE title1.
    07.  PARAMETERS: Show RADIOBUTTON GROUP opt USER-COMMAND aaa DEFAULT 'X',
    08.              Hide RADIOBUTTON GROUP opt .
    09.  SELECTION-SCREEN END OF BLOCK screen1.
    10.
    11.  "This is the selection screen that we will hide and show
    12.  "based on the selected option button above
    13.
    14. SELECTION-SCREEN BEGIN of BLOCK screen2 WITH FRAME TITLE title2.
    15.      PARAMETER  CONNID like spfli-connid.
    16.  SELECTION-SCREEN END OF BLOCK screen2.
    17.
    18."We capture the selected option event using
    19."AT SELECTION-SCREEN OUTPUT to modify the screen
    20.
    21.   AT SELECTION-SCREEN OUTPUT.
    22.  PERFORM modify_screen.
    23.
    24.  START-OF-SELECTION.
    25.
    26."This is the sub program that will loop all the elements on
    27."the selection screen to identify which element we want to
    28."hide or show based on screen name.
    29.
    30.  FORM modify_screen .
    31.  LOOP AT SCREEN.
    32.    IF Show NE 'X'.
    33.      IF screen-name CS 'CONNID'.
    34.        screen-active = 0.
    35.        MODIFY SCREEN.
    36.      ENDIF.
    37.    ENDIF.
    38.  ENDLOOP.
    39.ENDFORM.
    40.
    41."Give the selection block a title.
    42.INITIALIZATION.
    43.
    44.title1 = 'Show/Hide Option'.
    45.title2 = 'Selection Screen'.
    Thanks
    anurag Srivastava

  • Exclude Option through Selection Screen

    We have BI2004s. This is the scenario
    1. Query has a selection screen one of the option is profit center
    2. When you click on to select values for input it comes with popup window. We can choose the value we want and say add. on the right hand side it would appear with = selected value.
    bold In BusinessExplorer we have an option to exclude this value but bring in every thing else by flip of a button. Is there any thing available through portal?
    By default our query is running with 0_BI_ANALYSIS_PATTERN. ( We are not using WAD). We are using the same query we have generated for Bex analyzer throguh portal via an iview.

    On the right had side where it is appearing as =, you can also see it as "include". You can change this to exclude the given selection. And if you have any fixed values to be excluded you can directly do that in the query designer.

  • F4 option in the selection screen

    Hi All,
    I have defined VBRK-VBELN as select-options with no range and no-extensoin in the selection screen.
    The F4 option for this field displays all the Billing Documents (VBELN) from VBRK table.
    Now i would like to modify the F4 option in such a way that the system should just display the Billing Documents (VBRK-VBELN) pertaining to a particular Distribution Channel (VBRK-VTWEG).
    How to make the modifications for such requirement?
    Kindly Help me.....
    Regards
    Pavan

    Hi Pavan
               you can create your own custom elementary search help thru se11 and assign it to the select-options. you can use a view to create this search help and in that view you need to restrict the vbeln based on ur distribution channel
    select-option: so_vbeln for vbak-vbeln matchcode object <Elm serch help name>.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm
    Award points if helpful

  • Selection Screen options for Tcode CRM_DNO_MONITOR - Transaction Monitor

    Hi all,
    I need information regarding the selection screen when i am executing the Tcode CRM_DNO_MONITOR.
    When i am executing CRM_DNO_MONITOR in the selection screec there are follwing options:
    Mine
    My Department
    My colleagues
    My Team(s)
    In the selection screen if choose "Mine" option am able to see the o/p and if i select any other options am not getting the o/p. So It would be great if any one explain what are these options for and how they are use full ?
    If i want to delete the unwanted selection criteria is that possible.
    Thank you in advance,
    Regards
    Vijay

    solved myself...!

  • Selection screen, dynamic enable and disable of blocks

    Hi,
    i have several parameters in different blocks.i want to enable one block and disable other blocks depending on the radio button selection. could some one help me on this.
    for eg.
    radiobutton1.  under this text entries for date, time etc.
    radiobutton 2. under this text entries for location from, location 2,phone etc.
    so, if i select radio button 1 all the remaining text entries under other radio buttons should be disabled. how to do this.
    your help would be appreciated.
    Thanks,
    kranthi.

    Hi Kranthi,
    I am not sure what you meant by disabling all the selection screen fields. Are you saying ALL the selection screen fields or all fields that don't belong to the selected radio-button.
    Anyway, here is a sample code how you manipulate the selection screen. The key options to use are 'modif id', 'at selection-screen output' and 'loop at screen'.
    *------------------------ Selection Screen ---------------------------*
    SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-000.
    PARAMETERS: p_rad1   RADIOBUTTON GROUP rad1 USER-COMMAND a DEFAULT 'X',
                p_rad2   RADIOBUTTON GROUP rad1,
                p_rad3   RADIOBUTTON GROUP rad1.
    *-- Selection Screen for radio button 1
    SELECTION-SCREEN BEGIN OF BLOCK rad1 WITH FRAME TITLE text-001.
    PARAMETERS:     p_date   LIKE sy-datum DEFAULT sy-datum MODIF ID one.
    SELECT-OPTIONS: s_uzeit  FOR  sy-uzeit MODIF ID one.
    SELECTION-SCREEN END OF BLOCK rad1.
    *-- Selection Screen for radio button 2
    SELECTION-SCREEN BEGIN OF BLOCK rad2 WITH FRAME TITLE text-002.
    PARAMETERS: p_werks   LIKE t001w-werks MODIF ID two.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(6) text-003 MODIF ID two.
    SELECTION-SCREEN POSITION 8.
    PARAMETERS: p_chk  AS CHECKBOX DEFAULT 'X' MODIF ID two.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK rad2.
    *-- Selection Screen for radio button 3
    SELECTION-SCREEN BEGIN OF BLOCK rad3 WITH FRAME TITLE text-004.
    PARAMETERS: p_matnr   LIKE mkal-matnr MODIF ID tri,
                p_verid LIKE mkal-verid MODIF ID tri.
    SELECTION-SCREEN END OF BLOCK rad3.
    SELECTION-SCREEN END OF BLOCK selscr.
    AT SELECTION-SCREEN OUTPUT.
      IF p_rad1 = 'X'.
        LOOP AT SCREEN.
          IF  screen-group1 = 'TWO' OR
              screen-group1 = 'TRI'.
            screen-input = 0.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF p_rad2 = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'ONE' OR
             screen-group1 = 'TRI'.
            screen-input = 0.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSEIF p_rad3 = 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'ONE' OR
             screen-group1 = 'TWO'.
            screen-input = 0.
            screen-invisible = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    If you want to hide all the, I mean all except the radio-buttons, then simply loop at screen and modify every entry except the radio-button entries to screen-active 0. Something like this.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'RAD1' OR
         SCREEN-NAME = 'RAD2 OR
         SCREEN-NAME = 'RAD3'.
      ELSE.
        SCREEN-ACTIVE = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    Srinivas

  • Logical database :-prevention of selection screen

    when i use logical database and i use the statment
    get DBTAB, i am prompted with a selection screen,is
    it possible to supress this selection screen and supply
    some value.

    I guess you mean to modify the screen layout during AT SELECTION-SCREEN OUTPUT via
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        screen-active = 0.
        MODIFY SCREEN.
      ENDLOOP.
    This does hides all screen elements but the screen is still displayed.

  • Screen enhancement to add input parameters to standard selection screen IE05

    Hello Experts,
    How can i enhance the IE05 selection screen to add some input parameters in the screen.
    Please refer the following screen to be done and please guide me for the same.

    Since i am adding a select option of type ekko-ebeln, i have to add a statement TABLE ekko.

  • Work Manager 6.0 Hide Menu Options

    Hi Community.
    we are trying to hide some options from Work Manager 6.0 menu. We know how to hide timesheets, but we need to hide work orders function (See Screenshoot). Anyone knows how to hide them without Agentry project modification? the specific requirements is to use work manager only for notifications. We want to keep the standard application.
    Thx All.

    Jason,
    Thx for your answer. I dont want to change the agentry work manager code, i mean about adding new rules or new logic. For example to hide the timesheets button we found a work around changing some parameters on ERP Config Panel without work manager code changing (See screen 1). Also you can see an existing rule on workmanager.
    Anyway if the only way is changing the work manager code, we will do it.

  • "Get Variants" button disabled after error message in AT SELECTION SCREEN

    Hi,
    In "AT SELECTION SCREEN" I throw an error message if certain criteria return no data. 
    After the error message is thrown, the button for choosing variants no longer appears to work.  I click it and the variant selection box doesn't come up.  It just changes the values that have been populated from red to black. 
    What is the code that remedies this?  If an error is thrown, it should allow you to select a variant still. 
    Thanks,
    Kevin

    "AT SELECTION SCREEN" is not an option here.  Let me clarify.
    In START-OF-SELECTION, I call another program with a SUBMIT statement.  That program uses a logical database.  So it makes no sense to move this to "AT SELECTION SCREEN".  Even when I did that, I still couldn't solve this problem. 
    If the SUBMIT statement returns no data (if sy-subrc = '4') then I need to go back to the initial screen.  I need to display some kind of message, of type I or E or S, I don't care. 
    It just needs to go back to the selection screen and VARIANTS need to WORK, and you need to be able to SAVE the variants.
    For some reason, if I get no data with the SUBMIT statement, I can display a message and get back to the selection screen but variants do not work.  I've tried EXIT, STOP, CALL SELECTION SCREEN 1000 (the only one in the program), END LIST-PROCESSING, etc.  NOTHING WORKS!

  • Setting default date range in selection screen when executing as batch job.

    Hi Guys,
    I have one report to be scheduled as weekly batch job and one of the selection screen field is date range. If i set this report to run today then the date range will be from one week back date(Lower value) to today date(Higher value). When it runs for next week(Already scheduled as weekly batch job) the date range should be like this
    Lower value = today date
    higher value= next week run date.
    How can i achieve this functionality. Is it possible through Dynamic variant concept?. Rest of the selection screen fields have some default values and should not change.
    <REMOVED BY MODERATOR>
    Thanks in advance,
    Vinod.
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:52 PM

    Hi Vinod,
    Would suggest you to this.
    Create two parameters : p_start_date and p_end_date of type sy-datum on your selection screen , instead of a range.
    Now goto create a variant from SE38 for the report.
    While creating the variant, mark the "Selection Variable" checkbox for the two parameters and click on "Selection Variables".
    Select the option "D: Dynamic date calculation" for both the date fields.
    For p_start_date - select the option "Current Date"
    For p_end_date  - select the option "Current date +/- ??? days" and put 7 in the pop up.
    Hence what you have done now is, set up a dynamic variant, where p_start_date will have sy-datum and p_end_date will have sy-datum + 7, everytime the job runs.
    Now, in the program, first step after START-OF-SELECTION code the following:
    RANGES: r_date FOR sy-datum.
    start-of-selection.
    refresh r_date.
    r_date-sign = 'I'. r_date-option = 'BT'.
    r_date-low = p_start_date. r_date-high = p_end_date.
    append r_date.
    Hence this way, you would have built your range and use it as needed.
    Cheers,
    Aditya

  • RFDOPR10 selection screen modifications

    Hi,
    I am attempting to modify the transaction S_ALR_87012178.  I have copied RFDOPR10 into ZRFDOPR10. 
    I need to modify the selection screen.  The problem I am encountering is that there are only some selection-screen elements in the report.  Where are the other ones coming from? IE. Customer selection through Line item selection. 
    The only elements that I can find in the report are Output Control and Further selections.

    Option 1:
    On the program attributes screen where the link to the logical database is, there is a field "Selection Screen" which for some logical databases gives you a choice of what selection screen the LDB will provide, perhaps even a blank one.
    Option 2:
    In some cases where a selection screen is set up by a logical database, there are options available in customizing through SPRO to control the layout of that selection screen.
    The one I am familiar with is logical database PNP for HR where the resulting selection screen can be changed significantly in HR customising.
    It may be that there are some similar options for the DDR selection screen - I suggest you check the relevant area of the IMG (SPRO), particularly any "Information System" customizing options.
    hope this is of some assistance.
    Andrew

  • Select table fields on selection screen

    I have a requirement, where I need to select the table fields dynamically from the selection screen and further I should give option to user to save selected fields as variant and display the final report with the selected fields as catalog.
    For EX: In the selection screen user have two options, one is to check the select fields option where all fields from KNA1 will display from that user will select few and he can save as variant. After execution the report output should display?
    Could you please guide me how to go ahead?
    Thanks,
    A Raghu.

    Hi Raghu,
    For your requirements, you have to define the all the select-options inyour code but at first display onlya few selected ones. Then you can give a button to the user to select the fields and depending on the selection you can hide/unhide the select-options.
    For e.g. you define the select-options on your screeen for all the fields of KNA1. But at first go, display only the customer. Now give a button to the user on the toolbar. When user clicks on the button, give a popup to the user displaying all the fields except customer and allow him to select them. Based on the selection of the user, you can hide/unhide the select-options for the remaining fields.
    Also, in this case your select query will be dynamic. The field list and the where clause have to be maintained in a string and then passed to the select statement.
    Try the functions: FREE_SELECTION_INIT, FREE_SELECTION_DIALOG and MASS_SEL_FIELDS_ENTERPRISE.
    Hope this helps,
    Regards,
    Himanshu

Maybe you are looking for