Menupainter: How to disable - Standard toolbar -

Hi All,
I wish to disable few buttons in Standard toolbar in a  report output.This report is obtained from a standard program.Kindly suggest a solution.
Regards
Tina

Hi,
you are calling standard Transaction.
get the main program name and pf-status name.
and then collect the okcodes(function codes) for the buttons which you want to exclude.
now you have to append to the table of type sy-ucomm.
then call this way..
data: p_extab type table of sy-ucomm.
append 'ENTR' to p_extab.
SET PF-STATUS 'STATUS'  OF PROGRAM 'ZTEST_PROG' excluding p_extab.
Regards
vijay

Similar Messages

  • How to disable smartcut toolbar or sections combo box?

    Dear firends,
    How to disable smartcut toolbar or sections combo box?
    regards
    Siyavuş

    I am doing this from button OnClick now!!! but it not work for OnStartup document?!
    var x=document.getElementById("pageSelect")
    x.disabled=true
    regards
    siyavuş

  • How to access standard toolbar of IE

    Hi
    Can anyone have some idea about accessing standard toolbar of IE just like we can now access sys tray of Windows.
    I want the functionality of Yahoo IM so that when any user install my application an icon(shortcut) for that should be added to IE toolbar
    If this is possible in java only or with JNI
    Please guide me
    Thanks

    Microsoft uses ODE and DDE. What you want to use is OLE, and as such, I believe you are going to have to do some JNI programming to get Java to work with that interface the way you intend.

  • Adobe Interactive Form - How to disable Adobe toolbar in my View

    Hello Expert,
    we are starting to use the Adobe Interactive Form in our webDynpro (java) project.
    We would like to offer to our users an interactive form and to save the data inserted by the users in a database.
    So we add a "Submit Button" in our form, the button il linked to the method "onActionSubmit()" in the view implementation.
    But we want to force the users to press it before to save/stamp the pdf form.
    Is possible to disable the Adobe toolbar, that offers command like "stamp" or "save as", until the users press the "Submit Button"?
    Thanks in Advance
    Best Regards

    Hi,
    Please have a look at this thread,
    Re: Hiding Adobe ToolBar
    Kind regards,
    Saravanan K

  • ThinkVantage Toolbox Taskbar Icon - How to Disable

    I did the research and the answer seemed to be to disable the ThinkVantage Toolbox - click on the taskbar and then uncheck (disable) the Toolbox from loading in the toolbar.
    However, everytime I restart the laptop (X220) it comes right back.
    How to disable the toolbar so that it does not keep coming back?   Kent

    http://forums.lenovo.com/t5/ThinkVantage-Technologies/Thinkvantage-toolbox-toolbar-keeps-coming-back...

  • How to disable auto-completing service request after completing last activity

    How to disable standard rule, that change service request status to "Complete" when the last activity in this service request is completed?
    For SCSM 2012 R2

    Perhaps you can use the "Closed" status as a way of indicating that your are completely finished with a service request? (This follows ITIL). It has the advantage of being an out-of-the-box feature and, by default, SR's have to be closed by
    a user.
    Keep in mind, though, that closed service requests are groomed out of the CMDB (356 day retention time by default, i believe). But, they'll still be available for a few years in your data warehouse.
    What is your business reason for this behavior? Console views? Custom reports?
    If "Closed" doesn't cut it for you, you may want to consider extending the Server Request class with your own status property that you can use for whatever your requirements are.

  • ALV List Standard toolbar

    How to display standard toolbar buttons in ALV which are not displayed in REUSE_ALV_GRID_DISPLAY

    HI
    GOOD
    GO THROUGH THIS REPORT
    TYPE-POOLS: SLIS.
    DATA: FIELDCAT           TYPE SLIS_T_FIELDCAT_ALV,
          FIELDCAT_LN        LIKE LINE OF FIELDCAT,
          SORTCAT            TYPE SLIS_T_SORTINFO_ALV,
          SORTCAT_LN         LIKE LINE OF SORTCAT,
          EVENTCAT           TYPE SLIS_T_EVENT,
          EVENTCAT_LN        LIKE LINE OF EVENTCAT,
          LAYOUT             TYPE SLIS_LAYOUT_ALV,
          C_TOP_OF_PAGE      TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
          W_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
    DATA: COL_POS TYPE I,
          P_LIGNAM TYPE SLIS_FIELDNAME VALUE  'STATUS'.
    ******Declare Data Areas for List Viewer (End)**************
    Other Variables
    DATA: W_DATUM(10) TYPE C. "Convert system Date for Output
    ******Declare Internal Table to Store Selected Data (Begin)*
    DATA: BEGIN OF IREPO OCCURS   0,
            EQUNR LIKE EQUI-EQUNR,
            EQKTX LIKE EQKT-EQKTX, "description
            ERDAT LIKE EQUI-ERDAT,
            ERNAM LIKE EQUI-ERNAM,
            AEDAT LIKE EQUI-AEDAT,
            AENAM LIKE EQUI-AENAM,
            EQART LIKE EQUI-EQART,
            INBDT LIKE EQUI-INBDT,
            ZZ_DESPATCH LIKE EQUI-ZZ_DESPATCH,
            ( ten million other Z fields)
            VKBUR LIKE ILOA-VKBUR, "Sales Office
            SWERK LIKE ILOA-SWERK, "Base Plant
            KOSTL LIKE ILOA-KOSTL, "Cost Centre
            ANLNR LIKE ITOB-ANLNR, "Asset Number
            NAME1 LIKE LFA1-NAME1, "Haulier name
            STATUS TYPE C,         "Is it flagged for deletion?
          END OF IREPO.
    Table for descriptions
    DATA: BEGIN OF IEQKT OCCURS 0,
            EQUNR LIKE EQKT-EQUNR,
            EQKTX LIKE EQKT-EQKTX,
          END OF IEQKT.
    LOD Names - Internal Buffering
    DATA: BEGIN OF VENDLIST OCCURS 0,
             LIFNR LIKE LFA1-LIFNR, "Vendor Number
             NAME1 LIKE LFA1-NAME1, "Vendor Name
          END OF VENDLIST.
    ******Declare Internal Table to Store Selected Data (End)**
    TABLES: EQUI,ILOA.
    *******Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: P_EQUNR FOR EQUI-EQUNR,       "Fleet Number
                    P_PLATE FOR EQUI-ZZ_PLATE_NO, "Registration
                    P_EQART FOR EQUI-EQART.       "Truck Type
    PARAMETER: EXCLUDE AS CHECKBOX.               "Exclude Deleted Trucks
    SELECTION-SCREEN END OF BLOCK BLK1.
    SELECTION-SCREEN BEGIN OF BLOCK BLK2 WITH FRAME TITLE TEXT-002.
    SELECT-OPTIONS: P_DESPG    FOR EQUI-ZZ_DESPATCH, "Dgroup
                    P_VKBUR    FOR ILOA-VKBUR,       "Sales Office
                    P_SWERK    FOR ILOA-SWERK.       "Plant
    SELECTION-SCREEN END OF BLOCK BLK2.
    SELECTION-SCREEN BEGIN OF BLOCK BLK3 WITH FRAME TITLE TEXT-003.
    SELECT-OPTIONS: P_HAULER FOR EQUI-ZZ_HAULER.    "Haulier Vendor
    SELECTION-SCREEN END OF BLOCK BLK3.
    *******Select Data into Internal Table (Begin) ***************
    START-OF-SELECTION.
       CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
            EXPORTING
                 TEXT       = 'Reading Truck Master Table' .
    SELECT EQUIEQUNR EQUIEQART EQUIERNAM EQUIERDAT EQUI~AENAM
           EQUIAEDAT EQUIINBDT
            EQUI~ZZ_DESPATCH
            ( ten million custom Z fields )
            EQUI~ZZ_TIMEZONE
           ILOAVKBUR ILOASWERK ILOA~KOSTL
           INTO CORRESPONDING FIELDS OF TABLE IREPO
              FROM ( EQUI INNER JOIN EQUZ ON
                    EQUIEQUNR = EQUZEQUNR )
                  INNER JOIN ILOA ON
                    EQUZILOAN = ILOAILOAN
           WHERE EQUI~EQUNR       IN P_EQUNR "Fleet Number
           AND   EQUI~EQART       IN P_EQART "Truck Type
           AND   EQUI~ZZ_PLATE_NO IN P_PLATE "Registration
           AND   EQUI~ZZ_DESPATCH IN P_DESPG "Despatch Group
           AND   EQUI~ZZ_HAULER   IN P_HAULER"Vendor
           AND   ILOA~SWERK       IN P_SWERK "Plant
           AND   ILOA~VKBUR       IN P_VKBUR."Sales Office
    If successful go and get the descriptions
        IF SY-SUBRC EQ 0.
           CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
                EXPORTING
                TEXT       = 'Reading Descriptions' .
           SELECT EQUNR EQKTX FROM EQKT
                  INTO CORRESPONDING FIELDS OF TABLE IEQKT
                  FOR ALL ENTRIES IN IREPO
                  WHERE EQUNR = IREPO-EQUNR
                  AND   SPRAS = 'EN'.
            SORT IEQKT BY EQUNR.
        ENDIF.
       CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
            EXPORTING
                 TEXT       = 'Check For Deletion Flags' .
      DATA: L_EQUNR LIKE EQUI-EQUNR,
            L_OBJNR LIKE JEST-OBJNR.
    LOOP AT IREPO.
        CONCATENATE 'IE' IREPO-EQUNR INTO L_OBJNR.
    Start off by saying that the Truck is OK
        IREPO-STATUS = '3'.
    Now see if the Truck has been flagged as Inactive e.g. under repair
        PERFORM STATUS_CHECK USING L_OBJNR 'I0320'.
        IF SY-SUBRC EQ 0.
           IREPO-STATUS = '2'. "It's inactive
        ENDIF.
    Now see if the Truck has been flagged for deletion.
        PERFORM STATUS_CHECK USING L_OBJNR 'I0076'.
        IF SY-SUBRC EQ 0.
           IREPO-STATUS = '1'. "It's deleted
        ENDIF.
    MODIFY IREPO.
    CLEAR  IREPO.
    ENDLOOP.
    If exclude is chosen lose deleted items
    IF EXCLUDE = 'X'.
       DELETE IREPO WHERE STATUS = '1'.
    ENDIF.
    Final processing
       CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
            EXPORTING
                 TEXT       = 'Prepare Data for Display' .
      SORT IREPO BY EQUNR.
      LOOP AT IREPO.
    Get Description of Truck
        READ TABLE IEQKT WITH KEY EQUNR = IREPO-EQUNR BINARY SEARCH.
        IF SY-SUBRC EQ 0.
           IREPO-EQKTX = IEQKT-EQKTX.
        ELSE.
           IREPO-EQKTX = 'No Description in Truck Master'.
        ENDIF.
    Get Name of Owner
        READ TABLE VENDLIST WITH KEY LIFNR = IREPO-ZZ_HAULER BINARY SEARCH.
        IF SY-SUBRC NE 0.
           SELECT SINGLE NAME1 FROM LFA1 INTO IREPO-NAME1
                  WHERE LIFNR = IREPO-ZZ_HAULER.
           VENDLIST-LIFNR = IREPO-ZZ_HAULER.
           VENDLIST-NAME1 = IREPO-NAME1.
           APPEND VENDLIST.
           SORT VENDLIST BY LIFNR.
        ELSE.
           IREPO-NAME1 = VENDLIST-NAME1.
        ENDIF.
        MODIFY IREPO.
        CLEAR IREPO.
      ENDLOOP.
    END-OF-SELECTION.
    Select Data into Internal Table (End) ****************
    Build Field Catalogs (Begin)**************************
    Fields with Standard Names
    PERFORM RESETVALUES.
    PERFORM ADDFIELD USING '1' 'EQUI' 'STATUS'. "Traffic Lights
    FIELDCAT_LN-HOTSPOT = 'X'.
    FIELDCAT_LN-KEY     = 'X'.
    PERFORM ADDFIELD USING '2' 'EQUI' 'EQUNR'.  "Fleet Number
    PERFORM ADDFIELD USING '3' 'EQKT' 'EQKTX'.  "Description
    PERFORM ADDFIELD USING '4' 'EQUI' 'ZZ_PLATE_NO'.
    PERFORM ADDFIELD USING '5' 'EQUI' 'EQART'.
    PERFORM ADDFIELD USING '6' 'ILOA' 'SWERK'.
    PERFORM ADDFIELD USING '8' 'ILOA' 'KOSTL'.
    PERFORM ADDFIELD USING '9' 'EQUI' 'ZZ_MINLOADSIZE'.
    PERFORM HIDFIELD USING '10' 'EQUI' 'ERNAM'.
    PERFORM HIDFIELD USING '11' 'EQUI' 'AEDAT'.
    PERFORM HIDFIELD USING '12' 'EQUI' 'AENAM'.
    PERFORM HIDFIELD USING '13' 'EQUI' 'INBDT'.
    ( ten million custom Z fields )
    PERFORM HIDFIELD USING '56' 'EQUI' 'ZZ_TIMEZONE'.
    PERFORM HIDFIELD USING '57' 'ILOA' 'VKBUR'.
    PERFORM HIDFIELD USING '58' 'EQUI' 'ZZ_HAULER'.
    PERFORM HIDFIELD USING '59' 'EQUI' 'ERDAT'.
    Fields with Custom Names
    PERFORM NEWNAME USING 'Haulier Name'.
    FIELDCAT_LN-OUTPUTLEN = '20'.
    PERFORM ADDFIELD USING '7' 'LFA1' 'NAME1'. "Haulier Vendor Name
    PERFORM NEWNAME USING 'Tare Time'.
    PERFORM HIDFIELD USING '54' 'EQUI' 'ZZ_TARE_TIME'.
    PERFORM NEWNAME USING 'Trailer 1'.
    PERFORM HIDFIELD USING '19' 'EQUI' 'ZZ_TRAILER1'.
    PERFORM NEWNAME USING 'Trailer 2'.
    PERFORM HIDFIELD USING '20' 'EQUI' 'ZZ_TRAILER2'.
    PERFORM NEWNAME USING 'Trailer 3'.
    PERFORM HIDFIELD USING '21' 'EQUI' 'ZZ_TRAILER3'.
    Sort Criteria
    PERFORM BUILD_SORTCAT.
    ******Build Event Catalog (Begin)****************************
    PERFORM BUILD_EVENTCAT.
    Magic box for selection criteria & traffic lights for truck status
    PERFORM BUILD_LAYOUT.
    ********Add a header at the top of the report            *******
    PERFORM SET_REPORT_HEADER USING W_LIST_TOP_OF_PAGE[].
    ********Start List Viewer
    PERFORM START_LIST_VIEWER.
    ******Start List Viewer (End)********************************
    ********FORM ROUTINES (Begin)********************************
    Start Values for ALV Field Catalouge
    FORM RESETVALUES.
    FIELDCAT_LN-KEY = SPACE.
    FIELDCAT_LN-DO_SUM = SPACE.
    FIELDCAT_LN-NO_OUT = SPACE.
    FIELDCAT_LN-QFIELDNAME = SPACE.
    FIELDCAT_LN-HOTSPOT = SPACE.
    FIELDCAT_LN-OUTPUTLEN = '0'.
    CLEAR: fieldcat_ln-seltext_l, fieldcat_ln-seltext_m,  
            fieldcat_ln-seltext_s, fieldcat_ln-reptext_ddic.
    ENDFORM.
    Change key values for additional fields
    FORM ADDFIELD USING POSITION TABLE_VALUE FIELD_VALUE.
         FIELDCAT_LN-REF_TABNAME = TABLE_VALUE .
         FIELDCAT_LN-FIELDNAME   = FIELD_VALUE.
         FIELDCAT_LN-COL_POS     = POSITION.
         APPEND FIELDCAT_LN TO FIELDCAT.
         PERFORM RESETVALUES.
    ENDFORM.
    FORM HIDFIELD USING POSITION TABLE_VALUE FIELD_VALUE.
         FIELDCAT_LN-NO_OUT = 'X'.
         FIELDCAT_LN-REF_TABNAME = TABLE_VALUE .
         FIELDCAT_LN-FIELDNAME   = FIELD_VALUE.
         FIELDCAT_LN-COL_POS     = POSITION.
         APPEND FIELDCAT_LN TO FIELDCAT.
         PERFORM RESETVALUES.
    ENDFORM.
    FORM NEWNAME USING NAME.
      FIELDCAT_LN-SELTEXT_L = NAME..
      FIELDCAT_LN-SELTEXT_M = NAME.
      FIELDCAT_LN-SELTEXT_S = NAME.
      FIELDCAT_LN-REPTEXT_DDIC = NAME.
      FIELDCAT_LN-OUTPUTLEN = '10'.
    ENDFORM.
    Sort Criteria
    FORM BUILD_SORTCAT.
    SORTCAT_LN-SPOS = '1'.
    SORTCAT_LN-FIELDNAME = 'EQUNR'. "Truck Number
    SORTCAT_LN-UP = 'X'.
    SORTCAT_LN-DOWN = SPACE.
    SORTCAT_LN-SUBTOT = SPACE.
    APPEND SORTCAT_LN TO SORTCAT.
    ENDFORM.
    FORM BUILD_EVENTCAT.
      EVENTCAT_LN-NAME = C_TOP_OF_PAGE.
      EVENTCAT_LN-FORM = C_TOP_OF_PAGE.
      APPEND EVENTCAT_LN TO EVENTCAT.
    ENDFORM.                               " BUILD_EVENTCAT
    Add an extra button to get an extra button the user can press to
    see what selection criteria they entered
    This info will then appear when the report is printed
    FORM BUILD_LAYOUT.
         LAYOUT-GET_SELINFOS = 'X'.
    Now we want a traffic light to say if the Truck is deleted
    the variable p_lignam contains the name in IREPO which stores the
    value for the traffic light
         LAYOUT-LIGHTS_FIELDNAME = P_LIGNAM.
         LAYOUT-LIGHTS_CONDENSE =  'X'.
    ENDFORM.
    Invoke a custom status (toolbar) in case we want to add any extra
    icons at a later date
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'STAND' EXCLUDING EXTAB.
    ENDFORM.
    FORM START_LIST_VIEWER.
    DATA: PGM LIKE SY-REPID.
    PGM = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
         EXPORTING
              I_CALLBACK_PROGRAM       = PGM
              I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
              I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
              IS_LAYOUT                = LAYOUT
              IT_FIELDCAT              = FIELDCAT
              IT_SORT                  = SORTCAT
              I_SAVE                   = 'A'
              IT_EVENTS                = EVENTCAT[]
          TABLES
               T_OUTTAB                 = IREPO
          EXCEPTIONS
               PROGRAM_ERROR            = 1
               OTHERS                   = 2.
    ENDFORM.
    *******Process Call Back Events (Begin)**************************
    FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM
                           SELFIELD TYPE SLIS_SELFIELD.
    READ TABLE IREPO INDEX SELFIELD-TABINDEX.
    CHECK SY-SUBRC = 0.
    CASE UCOMM.
    WHEN '&IC1'.
    CASE SELFIELD-SEL_TAB_FIELD.
    WHEN 'IREPO-EQUNR'.
    Set Parameter ID and call ZTM3
    Custom transaction to view Trucks
    SET PARAMETER ID 'EQN' FIELD IREPO-EQUNR.
    CALL TRANSACTION 'ZTM3' AND SKIP FIRST SCREEN.
    ENDCASE.
    ENDCASE.
    ENDFORM.
    *******Process Call Back Events (End)*****************************
    Routine to print out user at the top
    FORM SET_REPORT_HEADER USING LT_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
      DATA: LS_LINE TYPE SLIS_LISTHEADER.
      PERFORM CONVERT_DATE.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'H'.
      LS_LINE-INFO = 'ZT01 : Truck Master Data Report'.
      APPEND LS_LINE TO LT_TOP_OF_PAGE.
      CLEAR LS_LINE.
      LS_LINE-TYP  = 'S'.
      LS_LINE-KEY  = 'Run On :'.
      LS_LINE-INFO = W_DATUM.
      APPEND LS_LINE TO LT_TOP_OF_PAGE.
      LS_LINE-KEY  = 'User Name :'.
      LS_LINE-INFO = SY-UNAME.
      APPEND LS_LINE TO LT_TOP_OF_PAGE.
    ENDFORM.                               " SET_REPORT_HEADER
    FORM CONVERT_DATE.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
                DATE_INTERNAL = SY-DATUM
           IMPORTING
                DATE_EXTERNAL = W_DATUM.
    ENDFORM.                               " CONVERT_DATE
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                IT_LIST_COMMENTARY = W_LIST_TOP_OF_PAGE.
    ENDFORM.                               "TOP_OF_PAGE
    FORM STATUS_CHECK USING OBJNR
                            STATUS.
    This uses reverse logic i.e. subrc = 0 means the status being
    checked (delete / inactive) is active.
    e.g checking for I0076 and subrc = 0 means it's been flagged for
    deletion
      CALL FUNCTION 'STATUS_CHECK'
           EXPORTING
                BYPASS_BUFFER     = 'X'
                OBJNR             = OBJNR
                STATUS            = STATUS
           EXCEPTIONS
                OBJECT_NOT_FOUND  = 1
                STATUS_NOT_ACTIVE = 2
                OTHERS            = 3.
    ENDFORM.                               " STATUS_CHECK
    **********FORM ROUTINES (END)*************************************
    The other thing to note is that below I include a FORM to call a custom
    status (toolbar). I define this in the repositry browser by copying the
    STANDARD status from another ALV report, but you do not need to do this
    unless you want to add some more buttons to the standard toolbar. I now do
    this as a matter of course, as my users tend to want extra buttons e.g.
    'REFRESH'.
    How to add an extra button:-
    Create a new status using the repository browser by copying an existing
    one from an ALV program. Call it something like ZSTANDARD. Then change it by
    adding a new button to the toolbar - give it an icon and a four digit name
    like '&TMP' so the program knows what button the user has pressed.
    (ii) Within your program include a FORM called something like SET_PF_STATUS
    as in my example program below. Make sure the name of this FORM is included
    in the call to the ALV function module, again as in the example below.
    (iii) In the USER_COMMAND form, insert code to deal with the user pressing
    the new button e.g.
    Example of how to deal with users pressing new buttons
    *******Process Call Back Events (Begin)**************************
    FORM user_command USING ucomm LIKE sy-ucomm                        
                           selfield TYPE slis_selfield.                
    CASE ucomm.                                                        
    WHEN '&IC1'.                                                       
    READ TABLE irepo INDEX selfield-tabindex.                          
    CHECK sy-subrc = 0.                                                
    CASE selfield-sel_tab_field.                                       
    WHEN 'IREPO-VBELN'.
         SET PARAMETER ID 'VL' FIELD irepo-vbeln.                      
         CALL TRANSACTION 'VL03' AND SKIP FIRST SCREEN. "Outbound       
    WHEN '&TMP'.                                                       
    We are going to refresh the display so tell the ALV this        
          selfield-refresh = 'X'.                                       
    Isn't that clever!                                              
          PERFORM refresh.  "Subroutine to refresh the screen (for example)
    ENDCASE.                                                            
    ENDFORM.                                                            
    ********Process Call Back Events (End) ****************************
    THANKS
    MRUTYUN

  • How to disable the button in application toolbar in report pgm

    Can anyone help with How to disable the button in application toolbar in report pgm

    Hi,
    You can use it_excluding to disable button on the tool bar.You have to find the function code for the required button and append that function code to the it_excluding .The optional IMPORTING parameter IT_EXCLUDING is an internal table. It is only needed if the caller uses the list tool standard interface but wants to deactivate interface functions which he or she does not need.You can have your defined pf-status using I_CALLBACK_PF_STATUS_SET.
    SAMPLE PROGRAM
    tables spfli.
    type-pools: slis.
    DATA W_FCODE TYPE SLIS_EXTAB-FCODE.
    data: t_spfli TYPE SPFLI OCCURS 0 WITH HEADER LINE.
    select * from spfli into table t_spfli.
    data : t_excluding TYPE SLIS_T_EXTAB .
    W_fcode = '&OUP'.
    append w_fcode to t_excluding.
    W_fcode = '&ODN'.
    append w_fcode to t_excluding.
    call function 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_STRUCTURE_NAME = 'SPFLI'
    IS_LAYOUT =
    IT_FIELDCAT =
    IT_EXCLUDING = T_EXCLUDING
    tables
    t_outtab = T_SPFLI
    EXCEPTIONS
    PROGRAM_ERROR = 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.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/99/49b844d61911d2b469006094192fe3/frameset.htm
    Regards,
    Priyanka.

  • Disable commnad field standard toolbar SAP

    Hi,
    How I can disable de command field in the standard toolbar?
    I try to remove, delete, disappear or lock the command field, by this way, the users can't introduce any transactions.
    I know that exist the possibility with which you can don't show this command field (pressing the triangle) but this solution doesn't lock this field and if you press again the icon, this field appear another time, then this is not a solution with which I can solve this problem. Another thing or method that I have used it is through the SM30 with the table SSM_CUST with the parameter ALLOW_TCODE_START but this doesn't work or do any thing with the command field standard.
    Don`t exist authorizations.
    I hope some help for this problem.
    Thank's
    -MARCOS-

    Hi Darren,
    thank you for your answer.
    Do you know other way to disable that command field?? I was thinking about something like Windows Regedit or modification the initial screen (programme SAPLSMTR_NAVIGATION). 
    Thank's.
    -MARCOS-

  • How can I just disable "navigation toolbar" completely for the App Tabs? I don't want to disable this for other normal tabs.

    How can I just disable "navigation toolbar" completely for the App Tabs? I don't want to disable this for other normal tabs. This is important as otherwise while I am in the app tab, i mistakenly start browsing from that tab and meaning of the app tab is completely lost...

    How can I view my full billing history for the app and music stores without iTunes installed?
    No.
    If my account has been compromised
    If you even think this may have happened, immediately change your password.
    See this -> Apple ID: Changing your password

  • How to disable UAC for standard account in windows 8.1 single language OS

    Hi,
    How to Disable UAC in a standard account on windows 8.1 single language OS.
    application for mobile modem (TATA DOCOMO) always asks for administrator password, in windows 7 I used to just set UAC never Prompt in admin account and same setting would reflect in standard user account and then users where not prompted for password but in
    windows 8.1 single language edition I have disabled UAC in admin account but in standard account the setting for UAC was still in default (notify me when programs try to make changes to my computer), if I try to set never, the ok button is greyed out with
    message saying that you must be logged in as administrator.
    And Group policy editor, local security policy are not available in windows 8.1 single language.
    can any one give command to disable UAC  using CMD.
    OR
    set registry to not prompt for admin password.
    Thanks in  advance..........

    Hi Ed,
    But in control panel -> user accounts -> Change user account control settings
     I can set the settings to always notify
    and default notify when programs try to make changes to computer.
    But I can't set it to never prompt because only administrator as power to do that and if I set never prompt in  administrator account the settings in standard user remains in
    always notify.
    so please let me know, if there is any other way to over come the problem.
    Main problem is application from unknown source always prompt for admin password.
    I need to disable it from prompting for admin password to run applications in standard accounts.

  • How to deactivate the standard toolbar 'print' button

    Dear Expert,
    I want to deactivate the standard toolbar print's button in the smartform print preview screen.
    Could you explain and give me some sample code ?  Thanks !

    For details of how to restore it, see the [[menu bar is missing]] article.

  • How to: disable buttons in standard forms

    Hi all,
    does anybody know how to disable session date button from standard forms?
    I cannot find in forms (through Form Builder) the right data block / canvas where this button is.
    Thanks all.
    Jacopo

    I'm not aware of any "session date button". A button on a form can be disabled using the set_item_property.
    Use the layout editor and double-click the button. It will tell you what button it is. The button will also be highlighted in the Object Navigator window.
    Message was edited by:
    Mark Roberts

  • How to disable a field in a standard transaction

    Good day,
    Can any one tell me , with an example of , how to disable (the field should not allow any input ) a parameter  or a select option in a standard transaction.

    Probably the only way to achieve this is by creating transaction variants:
    In the SAP Reference IMG, you can create transaction variants. Choose Basis Components ® Application Personalization ® Tailoring of Application Transactions ® Configure Transaction-Related Display Values for Fields (Transaction SHD0). Transaction variants allow you to preset values for fields in a transaction, set field attributes, or hide entire screens.
    To execute a transaction variant, you define a variant transaction using the Transaction Maintenance transaction (SE93).
    Once you have entered a transaction code and short description, choose transaction type Transaction with variant (Variant transaction).
    To define a variant, enter the name of the transaction and the name of the variant. You can then use the new transaction code to start the special variant of the transaction.
    Steps :-
    Transaction SHD0 - Create a variant for the required transaction bychanging the layout through hiding fields and screens.
    Transaction SE93 - Create a variant transaction (e.g. for VA02 you canname it as ZA02). Next allocate the transaction variant to this varianttransaction.

  • How to disable Acrobat reader toolbar permanently when rendering PDF with Adobe Reader in-browser

    Hi ,
    I am using Adobe Reader  to view my pdf files which is embedded in the HTML page and running as an activex. I need to disable the toolbar like share the content as email link /attachment  for the security reason.  I am able to find a way to hide  the Acrobat toolbar  but it is visible  by just pressing F8.
    Can anyone please suggest a way to disable the toolbar permanently.
    Thanks in Advance.
    Jobin.

    Hi Bernd Alheit,
         when I try to open a PDF in a browser and attaching the query string as #toolbar=0 makes the toolbar hidden. But in my case I am rendering the form using a formservice - renderPDFForm method with XDP format file as a input file. So I cant use the toolbar=0 option, since there is no url. Rather I have used the   javascript code in the form designer to hide the toolbar. app.toolbar  =false ; But this particular code is not working for acrobat reader X version. Can you please help me how to hide the tool bar.
    Thanks,
    Dhamo

Maybe you are looking for

  • Font Book 2.0.3

    I am trying to find out if my Font Book has Crashed. My Illustrator all of a sudden would stop responding, uninstalled it and reinstalled. But I get the following error when I tried to create a PDF: The font Futura could not be imbedded in the PDF do

  • Low and unclear sound from headphone HP Pavilion G6 2228tu

    laptop hp pavillion g6 2228TU  OS windows 8 pro 64 bit every thing was working fine.. but from last 2-3 days i faced a problem of low and cracking sound from headphone .. laptop speraker are working fine .. but when I connect headphone to audio port

  • 160GB Classic Requires Multiple Syncs

    My iPod seems to require multiple syncs, and I haven't the foggiest as to why. Here's the lowdown: 1) I recently completed a mass re-encoding of my music collection. 2) I restored my iPod in iTunes (in OS X). 3) After the restore, it automatically st

  • Localization of form-validation messages in WebDynpro

    Hello all, We're trying to solve this issue: How to get localized (e.g. Slovak) messages which are result of form validation? Situation: there is a context atribute, it's type is a simple type and this attribute is bound to an UI input element. When

  • DB Polling one process

    Hello Everybody, I have a Database adapter as an exposed service to my BPEL process. My BPEL keeps polling the DB adapter. My configurations of polling options are as follows Polling frequency : 60 seconds no of databse rows per XML document : 1 Data