How to hide F8 function on selection screen.

Hi,
How to hide F8 function on selection screen.

Just create a customer status and SET this status in your INITIALIZATION block.
<i>You can copy the standard status from program RSSYSTDB status %_00.</i>
Regards

Similar Messages

  • How to hide input fields on selection screen using variant attribute

    Hello all,
    I want to know how to hide input fields on selection screen using variant attribute conpletely.
    As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
    I want to hide the field completely. Di you know how to do ?
    Thank you for your support.
    Regards,
    Hideki Kozai

    Use this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
    Otherwise
    in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
    Regards
    Marcin

  • How to hide a block in Selection screen ?

    Hello abap gurus,
    I have a requirement where I have to hide a block on Selection screen. Can anyone of u give the command for that or code..
    Its urgent !
    Om Sai Ram,
    aRgD

    Hi,
    Just paste the following code in abap editor.
    *Selectionscreen elements..............................................
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS:
      p_uname     LIKE sy-uname
                  MODIF ID bl1.            " User name
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS:
      p_fname(10) TYPE c MODIF ID bl2
                         OBLIGATORY,       " First name
      p_lname(10) TYPE c MODIF ID bl2
                         OBLIGATORY,       " Last name
      p_empid(5)  TYPE n MODIF ID bl2
                         OBLIGATORY.       " Employee id
    SELECTION-SCREEN END OF BLOCK b2.
    *" Data declarations...................................................
    Work variables                                                      *
    DATA:
      w_uname     LIKE sy-uname.           " User name
                 AT SELECTION-SCREEN OUTPUT EVENT                       *
    AT SELECTION-SCREEN OUTPUT.
      PERFORM validate.
                AT SELECTION-SCREEN ON FIELD EVENT                      *
    AT SELECTION-SCREEN ON p_uname.
      PERFORM validate_uname.
                      END OF SELECTION EVENT                            *
    END-OF-SELECTION.
      PERFORM output.
    FORM VALIDATE                                                      *
    This subroutine disables all parameters if user name is not        *
    initialized or user name is not valid.                             *
    There are no interface parameters to be passed to this subroutine. *
    FORM validate.
      w_uname = sy-uname.
      IF p_uname IS INITIAL OR p_uname NE w_uname.
        LOOP AT SCREEN.
          IF screen-group1 EQ 'BL2'.
            screen-active = '0'.
          ELSE.
            screen-active = '1'.
          ENDIF.                           " IF screen-group1 EQ 'BL2'.
          MODIFY SCREEN.
        ENDLOOP.                           " LOOP AT SCREEN.
      ELSEIF p_uname EQ sy-uname.
        LOOP AT SCREEN.
          IF screen-group1 = 'BL1'.
            screen-active = 0.
            MODIFY SCREEN.
          ELSEIF screen-group1 = 'BL2'.
            screen-active = 1.
            screen-output = 1.
            screen-input = 1.
            screen-invisible = 0.
          ENDIF.                           " IF screen-group1 = 'BL1'.
          MODIFY SCREEN.
        ENDLOOP.                           " LOOP AT SCREEN.
      ENDIF.                               " IF p_uname IS INITIAL...
    ENDFORM.                               " VALIDATE
    Form VALIDATE_UNAME                                                *
    This subroutine gives error message and validates the user name.   *
    There are no interface parameters to be passed to this subroutine. *
    FORM validate_uname .
      IF p_uname IS INITIAL.
        MESSAGE 'Enter the user name'(001) TYPE 'E'.
      ELSEIF p_uname NE sy-uname.
        MESSAGE 'Authorization unsuccessful'(002) TYPE 'E'.
      ENDIF.                               " IF p_uname IS INITIAL.
    ENDFORM.                               " VALIDATE_UNAME
    Form  OUTPUT                                                       *
    This subroutine is used to print the output.                       *
    There are no interface parameters to be passed to this subroutine. *
    FORM output .
      IF p_fname IS NOT INITIAL.
        WRITE: / 'First name:'(003),p_fname.
        WRITE: / 'Last name:'(004),p_lname.
        WRITE: / 'Employee id:'(005),p_empid.
      ENDIF.                               " IF p_fname IS NOT INITIAL.
    ENDFORM.                               " OUTPUT
    I think this solves your problem.
    Reward if it helps you.....
    Regards,
    Sandhya

  • How to hide particular block in selection screen

    Hi,
    I am having different blocks in a selection screen.
    How to show the blocks dynamically according to a radio button selection.
    means how to Hide/show entire block.
    Thanks,
    anandan

    Hi Anandan,
    Try this program.
    REPORT  zvk_collect.
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME NO INTERVALS.
    PARAMETER : p_plant RADIOBUTTON GROUP g1 USER-COMMAND radio DEFAULT 'X',
                      p_mrp   RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME NO INTERVALS.
    PARAMETER : p_werks TYPE marc-werks MODIF ID sp1.
    SELECTION-SCREEN END OF BLOCK b2.
    *SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME NO INTERVALS.
    *PARAMETER : p_berid TYPE smdma-berid MODIF ID sp2.
    *SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CHECK screen-group1 = 'SP1' OR
              screen-group1 = 'SP2'.
        IF p_plant = 'X'.
          IF screen-group1 = 'SP2'.
            screen-input = 0.
            screen-active = 0.
            screen-required = 1.
            MODIFY SCREEN.
          ENDIF.
        ELSE.
          IF screen-group1 = 'SP1'.
            screen-input = 0.
            screen-active = 0.
            screen-required = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    Execute with Comments ON and Without Comments and See the difference
    Reward if found helpful

  • How to hide  gui buttons in selection screen

    In Selection screen how to hide buttons like back, exit,cancel buttons.
    can any  one help.

    Hi,
    Create a new GUI Status for your program.. put whatever button you require for it..
    In the AT SELECTION-SCREEN OUTPUT event..
    SET pf-status xxx.
    Regards,
    Anand

  • How to hide fields in Table maintenace screen

    I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.

    HI, 
    This is reff with ur below post, I have been stuck with same problem,
    I got your code, how its functioning, but didn't get get where i have to write it.
    plz tell me in brief.
    Thanks in Advance.
    Regards
    Vivek
    Re: How to hide fields in Table maintenace screen  
    Posted: Feb 6, 2009 11:42 AM   in response to: Aarti Ramdasi in response to: Aarti Ramdasi           
    Click to report abuse...             Click to reply to this thread      Reply
    Hi,
    You can hide the fields like this..
    For example
    select-options:
    s_carrid for spfli-carrid modif id gr1,
    s_connid for spfli-connid modif id gr1,
    s_cityto for spfli-cityto modif id gr2.
    I am going to hide last fied..To do this
    at selction-screen output.
    if s_carrid is initial or s_connid is initial.
    loop at screen.
    if screen-group1 CS 'GR2'.
    screen-active = 0.
    modify screen.
    endif.
    endloop.
    endif.
    whenever u click on any one of the field i.e. carrid or connid the third field will displayed.Otherwies the last field cityto is not visible initially
    Regards
    Kiran

  • How to accept multiple attachments on selection screen?

    Hi All,
    I need to know how to accept multiple attachments on selection screen and send them as email to external system (outlook).
    Basically, my req is to send a common email with attachments to certain users. These users are displayed in ALV. User will select ALL or specific user from ALV and send an email with message entered on selection screen.
    I used text editor control to input message body. I need to know how to accept attachments and send them.
    Appreciate any inputs.
    Thanks,
    SKJ

    SAP uses a nifty little button called 'Object Services' on ME23N (top left) which you can use to attach documents to business objects.
    http://help.sap.com/saphelp_nw70/helpdata/EN/be/3fe63659241157e10000009b38f889/frameset.htm
    It's a complicated way of doing it but might give you extra functionality in the long run.

  • How to default date values in Selection Screen

    Hi everyone,
    I would like to display the 1st day of the previous month into the I_GSTRP-LOW field and the last day of the current month into the I_GSTRP-HIGH field.
    For example, this in the 5th month of the year (May), therefore, in the selection screen it should appear like this:
    Basic Date: <u>01.04.2006</u>    to   <u>31.05.2006</u>
    How do i do it?
    *& SELECTION-SCREEN                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS:
      I_AUFNR FOR AFIH-AUFNR,                           "ORDER NUMBER
      I_GSTRP FOR AFKO-GSTRP,                           "BASIC DATE
      I_BUDAT FOR AUFM-BUDAT,                           "POSTING DATE
      I_IWERK FOR AFIH-IWERK DEFAULT '6010' OBLIGATORY, "PLANNING PLANT
      I_ARBPL FOR CRHD-ARBPL,                           "WORK CENTER
      I_ERNAM FOR AUFK-ERNAM,                           "CREATED BY
      I_MATNR FOR RESB-MATNR,                           "MATERIAL
      I_KTEXT FOR AUFK-KTEXT.                           "EQUIPMENT
    SELECTION-SCREEN END OF BLOCK 1.

    Here is the code to populate default values,as per your requirement.
    data : V_date type sy-datum,
           v_month(2) type c,
           v_low_value(8) type c,
           v_high_value(8) type c,
           v_month1(2) type n,
            V_NO_OF_DAYS type T009B-BUTAG,
           v_curr_month type T009B-BUMON,
           v_curr_year  type T009B-BDATJ.
           select-options : i_gstrp for sy-datum.
    initialization.      
    v_date = sy-datum.
    v_month1 = v_date+4(2) - 1.
    write v_month1 to v_month.
    concatenate v_date+0(4)
    v_month
    '01'
    into v_low_value.
    I_GSTRP-LOW = v_low_value.
    v_curr_month = sy-datum+4(2).
    v_curr_year  = sy-datum+0(4).
    CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
      EXPORTING
        par_month       = v_curr_month
        par_year        = v_curr_year
    IMPORTING
       PAR_DAYS        = V_NO_OF_DAYS
    concatenate sy-datum+0(6)
    V_NO_OF_DAYS
    into v_high_value.
    I_GSTRP-HIGH = v_high_value.
    I_GSTRP-sign = 'I'.
    I_GSTRP-OPTION = 'EQ'.
    APPEND I_GSTRP.
    regards
    srikanth

  • How to Add Push Button On Selection Screen

    Hi Experts,
    How to add Push button on Selection Screen.
    Points will b rewarded for useful help.
    Bohra.

    Hi,
    To create a pushbutton on the selection screen, you use:
    SELECTION SCREEN PUSHBUTTON [/]<pos(len)> <push>
    USER-COMMAND <ucom> [MODIF ID <key>].
    The [/]<pos(len)> parameters and the MODIF IF addition have the same function as for the formatting options for underlines and comments.
    <push> determines the pushbutton text. For <push>, you can specify a text symbol or a field name with a maximum length of eight characters. This character field must not be declared with the DATA statement, but is generated automatically with length <len>. The field must be filled before the selection screen is called.
    For <ucom>, you must specify a code of up to four characters. When the user clicks the pushbutton on the selection screen, <ucom> is entered in the UCOMM of the SSCRFIELDS interface work area. You must use the TABLES statement to declare the SSCRFIELDS structure. The contents of the SSCRFIELDS-UCOMM field can be processed during the AT SELECTION-SCREENevent.
    Ex.
    REPORT DEMO.
    TABLES SSCRFIELDS.
    DATA FLAG.
    SELECTION-SCREEN:
    BEGIN OF SCREEN 500 AS WINDOW TITLE TIT,
    BEGIN OF LINE,
    PUSHBUTTON 2(10) BUT1 USER-COMMAND CLI1,
    PUSHBUTTON 12(10) TEXT-020 USER-COMMAND CLI2,
    END OF LINE,
    BEGIN OF LINE,
    PUSHBUTTON 2(10) BUT3 USER-COMMAND CLI3,
    PUSHBUTTON 12(10) TEXT-040 USER-COMMAND CLI4,
    END OF LINE,
    END OF SCREEN 500.
    AT SELECTION-SCREEN.
    CASE SSCRFIELDS.
    WHEN 'CLI1'.
    FLAG = '1'.
    WHEN 'CLI2'.
    FLAG = '2'.
    WHEN 'CLI3'.
    FLAG = '3'.
    WHEN 'CLI4'.
    FLAG = '4'.
    ENDCASE.
    START-OF-SELECTION.
    TIT = 'Four Buttons'.
    BUT1 = 'Button 1'.
    BUT3 = 'Button 3'.
    CALL SELECTION-SCREEN 500 STARTING AT 10 10.
    CASE FLAG.
    WHEN '1'.
    WRITE / 'Button 1 was clicked'.
    WHEN '2'.
    WRITE / 'Button 2 was clicked'.
    WHEN '3'.
    WRITE / 'Button 3 was clicked'.
    WHEN '4'.
    WRITE / 'Button 4 was clicked'.
    WHEN OTHERS.
    WRITE / 'No Button was clicked'.
    ENDCASE.
    This example defines four pushbuttons on a selection screen that is displayed as a
    dialog box. The selection screen is defined in a statement chain for keyword
    SELECTION-SCREEN.
    If the text symbols TEXT-020 and TEXT-040 are defined as 'Button 2' and 'Button 4',
    the four pushbuttons appear as follows on the selection screen displayed as a dialog box.
    Regards,
    Bhaskar

  • How to hide table control in a screen

    Hi, Gems,
    I want to hide the table control.Using "loop at screen" I am able to hide all other components except table control.
    Can anyone tell me how to hide table control in a screen?
    Any help will be appreciated.
    -Thanks
    Surajit.

    Hi,
    In the PBO (in a module outside to the LOOP...ENDLOOP), use this
    MODULE status_0100 OUTPUT.
    IF sy-ucomm EQ space.   "Give the function code on which you want to make your table control go invisible
                                              "Give a space if you want your table control to remail invisible on display of the screen
        CLEAR: t_header[].
        LOOP AT tabcontrol1-cols[] INTO wa_control1.
          wa_control1-invisible = '1'.
          MODIFY tabcontrol1-cols[] FROM wa_control1 INDEX sy-tabix.
        ENDLOOP.
    ENDMODULE. 

  • HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?

    HI,
    HOW TO PASS THE DATA FROM SELECTION SCREEN TO STANDARD TRANSACTION?
    thanks,
    samba.

    By selection screen, what do you mean?   There is no selection screen in WDA as there was in classic dynpro. Do you mean you are using the Select-Options reusable component?  Are you wanting to call a standard transaction via ITS - SAPGUI for HTML?  Please provide more details to your question.

  • How to disable save button on selection screen (1000) run from other report

    Hi Experts,
    Can any one let me know how to disable save button on selection screen (1000) run from other report.
    Say I am running from report R1 which submits report R2, but the save button should be disabled on
    report R2(selection screen 100).
    Thanks in advance.
    Regards
    RP.

    Hi RPReddy16 ,
    Try this:
    DATA :BEGIN OF t_extab occurs 0,
                     fcode like rsmpe-func,
                 END OF t_extab.
    REFRESH T_EXTAB.
    MOVE 'SAVE' TO T_EXTAB-FCODE.
    APPEND T_EXTAB.
    CLEAR T_EXTAB.
    SET PF-STATUS 'STATUS' EXCLUDING T_EXTAB.
    Regards,
    José

  • How to make a field in selection screen as READ_ONLY !!

    Hi,
       How to make a field in selection screen as READ_ONLY !!.
    Thanks,
    Senthil

    This is the code you need to have in your program.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
      IF SCREEN-NAME = 'MYSELFLD'.
        SCREEN-INPUT = 0.
        MODIFY-SCREEN.
      ENDIF.
    ENDLOOP.

  • F4 functionality on selection screen

    Hi,
    i am having One requirement that  need to create f4 functionality on selection screen.
    please give me solution on that

    Hi,
    When you refer your selection screen element to a data element which has a F4 option, then it gives you a F4 help automatically.
    If not try using match code objects.
    Refer to the below related threads
    match code
    match code
    Match Code
    Match code
    Matchcodes are defined in two stages in Abap/4 Dictionary:
    1) The revelant table and fields are stipulated in matchcode object. A matchcode object describes the set of all possible search paths for a search item.
    2) One or more matchcode ID can be defined for a matchcode object. A matchcode ID describes a special search path for a search term.The fields or combination of fields via which the search is to take place is defined in the matchcode ID.
    In the initial screen of Data Dictionary,
    Enter a name for your new object, click on the Matchcode radio button, and press the Create button.
    Enter descriptive text as you enter your primary table on the Attributes screen and press the Save button.
    The primary table represents the primary source table for the subsequent field search. Secondary tables can also be maintained at this point by double-clicking on the primary table or pressing the Tables button. These tables must link to the primary table through foreign keys.
    The Maintain Matchcode Object attributes screen.
    At this point you have the option of creating the matchcode as a local object or attaching it to a transport request. After you have done this, click on the Save button
    The Create Object Catalog Entry screen.
    As the status bar reflects, the mandatory key fields are transferred automatically .If you want, you can press the Fields button and maintain any selection fields you want. At this point you need to click on the green arrow to go back to the Maintain Attributes screen.
    The Maintain Matchcode Object (Fields) screen.
    The next step in the creation process is to activate the matchcode object. The status of the object is New and Saved .
    The matchcode attributes prior to activation.
    The status is now set to Active and Saved. Next you need to create a matchcode ID or your object will be incomplete.
    To do this, click the Matchcode IDs button.
    The matchcode attributes after activation.
    The system will prompt you to create a new ID if one does not exist To do this, click on the Yes button.
    A prompt to Create Object.
    On the Create Matchcode ID screen , specify a matchcode ID number, valid input ranges from all of the alphabet, and any number. You can also click on the down arrow to view a range of valid entries.
    The Create Matchcode ID dialog box.
    Let's view some possible entries this list window shows a number of matchcode IDs and a short description of each. Choose one and click on the green arrow.
    A Matchcode hit list.
    Follow these steps we learned to maintain selection fields for this matchcode ID, be sure to enter an Update type, and click on Save . At this point, you can enter further selection criteria by pushing the Selection Criteria button.
    Maintenance of matchcode attributes.
    In the Maintain Selection Conditions screen, you can enter and maintain fields and selection criteria for your matchcode IDs. Here is an example of a requirement of a Material Number not greater than the value of 8888 .When finished, click Save and the green arrow to go back.
    The Maintenance Selection Conditions dialog box.
    Now all you have to do is activate your matchcode ID and your new object is ready to use
    Generate and use the matchcode.
    Reward if helpful.
    Regards,
    Narendra.

  • How to hide some functions in the menu bar of flash paper

    Do anyone know how to hide some functions in the menu bar of
    flash paper? As I want to show a swf file(converted from pdf) on
    the website without printing function. How can I do it?
    Also, if possible, can anyone know how to hide all functions
    on the menu bar except the logo of flash paper?
    Thank you very much, it is very urgent.

    Here is an article about how to integrate flashPaper into
    Director. It has most of the functions that can be executed on
    flashPaper. Maybe it will help?
    http://www.adobe.com/devnet/director/articles/flashpaper_in_director.html
    and here is all his code
    http://www.mediamacros.com/item/item-1006687373/
    Note: it is for 1.01, but works with 2.0

Maybe you are looking for