Forms 9i/Forms 6i Push Button problems

Hello All,
I have a form that is using a bunch of Push Buttons. Each of these Push Buttons has a Access Key assigned to it.
The main canvas is a tab canvas and there are some stacked canvases too. All of them are being displayed on the same window.
If I press the access key a Push button when it is not being displayed on the screen, it still executes the When-Button-Pressed Trigger and is causing me some pain.
How can I stop the When-Button-Pressed trigger from executing when the Push Button is hidden from view ?
Your help will be greatly appreciated.
Thanks
Sriram

You could make the button disabled when it is hidden.
Regards,
Robin Zimmermann
Forms Product Management

Similar Messages

  • Push Button Problem in IC Web Client

    Hi Everyone,
    I have got an issue here. Iam working on IC Webclient.
    I have got a BSP page wherein I have an input field for the Printer Name. I also have a dropdown list box for that. I have a push button  and after clicking on which I want some database updates to be done.
    But whats happening is once I take the Printer value from the dropdown list box only, the database updates are being made.
    My aim is after I take the value from the dropdown and then click on the push button, thn only, the database updates needs to be done.
    Please help me out.
    Its too urgent.
    Thanks an Regards,
    Bhargava Kavuri.

    Hi Gaurav,
                     I gor confused with CRM 5.1/5.2 and CRM 2007 profile. You are on CRM 5.0 then you do following things
    1) goto tx ppoma_crm
    2) on top left under search screen, search for Positions  " Sales" and Marketing and Service one by one.
    Now assign yourself to each of these positions. ( You might find  more than one psoition when you search by above criteria. Ideally you should be able to see position names soemthing like Sales Representative, Marketing Represetative etc . I am not sure what exactly would be the name at your system because ppl might chnage the description of positions.
    Now launch UI again and you must be able to see all modules.
    Let me know if u still have any issues

  • Push button problem

    Hi,
    In my report i have created a one PUSH button. when user clicks that puch button a SM30 transaction will call but with no table name. i have give table name also.
    Means when user clicks on PUSH BUTTON a SM3o0 will call and table name should be displayed there.
    How to do that.

    Hi Anurodh,
      Try this code.
    SELECTION-SCREEN pushbutton 2(10) text-001 user-command TRAN.
    at selection-screen.
    if sy-ucomm eq 'TRAN'.
        call transaction 'SM30'.
    ENDIF.
    Plz Reward if helpful.
    Mahi.
    Message was edited by:
            Maheswari Chegu

  • Push Button Problem in Custom screen

    Hi All..
    Hi All..
    In my custom screen, i have 2 (A1, A2) input boxes with F4 option and a Push Button..
    When i select the data in these input boxes, i will click Push Button (COPY) to transfer the data from these (A1, A2) to other two input Boxes (B1, B2)..
    But data are displaying in (B1, B2), if and only if i click the Push Button 2 times..
    How to make the code to display those data from A1-A2 to B1-B2 by Single click..???

    In PAI, I have coded the lines as follow..
    Still i need to click 2 times to get the data displayed in B1,B2..
    ****PAI*****
    when 'COPY'.
    select bezei from tka01 into (it_sap-name) where kokrs = A1.
    endselect.
    select msehi from tka03 into (it_sap-unit_of_meas)
    where kokrs = A2 and STAGR = A1.
    endselect.
    B1 = it_sap-name.
    B2 = it_sap-unit_of_meas.

  • Push button problems

    Hi Friends,
    We need a pushbutton which when pressed should display a simple message. So we tried using write statement, message statement, SUBMIT ZTEST3 (where ZTEST3 is another program having a simple write statement) AND RETURN and also
    IF sscrfields-UCOMM = 'FCODE'.
        set screen 9000.
      endif.
    module STATUS_9000 output.
    ....some more code to display the message
    end module.
    But NONE of these work. THis means when the push button is pressed, the screen does not change.
    Any help or input is greatly appreciated.
    Thanks

    Seems like a 2 in 1 question.
    1. Creating a pushbutton and assigning a function code: I have copied a SAP help text below.
    2. Displaying a message: There are several SAP standard function modules that displays/popup text. SE37 and type popup* and pulldown. One example is "POPUP_TO_INFORM".
    Here is SAP verbage on pushbuttons:
    Variant 10
    SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.
    Addition: MODIF ID modid.
    Effect
    Generates a pushbutton on the selection screen. When you define the button, you also define a user command ucom (no inverted commas), up to 20 characters long, which is triggered when the user pushes the button. The rest of the syntax is the same as for SELECTION-SCREEN COMMENT
    You can define the name name either statically or at runtime (see also the BEGIN OF BLOCK, COMMENT and SELECTION-SCREEN BEGIN OF SCREEN variants).
    When you define a pushbutton, you must always specify a format fmt.
    By specifying a Modif ID, you can assign the pushbutton to a modification group.
    Notes
    The best way of reacting to the pushbutton is in the AT SELECTION-SCREEN event, or, for pushbuttons in the selection include, in the PAI routine (with FNAME = '*' and MARK = SPACE) in the database program SAPDBldb. The field SSCRFIELDS-UCOMM contains the user command ucom. (You need to declare the SSCRFIELDS table using the TABLES statement).
    You can create your own pushbuttons in the application toolbar using the FUNCTION KEY n addition.
    Within the selectoin include : Additions FOR NODE node ,FOR TABLE dbtab und ID id.
    Example
    TABLES SSCRFIELDS.
    SELECTION-SCREEN PUSHBUTTON /10(20) CHARLY USER-COMMAND ABCD.
    INITIALIZATION.
      MOVE 'My text' TO CHARLY.
    AT SELECTION-SCREEN.
      IF SSCRFIELDS-UCOMM = 'ABCD'.
      ENDIF.
    A pushbutton appears on the selection screen with the text 'My text'. In the AT SELECTION-SCREEN event, the field SSCRFIELDS-UCOMM has the contents ABCD after the button has been pushed.
    Hope this helps

  • Adobe form in Web Dynpro Submit Button Problem

    Hi all,
    I've created an Adobe form as a UI element in Web Dynpro as a development component. In this Adobe form, I've included a "Submit to SAP" button from the Web Dynpro Library.
    My whole purpose is to expose this DC as a callable object into Guided Procedures and then run this process, so that the Adobe form(embedded in Web Dynpro) can be seen and allows the user to enter information online into the form or download(maintain offline) and click on the submit button. After clicking of the button, I need the control to return to the GP framework to trigger to the next action. I have configured the button in the Adobe form as a submit format -> XML data and with submit to URL "%com.sap.caf.gp.if.PostProcessorUrl%". I did this because I want it to return the control to GP framework. However, there is also another option of the event submit button in the Web Dynpro UI Adobe element -> event-> onSubmit.... i created an action onsubmit which has the code wdThis.wdGetBformController().complete();
    When I run the GP process, the adobe form appears and when i click submit button, nothing happens... Does anybody know the solution?? Thanks!

    Hello,
    Can somebody tell me if i really need to put this code
    "%com.sap.caf.gp.if.PostProcessorUrl%"
    in the submit button. If so, do i need to configure somewhere what the PostProcessorUrl is? If so, can somebody tell me where i need to do this?
    Thx in advance.
    Kind regards,
    Maarten.

  • Issue with Icons display in PUSH BUTTONS in forms 11g

    Hello,
    This is regarding an issue with the icons background for the push buttons in the forms 11g. When we enable the icons for the buttons (.gif) they are visible on the
    top left corner of the buttons and not in the centre. In one of the forums it was written like this is a common problem in Forms 11g. Is there any way by which we can
    centralize this icons on the Forms buttons. Also I have heard that image editing tools can be used to centralize the icons. I tried with one of the tools but it seems
    like it is not working.
    Can somebody suggest a workaround for this?
    Thanks in Advance
    Ram

    I will assume you are attempting to use the images included in the Forms applet jar. These images are purposely structured so that the subject is off-centered. You should not see that same behavior if you use your own images or edit the ones built-in to Forms. However, keep in mind that the images packaged in the Forms applet jar are intended to be used in a menu toolbar and not custom buttons.
    For more information, refer to MyOracleSupport note 1391073.1 where I explain this in detail.
    Michael Ferrante
    Senior Principal Support Engineer
    Forms Global Technical Lead
    Oracle Corporation
    .

  • How can I resolve the push button dot issue in oracle forms 10g..?

    Hi All,
    We have migrated to forms6i to forms10g, in 6i all the push button labels are displaying properly, but in 10g forms its giving dots like this … after displaying some characters. I guess its width problem but how come its changing in 10g alone.
    Kindly give me any workaround to resolve this issue
    Thanks in Advance
    Thangaraj.

    Hi All,
    We have migrated the forms 6i to forms 10g R2.We are facing push button issue like,the lable is displayed in the button is reduced.Assume the button's label name is Cancel.Actully it is displaying like Can.....Due to Java used in forming the buttons.We have forms count nearly 300.We have diffent size buttons.
    We have solution like
    1.Manually
    2.PC Creation
    3.Java Class and Jar Files
    4.JDAPI
    5.basejini.htm
    The method five,we have tried.But there is no changes after this changes also.
    Can you guys please let us know the correct menthod(with steps 1 by 1) to do this in quickly.
    2.There are look and feel 2 types oracle and generic,rather than this do we have any other type.We are looking for any cusrtomized settings in config files.
    Thanks in Advance.
    Regards,
    GR

  • I want to stop loop through push button forms 10g

    I want to stop looping through push button forms 10g it is like (SwingWorker() in java) (DoEvent() in .net)
    The problem in forms 10g that when you start looping the form will freeze and you can't push any button on form, I found solution for that in form 6i through package d2kwutil **WIN_API_UTILITY.InterruptCheck(hButton)**
    But in 10g I can't find solution, Please help>>>>>
    declare
         hButton          PLS_INTEGER;
    begin
    :interruptcheck.counter := 0;
    hButton := get_item_property('INTERRUPTCHECK.PB_OFF',WINDOW_HANDLE);
    go_item('interruptcheck.loopcount');
    set_item_property('INTERRUPTCHECK.PB_OFF',ENABLED,PROPERTY_TRUE);
    set_item_property('INTERRUPTCHECK.PB',ENABLED,PROPERTY_FALSE);
    set_application_property(CURSOR_STYLE,'HELP');
    set_application_property(CURSOR_STYLE,'<d2kwut60>WAIT');
    for i in 1..:interruptcheck.loopcount LOOP
         if WIN_API_UTILITY.InterruptCheck(hButton) then
              exit;
         end if;
         :interruptcheck.counter := i;
         synchronize;
    end loop;
    set_item_property('INTERRUPTCHECK.PB_OFF',ENABLED,PROPERTY_FALSE);
    set_item_property('INTERRUPTCHECK.PB',ENABLED,PROPERTY_TRUE);
    set_application_property(CURSOR_STYLE,'DEFAULT');
    end;
    Edited by: wael amar on May 1, 2010 11:03 PM

    Ok, here's a working testcase.
    The idea is taken from an article from an oracle magazine (i don't have it at hand, , so i tried to rebuild it by "memory". As far as i remember the original was from the german doag-magazine and was written by Gerd Volberg).
    Procedure to do the looping:
    PROCEDURE PR_DO_THE_LOOP IS
      nNumberInOneStep NUMBER:=2;
      tm               TIMER;
    BEGIN
         DEFAULT_VALUE(0, 'GLOBAL.INDEX');
      IF :GLOBAL.INDEX=0 THEN
           -- Didn't run yet, determine the max count
           :GLOBAL.MAX:=10000;
      END IF;
      LOOP
           -- Do the looping stuff
           -- Decrease counter
           nNumberInOneStep:=nNumberInOneStep-1;
           -- Increase globale counter
           :GLOBAL.INDEX:=:GLOBAL.INDEX+1;
           -- Exit conditions
           EXIT WHEN nNumberInOneStep=0;
           EXIT WHEN TO_NUMBER(:GLOBAL.INDEX)>=TO_NUMBER(:GLOBAL.MAX);
      END LOOP;
      -- reset index at end
      IF TO_NUMBER(:GLOBAL.INDEX)>=TO_NUMBER(:GLOBAL.MAX) THEN
           :GLOBAL.INDEX:=0;
      ELSE
           -- start timer for next iteration
           tm:=CREATE_TIMER('TM', 10, NO_REPEAT);
      END IF;
    END;The WHEN-TIMER-EXPIRED-trigger
    IF :GLOBAL.INTERRUPTED='Y' THEN
         MESSAGE('Interrupted at index ' || :GLOBAL.INDEX);
    ELSE
         PR_DO_THE_LOOP;
    END IF;The WHEN-BUTTOn-PRESSED-trigger on the interrupt-button
    :GLOBAL.INTERRUPTED:='Y';The WHEN-BUTTOn-PRESSED-trigger on the "start"-button
    :GLOBAL.INTERRUPTED:='N';
    PR_DO_THE_LOOP;

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

  • Color of the push button in Forms 6i

    HI,
    I want to change the color of the push button from the default gray color to something else and also the font type. Is it possible? If yes, how to do it ?

    On Microsoft Windows, the colors of buttons, window title bars, and window borders are controlled by the Windows Control Panel color
    settings specified for these elements. You cannot override these colors in Form Builder even by using visual attributes.
    The button color attributes are controlled exclusively by the Color facility in the Control Panel.
    To define button color attributes do the following :
    1. To do this go to 'Settings' + 'control panel'.
    2. Double-click on 'display' and select 'appearance' from the menu .
    3. Select '3D Objects' from the 'item' list .
    4. The background color and the foreground color can be changed to your favourite ones.
    But the important thing to note here is that this will affect all the 3D objects in all the applications in your system .
    Or you can try this workaround if it is suitable. Use a display item with a "Bevel" property of "Raised" and the "Default Value"
    property whatever the label should be. Then attach a WHEN-MOUSE-CLICK trigger to it. You can change the foreground and background colors to whatever you want since it's really just a field.
    Abhijith Unnikannan,
    Oracle Support Services
    null

  • Text Items And Push Buttons Created on a customized form does not appear.

    Hi,
    I created a custom form and attached it to ebs. The form opens without any error.
    I had 3 text items and 2 push buttons with proper property class applied to them. But I am only able to see the prompt of the first text item. All the other widgets are not visible. What could be the possible cause for this.
    Deepak

    How are you running the form? Have you deployed it properly and attached it to a menu/form function and are viewing it within EBS?
    Did you open the TEMPLATE.fmb form and save a copy of it as the starting point for your custom form?
    --Johnnie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Displaying Icons on Push Buttons in forms 10g

    How can i Display Icons on Push Buttons in forms 10g ?

    Set the property "Iconic" of the button to "Yes" and enterthe iconname in the Property "Icon Name" (without path and extension).
    About how to make items accesible in forms, have a look at this http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/configure009.htm

  • Push button set to calculate form

    Hi Friends,
    Ive to create calculator by simple form without any data service. Ive modeled form with push button to assign value from one field to another (push button option->action->system action->dynamic->action->formula with correct pass value from one field to another, but it doesn't work, it means field is empty after push button. do you know how to modeled button to put the result to the field? At the moment value puts to field automatically. I want to control this event by button. How?
    Martin

    Data Lines to be used as inputsSome parallel ports can be configured to use the data lines as inputs. It depends a great deal on the way the manufacturer designed the parallel port. With some models the data lines can be read the same way we read the control lines, by driving them to high logic so they will take on the value of an external signal. However, most parallel ports require that you set the direction bit for input. This is bit 5 in the Control register (base+2). If the port is capable of it, setting the direction bit high has the effect of making the lines tri-state so it can be driven externally. Sometimes it is also necessary to toggle bit 6 high or low. However, it should be noted that some manufacturers actually lock these bits so that software cannot change them. An example is shown below in Figure 7.
    To test whether your data lines can be used for input, try the following:
    Set bit 5 of the control register high (at base address+2).
    With nothing connected to the port, write a couple of values to the data port, and read each back after you write it.
    If the reads DON'T match the writes, your port is probably bidirectional. Setting C5 disabled the data outputs and you're reading the open inputs of the data-port buffer. If the reads DO match the writes, your port isn't bidirectional. The data outputs are still enabled, you're reading back what you wrote, and you won't be able to read external signals. If it is possible to use your data lines for input, then you just need to set control register bit 5 high and read from the value of the data lines at the base address.

  • Forms push buttons' behavior at runtime

    Hi
    I would like to imitate the push button’s appearance & behavior like all built-in buttons in Oracle.
    i.e.: when the mouse enters the button the button is raised and when mouse leaves the button is flattened.
    Any ideas are appreciated.
    Regards
    Tony S. Garabedian

    Hi Grant
    Thanks for the reply, yeah that will help me since i want to do that too, i have 2 different sizes from the same icon and when the mouse enters the icon changes, just like the OEM buttons.
    But i also wanna try the 'raise button' effect, it will be very nice to have a customized toolbar with that effect. I'll try it and post my results.
    Regards
    Tony S. Garabedian

Maybe you are looking for

  • How do I get 'everything else' from my ipod to the mac?

    Hello, I have a video ipod with music, videos and pictures on it. Since it was originally synched to a PC I wanted to get a macbook pro I recently purchased authorized so I did that and followed the directions I found in a doc on apple support to tra

  • Faulting application iTunes.exe, ver 6.0.5.20, faulting module shell32.dll

    Hi there I'm getting the following error running 6.0.5 on Windows 2003 SP1, any ideas? Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 19/07/2006 Time: 21:25:30 User: N/A Computer: xxxxxxx Description: Fau

  • Newest Flash Player

    Well you see i downloaded this new version and i dont use flash to put stuff on the internet i use it to veiw the internet i saw some topics over this already and that it is somthing with the internet explorer window. Can someone tell me what i have

  • Flash Player refuses to work.

    This is for an acquaintance of mine and is absolutely baffling me. I've uninstalled / installed a dozen different times and ways. I've checked the registry for the flash kill-bit, compared every internet setting to a computer whose flash is working f

  • I can not use two PCI-1407 cards together.W​hy?

    When I installed two PCI-1407 cards on the same computer, I can find one card in the M&A Explorer,and that card can work well.But another card is invisible in the M&A Explorer.I can find the card in the source manager of windows 2000.I can't find the