Screen Application toolbar.

Hi Experts,
   I have created two buttons on application toolbar i.e. SAVE And CHECK.
my requirement is when any one click on CHECK button then only SAVE button should active.
how to do this?
Thanks,
Abhishek

Hi Tarun,
I didn't understand whether it would work with the code you have given,
START-OF-SELECTION.
  SET PF-STATUS '<pf_status_name>' EXCLUDING 'SAVE'. "disable save button
AT USER-COMMAND.
  CASE sy-ucomm.
    WHEN 'CHECK'.
      SET PF-STATUS '<pf_status_name>'. "enable save button when CHECK is clicked
      "other code
  ENDCASE.
once you have set the pf-status, i doubt if it would work without using the immediately option...
please check it out...
Hi Abhishek,
is it working without immediately option as well.... please do let me know as I tried from my end tarun's code was not working without immediately option and it worked with the code I pasted just before tarun.
Regards,
Pinaki

Similar Messages

  • Disable selection screen application toolbar button

    Hi All,
    Could you please let me know how to hide or disable application toolbar pushbuttons in the selection screen default screen 1000??
    Thanks & regards,
    Santhosh

    Hi,
    Try this way.
    "Create table for function codes
    DATA: it_exclude TYPE TABLE OF sy-ucomm.
    PARAMETERS: r1 RADIOBUTTON GROUP gr1 USER-COMMAND uco1,
                r2 RADIOBUTTON GROUP gr1.
    INITIALIZATION.
      "Create two buttons with function codes FCODE1 and FCODE2.
      SET PF-STATUS 'MY_GUI'.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 = 'X'.
        APPEND 'FCODE1' TO it_exclude.
        CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
          EXPORTING
            p_status  = 'MY_GUI'
          TABLES
            p_exclude = it_exclude.
      ELSE.
        REFRESH it_exclude.
      ENDIF.
    Thanks
    Venkat.O

  • Button on report selection screen application toolbar

    Hi,
    I want to place Button (application tool bar)on report(executable program) selection screen.
    Need your valuable suggestions.
    Thanks,
    Sreedevi

    hii
    1. create GUI status with "Status" name and "Short text"
    2. Now a screen will appear with the following,
                    a. Menu Bar
                    b. Application tool bar
                    c. Function keys
    3. Click the down arrow near the application toolbar
    4. Enter the function code like SAVE, EXIT, etc., You
    can also give ur own meaningful naming convention .
              For example ( ZTEST)
    5. Now press enter, it will ask for "Static text" or "Dynamic Text". Choose Static text and press enter
    6. Now it will ask for function text and Icon name. Specify some function text ( what it does ) and Icon name u want to attach.
    7. Press enter. It will ask for function keys. Specify a function key and press enter.
    8. Now u can handle this function code (ZTEST) either in PBO/PAI like IF FUNCTION = ZTEST ...ENDIF
    Note:
    Don't forget to set the GUI status u have created in PBO event.
    Example code to set PF status.
    PROCESS BEFORE OUTPUT.
    MODULE liste_initialisieren.
    MODULE setstatus_0100.
    LOOP AT extract WITH CONTROL
    tctrl_ztufi_league CURSOR nextline.
    MODULE liste_show_liste.
    ENDLOOP.
    In the above MODULE setstatus_0100 do the following,
    SET PF-STATUS 'ZGUI'. ( The GUI status u have created).
    Check this:
    <b>http://www.sapdevelopment.co.uk/reporting/selscr/but_appbut.htm</b>
    <b>http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    Re: How to add push buttons in out put screen of ALV
    http://www.planetsap.com/Tips_and_Tricks.htm</b>
    Regards
    Naresh

  • Creating push button on Selection screen application toolbar

    Hi Friends,
    this is a HR-ABAP report. I have to create a push button on Selection screen. when user clicks on that push button 'MODAL DIALOG BOX' has to be displayed containing some data.
    plz kindly give some sample code to do this.
    Regards,
    Radhika Dasharatha.

    Hi,
    1)Use SELECTION-SCREEN  PUSHBUTTON /10(20) PUSH USER-
      COMMAND 'ABC'. in selection screen.
    2) Give the static name to button in INITIALIZATION event like PUSH = 'PRESS'.
    3) At selection screen.
      if sy-ucomm eq 'ABC'.
    call FM HR_BE_GE_MODAL_DIALOG
    endif.
    Thanks
    Sandeep
    Reward if useful

  • Selection screen (application toolbar)

    Hi,
    Here I have following scenario:
    Execute Selection screen 1(1000) -> Calls selection screen2(500) -> Calls and execute smart form
    Flow is like this :
    in start-of-selection.
    initial coding for second screen.
    Call Selection-screen 500.
    Then call function 'SSF_FUNCTION_MODULE_NAME'.
    Now if i click back button in smart form its going to selection screen 1which is quite acceptable, but if we are clicking BACK or CANCEL or EXIT button in selection screen 2(500) instead of going to Selection screen 1(1000) its calling the smart form. If i click debug and click back button in selection screen2 (500) the pointer is coming directly to following statement in start-of selection:
    Call Selection-screen 500.
    and in this time after F5 if i check sy-dynnr it comes 1000 and sy-ucomm it comes blank
    Can you please tell me what code should I need to write to handle BACK, CANCEL,EXIT for second selection screen 2(500) and at which point and at which event. Please suggest.
    I will definetly .............

    Hi,
    Write LEAVE TO SCREEN 0 in the PAI of screen 500.
    MODULE user_command_0500 INPUT.
      CASE g_ok_code.
        WHEN 'BACK' OR 'EXIT'.
        Goto Selection screen
          LEAVE TO SCREEN 0.
        WHEN  'CANC' .
          LEAVE PROGRAM.
        WHEN OTHERS.
        Do Nothing
      ENDCASE.
      CLEAR : g_ok_code.
    ENDMODULE.

  • How to create application toolbar in modal dialog box in selection-screen

    Hi Experts,
    how to create application toolbar in modal dialog box in selection-screen?
    Regards,
    Swapnika

    Hi,
    Check the following link regarding Model dialog box and appication toolbar
    http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
    It helps in solving your problem.
    Thanks.
    Ramya.

  • How to Grey(Deactivate) Function Code at application Toolbar of a screen

    Hi all,
    I want to gray(deactivate) function codes at application toolbar of a normal screen. I am using excluding addition of set pf-status but it hides the button from the application tool bar.
    I don't want to hide button, but gray only.
    Thanx in advance.

    When editing the PF-Status itself, try selecting the menu option and then F7 (the Function Code / Activate / Deactivate button, or menu Extras > Function Active <-> Inactive).
    Jonathan

  • Adding Button on application toolbar on ABAP List display screen....

    Hello Gurus,
    I copied SAP program 'RFBUEB00' into custom program. When I execute the custom report, I see the data lijne by line in ABAP list. I see a deafult 'Select' button on application toolbar.
    If I want to add additional custom button on application toolbar on ABAP list display screen, how can I do it ? Please help.
    Regards,
    Jainam.
    Edited by: Jainam Shah on Oct 27, 2009 5:44 PM

    >
    Jainam Shah wrote:
    > In my case it just rights the data in ABAP screen as follows. I can't use ALV grid and stuff because its on older version.
    >
    >
    FORM LISTE_SCHREIBEN.
    >
    >   check = '@T9@'.
    >
    >   FORMAT COLOR COL_KEY INTENSIFIED OFF.
    >   WRITE: / SY-VLINE,
    >            check,
    >            BKPF-BUKRS,
    >            BKPF-BELNR,
    >            BKPF-GJAHR.
    >   FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    >   WRITE:   BKPF-BLART,
    >        (8) BKPF-BLDAT DD/MM/YY,
    >        (8) BKPF-BUDAT DD/MM/YY,
    >            BKPF-WAERS,
    >            BKPF-XBLNR,
    >         80 SY-VLINE.
    >   XAUSGABE = 'X'.
    >   HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE.
    >   IF BKPF-BKTXT NE SPACE.
    >     FORMAT COLOR COL_KEY INTENSIFIED OFF.
    >     WRITE: / SY-VLINE, CHAR4 UNDER BKPF-GJAHR.
    >     FORMAT COLOR COL_NORMAL INTENSIFIED.
    >     WRITE:   BKPF-BKTXT UNDER BKPF-BLART,
    >              80 SY-VLINE.
    >     HIDE: BKPF-BUKRS, BKPF-BELNR, BKPF-GJAHR, BKPF-BSTAT, XAUSGABE.
    >   ENDIF.
    > ENDFORM.
    >
    >
    > I have to select multiple lines and proces them. For one line I know I can use AT-LINE-SELECTION but this is multiple lines...
    What is your SAP system version?
    It seems to be displayed only in ALV. Well, if you can make it to display in LIST ... you can go with set pf-status.
    good luck

  • ABAP how to suppress Application toolbar  on the screen

    Hi all
    As far as my knowledge is concerned I know we can't suppress the application toolbar in module pool programming (in the screen painter) but if is there any way to do that ?
    Regards,
    Mahesh

    Yes it is.  Or to be precise - depending on your definition of "Application toolbar".  For example, read the help text of  SET pf-status.

  • Application toolbar of selection screen

    Hi,
    I'd like to add SEPARATOR (not button) to application toolbar of selection screen. Is it possible?
    Thanks
    Radoslaw

    Hi Kltys,
       Check the following sample programs:
    Selection Screen :
    demo_sel_screen_with_subscreen.
    demo_sel_screen_as_subscreen.
    demo_sel_screen_in_tabstrip.
    demo_sel_screen_with_tabstrip.
    DEMO_SEL_SCREEN_PUSHBUTTON
    D_ANALYSEREPORT_EABP_BUTTONS
    Reward Points if this helps.
    Manish
    Message was edited by: Manish Kumar

  • How to Add button in Application Toolbar for Fb01(screen) Transaction

    Hi All,
    I need to Add a customized Button at Application toolbar for FB01 Tcode for standard screen.
    I am unaware of this,please take it as an urgent issue and help me with your inputs.
    Points will be given.
    Thanks,
    Ramesh

    On which screen (in which standard status ?) to do what ?
    You could try to bypass sscr key requirement using some BAdI like FI_HEADER_SUB_1300 to add a button to screen or identifying an implicit enhancement option in one PBO module/form to change PF-STATUS, then look for such an option in PAI module/forms.
    Regards,
    Raymond

  • Menu bar and application toolbar

    is there a way to change item text on menu bar and application toolbar  eg in business partner overview(T-Code fmcacov) i want to change text 'Business Partner" to "tax Payer" on both menu bar an application toolbar. i have tried the norma way of going to change the screen but when i am on the GUI status its not going to change mode even sfter entering the access key

    Hi ,
    Open the program and click on GOTO=>ATTRIBUTES.
    Change the text to the heading which you want.
    SAVE & ACTIVATE.
    Regarding opening in change mode, the steps you have carried out are correct.
    You need to comment the existing gui-status by placing cursor on that line & click delete.
    Then click on INsert button and add new gui-status.
    Best regards,
    Prashant

  • How to call report by click application toolbar button?

    I need to know the way to call a report by click a button in application toolbar?
    BR,
    Ali
    Moderator message: next time, please (re)search yourself instead of asking basic questions.
    Edited by: Thomas Zloch on Aug 31, 2010 11:44 AM

    Hi Ali,
    Selection-screen function key is used to add push buttons on application tool bar.
    Syntax:
    selection-screen functuin key<num>
    Where num is ranging from 1 to 5.
    whenever application toolbat components are added using above statement,tables are defined in the structure "SSCRFIELDS" as "Functxt_01","Functxt_02","Functxt_03","Functxt_04","Functxt_05" for the related function key numbers.
    eg:
    Tables SSCRFIELDS.
    Selection-Screen pushbutton/10(10 lb1 user-command pb1.
    Selectiong-Screen Function key1.
    Selectiong-Screen Function key2.
    Selectiong-Screen Function key3.
    Selectiong-Screen Function key4.
    Selectiong-Screen Function key5.
    Initialization.
    sscrfields-Functxt_01 = 'first".
    sscrfields-Functxt_01 = 'fifth".
    At Selection-Screen.
    case sy-ucomm.
    When 'first'.
    Sumbit zreport.
    endcase.
    Hope it solves your problem.
    Regards,
    Amarnath S

  • How to add a custom button on Application Toolbar for ME21N, ME22N & ME23N

    Hi Experts,
    I am new to this forum. I hope someone will help me.
    My Requirement is as :
    I want to add a new custom button on Application Toolbar for ME21N, ME22N & ME23N.
    There are already standard buttons in this toolbar which is Document Overview On, Hold, Personal Settings etc.
    So after the 'personal settings' button i want add a new button and want to write a code which will open one custom screen.
    I am not able to find any exit for this....
    Please help...
    Thanks....

    Hey Buddies
    Try below BADI : ME_PROCESS_PO_CUST
    and check with required methods.
    1)PROCESS_ITEM
    2)CHECK
    3)POST
    Regards,
    Pranav

  • How Do I Get Rid Of The Application Toolbar In CS4?

    I can seemingly turn everything else off. I don't want the Application Frame. I don't want the Application Toolbar. I just don't want it. My screen real estate is valuable to me and it's in the way. I can't even dock it on a side or as a tab somewhere. I need the vertical screen real estate. Where do I turn this off? And if it isn't possible--why NOT? This is a serious gripe and I'm going to see if I can scrounge up an old copy of PS. This is a waste of $700.

    I humbly submit that I was wrong. And sorry for the rant; this has been bugging me for a while. The menu item was indeed there--after I restarted PS while holding down command-option-shift. Best guess is something corrupted while/shortly after installing.

Maybe you are looking for

  • Apex Listener Configuration

    Hello Experts, I install apex and configure the apex listener at port 80 by mistake couldn't pay attention to use port 8080. The installation is complete but the apext is running at lhttp://localhost/apex but the login window is invisible on the page

  • Siri no longer understands my voice commands.

    Since the 6.01 update, Siri is now worthless. It does not understand my voice command. When using Siri to "Call Home" it will pick someone in my address book that has nothing whatsoever to do with my "home". What happened to Siri since the "update"?

  • How can I get my images to show up properly?

    I'm a photographer and have just installed my 2009 Aperture2 disc on my new MacBook Pro 2011. The images I've tried to import from folders on my desktop are showing up as blank rectangles. Any ideas as to what might be going on and how to correct it?

  • How can i use exisitng user data(Id, password) for user mapping

    Hi All, For User mapping , we can import user mapping data for many users from user administration. and for each user we can maintain mapping data in the standard format. eg: [User] uid=user2 $usermapping$:BCE:user=ext_user2 $usermapping$:BCE:mappedp

  • HT3939 is there an update for iPhone 4 A1332?

    is there an update for iPhone 4 A1332? It seems lately every ap I try to load requires a different system.