Hide Selection screen

Hi,
Can anyone explain me how to hide the selection screen in SAP MSS for reports under reporting workset.
Thanks,
Usha

You should have a variant defined ie a default one
also check the iview properties also

Similar Messages

  • Hide selection screen  in BDC

    Hi Experts,
    i created a bdc for VA01 transaction. i use include bdcrecx1 in my code every time while i run the prog it shows a selection screen to select generate session or call transaction methode, but i want to hide that screen for user by automatically selecting call transaction radio button with processing mode 'N' and update mode 'A'
    can anyone explain with sample code...

    Hi arun ,
    please close this duplicate entry.
    Regards
    prabhu

  • HOW TO HIDE SELECTION SCREEN

    HI ALL,
      I HAVE TWO SEPARATE SELECTION SCREEN IN MY PROGRAM,ONE OF MY OWN GENERATED AND OTHER ONE IS SELF GENERATED SCREEN OF THE BDC.
      NOW I WANT TO HIDE THE SELECTION SCREEN FOR THE BDC. HOW CAN I GO FOR IT.
    THANKS AND REGARDS,
    SUGEET.

    Hi again,
    1. ur requirement is NOT USING bdcrecX1 SCREEN.
      I suppose u are using CALL TRANSACTION for this.
    2. so what we should do (i also did the same)
    3.  just  declare important variables
       in your program at the top.
    DATA:   bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
          error session opened (' ' or 'X')
    4. and copy the routines FORM (from bdcrecx1)
       just like :
           Start new transaction according to parameters                 *
    FORM bdc_transaction
    tables bdcmsg structure yhrs_bdcmsg
    USING tcode  p_param1 p_param2 showflag.
      DATA: l_mstring(480).
      REFRESH messtab.
      clear bdcmsg.
      refresh bdcmsg.
      CALL TRANSACTION tcode USING bdcdata
                       MODE   ctumode
                       UPDATE 'S'
                       MESSAGES INTO messtab.
      LOOP AT messtab.
        SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
                                  AND   arbgb = messtab-msgid
                                  AND   msgnr = messtab-msgnr.
        IF sy-subrc = 0.
          l_mstring = t100-text.
          IF l_mstring CS '&1'.
            REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
            REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
            REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
            REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
          ELSE.
            REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
          ENDIF.
          CONDENSE l_mstring.
          IF showflag = 'X'.
           WRITE: / messtab-msgtyp, p_param1, p_param2, l_mstring.
          endif.
            move-corresponding messtab to bdcmsg.
            bdcmsg-mstr1 = l_mstring.
            append bdcmsg.
        ELSE.
          IF showflag = 'X'.
           WRITE: / messtab.
          endif.
            move-corresponding messtab to bdcmsg.
            bdcmsg-mstr1 = l_mstring.
            append bdcmsg.
          ENDIF.
      ENDLOOP.
      SKIP.
      REFRESH bdcdata.
    ENDFORM.                    "BDC_TRANSACTION
           Start new screen                                              *
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD
    5. Make all this in your own Z Include.
    6. I have used this approach and it works fantastic.
    regards,
    amit m.

  • Hide selection screen option on the base of Transaction code

    Hi ,
    i have created one report with two diffrenet transaction code .
    now we have two different selection  options on the base of Transaction code.
    how can i do coding for this .
    anyone has any sample code ..
    thanks,
    Jack

    Thanks Subramanian,
    INITIALIZATION.
    if sy-tcode = tcd1.
    perform first_selection_screen.
    elseif sy-tcode = tcd2.
    perform second_selection_screen.
    endif.
    FORM first_selection_screen..
    SELECTION-SCREEN BEGIN OF BLOCK s1 WITH FRAME TITLE text-s02.
    SELECT-OPTIONS: s_date  FOR  vbrk-fkdat.
    SELECT-OPTIONS: s_kunag  FOR  vbrk-kunag.
    SELECTION-SCREEN END OF BLOCK s1.
    ENDFORM.
    But in this perform if i write code for selection-screen then it gives me syntax error.
    error message: within form or function module, selection-screen option is not allowed.
    Thanks,
    Jack

  • Hide Selection Screen in OVS?

    Is it possible?  I've defaulted the values in phase 1 - but I would like to skip straight to the selection list rather than having the user click "search."  I can't see a way to do it, unless I custom program a value help.  That's not really worth the effort at this point.
    Thanks in advance.
    -Bryan

    That is exactly what I was looking for. 
    I guess I need to read the comments of the generated code a little closer - it was right there!
    Thank you!

  • How to hide a selection screen comment ?

    Hi Experts,
    I have an issue in Interactive report...
    I know by using  LOOP AT SCREEN we can modify screen elements like HIDE ... in the AT SELECTION-SCREEN OUTPUT event
    But my question is i need to HIDE Selection screen comment also...I can this be achieved....???
    Please do reply me with a solution...
    Thanks in Advance...
    Reddy Arun

    Hi Reddy,
                  Please go through below code..
    it will fulfill ur requirements
    REPORT 123.
      PARAMETERS : RB_USER  RADIOBUTTON GROUP za .
    PARAMETERS :  RB_MAN   RADIOBUTTON GROUP za .
    PARAMETERS :  RB_MAN1   RADIOBUTTON GROUP za DEFAULT 'X'.
    AT SELECTION-SCREEN OUTPUT.
       PERFORM f13000_check_radio.
    FORM f13000_check_radio.
         IF rb_man1 = ''.
    LOOP AT SCREEN.
         IF screen-NAME = 'RB_MAN'.
           IF rb_man  = 'X'.
             screen-active = 0.
             rb_man  = ''.
           ELSE.
             screen-active = 1.
           ENDIF.
           MODIFY SCREEN.
         ENDIF.
         IF screen-NAME = 'RB_USER'.
           IF rb_user = 'X'.
             screen-active = 0.
             RB_USER = ''.
           ELSE.
             screen-active = 1.
           ENDIF.
           MODIFY SCREEN.
         ENDIF.
    ENDLOOP.
         ELSE.
           LOOP AT SCREEN.
         IF screen-NAME = 'RB_USER'.
             screen-active = 1.
                MODIFY SCREEN.
         ENDIF.
       IF screen-NAME = 'RB_MAN'.
             screen-active = 1.
           MODIFY SCREEN.
         ENDIF.
       ENDLOOP.
    ENDIF.
    ENDFORM.           " f13000_check_radio

  • Dynamic creation of selection screen by using POWL-Personal Object Work Lis

    Hi Expert,
    I am using POWL to display Report.For that there is one selection screen and once the user press enter a report will display.
    In this case i am desiging the selection screen but not able to Hide/Display fields on the basis of user action on the selection screen input/Drop down selection.
    Can u plz tell me how i can handle redesigning of selestion screeen depending on user interaction.
    Thanks
    Mahesh

    Hi,
    I want to hide selection screen field depending on the user action on the drop down.
    Also there is a check box in the selection screen,if the user check that check box then 2 fields in ALV will not display otherwise it will display.
    Thanks

  • Problem while hide a block on selection screen on button press

    Hi,
    I have added two buttons on the application toolbar of the selection screen. I have input fields under two blocks on the selection-screen. Initially the second block is hidden. If I press the button 1 the second block should be made visible.
    For this to happen, I captured the button 1 click event using the following statement.
    IF sscrfields-ucomm = 'FC01'.
    Inside the if ... endif, I looped at the screen and made the second block visible. It was working fine.
    loop at screen.
      if screen-group4 = '013'.
         screen-invisible = 1.
         screen-active    = 0.
      endif.
    endloop.
    Later the second button was added. Now when i run the report for the first time, if button 2 is clicked the hidden block appears on the selection screen even though i have not added any code for it.
    Just to check, i commented the logic to display the hidden block on button 1 click event. Even without any code the first time i press any of the two buttons added on the application toolbar the hidden block is displayed.
    I saved a variant for the report.
    During execution of the report, if i select any variant then the hidden block is displayed.
    Can anyone please tell me how to fix this problem.
    Regards,
    T2.

    Hi All,
    The problem is solved.
    Everyone was confusing between the pushbutton on the selectio-screen and on apllication toolbar
    (where you have the execute icon).
    Please find the code below. Thanks for you time and help. I appreciate it.
    REPORT ztest.
    INCLUDE <icon>.
    *  TABLES                                                              *
    TABLES: t001,              " Company Codes
            lfa1,              " Vendor Master (General Section)
            sscrfields.        " Fields on selection screens
    * To capture button press event.
    DATA: gv_button_press       TYPE c.
    * Menu Painter: Program interface for dynamic texts
    DATA: gs_dyntxt             TYPE smp_dyntxt.
    *  SELECTION SCREEN                                                    *
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-s01.
    * Company Code.
    SELECTION-SCREEN BEGIN OF BLOCK ccode WITH FRAME TITLE text-s02.
    SELECT-OPTIONS: s_bukrs FOR t001-bukrs OBLIGATORY MEMORY ID buk.
    SELECTION-SCREEN END OF BLOCK ccode.
    SELECTION-SCREEN END OF BLOCK blk1.
    SELECTION-SCREEN BEGIN OF BLOCK dsel WITH FRAME TITLE text-s04.
    * Vendor Master.
    SELECTION-SCREEN BEGIN OF BLOCK vend WITH FRAME TITLE text-s07.
    SELECT-OPTIONS: s_konzs FOR lfa1-konzs MODIF ID aw1.
    SELECT-OPTIONS: s_txcd1 FOR lfa1-stcd1 MODIF ID aw1.
    SELECT-OPTIONS: s_txcd2 FOR lfa1-stcd2 MODIF ID aw1.
    SELECTION-SCREEN END OF BLOCK vend.
    SELECTION-SCREEN END OF BLOCK dsel.
    * INITIALIZATION                                                       *
    INITIALIZATION.
    * Populate the Application toolbar button attributes.
      PERFORM populate_app_toolbar_buttons.
    * Hide the dynamic screen intially.
      PERFORM hide_screenfields.
    * AT SELECTION SCREEN                                                  *
    AT SELECTION-SCREEN.
    * Capture the button press event.
      PERFORM capture_button_press.
    * AT SELECTION-SCREEN OUTPUT.                                          *
    AT SELECTION-SCREEN OUTPUT.
    * Show/Hide the dynamic selection screen based on button press.
      PERFORM adapt_screen.
    *&  Form  populate_app_toolbar_buttons                                 *
    *   Display Icon on the application toolbar buttons. Also set the      *
    *   function codes for these buttons.                                  *
    FORM populate_app_toolbar_buttons.
      CLEAR gs_dyntxt.
      WRITE icon_fencing     TO gs_dyntxt-icon_id AS ICON.
      MOVE  text-b01         TO gs_dyntxt-quickinfo.   " Dynamic Selections
      MOVE gs_dyntxt         TO sscrfields-functxt_01.
    ENDFORM.                    " populate_app_toolbar_buttons
    *&  Form  hide_screenfields                                            *
    *   Initially hide the Dynamic selection screen.                       *
    FORM hide_screenfields.
      LOOP AT SCREEN.
        IF screen-group1 = 'AW1'.
          screen-invisible = '1'.
          screen-active    = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " hide_screenfields
    *&  Form  capture_button_press                                         *
    *   Set the flag based on button press event. Appication bar button    *
    *   tcode is available only at 'At Selection-screen' event.            *
    *   Use the captured data at 'At Selection-screen Output' event.       *
    *   Screen adjustments is possible only under this event.              *
    FORM capture_button_press.
      IF sscrfields-ucomm = 'FC01'.
        IF gv_button_press IS INITIAL.
          gv_button_press = 'X'.
        ELSEIF gv_button_press EQ 'X'.
          CLEAR gv_button_press.
        ENDIF.
      ENDIF.
    ENDFORM.                    " capture_button_press
    *&  Form  adapt_screen                                                 *
    *   Show/Hide the dynamic selection screen based on button press       *
    *   captured at 'At selection-screen' event.                           *
    FORM adapt_screen.
    * If button press flag is initial hide the dynamic selection screen.
      IF gv_button_press IS INITIAL.
        LOOP AT SCREEN.
          IF screen-group1 = 'AW1'.
            screen-invisible = '1'.
            screen-active    = '0'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
    * Elseif button press flag is 'X' show the dynamic selection screen.
      ELSEIF gv_button_press EQ 'X'.
        LOOP AT SCREEN.
          IF screen-group1 = 'AW1'.
            screen-invisible = '0'.
            screen-active    = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " adapt_screen
    Regards,
    T2
    Message was edited by: Titu Joseph

  • Logical Database (PNPCE) , selection screen hide.

    Hi Gurus,
             i have couple of questions related to logical database pnpce.
    1.Since i know logical database has there own selection screen , my requirement is i want to add my custom fields to the selection screen other than what is provided is it possible or not.
    2. i want to hide the selection screen of the logical database, but i do want to create my own in which i will be declaring some select options of the standard logical database screen has, like pernr, organisation unit, etc, how do i communicate the entered data with the logical database if i dont use the logical database standard selection screen, hope i could able to explain my problem, please see into my problem and let me know thanks in advance,
    hussaini

    Hussain,
    LDB have standard selection screens, if at all you want to customize those standard selection screen you would have to define a report category for your program. You`ll have to configure in the spro settings for your corresponding report category.
    If you would like to declare your own selection criteria, you can very well do it and these criteria are visible below the standard selection criteria. You can process these elements in your program and not in the LDB standard program. Use the normal selection screen events in your program for processing your selection criteria.
    Hope this info is helpful, reward points if convinced.
    Regards

  • Hide the Range Option in Multiple Selection screen

    Hai,
    I Give the values In single Values In Selection Option Screen.
    I want to need Hide the Range Option Include or Exclude In Multiple selection screen.
    Regards,
    Geetha

    just check this it may help you
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822</a>
    here restricting the selection screen
    regards
    shiba dutta

  • How to hide the selection screen of a Logical datebase?

    Dear All,
    I used the logical database PNP in one of my program by maintain the attribute 'Logical Database' of this program.
    Now I want to hide all the selection screen of this PNP during the ABAP runtime environment.
    Who can tell me how I can realize it?
    Thank you!
    Regards,
    Brian Liu

    Hi,
    If you call the logical database using a function module, the selection
    screen is not displayed.
    To call a logical database from another program, use the function module LDB_PROCESS.
    <b>Example code:</b>
    TABLES SPFLI.
    SELECT-OPTIONS S_CARR FOR SPFLI-CARRID.
    TYPE-POOLS: RSDS, RSFS.
    DATA: CALLBACK TYPE TABLE OF LDBCB,
    CALLBACK_WA LIKE LINE OF CALLBACK.
    DATA: SELTAB TYPE TABLE OF RSPARAMS,
    SELTAB_WA LIKE LINE OF SELTAB.
    DATA: TEXPR TYPE RSDS_TEXPR,
    FSEL TYPE RSFS_FIELDS.
    CALLBACK_WA-LDBNODE = 'SPFLI'.
    CALLBACK_WA-GET = 'X'.
    CALLBACK_WA-GET_LATE = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_SPFLI'.
    APPEND CALLBACK_WA TO CALLBACK.
    CLEAR CALLBACK_WA.
    CALLBACK_WA-LDBNODE = 'SFLIGHT'.
    CALLBACK_WA-GET = 'X'.
    CALLBACK_WA-CB_PROG = SY-REPID.
    CALLBACK_WA-CB_FORM = 'CALLBACK_SFLIGHT'.
    APPEND CALLBACK_WA TO CALLBACK.
    SELTAB_WA-KIND = 'S'.
    SELTAB_WA-SELNAME = 'CARRID'.
    LOOP AT S_CARR.
    MOVE-CORRESPONDING S_CARR TO SELTAB_WA.
    APPEND SELTAB_WA TO SELTAB.
    ENDLOOP.
    CALL FUNCTION 'LDB_PROCESS'
    EXPORTING
    LDBNAME = 'F1S'
    VARIANT = ' '
    EXPRESSIONS = TEXPR
    FIELD_SELECTION = FSEL
    TABLES
    CALLBACK = CALLBACK
    SELECTIONS = SELTAB
    EXCEPTIONS
    LDB_NOT_REENTRANT = 1
    LDB_INCORRECT = 2
    LDB_ALREADY_RUNNING = 3
    LDB_ERROR = 4
    LDB_SELECTIONS_ERROR = 5
    LDB_SELECTIONS_NOT_ACCEPTED = 6
    VARIANT_NOT_EXISTENT = 7
    VARIANT_OBSOLETE = 8
    VARIANT_ERROR = 9
    FREE_SELECTIONS_ERROR = 10
    CALLBACK_NO_EVENT = 11
    CALLBACK_NODE_DUPLICATE = 12
    OTHERS = 13.
    IF SY-SUBRC <> 0.
    WRITE: 'Exception with SY-SUBRC', SY-SUBRC.
    ENDIF.
    FORM CALLBACK_SPFLI USING NAME TYPE LDBN-LDBNODE
    WA TYPE SPFLI
    EVT TYPE C
    CHECK TYPE C.
    CASE EVT.
    WHEN 'G'.
    WRITE: / WA-CARRID, WA-CONNID, WA-CITYFROM, WA-CITYTO.
    ULINE.
    WHEN 'L'.
    ULINE.
    ENDCASE.
    ENDFORM.
    FORM CALLBACK_SFLIGHT USING NAME TYPE LDBN-LDBNODE
    WA TYPE SFLIGHT
    EVT TYPE C
    CHECK TYPE C.
    WRITE: / WA-FLDATE, WA-SEATSOCC, WA-SEATSMAX.
    ENDFORM.
    Regards,
    Sumit.
    Message was edited by: sumit kumar
    Message was edited by: sumit kumar

  • Not able to hide all fields on PNP selection screen.

    Dear Freinds,
               i wanted to hide all the field which are given on PNP selection screen, with the help of the
    report category i have hided all the field including the Person selection period  as i require only the
    Data selection period.  further through coding as below iam able to remove all the  radio buttons
    Today, Current month,Current year, from today, upto today,Other Period . But i am getting spaces above  period (PNPBEGDA and PNPENDA)  .  i.e in the frame Period i have spaces being left due to
    the radio buttons being Hidden . Could any one let me know how to remove the spaces so that
    Period range will set exactly in the frame.
      LOOP AT SCREEN.
        IF screen-name = 'PNPTIMR4' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-name = 'PNPTIMR2 .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF
        IF screen-group4 = '090' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-name = 'PNPTIMR1' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '092' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '094' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        IF screen-group4 = '100' .
          screen-input = '0'.
          screen-invisible = '1'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP
    Please could any one let me know how can i push up the Period date (PNPBEGDA and PNPENDDA)
    so that i will not have any blank space left out in the frame(Period) .
    Thanks & Regards
    Divya.
    Edited by: Divya Kumari on Jan 4, 2009 1:53 PM

    hi, sorry i think i misunderstand you question,
    if i can understand it right now? the following code can help you i am using "PNP" Screen no '900'.
    tables:pc207, hrp1000,pernr, pyorgscreen.
    infotypes: 0001.          "Organizational Assignments
    nodes: payroll type pay99_result.
    at selection-screen output.
      loop at screen.
        if ( screen-group1 = 'RES' or screen-group1 = 'YB1' or
             screen-group1 = 'YB2' or screen-group1 = 'YB3'  ).
          screen-active = '0'.
          screen-invisible = '1'.
          modify screen.
        endif.
      endloop.
    try the following too,
    TABLES:pc207, hrp1000,pernr, pyorgscreen.
    INFOTYPES: 0001.          "Organizational Assignments
    NODES: payroll TYPE pay99_result.
    AT SELECTION-SCREEN OUTPUT.
      BREAK-POINT.
      LOOP AT SCREEN.
        IF (
    *       screen-name = '%BYB1005_BLOCK_1000'
           screen-name = '%FYTI007_1000'
         or  screen-name = '%FBIS010_1000'
         or  screen-name = 'PYVW0_0'
         or  screen-name = '%_PYPERNR_%_APP_%-TEXT'
         or  screen-name = 'PYPERNR-LOW'
         or  screen-name = '%_PYPERNR_%_APP_%-VALU_PUSH'
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Replay if any problem,
    Kind Regards,
    Faisal
    Edited by: Faisal Altaf on Jan 4, 2009 6:55 PM

  • Hide Save Button and also there should be no parmeters on Selection screen.

    I want to Hide the execute button as well i don't want any input parameteres on Selection screen.But i m not able to do so..since there needs to be atleast one parameter in SELECTION ScREEN.
    I need to execute this program in BackGround. And the Input file i m getting throuhg DIRECTORY in AL11 Tcode.
    So i  don't want any Buttons in selection screen.....USER WILL 'EXECUTE IN BACKGROUND' .
    But after executing my code Execute button is hidden but i also need to specify a parameter in SEL.Screen.
    following is the code i wrote :
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS : p_file LIKE rlgrap-filename  .
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
    APPEND 'ONLI' to itab.
    *CLEAR itab.
    CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
    p_status = '%_00'
    p_program = sy-repid
    TABLES
    p_exclude = itab.

    DATA: itab type TABLE OF string." WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECTION-SCREEN begin of line.
      PARAMETERS: p1.
    SELECTION-SCREEN COMMENT 3(50) text .
    SELECTION-SCREEN end of LINE.
    SELECTION-SCREEN END OF BLOCK b2.
    INITIALIZATION.
    text = 'This report can only excute in background'.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if screen-name = 'P1'.
        screen-input = 0.
        screen-ACTIVE = 0.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
      APPEND 'ONLI' to itab.
    *CLEAR itab.
    CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
    p_status = '%_00'
    p_program = sy-repid
    TABLES
    p_exclude = itab.

  • How to hide default buttons on WD selection screen

    Hi Experts,
    Is there a way to hide default buttons ( Cancel, Check, Reset, Copy ) on web dynpro selection screen ??
    Please let me know how can I achieve this..
    Thanks in advance !
    Anand

    By selection screen do you mean the select-options reusable component?  If so, then there is an API of the component that you can call to disable these fields. Use the SET_GLOBAL_OPTIONS method of the select-options API to acomplish this:
    data: l_ref_cmp_usage type ref to if_wd_component_usage.
      l_ref_cmp_usage =   wd_this->wd_cpuse_select_options( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
      wd_this->lv_wd_select_options =
           wd_this->wd_cpifc_select_options( ).
    * init the select screen
      wd_this->lv_sel_handler =
           wd_this->lv_wd_select_options->init_selection_screen( ).
      wd_this->lv_sel_handler->set_global_options(
        EXPORTING
    *      i_display_btn_cancel  = ABAP_TRUE    " Displays "Cancel" Button
    *      i_display_btn_check   = ABAP_TRUE    " Displays "Check" Button
    *      i_display_btn_reset   = ABAP_TRUE    " Displays "Reset" Button
          i_display_btn_execute = abap_false    " Displays "Apply" Button

  • Dynamically hide a block in selection screen

    Hi All,
    Can we hide a whole block in a selection screen dynamically.
    If so, then how?
    Regards,
    Bhaskar Tripathi

    Hi,
    Refer this code
    *&      Form  sub_select_report
          text
    FORM sub_select_report .
      IF ( p_post  EQ c_chk ).
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'MD1' ) OR
             ( screen-group1 EQ 'MD2' ) OR
             ( screen-group1 EQ 'MD3' ) OR
             ( screen-group1 EQ 'MD4' ).
            screen-input   = c_ok.
            screen-active  = c_ok.
          ENDIF.
          IF ( screen-group1 EQ 'MD5' ) OR
             ( screen-group1 EQ 'MD6' ).
            screen-input   = c_1.
            screen-active  = c_1.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ELSEIF p_rpt EQ c_chk.
        LOOP AT SCREEN.
          IF ( screen-group1 EQ 'MD5' ) OR
             ( screen-group1 EQ 'MD6' ).
            screen-input   = c_ok.
            screen-active  = c_ok.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " sub_select_report
    Regards,
    Prashant

Maybe you are looking for

  • Access denied errors while working with RoboHelp Explorer

    We get strange errors sometimes when we're working with RoboHelp Explorer. We recently upgraded to RoboHelp 6.0, and since then, these errors started appearing. When compiling a project, or saving, or even just browsing to a new section in the existi

  • I have adobe 3:2 starter and all photos have been deleted but still have thumbnails, can i restore photos

    please can some one help me to restore my photos from my thumbnails due to my son deleting my photo file where i used to keep them

  • Rating Scale Results

    I would like to create a survey using rating scales. Q1: How do I get a page summing the results? Q2: Is it possible to have questions in categories and have the response to that question stored in that category. Example: 4 kinds of questions, 40 que

  • Linking to PDFs and Word Files

    Hi, I am using FM9 and working on a long document that  comes with many external forms. The forms are in PDF and Word format. The FM files will be converted to pdf, and shipped to users in an interactive e-book format. My question is twofold: 1) How

  • Export as MS Excel

    Hellow. I created BW Reports using level up/down. It's appeared user ID and Password popup window when excel file opened after export as ms excel in the web reports. Thers is no problem without level up/down. Would you help how pass ID/password popup