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é

Similar Messages

  • How to disable execute button in selection-screen

    Hi,
    I have already placed a execute button in selection screen but now I want to diable
         1. All std  buttons including F8
         2.   but excluding F1
    regards
    paul

    Hi
    Check this FM : RS_SET_SELSCREEN_STATUS
    sample code :
    DATA: BEGIN OF i_exc OCCURS 0,
           code LIKE sy-ucomm,
       END OF i_exc.
      DATA: ws_repid like sy-repid.
      CLEAR i_exc.
      i_exc-code = 'ONLI'.
      APPEND i_exc.
      MOVE: sy-repid TO ws_repid .
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = ' '
          p_program = ws_repid
        TABLES
          p_exclude = i_exc.
    Laxman
    Message was edited by: Laxmana Kumar

  • How ti disable enter button in selection screen.

    Hi,
    Developed a  report and when execute the Tx code first i get selection screen and when inputs are given in selection screen and hit enter it will direct to module pool screen.. here after giving inputs in selection screen,ENTER and F8 button are working but i want to disable ENTER button ....
    Regards,
    Venkat.

    Hi venkat,
    I am also fasing same problem plz help me how to call form in start-of-selection please help me with any sample as soon as possible,
    Regards
    sridevi.V

  • Suppress or Disable SAVE button in Approval screen (BBPSC07)

    Dear Experts,
    i would like to ask how to suppress or disable SAVE button in Approval Screen (BBPSC07). Thanks in advance..
    Edited by: Mochamad Affan Rasyidi on Oct 3, 2009 6:38 AM

    Hi
    If you mean disabling the Variant Save Option of the SAVE button in a Selection-Screen without getting rid of the button in the screen you can do this.
    FIELD-SYMBOLS <fs>.
    AT SELECTION-SCREEN.
      IF sy-ucomm EQ 'SPOS'.
        ASSIGN ('(RSDBRUNT)<SSCRFIELDS>-UCOMM') TO <fs>.
        <fs> = ''. 
    *  Logic you want to apply to the SAVE button
      ENDIF.

  • 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 disable Setting button in Tools - Options - Advanced - Network from windows registry?

    Dear support,
    Now, my office use Firefox as default browser to access WebServer. And there are some policy that users must use ProxyServer. I do not want user change proxy setting in Firefox. How to disable Setting button in Tools - Options - Advanced - Network from windows registry?
    Thank you.
    Treky

    You can not use the Windows registry to disable items in Firefox. This link shows how to lock down Firefox proxy settings, change the values to suit your needs:
    http://www.stbernard.com/ip5kb/iPrism/WhatsNew/50SupportFiles/SupportFiles/IP0460.htm
    One minor variation, in step 4 instead of adding that line to all-js, you can create a file called ''local-settings.js'' containing the line shown and save the file in the same folder as all.js

  • How to Disable Save Button in interactive form via sfp

    Dear,experts
    My requirement is that Disable Save Button in interactive form via sfp .Is there any options to do this or write Javascript/Formcalc.Please help!
    Thanks
    Vince.

    I found a adobe documentation that says that If you want to disable some toolbar buttons, you will have to use application-level Javascript. Looks like it is not possible from ADLC
    Place the following Javascript code inside a .js file in
    %ProgramFiles%\Adobe\Reader 9.0\Reader\JavaScripts   to disable the toolbar buttons:
    // [File - Create Adobe PDF Using Acrobat.com], plus toolbar button
    app.hideMenuItem("WebServices:CreatePDF");
    app.hideToolbarButton("Weblink:CreatePDF");
    // [File - Collaborate], plus toolbar button
    app.hideMenuItem("Annots:FileCollaboration");
    app.hideToolbarButton("Annots:CollabToolButton");
    app.hideToolbarButton("CommentTask");
    app.hideToolbarButton("SigTaskButton");
    app.hideToolbarButton("SaveFileAs");
    app.hideToolbarButton("Save");
    Regards
    Sandy

  • Selection screen when regarding from other program

    Hi all
    i am passing one input to selection screen of zreport from my module pool program.
    I have to enter another input at the selection screen as one input is retrieved from module pool.
    my problem,
    the user can still change the input that has been retrieved from module pool which i don't want to change.
    You can say that to remove that field from selection screen but the problem is that sometimes the zreport is run directly in that case the user
    has to enter two input fields in selection screen.
    Is there a way that when i come to zreport from module pool the field for which i am bringing value from module pool can be greyed out.
    pls let me know the solution.
    Thanks

    Sure,  all you need to do is set up a selection-screen flag,  then you can set this flag when SUBMITing the program,  then check this flag and then turn the field to output only.  HEre is what I mean.
    report zrich_0001.
    parameters: p_fld1(10) type c,
                p_fld2(10) type c.
    parameters: p_flg type c no-display.
    at selection-screen.
      if p_flg = 'X'.
         loop at screen.
            if screen-name = 'P_FLD2'.
               screen-input = '0'.
               modify screen.
            endif.
        endloop.
      endif.
    See here that P_FLG is the flag which is NO-DISPLAY,  when it is "X", we will deactivate the P_FLD2.  So when you submit it,  set the flag.
      submit zrich_0001 via selection-screen
                with p_fld1 = 'Value1'
                with p_fld2 = 'Value2'
                with p_flg  = 'X'.
    Regards,
    Rich Heilman

  • How to disable print button in outoput screen from vf03

    hi,
    i have a requirement to display error message and, disable the print and print preview button.
    below its the step,
    1)vf03
    2)key in document type
    3)select output type
    4)if there's error, display error message and disable print and print preview button.
    what i have done was
    1) i've put the error message in my 1st part of code,
    *determine discount
    it_zmas-discount = it_zmas-gross_value - zkwert.
    MODIFY it_zmas.
    ELSE.
    MESSAGE ID 'Z0' TYPE 'S' NUMBER '999' WITH 'Please maintain cust pricing grp 34 for ' wa_zmas-matnr.
    p_proc_screen = 'X'.
    ENDIF.
    CLEAR zknumh.
    2)then i set itcpo-tdpreview = ' ' to display my print button after display the error message
    CLEAR itcpo.
    MOVE-CORRESPONDING nast TO itcpo.
    itcpo-tdcover   = nast-tdocover.
    itcpo-tddest    = nast-ldest.
    itcpo-tddataset = nast-dsnam.
    itcpo-tdsuffix1 = nast-dsuf1.
    itcpo-tdsuffix2 = nast-dsuf2.
    itcpo-tdimmed   = nast-dimme.
    itcpo-tddelete  = nast-delet.
    itcpo-tdcopies  = nast-anzal.
    itcpo-tdprogram = sy-repid.
    IF us_screen NE space
    AND p_var EQ space.
    itcpo-tdpreview = 'X'.
    itcpo-tdnoprint = 'X'.
    ELSE.
    itcpo-tdpreview = ' '.
    ENDIF.
    CASE nast-nacha.
    WHEN '1'.
    xdevice = 'PRINTER'.
    itcpo-tdnewid = 'X'.
    itcpo-tdgetotf = 'X'.
    WHEN '2'.
    xdevice = 'TELEFAX'.
    itcpo-tdtelenum = nast-telfx.
    itcpo-tdteleland = us_country.
    itcpo-tdsenddate = nast-vsdat.
    itcpo-tdsendtime = nast-vsura.
    WHEN '3'.
    xdevice = 'TELETEX'.
    itcpo-tdtelenum = nast-teltx.
    itcpo-tdteleland = us_country.
    itcpo-tdsenddate = nast-vsdat.
    itcpo-tdsendtime = nast-vsura.
    3) my last problem its, i am not sure how to disable the print button.i need  to show an error message for my invoice via vf03 when error occur when user click print or print preview button. however with my code above, i am only able to display the error message and disable the print preview.
    could anyone guide me how do i disable my print button? really appreciate your help.
    regards,
    sw

    Instead of disabling the print buttons, you can restrict creating the actual output message for a specific output type.
    You can achieve it by creating the Output Requirement in transaction VOFM. You need to assign this requirement to your Output type. In this Requirement you can check all your conditions. If they all validation pass through than and than create the Output.
    Regards,
    Naimesh Patel

  • 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 disable a field in selection screen based on condition.

    Hi,
    I have 2 radio buttons- p_normd, p_recov  and 2 other controls - like text boxes, say tb1 and tb2. and some mandatory fields below.
    If i choose p_normd, i want one control(tb2) to be disabled and if i choose p_recov, i want the other control(tb1) to be disabled(tb2 should be enabled then.)
    Currently i am using the following code. The 1'st radiobutton is intially checked. But the problem is when i click on the 2'nd radio button, the other control(tb1) is not getting disabled. When i double click, i get an error telling mandatory field to be filled. Only after the other mandatory fields below are filled, and after i double click on the unchecked radiobutton, the other control gets disabled.
    Please suggest what to do..
    The current code below:
      AT SELECTION-SCREEN OUTPUT. "ON RADIOBUTTON GROUP rg01.
      LOOP AT SCREEN.
      IF  p_normd EQ c_x  AND screen-group1 = 'SC2'.
            MOVE 0 TO screen-input.
          MODIFY SCREEN.
      ENDIF.
      IF p_recov EQ c_x AND screen-group1 = 'SC1'. "IF screen-name = 'ERDAT-LOW' OR screen-name = 'ERDAT-HIGH'.
            MOVE 0 TO screen-input.
            MODIFY SCREEN.
      ENDIF.
      ENDLOOP.
    Thanks,
    Ammu

    Hi
    declare your parameter as below:
    parameters: p_x type c radio button group g1 user-command r.
    in at selection screen output event .
    check for the radio button.
    loop at screen.
    if screen group is <desired value>
    then screen-active = 0 or 1. <do whatever you want to do.>
    modify screen.
    endloop.
    see below the sample code.
    <<<<<AT SELECTION SCREEN EVENT>>>>>
    AT SELECTION-SCREEN ON BLOCK B1.
      IF P_LCOST = C_X.
        PERFORM CLEAR_FIELDS.    " Clearing fields before loading the screen
        CALL SELECTION-SCREEN 100 STARTING AT 20 5.
      ELSEIF  P_MCOST = C_X.
        PERFORM CLEAR_FIELDS1.          " Clearing fields before loading the screen
        CALL SELECTION-SCREEN 101 STARTING AT 20 5.
      ENDIF.
      IF SY-SUBRC = 0.
        PERFORM VALIDATION.             " Validating selection screen input
      ELSE.
        LEAVE TO TRANSACTION C_TRAN.
      ENDIF.
    <<<<<<DECLARATION PART>>>>>>
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: P_LCOST RADIOBUTTON GROUP GI DEFAULT 'X',
                P_MCOST RADIOBUTTON GROUP GI.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS WINDOW TITLE TEXT-002.
    SELECTION-SCREEN BEGIN OF BLOCK B2.
    PARAMETERS: P_COAREA TYPE CSKS-KOKRS OBLIGATORY,         " controlling area
                P_FYR    TYPE COEP-GJAHR OBLIGATORY,         " fiscal year
                P_PERIOD TYPE COEP-PERIO OBLIGATORY.         " fiscal period
    SELECT-OPTIONS: S_CCNTR FOR V_KOSTL OBLIGATORY,       " Cost Center
                    S_COELM FOR V_KSTAR MODIF ID M1,       " Cost element
                    S_PDATE FOR V_BUDAT OBLIGATORY.       " posting date.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN BEGIN OF SCREEN 101 AS WINDOW TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF BLOCK B3.
    PARAMETERS:     P_CCODE  TYPE T001-BUKRS OBLIGATORY,         " Company Code
                    P_FYEAR  TYPE COEP-GJAHR OBLIGATORY.         " fiscal year
    SELECT-OPTIONS:   S_GLACC FOR V_HKONT OBLIGATORY,       " G/L Account
                      S_PCNTR FOR V_PRCTR MODIF ID M2,      " Profit Center
                      S_PODATE FOR V_BUDAT OBLIGATORY.      " posting date.
    SELECTION-SCREEN END OF BLOCK B3.
    SELECTION-SCREEN END OF SCREEN 101.
    thanks
    LG
    Edited by: LalitG on Apr 13, 2011 1:38 PM

  • Disable execute button on selection screen

    Hi Experts,
    I need to disable execute button on the selection screento restrict program to run in foreground and add another buttn which schedules a job in background. Kindly help.
    Thanks in advance.

    TABLES: sscrfields.
    include rsdbc1xx.
    INITIALIZATION .
    sscrfields-functxt_01 = 'Button1'.
    SELECTION-SCREEN: FUNCTION KEY 1.
    AT SELECTION-SCREEN OUTPUT.
      append 'ONLI' to current_scr-excl.
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
      WHEN 'FC01'.
    "* Here you write your logic for background job
      ENDCASE.
    I have the same problem. This works like a charm!
    Thanks Dzed Maroz.
    Edited by: Samanta Limbrada on Mar 30, 2011 6:29 AM

  • How To Disable Save Button in a PDF

    I have Creating One Application in Oracle Forms 6 and Run in Web
    In that I have Showing a Pdf Fie using a WEB.SHOW_DCOUMENT.
    But I have to Disable a Save and print Button in Display pdf file in a IE.
    It’s Possible then help
    thx

    The best way to find out something about it is to type in www.google.com these key words: disable save adobe
    Then you can read more about it on this links:
    http://www.adobeforums.com/cgi-bin/webx/.3bb65a55
    http://www.adobeforums.com/cgi-bin/webx/.3bc076e4
    http://www.acrobatusers.com/forums/ask_an_expert/questions/view/1222/
    It's interesting question and very important but looks like unsolved...

  • How to disable "Save" button in FileDownload Element??

    Dear All,
    I have an urgent case which <b>requires not to show the "Save" button in FileDownload element box</b>.  I only want "Open" and "Close" button shown.  How to achieve this?
    thanks,
    Zita Liao

    Thanks all,
    But I use this piece of the code....and only the pdf file is opened directly.
    Other types such as .doc or .ppt, the system still pops out the "SAVE" window though.  How to deal with other types and let them open directly??
    try{
                               IWDCachedWebResource pdfResource=WDWebResource.getWebResource
                           (out.toByteArray(),binaryType.getMimeType());
                           wdComponentAPI.getWindowManager().createExternalWindow(
                             pdfResource.getURL(),"Report View",true).open();
                          catch(Exception e)
                           wdComponentAPI.getMessageManager().reportException(
                           e.getLocalizedMessage(),
                           true);
    thanks,
    Zita

  • How to disable SAVE button(in menu and tool bar)

    Hi all
    i have to disable the save button in menu and tool bar...
    Thanks
    raj

    Hi,
    I have an issue to disable special menu in the menu list for production supervisor responsiblity.
    I am using release 12 application. I want to achieve this using custom.pll
    I have used the following code in the custom.pll
         if (event_name='WHEN-NEW-BLOCK-INSTANCE') THEN
              if (form_name='GMEBDTED') then
              app_menu2.set_prop('Transact Material',ENABLED,PROPERTY_OFF);
         end if;
         end if;
    But when i complied this code and reopen the form still the Transact Material in the menu list enabled.
    please give ur advice
    Regards
    Prabu

Maybe you are looking for