Trigger when click manu

Hi all,
Could u please show examples bout
trigger when click manu from forms
thanks
useruser

Oh no , i think it's not possible in Oracle to do this..Not in Menu..
Instead, u can do some work around:
1. Create a Trigger when-New-form-instance.
2. Create a Global variable intialize it's value Boolean True or False.
3. In the Pre-Form Trigger check
either
1.select field1
into variable
where whatever ;
2. IF Field1 is not null then excute_query
else
exit_form;
==========================
Or
===========================
1.excute_query in W-N-F-I Trigger
IF :Field1 is Null then
Global.form :='False';
exit_form;
else
Global.form :='True';
do whatever..
excute_query;
Hope it helps
Regards,
Abdetu..

Similar Messages

  • Is it have some User exits for Vendor master  trigger when click some field

    Dear Experts,
         I would like to know Is it have User exit for Vendor master  trigger when click some field in Vendor master? not just User exit for Prior Save . Please kindly let me know some solution for this case.
         Many thank.

    Hi,
    check may this bapi will be useful your requirements, BAPI_VENDOR_CREATE
    below links may helpful for you:
    BADI http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm http://support.sas.com/rnd/papers/sugi30/SAP.ppt http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm http://members.aol.com/_ht_a/skarkada/sap/ http://www.ct-software.com/reportpool_frame.htm http://www.saphelp.com/SAP_Technical.htm http://www.kabai.com/abaps/q.htm http://www.guidancetech.com/people/holland/sap/abap/ http://www.planetsap.com/download_abap_programs.htm http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm USER EXIT http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm http://www.sapgenie.com/abap/code/abap26.htm http://www.sap-img.com/abap/what-is-user-exits.htm http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction http://www.easymarketplace.de/userexit.php http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm http://www.sappoint.com/abap/userexit.pdfUser-Exit http://www.sap-img.com/ab038.htm http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm http://www.sap-img.com/abap/what-is-user-exits.htm http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html Rewards if useful......... Minal
    still if you not find any solution go for  custom exit, means in standard program only ABAP consultant change the program where you required, it is little risk, you have to do the more testing for this
    BR:
    Venkat.Gurram

  • How to make 'Key-Enter' trigger (when clicked on enter key)work like 'F8' key?

    Hi . I have another question to be asked.
    Oracle Forms 6i.
    I have a form in which DEFAULT&SMARTBAR is the menu and there are no push buttons.
    In the form, there is a 'field' named as 'ID No'. After entering 'ID No' in the field and click on 'Execute Query' button from the 'DEFAULT&SMARTBAR' menu, all the details of that respective 'ID No' gets displayed in all the other fields. Even if i press 'F8' all the fields gets displayed with the values.
    But i have a requirement, i.e. after entering 'ID No' and click 'Enter' key , i want all the values to be displayed.
    So i created a 'Key-Enter' trigger with the following code:
    BEGIN
      EXECUTE_QUERY;
    END;
    But after entering 'ID No' and click 'Enter' key, the values are not getting displayed.
    What can i do to make this happen?
    Thank You.

    It depends how your form is created. If your ID item is part of the base table block, you can do this.
    On your ID item, create a KEY-NEXT-ITEM trigger:
    if :system.mode = 'ENTER-QUERY' then
        execute_query;
    else
        next_item;
    end if;
    Now
    - User clicks on enter query (via smart bar icon or F7).
    - User enters ID and clicks <enter> key to execute the query.

  • How workflow is getting trigger when you click order

    Hello Friends,
      I would like to know how bus2121 Saved event trigger when click Order button in Web?
    thanks,
    John.

    Hi John,
    When a user orders a shopping cart. This triggers the SAVED event, which starts the approval workflow. The system analyzes the start conditions in Customizing.
    There is information here on which workflow the system should start under which conditions. Each workflow represents an approval process (single-level or multi-level) or is defined in such a way that no approval is necessary.
    If approval is required, the system goes through the corresponding approval procedure. The user can meanwhile change or delete the shopping cart. The shopping cart can take on the following statuses:
    Not accepted
    Approved
    Deleted
    Changed
    You can further process a request via a subworkflow.
    If approval is not required, the system sets the status to Approved and immediately starts the subworkflow.
    Users receive a work item. Before the shopping cart can be further processed, they have to accept the rejection of items (or not, as the case may be).
    After the shopping cart is released, the system calls the spooler. This transfers the shopping cart to the backend system or creates a purchase order locally in the Enterprise Buyer system.
    This is how a workflow triggers.
    With regards,
    mahesh

  • Trigger change badi when click a custom button

    hello guys i want to trigger the change badi when a user clicks on a button.  Any help would be create?
    I am using the set change by client setting it to true and then firing the refresh but it is not working?  Any clues?  Thank you.

    As I told you in that linked thread, I'd suggest trying to use SET_CHANGED_BY_CLIENT method on the context of your webdynpro. This is sufficient to make the system aware of a change and trigger the CHANGE badi.
    As far as I've observed doing my tests, the CHANGE badi is then triggered after an event that will follow the SET_CHANGED_BY_CLIENT execution.
    So I'd suggest two test:
    - pre-exit of the method you trigger when the user press your custom buttom: set_changed_by_client and then execute your code. See if the badi is then triggered;
    - if not: you could "force" a subsequent action after the button press, for example, a simple REFRESH of the view. Then I'm sure that, after the set_changed_by_client method, the badi will surely be triggered.
    Please be aware that I'm absolutely NOT a guru on these arguments, so I'm trying to give you some workarounds I implemented on an SRM 7 system. Probably some guru will have better and cleaner solution for your task, but as far as I've seen, these ones should meet your needs.

  • Is it possible to trigger an event when clicking context menu trigger icon?

    When opening a context menu on a UI element, is it possible to trigger an event to handle, eg. set the lead selection for this context element to which the UI element is bound, when clicking the menu trigger icon ?

    First, these NW04s menus are not really context menus. They are static menus that are rendered within the view layout. Real context menus will come later.
    There is no "onMenuOpen" event for an application.
    Armin

  • Slideshow Starts When Clicking Trigger in Composition Widget

    When inserting different slideshows into a composition widget (different slideshows placed within different targets), have the slideshows start from the beginning when the corresponding trigger is clicked. The slideshow would play in order, starting with the first slide, when the trigger is clicked rather than have it playing continuously when viewing other targets.

    This seems like a no-brainer. I mean why would we want all slideshows to start at the same time when you're only viewing one at a tme. WHen I click from one slideshow to another, it should start from ONE! Muse staff....any ideas?!!!

  • HT1338 iPhoto is installed on my MacBook Air, but suddenly won't trigger when I click to open it. What can I do? Thanks.

    iPhoto is installed on my MacBook Air, but suddenly won't trigger when I click to open it. What can I do? Thanks.

    If you don't need the changes saved then you can force quit the word app.  On the menubar, cick the  > Force quit > select word.

  • Make Video Pause When Clicked?

    Hi, I have a flash video that is set to autoplay when the page loads. We've just implemented thickbox/lightbox system on it now so when you click on the video it enlarges into that new frame. Problem is, when that's done the video/audio is still playing while the video in the thickbox is playing too. This leading to ineffective listening. Does anyone know a code that would trigger the video to pause when clicked anywhere on the video screen?
    Right now the videos being tested at this link - http://edlevinjewelry.com/indexTEST.html
    I don't currently have the video linked up to lightbox, just a link above the video to expand.
    With FLVPlayback,this is my current code (it's currently coded and set up so the video autoplay starts at 52 seconds)...
    import fl.video.MetadataEvent;
    import fl.video.VideoProgressEvent;
    import fl.video.*;
    my_FLVPlybk.addEventListener(VideoEvent.COMPLETE, rewind);
    function rewind(eventObject:VideoEvent):void {
        my_FLVPlybk.seek(52);
        my_FLVPlybk.play();
    var fp:FLVPlayback = my_FLVPlybk;
    fp.addEventListener(VideoProgressEvent.PROGRESS, videoProgressHandler, false, 0, true);
    fp.addEventListener(MetadataEvent.METADATA_RECEIVED, metaDataHandler, false, 0, true);
    fp.autoPlay = false;
    var startSeekTime:Number = 52;
    var videoDuration:Number;
    var videoSeeked:Boolean = false;
    function metaDataHandler(event:MetadataEvent):void {
         if(event.info.duration != null){
              videoDuration =event.info.duration;
    function videoProgressHandler(event:VideoProgressEvent):void {
         var fp:FLVPlayback = event.currentTarget as FLVPlayback;
         var bytesLoaded:Number = event.bytesLoaded;
         var bytesTotal:Number = event.bytesTotal;
         if( !isNaN(videoDuration)){
              if( (bytesLoaded/bytesTotal) >= ( (startSeekTime+4)/videoDuration) && !videoSeeked ){
                   videoSeeked = true;
                   fp.seek(startSeekTime);
    fp.play();

    kglad -
    When I plugged in the code below, it had these 3 errors:
    1119: Access of possibly undefined property toggle through a reference with static type fl.video:FLVPlayback.
    source - if(!my_FLVPlybk.toggle){
    1119: Access of possibly undefined property toggle through a reference with static type fl.video:FLVPlayback.
    source - my_FLVPlybk.toggle=!my_FLVPlybk.toggle;
    1119: Access of possibly undefined property toggle through a reference with static type fl.video:FLVPlayback.
    source - my_FLVPlybk.toggle=!my_FLVPlybk.toggle;
    I put it in the actionscript, was there anywhere specific I was supposed to plug it with the rest of the code?
    Thanks for helping with this.
    - Sean
    = = =
    stage.addEventListener(MouseEvent.CLICK,videoF);
    function videoF(e:MouseEvent){
    if(!my_FLVPlybk.toggle){
    my_FLVPlybk.pause();
    } else {
    my_FLVPlybk.play();
    my_FLVPlybk.toggle=!my_FLVPlybk.toggle;
    = = =

  • Form won't Close when clicking 'X'

    Hi All
    I just created a Form on 10g that i've attached on Oracle Ebusiness Suite R12
    but my problem it's that it wont close when i click on 'X'
    I have the following trigger *'WHEN-WINDOW-CLOSED'* inside the trigger is this line of code app_standard.event('WHEN-WINDOW-CLOSED');
    I'm not sure where i'm missing it does anyone ever experience this problem.
    Thanks
    Lethu

    Open the program unit app_custom in your fmb file and scroll down in the close_window procedure. You'll see code like this:
    bq. \\ if (wnd = '&lt;your first window&gt;') then \\ app_window.close_first_window; \\ elsif (wnd = '&lt;another window&gt;') then \\ ... \\
    Replace your first window with your window name and retry your form after compilation. If you have multiple windows, use them in the '&lt;another window&gt;' spots.
    The Oracle Applications Developer's Guide explains how it works on page 7-3.

  • Which FM will trigger when we logoff from SAP?

    Hi All,
             Can u Tell me which Function module will trigger when we logoff from SAP screen ....pls its Urgent..
    Thanks&Regards.
    Bharat .
    Edited by: Alvaro Tejada Galindo on Feb 26, 2008 11:36 AM

    Hi,
      Actually that FM is useful for conform the user selection whether it is YES or No.Acording to that we will write the code for the user selection.Actually i want to Logoff from SAP screens when i click yes button on the popup screen.So please tell me the FM for logoff from SAP.I want to know the actual FM for LOGOFF sap.Please let me know asap.
    Regards,
    Bharat.

  • How To Handle With Back Ground JOB From WEBUI When Click On "Appove"

    Hi
    How To Scheduled A Job Through ABAP Report In back end  Of CRM when i click on "Approve" Button in WEBUI  From result list.
    As per My requirement I have a Search View and Result View
    In Search View I have  Below Fields
    ITC Vendor ID    
    Claim Status
    User status (date status changed)
    Model
    Serial Number
    Date completed of Service Completion
    Based on Search Criteria I will get Result In Result View.(Suppose 10 Records I got In Result View)
    In the Result View I need to Add one Button As "Approve"
    When i Click On Approve button One Pop up Message Need to Open And In that popup window I need to Display Below Text
    "Approve  Claim Job Has Started In Background  
    Note: Only Claims Which are in Submitted  Status  Will be  Approved. you May Close This Window"
    In SAP CRM System  Back Ground Job Need To Start When Click On "Approve" Button In WEBUI .
    In the Back Ground ABAP Report which will validate based on Result List Records"
    In the Result List we may have all types of Claims which are status in "Submitted" "Pending" "Rejected" "Approve".
    I need to collect all records from Result list and validate Those Records who's Status in "Submitted
    1)Sort all the claims based on ITC Vendor ID.
    2)Grouped all the submitted claims against each ITC Vendor ID from the search result
    3)Change the status of the selected submitted claims to Approved.
    4)Displays information messages as mentioned whenever a claim is approved, the same message will be captured in the job log.
    ‘Claims <ClaimID 1>,…<ClaimID N> now approved for ITC Vendor ID’.
    5)Sending Email to each IRC.
    6)Capture all the approved claims in the below format (Format Attached "Screen Shot Attachment")
    7)Store the file in the Application Server AL11 in .csv format
    Please Find Attachement For Reference.
    1)ITC Claim Screen Shot
    2)Screen Shot For Attachment
    Thanks
    Raj

    Hi,
    You can add the following code in on approve method to show popup to the user,
    IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
        REFRESH lt_buttons.
        lss_button-id  = 'btnyes'.
        lss_button-text = 'YES'.
        lss_button-on_click = 'YES'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        lss_button-id  = 'btnno'.
        lss_button-text = 'NO'.
        lss_button-on_click = 'NO'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        CALL METHOD comp_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'ATTENTION'
            iv_text           = 'Are you sure you want to edit this document?'
            iv_btncombination = '99'
            iv_custombuttons  = lt_buttons
          RECEIVING
            rv_result         = req_edit.
        req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
        req_edit->open( ).
        RETURN.
      ELSE.
        lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
        lv_outbound = lr_node->get_event_name( ).
    *  CLEAR ptc_pricing_status.
    *    lv_outbound = req_edit->get_fired_outbound_plug( ).
        IF lv_outbound = 'YES'.
    you can use the submit report code here and you can al the validations here
        ELSE. " No
    if user clicks no nothing to do..
        ENDIF.
        CLEAR req_edit.
      ENDIF.
    Best Regards,
    Dharmakasi.

  • Cannot send email when clicking lonk on web page

    I cannot send email when clicking link on web page. 
    When I would click the link to send via email I was being directed to hotmail to open new account.
    Today the tech tried to assist me and completely messed up my email capabilities by setting up
    windows live account.
    I am thoroughly disgusted with FIOS internet services..Every time I've called them in the past month problem has been with someone else whose portal services they are using.
    I cannot send emails because all my contact information cannot be moved.
    I'm paying for FIOS internet service that is almost non existent.
    THe VZ in home agent doesn't work nor does the FIOS information site.
    My next move is to get rid of FIOS.
    They create more problems then they solve with me.

    If I understand your problem correctly, you are having trouble when clicking on a MailTo link on any webpage? What loads when you click this type of link is a setting in your browser. If you tell us what browser you are using, we can try to direct you to the setting.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

  • My website is developed in angula js, when I login with the password that is saved in browser(Remember password) does not respond when click on sign in button

    When enter username & move to next field, password is shown in encrypted format when click on login/sign in button it does not get login & does not even show any error message. The same functionality works in Google Chrome browser.

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • How to send Email to customer when clicked on hyperlink on SAP CRM web UI

    Hi all,
    I am working with SAP CRM 7.0 EHP1. I have one field named Email on Complaint description page on Web client UI. I have made the field a hyperlink by using the setter getter methods of attribute in component workbench for the component -BT120H_CPL. Now I want to send one mail to customer who have raised the complaint when clicked on the hyperlink Email through SAP CRM if possible or by using Microsoft  outlook(Microsoft outlook is default mailing server on the system).
    Please help !
    Thanks and regards,
    Kavita Chaudhary
    Mobile: 8800222151

    Hi kavitha Chaudhary,
    if you wan to send any details to outside mail id first you should get that person mail id. based on that you can send data to that mail id by using this code...
    just fallow this code in your event..
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: text               TYPE bcsy_text.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sender             TYPE REF TO cl_sapuser_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    DATA: bcs_exception      TYPE REF TO cx_bcs.
    DATA: sent_to_all        TYPE os_boolean.
    TRY.
    *     -------- create persistent send request ------------------------
           send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create document from internal table with text
           APPEND 'Hi to all' TO text.
           document = cl_document_bcs=>create_document(
                           i_type    = 'RAW'
                           i_text    = text
                           i_length  = '12'
                           i_subject = 'test created by srinivas' ).
    *     add document to send request
           CALL METHOD send_request->set_document( document ).
            sender = cl_sapuser_bcs=>create( sy-uname ).
           CALL METHOD send_request->set_sender
             EXPORTING
               i_sender = sender.
    * hardcoded value im passing here u should capture customer mail id here..
    data : lv_email type string.
    lv_email = '[email protected]'.
    *     --------- add recipient (e-mail address) -----------------------
    *     create recipient - please replace e-mail address !!!
           recipient = cl_cam_address_bcs=>create_internet_address(
                                             lv_email ).
    *     add recipient with its respective attributes to send request
           CALL METHOD send_request->add_recipient
             EXPORTING
               i_recipient = recipient
               i_express   = 'X'.
    *     ---------- send document ---------------------------------------
           CALL METHOD send_request->send(
             EXPORTING
               i_with_error_screen = 'X'
             RECEIVING
               result              = sent_to_all ).
           IF sent_to_all = 'X'.
             WRITE text-003.
           ENDIF.
           COMMIT WORK.
    * *                     exception handling
    * * replace this very rudimentary exception handling
    * * with your own one !!!
         CATCH cx_bcs INTO bcs_exception.
           WRITE: text-001.
           WRITE: text-002, bcs_exception->error_type.
           EXIT.
       ENDTRY.
    after this go to sost transaction.
    first you can see first mail.. select your recent mail id execute then you will get email..
    try this and let me know..
    if this is not working then see this link too this might be help full to you.
    Hyperlink in Email using Send Mail Activity
    Thanks & Regards,
    Srinivask.

Maybe you are looking for