FM9 FA_Note_FileOpen event not raised?

Hello,
we are evaluating FM9 and FDK9 and run into incompatibilities. There are more minor changes
than the release notes say and probably even more we are not aware of. For now the most
urgent change is:
in our plugin we register for notifications/events:
F_ApiNotification(FA_Note_FileOpen, True);
F_ApiNotification(FA_Note_PreOpenDoc, True);
open a book in FM9, double click a document to open and no event raised!
Any idea how to handle/catch events in the new GUI? Is it a bug or we need to make changes?
Thank you.
Regards,
Viktor

Hi Viktor,
While I have had other problems with FDK9 notifications, I could not reproduce this issue. When I open a file from a book, both notifications are received. In fact, the FA_Note_FileOpen gets called twice, where it seems to be called only once in previous versions. I tried with the book docked and undocked, binary FM and non-FM files, and in all cases I get the notifications. I get FileOpen when the book itself is open as well.
Is there something unusual that you are doing? Have you positively verified that it is the notification that is failing, instead of some other area in the code? There are other issues with document properties such as FP_IsInFront, which doesn't seem to work with FDK 9. Could the problem be somewhere else in your code, perhaps related to one of these other properties?
Russ

Similar Messages

  • Contextual Event - "Currency Change Event" not raised?

    Hey,
    I am trying to raise contextual event on a table when I click on a row. The event type for a table is eventType="Currency Change Event" But is not working.
    Here is the event in the PageDef file.
    <events xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
    <event name="paramValueChangedEvent"
    customPayLoad="${bindings.PolicyId.inputValue}"
    eventType="Currency Change Event"/>
    </events>
    After that I want to raise custom method:
    <methodAction id="testEvent" InstanceName="myBean.dataProvider"
    DataControl="myBean" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="testEvent"
    IsViewObjectMethod="false"/>
    Here is the event map:
    <eventMap xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
    <event name="paramValueChangedEvent">
    <producer region="*">
    <consumer region="" handler="testEvent" handleCondition=""/>
    </producer>
    </event>
    </eventMap>
    When I raise the event programmatically, then the event is raised and my function is called.
    Here is the code. I call this function on a custom selection listener of the table.
    public void riseCurrencyChangeEvent(String treeID, String nodeID,
    String attributeValuedPassedName) {
    DCBindingContainer bc = ADFFacesUtils.getDCBindingContainer();
    FacesCtrlHierBinding tbl =
    (FacesCtrlHierBinding)bc.findCtrlBinding(treeID);
    FacesCtrlHierNodeBinding node =
    (FacesCtrlHierNodeBinding)bc.findCtrlBinding(nodeID);
    EventDispatcher dispatcher = bc.getEventDispatcher();
    node = (FacesCtrlHierNodeBinding)tbl.getRootNodeBinding();
    dispatcher.queueEvent(node.getEventProducer(),
    node.getCurrentRow().getAttribute(attributeValuedPassedName));
    bc.getEventDispatcher().processContextualEvents();
    My idea is not to call custom method after clicking on a table row, but I want to raise declaratively the event because I will need so generics.

    Hi,
    there is a bug 10045872 filed for this. The bug is scheduled for fixing in PS4 (11.1.1.5) I'll work on a manual - though code centric - alternative for the time being and publish it on ADF Code Corner when done.
    Frank

  • Start automatically CPS job waiting event when event not raised

    Hi,
    how to automatically start at a defined time a CPS job waiting an event, , if the event is not raised ?
    Clement

    Hi,
    You can have another event associated with such job chains(say Event_Force_Start) and define an OR condition in the event expression of the job chain. You can trigger the Event_Force_Start by anothe dummy script that excutes based on scheduled time or a submit frame. Thus yu can start the job at required time irrespective of the event under consideration being raised or not
    Regards
    Raj

  • Buisness Event not raised from People/Assignment screen?

    I found a seeded Business Event for People/Assignment screen : oracle.apps.per.api.assignment.update_emp_asg.
    So, i went and added subsription to it and then tested it. It works fine from Business Event Test page(html framework). However, when i did an Update to Assignment record, I don't see that event fired.
    Q: Doesn't People/Assignment screen raise this event out of the box? Is there any set up we need to do for raising this, without writing code? How can i have Assignment screen raise this event whenever an update is performed?
    I didn't find any documentation for this. is there one?
    Thanks for any help,

    Hi
    Which SRM version are you using ? what's the need to add to add a custom field to the table control ? Any specific buisness requirement ?
    I guess, there is some problem in the code. Please paste the code details.
    Do let me know.
    Regards
    - Atul

  • Keyboard events not raised (firing) in JDK1.4

    Key events stopped working in my GUI app after I loaded JDK1.4. When I reloaded 1.3, they started working again with no change to code???!!!
    I feel pretty confident that the code is correct, not only because ot works in 1.3, but because Forte4J generated it:
    addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyPressed(java.awt.event.KeyEvent evt) {
    formKeyPressed(evt);
    private void formKeyPressed(java.awt.event.KeyEvent evt) {
    int kee = evt.getKeyCode();
    System.out.println("key: "+kee);
    Anybody else run into this yet? Suggestions?
    Thanks.

    How do I make it work in 1.4? Here is the code:
    ---------- BEGIN SOURCE ----------
    public class TestGui extends javax.swing.JFrame {
    public TestGui() {
    initComponents();
    private void initComponents() {
    jLabel1 = new javax.swing.JLabel();
    jTextArea1 = new javax.swing.JTextArea();
    jClrBtn = new javax.swing.JButton();
    jTestBtn = new javax.swing.JButton();
    getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(),
    javax.swing.BoxLayout.Y_AXIS));
    addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyPressed(java.awt.event.KeyEvent evt) {
    formKeyPressed(evt);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent evt) {
    exitForm(evt);
    jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    jLabel1.setText("Key presses:");
    getContentPane().add(jLabel1);
    jTextArea1.setEditable(false);
    jTextArea1.setRows(15);
    jTextArea1.setPreferredSize(new java.awt.Dimension(320, 240));
    getContentPane().add(jTextArea1);
    jClrBtn.setText("clear");
    jClrBtn.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jClrBtnActionPerformed(evt);
    getContentPane().add(jClrBtn);
    jTestBtn.setText("test");
    jTestBtn.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jTestBtnActionPerformed(evt);
    getContentPane().add(jTestBtn);
    pack();
    private void jTestBtnActionPerformed(java.awt.event.ActionEvent evt) {
    jTextArea1.setText("test line\n"+jTextArea1.getText() );
    private void jClrBtnActionPerformed(java.awt.event.ActionEvent evt) {
    jTextArea1.setText("");
    private void formKeyPressed(java.awt.event.KeyEvent evt) {
    int kee = evt.getKeyCode();
    jTextArea1.setText(kee+"\n"+jTextArea1.getText() );
    System.out.print("key: "+kee);
    private void exitForm(java.awt.event.WindowEvent evt) {
    System.exit(0);
    public static void main(String args[]) {
    new TestGui().show();
    private javax.swing.JButton jClrBtn;
    private javax.swing.JButton jTestBtn;
    private javax.swing.JTextArea jTextArea1;
    private javax.swing.JLabel jLabel1;
    ---------- END SOURCE ----------
    Thanks

  • HRMD_A IDoc in error not raising an event

    I have workflows enabled for IDocs in error.
    If an inbound order IDoc (ORDERS) arrives in status 51, it triggers a workflow.
    If an HR master data IDoc (message type HRMD_A) arrives in status 51, no workflow is triggered.
    Here is what I have checked:
    Partner profile has me as responsible agent in both cases.
    Both type linkages are active for IDOCHRMD and IDOCORDERS event InputErrorOccurred.
    Both IDocs types are posted in with the test tool and end up in status 51.
    When I investigate the event trace, I can see that an event is raised for the ORDERS IDoc but not for the HRMD_A IDoc.
    There are no errors in the type linkage status column.
    So why would it be that the event is not being raised for the HRMD_A IDoc?
    How can I find out what should be raising the event? I guess that there is a function module call to SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT.
    Kind Regards,
    Tony.

    Hi Tony,
    I am a complete novice to workflow but I have a requirement liek yours to trigger workflow for idocs in error, so I was hoping you could point me in the direction of some documentation/steps on how to do this?

  • The apexafterrefresh event not being fired in Chart IR's

    Hi all,
    I am adding additional functionality to IR reports using the plug-in architecture in Apex 4.1.1. A Dynamic action has been added to the "After Refresh" event for the #apexir_WORKSHEET_REGION jQuery selector.
    This works fine in all cases except when no data is found in the report. This has been fixed in 4.2 so I can live with this until the upgrade. However, it also does not work when a chart is created in the report, the apexafterrefresh event does not get raised. Therefore my dynamic action will not fire. Looking at the apex_interactive_reports_4_1.js this event gets raised for the table element with an ID stored in apexir_WORKSHEET_ID ie:
    apex.jQuery('#' + $v("apexir_WORKSHEET_ID")).trigger('apexafterrefresh', that.report_id);However this table element does not get rendered when a Chart is displayed and therefore the apexafterrefresh will not get raised.
    In apex 4.2 the widget.interactiveReport.js has been modified to handle the no data found but not charts:
    var lTriggeringElement$, lWorksheetId;
                            lWorksheetId = $v( "apexir_WORKSHEET_ID" );
                            if ( $x( lWorksheetId ) ) {
                                // If the table element containing data exists (ie when the report returns rows),
                                // use that to trigger the event.
                                lTriggeringElement$ = apex.jQuery( '#' + lWorksheetId );
                            } else {
                                // Otherwise, use the span holding the no data found message.
                                lTriggeringElement$ = apex.jQuery( '#apexir_NO_DATA_FOUND_MSG' );
                            lTriggeringElement$.trigger( 'apexafterrefresh', that.report_id );I have created a test case on apex.oracle.com - http://apex.oracle.com/pls/apex/f?p=41357:1 In this example I simply display an alert from a Dynamic action with the following attributes:
    Event - After Refresh
    Selection Type - Region
    Region - Interactive Report
    As can be seen when the user navigates to the report the alert displays, however when you navigate to the Chart the alert does not display.
    In my mind this is a bug and the IR reports JavaScript should be modified to raise the event apexir_WORKSHEET DIV Element instead. This would fix both issues.
    Any ideas on how to overcome this issue?
    Thanks
    Chris.

    For everyone's information Bug 16029272 - ALERT (APEXAFTERREFRESH EVENT) NOT BEING FIRED IN CHART OF INTERACTIVE REPORTS has been raised regarding this issue.

  • BP_EVENT_RAISE : How do I know if the event was raised successfully ?

    Hi All,
    I need to start a process chain after an event Z_MYEVENT.
    In BI7
    1) For the pc Z_MYPC, the start process variant -> direct scheduling -> After Event -> specified the event Z_MYEVENT, parameter: blank
    2) In SM62 under BckProcEvts I created a background processing event Z_MYEVENT.
    3) Then created a function module that calls BP_EVENT_RAISE. When I run the fm I pass Z_MYEVENT as the Event Id parameter.
    The BP_EVENT_RAISE runs without any error. sy-subrc = 0 after execution.
    But my process chain wont start!! I can start it manually though.
    What could be wrong ? How do I make sure that the event was actually triggered or not ? my "Event History" tab in SM62 does not list any events - does this mean that the event was not at all raised ?
    any help would be appreciated.
    Thanks in advance,
    rithesh

    Hi,
    I did try triggering the event manually in SM64. But no luck!
    Now I did the following:
    Created another program ( Z_CHAIN_START)  that calls "RSPC_API_CHAIN_START" to start the process chain and this program does start the pc.
    Then I scheduled this program Z_CHAIN_START in sm37 to run after the event Z_MYEVENT.
    Now when I run the program that triggers the event it does work perfectly. PC gets started. That indicates the event is raised correctly.
    But somehow the PC does not get triggered directly when the event is raised. Any idea what could be wrong ?
    Thanks for all your replies.

  • FRM-40735- when-custom-item-event trigger raised.

    hi all
    while logging in i am getting the following error.
    FRM-40735- when-custom-item-event trigger raised unhandled exception ORA-06508.
    and when i press the button then getting the following error.
    FRM-40735-when-button-pressed trigger raised unhandled exception ORA-06508.
    plz help me out.thanks in advance.
    sarah

    SarahSarahSarah wrote:
    Yes i am keeping the path but i checked without path too.I want to regenerate webutil.plx.i tried by using ctrl+t ,shift+ctrl+k and ctrl+k but it did not generat plx.what should i do to regenerat plx?is it giving any error when you try to generate it using ctrl + t .?
    Also try closing the builder
    set FORMS_PATH with your working directory (do also keep webutil.pll and webutil.olb) in that.
    Open the builder again and try generating

  • Frm-40735 when-custom-item-event trigger raised unhandled exceptionora06508

    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.
    While logging in, I am getting the above message,
    If I click on ok i am able to proceed and do the task.
    My problem here is to remove this error.
    Any one plz help out?

    Welcome to OTN
    Before posting on this forum please read
    931068 wrote:
    frm-40735 when-custom-item-event trigger raised unhandled exception ora-06508.So
    ORA-06508:     PL/SQL: could not find program unit being called
    Cause:     An attempt was made to call a stored program that could not be found. The program may have been dropped or incompatibly modified, or have compiled with errors.
    Action:     Check that all referenced programs, including their package bodies, exist and are compatible. Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • TMG events and raising an error message

    I have written the code in TMG events and raising an error message for a certain condition.Whenever the error message is getting triggered it is making all the fields read only.So the user is not be able to change the value.
    Any Solutions Please.?

    Hi,
    It TMG events will be triggered after entering values in other field and -> press enter
    Follow the steps.
    Go to se11 check table maintanance check box under
    attributes tab
    utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.
    also assign authorization group default &NC& .
    select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    select maintaience type as single step.
    maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    save and activate table
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    please check the link for getting information about table maintenance generator !
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=use%20of%20table%20maintenance%20generator&cat=sdn_all
    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
    http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
    Regards,
    Raj.

  • Event is raised or can be raised by using 'TRIP' Transaction

    Hi,
    I want to raise an event when creating trip by using transaction 'TRIP'.
    if an event is raised or can be raised when the trip is set to u2018To Be Settledu2019?
    Regards
    Krishna

    Hi Jenny,
    I've just tried custom URI with iOS and I am able to receive the argument with length 1, which has the complete url I browsed.
    For Eg: If I launch url example://xyz?abc, I get the complete url as 1st element of the e.arguments array.
    public function invokeHandler(e:InvokeEvent):void{
    label1.text = "";
    label1.appendText(e.arguments.length.toString() + " ");
    for (var i:int=0;i<e.arguments.length;i++)
    label1.appendText(e.arguments[i] + " ");
    label1.appendText(e.reason);
    Reason should always be standard if it's not launched from login. Currently on Mobile it will be standard only.
    Hope it helps.
    -Pahup

  • SQL Attention events are raised during SqlBulkCopy WriteToServerAsync operations

    In some of our applications we are using SqlBulkCopy to load data into SQL Server.  
    After running some tracing which captures events for the Attention Event Class in SQL we have found that for each 'insert bulk' operation performed by the SqlBulkCopy WriteToServerAsync call there is a corresponding attention event raised even though these
    calls are successful and our client cleanly disconnections (releases the connection returning it to the pool). 
    Does anyone know the reason behind this?   We generally use tracing of Attention events to help us identify client timeouts and the events being raised as part of the bulk copy operations pollute our logs with a bunch of attention events that seem to
    be benign.
    thanks.
    -mike
    Mike Ruthruff

    I can't say why this happens, and I understand your concern. However, the class SqlCommand includes the method Cancel which permits the programmer to cancel the execution of a command - that is, to send an Attention event.
    Note that I'm not say that this is happening in this case. It may be the SqlBulkCopy class that cancels a command on its own, but you could check your application code to see whether it invokes the Cancel method.
    Unfortunately, there is no way to tell in SQL Server the difference between a program- or user-induced (the red button in SSMS) attention signal on the one hand, and an API-induced (the evil timeout). Well, you can try to piece together the time for the
    signal with the most recent RPC:Starting or SQL:BatchStarting, but that only helps with default timeouts of 30 seconds.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • All day calendar events not being displayed in the notification centre for iphone 5 post ios 7 upgrade. Please help. Is it a bug?

    All day calendar events not being displayed in the notification centre for iphone 5 post ios 7 upgrade. Please help. Is it a bug?
    With iOS 6, the all day events showed up in the notification centre but it lacks in the upgrade iOS 7.

    Same problem here. Some people pointed out that all-day events do show up in their notification center, but that seems only to be the case for birthdays (and only as text like the weather). I've tried it myself on my iPhone and iPad and it did work for birthdays but not for any other all-day events. I already sent this to Apple as a product feedback as well, as should everyone of you. The more people mention it, the faster Apple's going to fix this issue. In its current state, notification center is not a very helpful feature in my opinion. There's absolutely no point in not showing all-day events in the 'today' calendar overview.
    Here's a link to the product feedback page: http://www.apple.com/feedback/
    I posted my message in the iPhone section since I couldn't find a page specifically dedicated to iOS 7.
    I really love the look &amp; feel of iOS 7 but it's kinda sad to see notification center not tapping its full potential.
    Cheers!

  • Print iCal Event Notes ("info")

    I couldn't believe that my version of iCal (1.5.5 with Panther) can print a calendar, but cannot print the Event Notes from the "info" pane, with the calendar...
    Tell me it's not true!
    Presumably, a calendar user would use the Event Notes (in the "info" pane) to record important detail about an event: the doctor's office address and phone(s), the conference call number and passcode, and such...
    Can Tiger's iCal 2 do this?

    I haven't figured it out either - kind of makes it worthless to print if you can't see the details, only the header. and you can't iSync the details to a phone or PDA either. huge miss on apple's part if we're not missing something....

Maybe you are looking for

  • Connecting to crystal report via JDBC

    Hi, I am new to Crystal Reports. I want to connect to MSSQL Database using JDBC drivers. I was wondering if there is a way I can use JDBC drivers for connection with Crystal Reports when designing the report ?  Thanks Sherif

  • AuthenticateAsClient is taking so much time

    Hi  I am working on a client - server architecture for data transfer. I am using SSLStream for sending and receiving files. I am using AuthenticateAsClient on client side to authenticate server but i am facing an issue.  1. my application getting sto

  • The iTunes Library cannot be saved an unknown error has occurred (-48)

    Every few minutes, I get an error message from iTunes that says: "The iTunes Library cannot be saved an unknown error has occurred (-48)" Quitting and restarting iTunes doesn't seem to make the error go away.  All of my music and movies seem to play

  • Cannot get filezilla to work on mac 10.5.8

    I have downloaded the file from the filezilla website, however after unarchiving the file, when I try to open it, an error reads "failed to write xml file" I've tried other FTPs but they don't work very well.

  • HT201210 The iPod 'iPod' could not be restored. An unknown error occurrred (1)

    When I click on Ok I get the following more detailed error message : 2013-12-02 23:58:10.978 [4336:1264]: restore library built Aug  8 2013 at 02:24:58 2013-12-02 23:58:10.978 [4336:1264]: iTunes: iTunes 11.1.3.8 2013-12-02 23:58:10.979 [4336:1264]: