Catch Event

Hi experts
What is the event to catch when the value of field 22 (Total before Discount) in a Document (Quotation, Invoice,etc..) changed value.
It's a not enabled field and I must use it to calculate an another value in a userfields by SDK.
Thank's for your answer
jean Marc

Hi,
The best one will be if you use it on Item Pressed Event and then do your calculations.
Hope it helps.
Thanks & Regards
Ankit Chauhan

Similar Messages

  • How to catch event before retrieving data in table?

    Hello
    I use Oracle JDeveloper 11.1.1.2.0
    I need to set parameters session (Package Vars) before any refresh my page (I retrieve data from views that use this vars).
    For this reason I have created method setUserSessionParameters(int[] parameters) in AppModuleImpl.java and I am able to call it from my backing bean.
    It's working fine, but I need to call it before any retrieving data in my tables.
    May be, there is a usual way to catch event before retrieving data is started?
    I'd call my method in that place. I think it would be perfectly well decision.

    Hi,
    you can define a PhaseListener method on the f:view component (it has pre and post properties for this). In the after RestoreView phase, you can access the binding container and call teh AM method to set the values. This way, before the page renders, the value is set
    Frank

  • Service and operation options are not visible in catch event.

    I have created a file adapter service and calling the same using throw and catch event.I have created service call type conversation which is configured in throw event with default conversation option.But when i am trying to config same in catch event my service name and operation does come up.
    Any idea ?
    http://postimg.org/image/orb03h29x/

    Hi Madhu,
    My Understanding:
    1. When you enter the main/header product in the item details, the item catefory for the header product gets determined.
    2. Your components can also be seen below as sub-items automatically, but the item category is not determined.
    Tell me if my understanding is correct.
    If Yes, u need to maintain the item category determination for the sub-items or components as well.
    Transaction Type: Put the service order transaction type
    Item Category Group: Check the item category group of your component product in COMMPR01 (Material tab/ Sales and Distribution Tab)
    Item Category Usage: Leave it Blank
    Main Item Category: Put the header product item category
    Item category: Put the desired item category here.
    Also ensure that in the customizing of the header item category, u have maintained the Structure Scope as A- Single Level Explosion of Structured Products.
    Regards,
    Shalini Chauhan

  • Catching events on Desktop , without using any AWT or Swing components.

    How can I catch events(for eg: mouse clicks) on the Desktop? I do not want to use any AWT or Swing components in my application.
    Also, i want to get events even some other java/non-java application windows are visible on desktop, as long as my application is running.

    Myrequirement is to capture all AWT events, regardless of on which component its being happened.
    I mean I have to capture events outside the current running application (on desktop and any other java/no-java appliation windows also).
    I couldn't find any other forum which discusses about event handling.
    This is part of my app. other end extensively uses awt.

  • ALV Catch Event's

    Hi,
        l am using 'REUSE_ALV_GRID_DISPLAY'.
    I am able to catch event, from ALV list, example DBLCLICK.
    I would like to catch command from key pad also, example ENTER.
    How can l do?

    Hi,
    you need to SET The pf status using the PFstatus option,
    here you have to set the OKCODE for the Green tick button
    that is related to enter.
    say ENTR for the Green Tick button and catch it in User Command form.
    you need to have two forms
    one for pf status, one for user_command.
    Regards
    vijay

  • Cannot catching events on some forms.

    Hello,
    When you go to Issue for Production and click Production Order cfl will pop up with production orders currently available and then when you select one or more orders another form will show with all the items from production orders selected from cfl.
    I created very similar workflow but I cannot catch events with that latter form (the one that displays items from selected production orders). I would like to be able to react to item pressed event or item click.
    It seems as if I cannot catch events on a form created inside cfl.
    What is going on?
    Thanks in advance.
    Wydrzycki Kamil

    Dear Kamil,
    it is possible. I know that there are several forms in SAP B1, which missing some general events (ex: service form)
    please download B1 Event Logger (Starting from B1DE 1.5) , and check out the event flow.
    Link:
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/a175fb62-0c01-0010-a8b5-fa58a13b1cf7 [original link is broken]
    Regards,
    J

  • Catching event exceptions?

    Is it possible to catch event exceptions/errors? If yes, how? If no, why not?
    I get this error:
    Exception occurred during event dispatching: java.lang.Error: Destination component not connected to component tree hierarchy.
    Thanks in advance
    /Tommy

    The problem arises from a Tooltiptext of an object that is removed while the tooltiptext is visible. When I move the mouse pointer from the object (while the tooltiptext is still visible) during the object removal this error will occur.
    I guess I could write my own ToolTipText that handles these situation, but since the error doesn't affect the application more that printing out the error message and stack trace in the console, I though it could be caught instead.
    But I do not know where to put a try-catch clause to catch this error.
    /Tommy

  • Catch event ctrl + V

    Hello
    I want to know if is possible to catch event ctrl + V, because I need that when the user presses this combination of keys on textbox, changes the mode of form.
    I hope that they can help me, thanks.

    HI
    You can use the SAPbouiCOM.BoEventTypes.et_KEY_DOWN event and the pVal.CharPressed to catch the key pressed.  I do not know if you can actually catch a combination of the two and/or the key code for the CTRL button.
    On the other hand, when you press the CTRL + V combination, you are executing the Paste menu event, and that you can capture on the SBO_Application_MenuEvent rutine with the statement ...
    Select Case pVal.MenuUID
        Case "773" 'Code of the Paste command under the Edit menu.
    End Select

  • Catch event when Application Server is shutdown

    Hi All,
    Actually I want to catch an event do something when weblogic server is shutdown.
    How can I catch the event.
    Any help would be highly appreciated.
    I tried by implementing ServletContextListener interface, but in that I can only catch the event when weblogic is started, but not when it is shutdown.

    Create a class that implements the ServletContextListener interface:
         public class myServletContextListener implements ServletContextListener
    The ServletContextListener interface has two methods that must be implemented:
         public void contextInitialized(ServletContextEvent sce)
         public void contextDestoyed(ServletContextEvent sce)
    Register the listener in the web.xml:
         <web-app>
              <context-param>
                   <param-name>param1</param-name>
                   <param-value>paramValue1<param-value>
              </context-param>
              <listener>
                                                     <listener-class>
                                                                com.listeners.MyServletContextAttributeListener
                     </listener-class>
              </listener>
              <servlet>
                   <servlet-name>test</servlet-name>
                   <servlet-class>com.test</servlet-class>
                   <init-param>
                        <param-name>param1</param-name>
                        <param-value>paramValue1</param-value>
                   </init-param>
                   <load-on-startup>1</load-on-startup>
              </servlet>
              <servlet-mapping>
                   <servlet-name>test</servlet-name>
                   <url-pattern>/test</url-pattern>
              </servlet-mapping>
         </web-app>When the server starts up the servlet context (usually on server start up) it will call the contextInitialized method of your myServletContextListener class. When the server shuts down the servlet context (usually on server shutdown) it will call the contextDestroyed method of your myServletContextListener class.
    With in these methods you can usually assume that the server is starting/stopping and do what it is you wish to do.
    However there are two things to bear in mind:
    1- Most servers offer a manager app that allows individual servlet contexts to be stopped/started without shutting down the server o you may get false results depending on you is managing the server.
    2- I am not sure if the methods will be called if the server suffers a catastrophic error and crashes. For example a out of memory error. So you may miss a server shut down but the error should be logged in the tomcat log files.

  • How to catch events on user tables forms?

    Hi all,
    Is there any way to catch the events on user defined tables' form which opens from Tools-User Tables? The form Id we get is not unique so we can't initialize the form with that ID or put it in  an If  loop for pval.formUId.
    any clues?
    Thanks in advance.....

    Hi Binita,
    The UDT form should have a form type in the format:
    110xxx
    where xxx is the value in the TblNum field in the OUTB table (eg 110015 if the TblNum field is 15).
    Therefore, you can query the OUTB table for your UDT name and get the correct TblNum value and then calculate the correct form type for your table. If you want to filter events then you'll need to run this query as your addon starts and dynamically add the correct event types and filters to your addon.
    Kind Regards,
    Owen

  • Catch event in a different program

    Hi
    I have a modul pool, it's possible that in this modul-pool i catch a event raised in another function?
    I've created a Z-Class with a static event and a method that raises the event
    In the modul-pool i've created a local class to receive the events
    In this local class i've declared a method called HANDLE_EVENT for event ... of class Z-CLASS...
    i implement this method
    In the modul pool i put the set handler WITHOUT FOR ADITION
    there is another function (launched through XI) that call the method of the ZCLASS that raises the event
    but i'm not able to link the raise of this event to the method HANDLE_EVENT of my local class in my modul pool
    Hope somebody bring some light to me
    Thanbks and regards

    Hi there,
    I think, what you want is not possible, cause your local class is not "alive" during the call of your zclass.
    To catch the event with your local class, you need to create an object of that class, that is available in your Zclass Method, raised by XI.
    regards Karl

  • Catch Event from a FileDownload!!!

    Hey magical people
    Somebody knows how can i catch an event from Element UI FileDownload?
    Thanks for all!!!

    A. Van de Camp,
    You can create two iViews that communicate with each other on the same page, using client-side eventing, so that the output of the first iView serves as the input to the second. Eventing in the portal is based on the use of the Enterprise Portal Client Manager (EPCM), an object defined by the portal client framework to handle functions such as client eventing.
    To define eventing between an iView created and existing in the portal(web dynpro iview), and an iView created in Visual Composer:
    1.Check the properties of the existing portal iView and find out its EPCM event name.
    2. In Storyboard, open the iView that is to be the second part of the eventing scenario and create the required port: as input or as output.
    3. Double-click the newly-created port and in the Configure Element task panel, enter the portal event name in the Signal name field and the EPCM event in the EPCM event field.
    Regards,
    Sami

  • ALV catch EVENT

    Hi everybody!
    Do you know event for ALV, which work as event "delayed_callback" but faster.
    I want find event which triggered in moment move from one cell to another.
    P.S. sorry for my english

    Hi,
    you need to SET The pf status using the PFstatus option,
    here you have to set the OKCODE for the Green tick button
    that is related to enter.
    say ENTR for the Green Tick button and catch it in User Command form.
    you need to have two forms
    one for pf status, one for user_command.
    Regards
    vijay

  • Catch events when documents change

    Hi. We would like to do realtime indexing of content in our km engine. Is there a way to create a listener which is triggered anytime a document changes, so that we can inform our "TREX" (or a 3rd party search engine)?
    Next step would be to also catch an event everytime permissions for a document change.
    I would appreciate, if someone could elaborate on the possibilities.

    Hi Sebastian,
    yes, you can implement an IEventReceiver an listen to certain events:
    public class MyEventReceiver implements IResourceEventReceiver {
        public MyEventReceiver() {
         IResourceEventBroker broker = resource.getRepositoryManager().getEventBroker();
            broker.register(this, IResourceEvent.RENAME_EVENT, IEventBroker.PRIO_MIN, true);
        public void received(IEvent event) {
         if( event instanceof IResourceEvent ) {
          IResourceEvent resourceEvent = (IResourceEvent)event;
          IResource resource = resourceEvent.getResource();
    See JavaDoc here: https://media.sdn.sap.com/html/submitted_docs/nw_kmc/javadoc/com/sapportals/wcm/util/events/package-summary.html
    KMC Developer Guide Eventing intro: https://media.sdn.sap.com/html/submitted_docs/nw_kmc/introduction/rf/concepts/rf_concepts.html#events
    Regards,
    Thilo

  • Problem catching events from my ComboBoxItemRenderer

    Hi all,
    I have a problem catching a custom event dispatched by my
    custom ComboBoxItemRenderer. In the renderer I dispatch an event as
    follows:
    dispatchEvent(new Event("smallTest",true,true));
    As this is a bubbling event i expected to be able to catch it
    in one of the parent containers. However, the opposite is true.
    Then, lowering my goals i tried to catch the MouseEvent.CLICK event
    raised by the button in the ComboBoxItemRenderer. I failed in the
    same way...
    Somebody has a clue? Thanks in advance!
    (the following is an isolated description of my small problem
    The Mainapp
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()" layout="absolute" xmlns:local="*">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.collections.ArrayCollection;
    [Bindable]
    public var aDataProvider:ArrayCollection = new
    ArrayCollection(
    [ {label:"one", data:1},
    {label:"two", data:2},
    {label:"three", data:3} ]);
    private function init() : void {
    addEventListener("smallTest", doAlert);
    private function doAlert(event : Event) : void {
    Alert.show("yo");
    ]]>
    </mx:Script>
    <mx:ComboBox id="cb" itemRenderer="ComboBoxItemRenderer"
    dataProvider="{aDataProvider}" width="200"/>
    </mx:Application>
    The Renderer
    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="100%">
    <mx:Script>
    <![CDATA[
    import mx.core.Application;
    private function doClick() : void {
    dispatchEvent(new Event("smallTest",true,true));
    ]]>
    </mx:Script>
    <mx:Label color="red" text="{data.label}"/>
    <mx:Spacer width="100%"/>
    <mx:Button label="*" width="40" click="doClick()"/>
    </mx:HBox>

    Listening from the combobox (cb) didn't work. Found out that
    the hierarchical parent list from the view of the itemrenderer was
    as follows:
    List18.ListBaseContentHolder21
    List18
    [object _ComboboxTest_mx_managers_SystemManager]
    [object Stage]
    For now, i managed to fix the problem by listening from the
    systemManager but this is more like a hack.

Maybe you are looking for