Trigger menuEvent manually

I have a mx:MenuBar with several menu options. I also have a
toolbar with icons. My problem is that when i click a toolbar icon
i want to check one of the menu items in the menu. How can I
trigger such an event?

well you could listen for the Click event on the menubar and
then when you get it, simply call the same function that is called
when you click the menu item. This means that the menu item Click
handler will have to also call this function, i.e. you cant have
the code in the event handler.
I hope that helps.

Similar Messages

  • Trigger BPM manually

    Hello,
    is there any way to trigger a BPM process manually? Right now it's running every 5 minutes defined by an AutoABAP parameter.
    Background: I'm trying to write a custom Monitoring Object using the User Exit and don't want to wait 5 Minutes every time I need to test it.
    Any help is highly appreciated.
    Edited by: Maxim Schwarzkopf on Jun 7, 2010 3:11 PM

    well you could listen for the Click event on the menubar and
    then when you get it, simply call the same function that is called
    when you click the menu item. This means that the menu item Click
    handler will have to also call this function, i.e. you cant have
    the code in the event handler.
    I hope that helps.

  • Is it possible to automatically trigger a Manual Journal Entry?

    Hi Forum,
    This could apply to any situation:
    Suppose when I create an A/R invoice, I would like another manual journal entry to be created automatically. Is this possible and how could it be achieved?
    Thank you.

    Hi Mahendra and Gordon:
    This is the situation:
    Relates to DropShip Order:
    1.Client create DropShip Sales Order (against drop ship warehouse).
    2. DropShip Sales Order generates PO (Note no liability accounts are hit)
    3. Client wants to invoice their drop ship customer immediately by emailing A/R invoice.
    This mean the revenue accounts are already hit and our client has registered a revenue.
    Problem : However liability accounts are not hit and our client may not receive A/P invoice for say 2 weeks. This means the books show exagerated revenue.
    I suggested - A/P reserve invoice to be created immediately, but it needs to be canceled which leaves original PO in closed state in 8.8.
    Second method I suggested to create a manual journal entry to hit deferred liability account to be reversed in two weeks. The client says, this is backoffice job and they do not want them to have access to journal entries.
    In anycase, whatever reason, our client will change business practice, however, I thought let me check what it takes to create manual deferred liability auto reversal entry automatically.
    Is there any other way to handle this situation?
    Thanks.
    Edited by: Syed Aleem on Jun 24, 2011 3:13 PM
    As soon as A/R invoice is created, a deferred payable needs to be updated also automatically at the same time. This is the requirement.

  • Can "trigger" management be addressed in the data modeler?

    Please add an easier way to add/modify triggers.
    I reverse-engineered my model into the data modeler and my triggers all migrated correctly to the model but, for the life of me, had no idea how to view, modify or create triggers.  After extensive research, I found that they can be accessed in the left-hand Browser by drilling some 8 levels to view the triggers for each table - why?  Why can't this functionality be added to properties context menu for the table.  I'm not a big advocate for triggers but if I need to work on one, the current methodology is tedious at best.
    Of course, if there's some other way to do this, please inform...
    Accessing Triggers via the Browser
    Design -> Relational Model -> APEX_DEMO -> Physical Model -> Oracle Database 11g -> Tables -> ACTIVITY_LOG -> Triggers

    Thanks Joop and Phillip...
    While I occasionally use SQL Developer, I currently use PL/SQL Developer (Allround Automations) as my development tool of choice and bringing a 3rd tool as SQL Developer into the mix, makes no sense to me.
    I completely agree that managing a trigger via a development tool is much easier but one occasionally wants to quickly add a trigger either manually or via a template and this is not easy currently.
    While functions, procedures, package, etc. are all important to a data model, the existence of most triggers are completely dependent on a table and are a critical component in any model that uses them.  The ability to access and modify them easily in Data Modeler is important and shouldn't be an afterthought as is perceived here.  If trigger access cannot be added to the Table Properties (as noted in the image below), at the very least, please provide a shortcut methodology to do so.

  • Need to trigger workflow after g/l document posted in FB50

    Hi all
    When a user posts a document in FB50 (G/L journal entry), I need it to trigger a workflow.  I can find BTE's that come in to play before the document number is assigned, but I need it triggered after the document number is assigned.  I tried BTE processes 1120 and 1140 but they're too early.  I also looked at many function modules and user exits suggested by various SDN threads but nothing seems to be triggering.
    I already have a workflow created using BO BKPF and can trigger it manually, but not through FB50.  There's lots of info on BO FIPP, but I'm looking at posted documents, not parked documents.  Tracing FB50 with SWELS/SWEL doesn't show anything.
    Any help would be greatly appreciated.
    Ron

    Hi Ronald,
    If you are using ECC 6.0 try to look explicit enhancement, that is kernel BADI (key words: GET BADI and ENHANCEMENT). If there is none also then use implicit enhancement. Implicit enhancement is always available at the beginning and the end of Function Module, Routines, Program, Methods, etc.
    Regards,
    Lim...

  • Multiple Trigger Level Data Collection

    I'm having some difficulty with a unique data collection problem. I'm using DAQ Assistant to collect and display voltage data on a graph and in numeric indicators. I need to add functionality, so that when the user clicks a control, the incoming data is sampled and shown in a table. Each sample should occur at a succesively higher trigger level-- i.e., 1st sample when channel 0 is near 1 V, 2nd sample at 2 V etc... Is this possible using Labview 8.6? I have experimented with the Trigger and Gate function, but have been unable to trigger the manual trigger at successively higher levels. Any help or ideas would be appreciated! 

    Hi Sailorguy,
    Please have a look at this forum and see if it helps. Thanks!
    Ipshita C.
    National Instruments
    Applications Engineer

  • How to send error message to forms from Database Trigger

    Hi, Please help me to send error message to forms from Database Trigger?
    RgDs,
    Madesh.R.M

    You are correct, the On-Error trigger is a Forms trigger. However, if your Form is going to display the error generated by the database stored procedure or trigger - you might not see the database error in your Form unless you check the DBMS_ERROR_CODE in the On-Error trigger and manually display the Error Code and associated Text. I've see this happen with a co-worker. The Form she was working on was based on a table with an Before-Insert trigger. Because she was not explicitely handling the error from the Before-Insert trigger in the Forms On-Error trigger, her Form appeared to halt for no reason at all. Once she added code to the On-Error trigger in the Form to handle the DBMS_ERROR_CODE, she discovered the trigger was producing an error and was able to show the error to the user in the On-Error trigger.
    I understand the desire to keep as much as possbile in the database, but with that comes some extra coding in your Forms to handle this. This extra coding could easily be placed in a Forms Library, attached to a Form and called in the On-Error trigger. Your code could look like this:
    DECLARE
       /*This example assumes you have an Alert defined
          in your Form called: 'ERROR' */  
       al_id    ALERT;
       al_text  VARCHAR2(200);  /* Max text of a Forms Alert message*/
       al_btn   NUMBER;
    BEGIN
    IF DBMS_ERROR_CODE != 0 THEN
       /* Error code is ORA-00000 Normal Successful completion
           So only handle non-zero errors  */
       al_text := DBMS_ERROR_CODE||':'||DBMS_ERROR_TEXT;
       al_id := Find_Alert('ERROR');
       set_alert_property(al_id, alert_message_text, al_text);
       al_btn := show_alert(al_id);
    END IF;
    END;Your original question was "How to send error message to forms from Database Trigger?" The answer is you don't because Forms already gets the database error code and database message through the Forms DBMS_ERROR_CODE and DBMS_ERROR_TEXT functions. Look these up in the Forms help and it should clear things up for you.
    Craig...
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:49 PM
    Edited by: CraigB on Jun 14, 2010 4:50 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM
    Edited by: CraigB on Jun 14, 2010 4:51 PM

  • Updated column in trigger

    Hi,
    How can i know if a particular column is updated in trigger ?
    Thanks

    Hi,
    I don't have the manual page handy, but search in the CREATE TRIGGER statemenet manual page, and you'll find out pretty quick.
    Little hint:CREATE OR REPLACE TRIGGER mtrig
      BEFORE UPDATE ON mtab
      FOR EACH ROW
    BEGIN
      IF (:OLD.col != :NEW.col) THEN
         NULL; -- value of mtab.col is being updated!
      END IF;
    END;
    /Regards,
    Yoann.

  • How to manually download pricing record

    Hi all,
      Pricing could be downloaded automatically as well as manually. To do automatic download, enable delta download via activating it in transaction FIBF in R/3 the fn is CRS_PRICE_COLLECT_DATA. Am I right..
    Now If I dont enable delta download( by removing this function from FIBF transaction), what are the steps I need to conside to do manuall download. This scenario is required as we will be directly updating the pricing tables without using the VK11 transaction (I guess when records are created only via VK11 transaction then delta download is triggered). Hence I need to trigger pricing manually.
    Any help is highly appreciated.
    Best regards
    Jothi

    Hi Jothi,
    Do you mean download specific condition tables?
    you can do download for specific condition tables.
    you can identify the condition tables (tcode CTCT_CRM_PR)
    then check it in CONDITION DOWNLOAD tcode R3AC5 (download
    using tcode R3AS.
    To do delta, you may try tcode R3AC4 (there is CONDITION
    Object for specific condition table delta download).
    Hope this helps.
    Cheers,
    Gun.

  • Sales Order BOM(Usage 5)-Manual re order point VB-No BOM Explode-MD02

    Hi Guru's,
    I have typical requirement from my client.
    Requirement is as follows.
    1)There is no Production in the Plant, so NO PP module.
    2)All parts are like Kit, Purchase will be Component wise and at the time of Sales, Sales will assemble(Sales BOM)
    3)Requirement should trigger from Manual re order point-VB
    4)Am using Material type HAWA-Trading Material
    5)I have changed Usage type 5 as Production and sales, because system should Explode the BOM at MD02 and as well it should use in Sales order.
    Problem is
    1)If i Set MRP type PD, Strategy 10, and Demand from MD61 then system is exploding BOM and giving PLanned order and PR
    2)If i set MRP type VB or V1, No strategy and Requirement should arrise from Safety stock and re order point, system wont Exploding in MD02 for Component level(child part)
    Please give me advise on this issue.
    Thanks,
    VR

    Hi Karthi,
    Currently Stock is Zero and my reorder point is 10 and safety stock 5 for Parent and same this is applicable for child part.
    Yes , For Parent material system generating Requirements but not exploding BOM(Child part)
    Thanks,
    VR

  • Multiple column update trigger

    Hi,
    I want to have a history track of all data that has ever been updated in a table. Say, table1 has 100 columns and to store its data change history, I have made another table track_table1 having columns : updated_column_name, old_data, new_data, mod_time.
    For storing this data history, I need to write a trigger in which I will identify all columns that has value updated and insert column's name and values in the track_table1 table.
    What I currently do is checking each of 100 column's new and old value inside the trigger to find out which columns have been updated. This increases the code and also oracle has to check each 100 column's values to find out whether it is being updated.
    Is there any way where oracle itself can give a list of columns which have values updated by the update statement ? so that there is no need to check old and new values of every column of the table.
    I am using oracle 9i and 10g databases.
    Thanks much in advance,
    Kawa

    kawa alkesh wrote:
    So, what I get from here is : I can't get old and new values when used dynamically in trigger itself, but I can get these values dynamically when I write a script for it. Is it so ??Yes, you cannot dynamically reference the :new.column_name or :old.column_name values in a trigger. You can dynamically generate the trigger as was demonstrated in the other thread.
    Also, as per the scenario explained in my first question of this thread, shall I write a script file, store it on the machine as a file and then write a trigger to call this script ? Correct me if I am wrong... I have never done this kind of thing.. so a bit confusedI don't follow. There is no need to create a script that is stored on any machine. You can write a procedure that generates the trigger, install that procedure in your database, and call the procedure to generate the trigger whenever the structure of the table changes. Whether it really makes sense to do this, rather than just writing the trigger code manually, is something you'll have to determine.
    Justin

  • [OIM] Trigger Request tasks

    Hello People,
    I see that when I make a request in OIM, the request goes into "Request Received" state for a while and after some time the approval tasks appears. Is there a schedule task that triggers the request's tasks, so can I trigger it manually? A very few of them remains in the "Request Received" state, so I would like to bring them to life again.
    Thanks!

    Their is one for sure which resubmits requests that are in a Request Initialized state but nothing for Event Received. Tough Luck.

  • Workflow- FI invoices problem

    Dear Folks,
    I'm now working on a migration project.
    This is about the FI release invoices.
    Before the migration, the end users are able to release the invoices through their SAP inbox.
    After the migration, these endusers had been assigned different SAP user ids and now the invoices are not triggering into their SAP inbox.
    If they give their old user-ids it is working, and moreover with the new user-ids they had created lot of invoices which are not reflecting in their SAP inbox after that they started working out with the old user-ids.
    For the invoices released with new user-ids, how can they trigger it manually?
    I would like to know what may be the reason and how to tackle this problem.
    Is any table to be changed or program to be changed?
    They want to work with new SAP user-ids.
    regards
    Shailendra

    Hi SC,
    try asking a WF developer to help you out as there could be lots of reasons for this.
    1. were the user ids maintained in a table
    2. was there any organizational unit or framework created to send the work items to respective userids.
    Aditya

  • Office 2013 C2R Update Scheduled Task does not work

    Hi all.
    I am having difficulty getting network deployed updates to work correctly. I installed and older version of Office 2013 with the ODT from a network share and set the update path. I then downloaded an update via ODT.
    The issue is the scheduled task does not update office. If I trigger or manually run from a command prompt "C:\Program Files\Microsoft Office 15\ClientX64\integratedoffice.exe RUNMODE RERUNMODE modetorun updatedetection modeargs reschedulemode tasktrigger
    scheduledtask updateuitype background” from Task Scheduler nothing seems to happen. Monitoring Task Manager it looks like integratedoffice is called albeit very briefly.
    But, if I run "C:\Program Files\Microsoft Office 15\ClientX64\integratedoffice.exe RUNMODE RERUNMODE modetorun updatedetection background” from a command prompt Office updates, but if I edit the Scheduled Task to above Office does not update if the
    task is triggered.
    As Office can update if the right command is given it would appear that my config.xml etc is correct. Any ideas on why the Scheduled Task does not work?
    Cheers
    Jakes

    What permissions are set on the location of the updates ? C2R currently needs permissions granted for machine accounts as it runs under that context. This will change at some point that C2R gets updated.

  • Error while posting XML from a scheduled transaction to another transaction

    When I try posting an XML from one transaction to another in a different project by calling it as a webservice, it doen't hit the other transaction.
    I see this in the Netweaver error logs:
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:111)
    at java.util.zip.ZipFile.<init>(ZipFile.java:127)  [see details]
    XML AssignXml Parse Error
    [EXCEPTION]
    org.xml.sax.SAXParseException: Premature end of file.... [see details]
    AND
    [Fatal Error] :-1:-1: Premature end of file.
    More interestingly it happens ONLY when I schedule the parent transaction, when I trigger it manual everything works fine.
    Any help appreciated.

    Hi Srinivas,
    I see that this post was marked as answered. Could you please elaborate on how this problem was fixed?
    I am experiencing a similar issue:
    I am trying to get the Active Portal application running in MII 12.1.7 (also 12.1.8) and all went well up to the point where the ActivePortalMonitor transaction is scheduled. In the logs I also receive the  org.xml.sax.SAXParseException.
    The culprit is the XMLQuery block in that txn. Just like with your situation, when ran from workbench it works; when scheduled it doesn't.
    I tried replacing the XMLQuery with other blocks that get the same result, i.e. XMLLoader or HTTPLoader + StringToXMLParser; and in all cases the XML fetching element bombs out.
    I also built a simple txn that does an XMLQuery on another txn and then dumps the output in a file. Same thing: when run from workbench it runs fine; from scheduler it gives "SAX" error
    I would post the specific error log, but it is always varying, here is one example:
    [ERROR] [Untitled_0]org.xml.sax.SAXParseException: Open quote is expected for attribute "DIR" associated with an element type "HTML".
    Any help/hints are much appreciated
    Kind Regards,
    Fanie

Maybe you are looking for

  • Connecting selection of radio button to a text or numeric field

    Hi. I am using LiveCycle Designer 8.0 and I am trying to define object properties that will allow the selection of a radio button to populate in a numeric data field at the bottom of the page. I was able to write the script to have that happen with d

  • Startup Disk Full Error - Please help

    Dear ALL, I have started to notice recently that when I run Photoshop CS on my Mac OSX Tiger, I am getting the Startup Disk Full error message. I have no clue as to how to correctly fix this issue. I looked at my HD and I seem to have 32GB available,

  • Cleaning PE4 and deleting mcdb files

    Hi I have had problems with PE4 giving the "premier elements.exe has stopped working message" about 75% of the way through burning a project to folder or DVD. I have followed all the advice on here, and followed advice from adobe technical support bu

  • XSTRING to PDF

    Hi, I'm using FM CONVERT_OTF to convert the OTF Data out of a smartform to XSTRING format. Any idea about how to convert the XSTRING obtained to PDF? I tried the cl_http_response method, but it doesn't work. I'm on 4.6C, and the OO Methods work only

  • Sample scenarios for proxies

    hi   can any one provide me with sample scenarios for abap proxies ,both inbound and out bound regards ram