How to Enable a Push Button In The Form That Is Always Greyed Out?

Greetings All,
I am trying to enable an existing "Return" Push Button(PB) which is always greyed out whenever the form is called in either an update or review mode. After some research, I found that this PB's functional property is "Enabled" (i.e. the enabled value = 'Yes'), and it is coded programatically set 'Off' in 30 places and 'On' in 2 places in the form that I inherit from my predecessor by using the following code:
SET_ITEM_ON_OR_OFF('BLK_UPDATE.PB_RETURN', <XXXXX>);
Where <XXXXX> could be either TRUE or FALSE. I've been spending a lot of time in trying to enable this "Return" PB (without modifying the existing programming code) by adding the 'SET_ITEM_ON_OR_OFF' built-in command to set the PB on in WHEN-BUTTON-PRESSED TRIGGER for the PB_RETURN and WHEN-NEW-FORM-INSTANCE Trigger, but all tries in vain. Could you please help me with the following question?
What is the easiest way to enable a PB that is set programmatically?
Is there something else I should know to enable a PB, in addition to what I have already mentioned above?
Thanks in advance,
Jinlan
--

Thanks all for your information and help. I included the following code, as suggested by Manu, in WHEN-MOUSE-DOWN TRIGGER for the PB_RETURN and WHEN-NEW-FORM-INSTANCE TRIGGER:
SET_ITEM_PROPERTY ('BLK_UPDATE.PB_RETURN_WORK_REQ', ENABLED, PROPERTY_TRUE);
and I made sure there was no " SET_ITEM_ON_OR_OFF('BLK_UPDATE.PB_RETURN_WORK_REQ', FALSE);" statements after the above code, but, the "Return" PB is still in grey; in other words, it is still not accessible when my form is called.
Perhaps, I need to place the above SET_ITEM_PROPERTY code in a different trigger other than the triggers mentioned above, uh? Any thoughts on this?
Manu,
You are absolutely right that the "SET_ITEM_ON_OR_OFF" is an ih-house written procedure which is defined/stored in the Attached Libraries. (I should have checked before making the "built-in" assumption. Thanks for catching and clarifying this.) Please help me with the following questions:
How do I view the procedure in the Attached Libraries???
Thanks in advance,
Jinlan
--

Similar Messages

  • How do I make a button onj the form which will submit and send the pdf as an email?

    how do I make a button on the form which will submit and send the pdf as an email?

    You can set up a button with a "Submit a form" action and use a mailto type URL to specify the email address you want the forms sent do. If you want to send the entire PDF, select that option and not FDF or anything else. The mailto URL should not include any spaces and the "mailto" part should be lowercase, like:
    mailto:[email protected]
    This will attempt to initiate an email using the users default email client. If the user does not have one set up or there is some other problem, the email might not get initiated. If it needs to work with Reader versions prior to 11, then the form needs to be Reader-enabled, which you do in Acrobat 11 by selecting: File > Save As Other > Reader Extended PDF > Enable More Tools

  • EIM - 'New' button on the Inbox list pane is greyed out.

    I have had some problems with creating a new activity as an agent in EIM. This is for a new installation of Cisco EIM/WIM 4.3(1) integrated with UCCE 7.5.
    I have raised this with Cisco TAC. But they are still investigating.
    When I login as an integrated IPTA agent the 'New' button on the Inbox list pane is greyed out. Clicking on it does nothing. I am unable to create a new activity for an integrated user. There is no indication as to why it is not available. Receiving and replying to new inbound emails work fine.
    However when I login as a standalone agent the 'new' button is available in the Inbox list pane. And clicking on it works as expected.
    Should an integrated agent be able to create a new outbound email (activity) without replying to an existing one?
    Thanks,
    Richard

    Hello Ashfaque,
    You didn't include a screen shot of your Queues.  I an integrated deployment you need to configure a Queue for outbound in order to map the MRD.  You will also need to assign a Concurrent Task Limit for this queue as well for groups / agents that you map to it.
    Looks to me as though everything else is configured properly.
    Instrictions for creating an Integrated Queue can be found in this doc;
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/cisco_interaction_manager/cim_43/user/guide/cisco_im431_cce_userguide_administration_workflow.pdf
    Page 24, "Creating Integrated Queues".
    This should solve your issue.  If you still have questions or problems re-post and I will be happy to assist.
    Thanks,
    Kim

  • How to put a push button in the top of page of ALV

    Hi at all,
    I need to put a push button in TOP OF PAGE .
    My code is below and i'd like to put a push button to do something.
    FORM top_of_page USING r_ddoc TYPE REF TO cl_dd_document.
      DATA: text TYPE sdydo_text_element.
      DATA: text_table TYPE sdydo_text_table.
      CALL METHOD r_ddoc->initialize_document.
    Title
      text = text-301.
      CALL METHOD r_ddoc->add_text
        EXPORTING
          text          = text
          sap_style     = 'HEADING'.
      CLEAR text.
    endform.
    Thanks at all.
    ENDFORM.

    Hi Domenico,
    For pushbuttons on Dynamic Documents please refer to this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/b6/ab3a7503ac11d4a73f0000e83dd863/frameset.htm
    Regards
    Marcin

  • How can I insert a button in my form that add a copy of the page where I'm in? It is possible?

    Hi! I'm doing a cv template for my company so that Human Resourses can send to candidates. I made the form and I have  a page for the "professional experience" area. This page is enough for a recent graduated student but not for a senior candidate (that has more experience). Can I insert a "ADD" button on this page where it creates a reset copy of the "professional experience" page where the candidate could add more professional experience? Thanks

    Yes, by using JavaScript to create a new page by spawning a template page. The downside is that is will only work with Reader 11 (and Acrobat) and not previous versions of Reader. It also won't work if you need to Reader-enable the document so that pre-11 versions of Reader can save the filled-in form. If these limitations are not a problem and you need more help, post again.

  • In Dreamweaver CS6, the Plus (+) button in the Server Behaviors panel is greyed out. How do I make it operational?

    I am trying to restrict access to a page by redirecting unauthorized users to another page. The Adobe manual instructs me to:
    Open the page you want to protect.  
    In the Server Behaviors panel (Window > Server Behaviors), click the Plus button and select User Authentication > Restrict Access To Page from the pop‑up menu.  
    I opened the page and went to the Server Behaviors panel.
    Unfortunately, the Plus button is greyed out and not operational. How do I make the Plus button operational so that I can then select User Authentication, etc?
    Charlie

    You can't apply server behaviors to pages that don't contain (or are specified to be when they are created) server scripting. That means they must have the proper filename extension, e.g., filename.php or filename.aspx/

  • I want to import Favorites from Explorer but the Import button on the Firefox " File" menu is greyed out. What to Do?

    I want to import my Favorites from Internet Explorer but when I click on "File" on Firefox, the "Import" selection is greyed out and it will not give me the Import choice.
    How do I import my Favorites?

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.com/kb/Private+Browsing
    *You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    *To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Deselect: [ ] "Permanent Private Browsing mode"
    ----

  • HT4974 the Edit- button on the "Service Data" line is greyed out !!! anybody has the same problem?

    the "edit" button is greyed out.......does anybody what to do?

    I know this has to do with the Postgres database being corrupted - wiki also says "Error reading settings" - and this was solved in the past, but it was a long time ago and I didn't really properly document it... I'll try running the 10.7.4 combo and report back here...

  • Push button on the alvgrid tool bar?

    how can u place push button on the ALV GRID TOOL BAR?

    Hi,
    1. create the local class and implement the Toolbar event.
    2. within the event to add the new button.
    see the below example code.
    CLASS LCL_EVENT_HANDLER DEFINITION.
      PUBLIC SECTION.
        METHODS:
        HANDLER_TOOLBAR      FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
                                 IMPORTING  E_OBJECT E_INTERACTIVE     ,
        HANDLER_USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
                                 IMPORTING E_UCOMM                     .
    ENDCLASS.                    "lcl_event_handler DEFINITION
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
    Toolbar -----Create 'Add Issue' button
      METHOD HANDLER_TOOLBAR.
        DATA:  L_WA_TOOLBAR  TYPE  STB_BUTTON.                                          "  Toolbar
        CLEAR: L_WA_TOOLBAR.
    Button Type
        L_WA_TOOLBAR-BUTN_TYPE  =  C_BUTTON_TYPE   .            "  3.
        APPEND L_WA_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
    Add Issue Button.
        CLEAR: L_WA_TOOLBAR.
        L_WA_TOOLBAR-FUNCTION   =  'ADD_MI'   .                                         "  'ADD_MI'   .
        L_WA_TOOLBAR-ICON       =  'ICON_CREATE'.
        L_WA_TOOLBAR-QUICKINFO  =  'CREATE'   .                                         "  'Add Issue'.
        L_WA_TOOLBAR-TEXT       =  'CREATE'   .                                         "  'Add Issue'.
        L_WA_TOOLBAR-DISABLED   =  ''.
        APPEND L_WA_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
        CLEAR: L_WA_TOOLBAR.
      ENDMETHOD.                    "handler_toolbar
    User Actions Events-- Handle 'Add Issue' Button Click.
      METHOD HANDLER_USER_COMMAND.
        CASE E_UCOMM.
    Add Issue Button.
          WHEN C_ADD_MI.
            IF NOT G_MATNR IS INITIAL.
              FG_REFRESH  =  C_TRUE.
              PERFORM F_ADD_MEDIAISSUE.
            ENDIF.
        ENDCASE.
    Refresh Control
        CALL METHOD CL_GUI_CFW=>FLUSH
          EXCEPTIONS
            CNTL_SYSTEM_ERROR = 1
            CNTL_ERROR        = 2
            OTHERS            = 3.
    Handle Exceptions
        IF SY-SUBRC <> 0.
          CASE SY-SUBRC.
            WHEN 1.
              G_ERROR_TEXT = TEXT-026.                                        "  'Control System Error'.
            WHEN 2.
              G_ERROR_TEXT = TEXT-027.                                        "  'Control CL_GUI_CFW Has Raised Error'.
          ENDCASE.
            MESSAGE G_ERROR_TEXT TYPE 'E'.
        ENDIF.
    Refresh Alv Grid.
        PERFORM F_REFRESH_GRID.
      ENDMETHOD.                    "handler_user_command
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    Object Ref. Event Class.
    DATA: OBJ_EVENT_HANDLER TYPE REF TO LCL_EVENT_HANDLER.
    refer the sample program BCALV_GRID_05 in SE38
    Reward if found helpful.
    Regards,
    Boobalan Suburaj

  • The Restore Previous Session is always greyed out in my Firefox.

    I have do not have any possibility to restore my previous session in my Firefox as the option under the History menu is always greyed out.
    I am using Firefox 33.1.1 on OS X Yosemite (10.10.1).

    Do a malware check with several malware scanning programs on the Windows computer.
    Please scan with all programs because each program detects different malware.
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender:<br>http://windows.microsoft.com/en-us/windows/using-defender
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    *https://support.mozilla.org/kb/troubleshoot-firefox-issues-caused-malware

  • I can not edit the form that I am filling in

    I can not edit the form that I am filling out. I saved it to Desktop and was allowed to fill it in. But I can not erase some words that I want to change.

    Are the words you want to change in form fields that you previously typed in?

  • When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    I have exactly the same settings in Options (in both computers)
    for history, these 2 add-ons and all other stuff in Options. The only difference is that on 1 pc sessions can be saved and closed tabs can be reopened, on other main pc they stopped to work. + no any other add-on that does similar things works on this pc.
    It is also interesting that I can reopen closed visited sites from History Panel, but not by pressing the Button. For now I only manually bookmark links to a temporary folder.
    Recently (some 2 month ago) I pressed x and Firefox closed all tabs without saving them without displaying save & quit pop up.
    so I changed 4 settings in about.config
    browser.tabs.warn on close true
    browser.warn on quit true
    browser.warn on restart true
    browser.show.quit warning true
    but the problem with sessions appeared only 1 week ago.
    So I guess the problem is not with the History settings or other settings. Seems that something responsible for button or for storing info about tabs/sessions got corrupted. :(

  • How to add the push button on the apllication tollbar of IL02 tcode

    Hi Friends,
    I have to add the push button on the application tool bar of the IL02.when that push button is pressed then some operation to be performed.Could you please suggest how to add.Is there any screen exit if yes what is that.
    With out screen exits if there is any way ?
    Thanks and regards,
    shyla

    HI Vicky ,
                      if u want an interactive ALV report , there are lot of forums already having the solution for that , but let me give u the solution anyway.
    In the function module "REUSE_ALV_GRID_DISPLAY" , import parameters
         I_CALLBACK_PF_STATUS_SET          = 'FLIGHT'
         I_CALLBACK_USER_COMMAND           = 'BUTTON_CLICK'
    has to be supplied to this function module . The PF status is where u hav created the two buttons , that PF status has to be given here .If the user clicks on the button then it is handled by the form routines . Inside the sub-routine based on the button the user has selected u could perform the action.
    FORM FLIGHT    USING RT_EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'FLIGHT' EXCLUDING RT_EXTAB.
    ENDFORM.
    Here the "Flight" is the PF_status .
    FORM BUTTON_CLICK USING UCOMM type SY-UCOMM
                           SELFIELD type SLIS_SELFIELD.
      CASE UCOMM.
        WHEN 'BUTTON!' .
    write ur code for button 1.
      WHEN "BUTTON"
      *Write ur code for button2 .
    end case.
    endform.
    for any queries reply back.
    regards

  • How to print the Module pool screen using a push button in the screen

    Hi Every one,
                         i have developed a module program , which have a selection screen and it display the output in a structured way.
    output includes boxes, texts etc...
    my problem is :---
    How to print the Module pool screen using a push button in the screen.

    When the "Print" button is pressed:
    leave to list-processing and return to screen 100.  "(current screen)
    Call a transaction that runs your print program.
    Rob

  • Enabling a push button in query mode only

    Hello!!
    How do you enable a push button only in query mode? Do I need to write some code? If so can anybody help?

    Use the following code
    if :system.mode = 'ENTER-QUERY' THEN
    SET_ITEM_PROPERTY('BUTTON',ENABLE,PROPERTY_TRUE);
    ELSE
    SET_ITEM_PROPERTY('BUTTON',ENABLE,PROPERTY_FALSE);
    END IF;

Maybe you are looking for