Grey-out button dynamically in the application toolbar

Hi,
How can I grey-out button dynamically in the application toolbar?
It's not an ALV grid, where it's easy.
SET PF-STATUS '100' EXCLUDING 'SOMETHING'. hides completely the button.
Thanks,
Peter

Hi,
Sorry forgot to add something to my previous reply...
The complete steps will be as follows :
1. Create Two PF status , One with active Button and Function code and Second with Inactive Function code and Greyed button (This can be acheive by using Push Button assignment as specified in the thread)
2. Dynamically change the PF status to Second one when you want to deactivate the specified Function from the application tool bar.
regards,
Sumeet Mishra
Reward point if this helps : )

Similar Messages

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • Is there a solution already for the "wifi greyed out button" problem after the update to ios7?

    Apple Techies HELP!!!!!

    Hi there mctreve,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iOS: Wi-Fi settings grayed out or dim
    http://support.apple.com/kb/ts1559
    -Griff W.

  • DISPLAY DYNAMIC TEXT ON THE APPLICATION TOOLBAR

    Hi Abappers,
    On the application toolbar i want to display dynamic text depending on which button is selected. can this be done...
    regards,
    Mansi.

    write the conditional setting of titlebar in
    at selection-screen output .
    if <condition> eq 'X' .
        set titlebar 'MAIN' with 'Maintain' .
      else .
        set titlebar 'MAIN' with 'Display'  .
      endif .
    now double click on MAIN, the system will ask youto creat the title click yes
    in the title field you can write static text along with & sign
    (& Test & & &)
    now if you say
    set titlebar 'MAIN' with 'Display'  '1' '2' '3' .
    it will display as
    Display Test 1 2 3 .
    Regards
    Raja

  • Creating a push button in the application toolbar-----vvvv urgent...

    Hi,
    I have already created in the program.
    The addl. requirement is to create a pushbutton after displaying the output .
    Can anybody tell the procedure on how to create a pushbutton in the application toolbar.
    Plz send the relevant code also to download the output in to the excel sheet.
    Regards,
    Sree
    Edited by: sree on Feb 18, 2008 10:09 AM
    Edited by: sree on Feb 18, 2008 10:13 AM

    Sree,
      If you are using ALV report:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
             EXPORTING
                  i_callback_program       = ws_repid
                  i_callback_pf_status_set = 'GUI_STAT1'
                  i_callback_user_command  = 'STAT'
                  is_layout                = gs_layout
                  it_fieldcat              = i_fieldcat[]
                  it_sort                  = wa_sort1
             TABLES
                  t_outtab                 = i_zaw_pol_plan.
    *--Setting Status of output screen
    FORM gui_stat1 USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'STANDARD1' EXCLUDING rt_extab.
      SET TITLEBAR text-005.
    ENDFORM.
    Double click on status 'STANDARD1'.
    Expand the Application toolbar-->press ctrl+f1 for change mode -
    >add your  buutton name --> double click on name add text name button icon  --> save it.
    In classiccal report also Add set pf status
    same like above

  • Is it possible to deactivate a button on the application toolbar?

    Hello everybody!
    Is it possible to deactivate a button on the application toolbar from standard transaction like PA40?
    I'd want to do it using an user-exit.
    Thanks in advance.
    Cristian

    there is a push button on the std tool bar of pf-status 'Function code'.using that u can activate and deactivate teh function codes
    or
    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.

  • TS1398 My iPhone 4s will no longer pick up or connect to any WiFi network. The WiFi button isn't greyed out or dimmed but the phone won't pick up any of the networks I have been connected to. I have updated to iOS 7, reset the network settings but no luck

    The WiFi button is not greyed out or dimmed but the phone won't pick up or connect toany of the networks I have previously been connected to. I have updated to iOS 7, reset the network settings but no luck. Any suggestions?

    If it's grayed out:
    Reset Network Settings - if that doesn't fix it, then Backup and Restore AS A NEW DEVICE.
    If it's still grayed out, unfortunately that means your Wi-Fi antenna quit, and it needs service.

  • NWBC - hiding/greying out buttons and OBN errors

    Hi,
    I'm working with Environment, Health & Safety via NWBC, but having great trouble influencing the NWBC screens.
    I am backend security proficient enough, however I cannot seems to figure out how the buttons on the NWBC side are controlled,
    hidden or greyed out. They don't always match with the ACTVT fields that you have in your backend authorization roles.
    Things such as Work Centres, the left side-panel/navigation menu I can control, that is not too difficult. What I want to know
    is why sometimes buttons are greyed out in certain forms or screens and how I can authorization trace that. Almost nothing of
    what is going on in NWBC or in dynamically created POWL screens leave any traces on SU53 authorization error reports.
    Who has some good pointers on how to get more grip on NWBC behavior of mostly
    - buttons (hiding, greying out)
    - how to find the correct missing services
    and
    - other OBN errors ?

    Usually it is the application specific POWL feeders which define what actions are available. POWL will automatically disable buttons where the action isn't listed as support. In other words this is a application specific problem, not a NWBC one.

  • Add Button to GUI STATUS Application toolbar

    Hi,
    I have to add a button in the application toolbar of a gui status. I have done that many times before, but I never got into trouble like this time....
    When I open the Gui status and the tree for the application toolbar, I can see already set buttons. When I now click on change (a modification warning comes) and press the plus-icon, it is possible to enter a new item. But everything I´m typing, I get the message Function code XXXX has not been assigned to a function key. I have never got this before....
    When I now go to SE41 and enter a new function key, I can´t use it either afterwards as a button in the application toolbar.
    In the tree of the function keys, I can´t change anything...
    What can I do here? The program name is SAPMZLCG, so it has been modified sometimes. But how can I change the GUI STATUS now to add a new button?
    Thank you!

    You need to goto the application toolbar and the add your text to the items and click below the text you will get one popup which will ask for static text and dynamic text. select statictext and then add all the information like text name and if you want to add an icon you can do it aswell. the there will be another popup for fuction attributes where you will be able to find some options loke fuction types and reaction need to select all that and then click on the ok button and save check and activate the same and after that activate and check whether the button is visible or not. once the button is visible then you need to check for the ok_code and sy_ucomm and then insert the fuctionality of the button.
    I hope this might solve your problem.

  • The "Poster" function option is disabled or greyed out.  What's the fix?

    I have a PDF that is at 8x11.  I want to enlarge and print across multiple pages (4 pages by 4 pages) but the Poster button is greyed out and won't let me select it.  I've even tried enlarging the page size but that doesn't fix the issue. 

    I had the same issue and was able to solve it.
    In my case, I had enabled the "Print As Image" option in the "Advanced Print Setup" dialog, which pops up when I press the "Advanced" button next to the printer selection dropdown box in the "Print" dialog. After enabling this option, the "Poster" button is greyed out. After disabling the "Print As image" option, the "Poster" button was available again.

  • Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verif

    Help needed. I have a 3TB external hard drive partitioned into 1TB's. I used one partition as backup for the main computer hard drive. But now it is greyed out as shown in the disk utility and its name changed, i dont know how that happened, i tried verifying and repairing it but had no luck. I also tried mounting and unmounting it but still no solution. Anyone to help please?

    Looks bad. I would strongly advise backing up the stuff on the other two partitions as soon as possible in case the rest of the drive goes wrong.
    Beyond that, Disk Utility has limited abilities to repair disks, DiskWarrior uses a different approach and might, emphasis might be more successful. It has certainly done the job for me in the past when Disk Utility could not.
    See http://www.alsoft.com/diskwarrior/

  • How to perform a bottom of the application toolbar by codding?

    Hi.
    I tried to found info about this, it seems to be easy, but i couldn't found it.
    I have a ALV Report (with funtion module not OO).
    I copied a gui status from program saplkkbl status gui: standard_fullscreen.
    In the ALV i have one column editable, i could refresh the info when i push the bottom that refers the function code &REFRESH
    I add a buttom in the application toolbar, i would like to execute or perform the standard funtion '&Refresh', and after that do my own code.
    how could i do it?
    thanks!!!
    Albio.-

    Hi.
    Well... i'm doing my program like you told me:
    FORM user_command USING r_ucomm LIKE sy-ucomm
      rs_selfield TYPE slis_selfield.
      rs_selfield-refresh = 'X'.
      CASE r_ucomm.
        WHEN 'CALC'. "buttom added by me
          PERFORM recalcula_formula.
        WHEN 'RUN'.  "buttom added by me
          PERFORM corre_batch_input.
        endcase.
    ENDFORM.                    "USER_COMMAND
    I need to execute the standard funtion bottom '&REFRESH' before my perform 'recalcula_formula'.

  • 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.

  • Find out how many times the application was touched by a particular user

    Hello,
    can anyone please help me out with this issue.
    I want to find out how many times the application was accessed by a particular user,their session IDs for each of the applications in a particular workspace. I am using a role based authorization scheme for my application. I am using Oracle APEX 3.2 version. Are their any underlying APEX tables/Views to find out the above details.
    thanks,
    Orton

    Hi,
    Have you check views APEX_WORKSPACE_ACCESS_LOG and APEX_WORKSPACE_ACTIVITY_LOG
    Regards,
    Jari
    Edited by: jarola on Oct 20, 2010 7:37 AM
    This might help also
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/advnc.htm#CHDDHGJI

  • Since the update IOS 8.2, the artists are not any more sorted out by name in the application Music. Anybody has the same problem?

    Since the update IOS 8.2, the artists are not any more sorted out by name in the application Music. Anybody has the same problem?

    https://itunes.apple.com/us/album/king-dance-bonus-track-version/id531510300
    Bailando por el Mundo shows up on my iPhone as just Juan Magan It should say Juan Magan, El Cata & Pitbull
    Como Yo shows up on my iPhone as just Juan Magan. It should say Juan Magan & Buxxi
    https://itunes.apple.com/us/album/meet-orphans-deluxe-edition/id402727180
    Danza Kuduro shows up on my iPhone as just Don Omar. It should say Don Omar & Lucenzo
    https://itunes.apple.com/us/album/don-omar-presents-mto2-new/id518105534
    No Sigue Modas a.k.A Ella No Sigue Modas shows up on my iPhone as just Don Omar. It should say Don Omar & Juan Magan.
    https://itunes.apple.com/us/album/globalization/id933984003
    Time of Our Lives shows up on my iPhone as just Pitbull. It should say Pitbull & Ne-Yo

Maybe you are looking for

  • TS3430 I tried all of this and nothing worked. How do I get my Itunes back and working again????

    Apple Store Mac iPod iPhone iPad iTunes Support   Languages        iTunes 11.1.4 for Windows: Unable to install or open Symptoms Some Windows customers may experience installation issues while trying to install or open iTunes 11.1.4. Symptoms may inc

  • NcSetAttr.vi returns error for setting Transciver mode with USB8472 hardware

    I am using a NI-USB 8472 (low speed CAN @ 33333kbps) device and am trying to set it up for the wakeup mode which states in the devices spec that it has this capability.  However, attached is the quick test code that returns and error when using the n

  • Premiere sees .flv video file as only audio

    Hi, I'm on Premiere Pro CS 4.2.1. When I import this particular flv file into Premiere, it sees it as an audio file, rather than a video file. I assume I am missing a codec, or perhaps it was encoded with something that doesn't work with Premiere. Ho

  • 6120 Display settings

    I have recently bought a 6120 but it has an annoying feature of blanking out the screen after a certain time (which is ok as I have the display to time out after 60secs)) but if I miss a call, sms, email etc the screen does not light up to tell me th

  • About sld development

    Hi friends, Could u tell me about Namereservation,Content maintainence and Classbrowser of Development in SLD. Best Regards, Rajesh