Event Trace Problem...

Hi All,
When I park a document using FV50, then I should get FIPP event CREATED being traced in SWEL. But I am not getting anything in SWEL.
This is what I did -
1) Switch on trace in SWELS.
2) Park document using TCODE FV50.
3) Switch off trace in SWELS.
4) Check entry in SWEL.
My requirement is I want to trigger a workflow whenever a document is parked in FI. Is there any other business object which  I can use for the same? Please help.

Hello !
       There are two ways to make your workflow to trigger.
        The first way is to use BTE.The second one is without using BTE.
       I have triggered event for my workflow for the same scenario without using BTE.Following steps will narrate how to do so.
       1.Create workflow variant for parking documents at OBWA transction
       2.Assign the company codes for workflow variants at OBWJ transaction
       3.Define release approval groups and release approval paths for parking the documents at SPRO transaction
       4.Assign release approval paths to workflow variants and document types at OBWD transaction
Regards,
S.Suresh

Similar Messages

  • Problem with event trace

    hi,
    i created one customized workflow copy of standard workflow.
    but in SWEL tn it is not showing event trace.
    in SWETYPV it is showing event linkage with no errors.
    in SWUE tn when i m executing event manually then entry is coming in event trace SWEL.
    Std workflow is triggering and in SBWP i can see this.
    but for customized dont know why it is not triggering.
    In SWDD event linkage is also active.binding is also correct.
    when i execute this manually from swdd itself then it is triggering.
    Pl. suggest me.
    Regards,
    Mamta

    Hi Mamta,
    Trigger the workflow by triggering the BO event through code. Then only I think you can trigger a workflow without actually associating the BO to a transaction. You cna use the following code:
    DATA: rcode type SY-SUBRC,
          event_id type SWR_STRUCT-EVENT_ID.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
      EXPORTING
        OBJECT_TYPE             = <BO name>
        OBJECT_KEY              = <Object ID>
        EVENT                   =  <BO event>
    *   COMMIT_WORK             = 'X'
    *   EVENT_LANGUAGE          = SY-LANGU
    *   LANGUAGE                = SY-LANGU
    *   USER                    = SY-UNAME
    *   IFS_XML_CONTAINER       =
    * IMPORTING
    *   RETURN_CODE             = rcode
    *   EVENT_ID                = event_id
    * TABLES
    *   INPUT_CONTAINER         =
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    Regards,
    Saumya

  • Flash Builder 4 trace problem.....

    Flash Builder 4 trace problem.....
    Hi,
    I got the trace-classical problem:
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD flash.display::Sprite$cinit ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD flash.display::MovieClip$cinit ()
    267 AVMINF: MTHD PreloaderDisplay$cinit ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD mx.managers::SystemManager$cinit ()
    267 AVMINF: MTHD global$init ()
    267 AVMINF: MTHD flash.utils::Dictionary$cinit ()
    267 AVMINF: MTHD flash.utils::Dictionary ()
    267 AVMINF: MTHD flash.utils::Dictionary/init ()
    79 AVMINF: MTHD flash.display::Loader/get contentLoaderInfo ()
    379 AVMINF: MTHD flash.events::EventDispatcher/addEventListener ()
    379 AVMINF: MTHD flash.display::Loader/loadBytes ()
    380 AVMINF: MTHD flash.display::Loader/_buildLoaderContext ()
    380 AVMINF: MTHD flash.display::Loader/_getJPEGLoaderContextdeblockingfilter ()
    380 AVMINF: MTHD flash.display::Loader/_loadBytes ()
    More information:
    *I did read many answer already about the mm.cfg file, but I don't have that file, i don't even got firefox...
    *That is happens only when i am using flash player 10.2 + (IT DOES NOT HAPPENS WITH FLASH PLAYER 10.1 - )
    Please help,
    Thanks for advance.
    Esteban

    No.
    Working only with Flash Builder 4 to compile, but you can switch the flash player versions anyway.
    And when my flash version is up to 10.1 the trace console commes crazy, and brokes the debbug session.
    But never mind, i did kill the OS already in order to keep working.

  • Event trace error: own logical system not defined ?

    Hello,
    i am trying to start a workflow when the status of a document changes to "completed". I was checking the event trace with transaction code : "SWEL" and i found out that the workflow is trying to start but there is some kind of error and the event trace is saying :
    Your own logical system has not been defined for this client. Most of the ALE functions therefore cannot be used. No links can be written.
    Any suggestiobns on what can be the problem   ?
    points are awarded
    Regards

    Sounds like you need to setup your client as a logical system, to do so..
    To do setup the Logical System follow the following steps
    In IMG Settings
    Cross Applications -> Distribution (ALE) -> Basic Cofiguration.
    Set up ‘Logical System -> Maintain Logical System.
    Create New Entries

  • Workflow Event Trace:RFC Status  : Error in target syst

    Hi Gurus,
    I am working on a custom workflow which is called in a loop from a transaction. There is a transaction which creates multiple documents. We need to start the workflow for each of them. This works fine for around 80-85 documents. For the remaining documents workflow does not start. I am trying with 200 documents.For the remaining documents event is triggered and in event trace, i see the information that receiver started correctly.But in RFC Status it displays as 'Error in Target System'. This is definitely due to system overload. Is there something that can be done for the same. Is this number configured somewhere like how many workflows can work in parallel.

    Hello,
    How do you know it's due to system overload?
    200 workflows should be okay, but how quickly are they created? If it's all done within one second then yes, there could be a problem. You could stretch it out programmatically or you could use the queue, as Sue suggests.
    regards
    Rick Bakker
    hanabi technology

  • Event Trace on/off which is better keep in always...???

    Hi,
    Event Trace on/off, which is better to keep in always in our server?
    If Trace in On always. Is there any problem for system?
    Regards,
    Soni

    Hello Mike,
    As I know "you must deactivate the ICF recorder again so as to prevent performance problems...." .
    Do you know if there is any turn around then?
    My client, for security reasons, need to keep the trace always on: is there any solution which can allows to use the recorder not only for error fixing but moreover for logging users activities?
    thanks in advance
    Best Regards
    Filippo

  • How can I check and change the system set events trace level?

    Dear all:
    How can I check the system set events trace level? I don't want the alert_log so big.
    Regards
    Terry

    Hi Terry;
    Please check :
    How to determine which system events are currently being set? [ID 845043.1]
    How To List All The Named Events Set For A Database [ID 436036.1]
    How to set EVENTS in the SPFILE [ID 160178.1]
    Also check:
    http://www.dba-oracle.com/t_grid_rac_events_in_Oracle.htm
    http://www.akadia.com/services/ora_events.html
    Hope it helps
    Regard
    Helios

  • What is Event queue problem?

    HI,
    I have come across JSF document, they mentioned that Event queue
    Problem ins SUN's JSF implementation. what is that?

    You're going to have to be a little more specific.

  • GUI event handling problems appear in 1.4.1 vs. 1.3.1?

    Hi,
    Has anyone else experienced strange event handling problems when migrating from 1.3.1 to 1.4.1? My GUI applications that make use of Swing's AbstractTableModel suddenly don't track mouse and selection events quickly anymore. Formerly zippy tables are now very unresponsive to user interactions.
    I've run the code through JProbe under both 1.3 and 1.4 and see no differences in the profiles, yet the 1.4.1 version is virtually unusable. I had hoped that JProbe would show me that some low-level event-handling related or drawing method was getting wailed on in 1.4, but that was not the case.
    My only guess is that the existing installation of 1.3.1 is interfering with the 1.4.1 installation is some way. Any thoughts on that before I trash the 1.3.1 installation (which I'm slightly reluctant to do)?
    My platform is Windows XP Pro on a 2GHz P4 with 1GB RAM.
    Here's my test case:
    import javax.swing.table.AbstractTableModel;
    import javax.swing.*;
    import java.awt.*;
    public class VerySimpleTableModel extends AbstractTableModel
    private int d_rows = 0;
    private int d_cols = 0;
    private String[][] d_data = null;
    public VerySimpleTableModel(int rows,int cols)
    System.err.println("Creating table of size [" + rows + "," + cols +
    d_rows = rows;
    d_cols = cols;
    d_data = new String[d_rows][d_cols];
    int r = 0;
    while (r < d_rows){
    int c = 0;
    while (c < d_cols){
    d_data[r][c] = new String("[" + r + "," + c + "]");
    c++;
    r++;
    System.err.println("Done.");
    public int getRowCount()
    return d_rows;
    public int getColumnCount()
    return d_cols;
    public Object getValueAt(int rowIndex, int columnIndex)
    return d_data[rowIndex][columnIndex];
    public static void main(String[] args)
    System.err.println( "1.4..." );
    JFrame window = new JFrame();
    window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JPanel panel = new JPanel();
    Dimension size = new Dimension(500,500);
    panel.setMinimumSize(size);
    panel.setMaximumSize(size);
    JTable table = new JTable(new VerySimpleTableModel(40,5));
    panel.add(table);
    window.getContentPane().add(panel);
    window.setSize(new Dimension(600,800));
    window.validate();
    window.setVisible(true);
    Thanks in advance!!
    - Dean

    Hi,
    I've fixed the problem by upgrading to 1.4.1_02. I was on 1.4.1_01.
    I did further narrow down the symptoms more. It seemed the further the distance from the previous mouse click, the longer it would take for the table row to highlight. So, clicking on row 1, then 2, was much faster than clicking on row 1, then row 40.
    If no one else has seen this problem -- good! I wouldn't wish the tremendous waste of time I've had on anyone!
    - Dean

  • Windows Server 2012r2 Failover Cluster Event Trace Log files

    Hi
    The only documentation I can find regarding event trace log files (Diagnostic.etl.*) for Failover Clustering relate to Server 2008/2008r2, which state that the etl files should be in C:\Windows\System32\winevt\Logs.
    I have been exploring a clustering lab for Server 2012r2 and cannot find these files in that folder.
    Strangely the PS cmdlet Get-ClusterLog still works!
    Where are the etl files?
    TIA

    Hi,
    Please check if the log is available in C:\ProgramData\Microsoft\Windows\WER\ReportQueue\.
    If not, you can use Get-ClusterLog with the Destination parameter to get the log file.
    Destination
    Specifies the location to copy the cluster log(s) to. To copy to the current folder use "-Destination ." for this parameter.
    http://technet.microsoft.com/en-us/library/ee461045.aspx
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • Event of delegeted Object  type not showing up  in event trace

    Hi,
    Please forgive me if this question has already been posted, I created a subtype for the object BUS2032 as ZSALESDOC and delegated the later the to the standard object type BUS2032 , but when i create a sales order it is not showing up in the event trace (TCODE : SWEL), only standard object type BUS2032 is showing up, and the ZSALESDOC object type's CREATED event is not showing up, Please i need inputs on any other thing i am missing out for delegating this object.
    Regards
    Narendiran Rathinavelu

    Hi
    check whether you have done the following after delegation:
    Event creation in status management(BSVW)
    Press Customer settings
    New entries
    enter status(VBK) - Your copied object type ZSALESDOC
    Status Restrictions
    I00002 (syst Status) ..REL   (released)..SAVE and see once again
    Reward points if useful
    Regards
    Anji

  • Event Trace Session missing for Failover Cluster

    I have a failover cluster setup and is managed via a Windows Domain controller for the failover cluster network.  I am troubleshooting a potential issue with the failover cluster and the recommendation is to go into event viewer, app & service
    logs, Microsoft, windows and look for failover cluster diagnostics and operations logs and these do not exist. 
    It appears they are created by having an event trace session associated with windows failover clustering but apparently it was't created when the cluster was created for some reason.  I am wondering how to create the proper event trace session
    in order to get these additional failover cluster logs created? 

    Hello,
    the following forum mat be the better one for your needs:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverClustering
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • Labview slider event handling problems - revisited

    This topic asked a question that was very close to a problem I am having:
    Labview slider event handling problems
    That is, how do I, using an event structure and/or other means, only read out the value of a slider control after the value change is finalized?
    The extra constraint I'd like to place on this, which I believe will invalidate the answer given in the thread above, is that my slider control also has a digital display which can also be used to change the value without ever using the mouse. I cannot look for a value change followed by a mouse-up event if the mouse was not used to change the value.
    Any ideas how this might be accomplished? FWIW, I am using LabVIEW 7.0

    Each and every incremental value-change event generated by the movement of the slider is still detected and queued up for use by the event structure and the event structure loop wades through them all before it's done.
    I have come up the attached "fix" (LV v7.0) for this problem. While it is not as clean a solution as I had hoped it would be, it's the best I can manage given what LabVIEW offers me to work with and it does work in the situation where I need to use it.
    Now, within the Finalize Slider Events subVI, I'm keeping track of the most-recent values seen by the subVI, checking to see if they have changed, and reporting out that fact. That gives me a Changed/Not-Changed bit within the event case that I can use to control what code then gets executed. If the event case is just playing catch-up to the real value of the control, I can now see that fact and ignore it.
    In this version I've also dumped the variant output and limited the VI to using DBL values. I decided it added complication to something that was too complicated already and I wanted the output terminals for other purposes anyway (reporting of the correct "OldVal" of the control).Message Edited by Warren Massey on 04-28-2005 03:56 AM
    Attachments:
    slider_events[5].llb ‏77 KB

  • Delicate ProgressMonitor/ event handling problem

    Hi,
    I have a delicate ProgressMonitor / event handling problem.
    There exists some solution on similiar problems here in the forums, but no solution to my special problem, hope anybody can help me out.
    I have a rather big project, an applet, that I've written a separate JarLoader class that will load specific jar's if the ClassLoader encounter a unloaded class, all ok so far.
    But, during loading, I would like to display a ProgressBar. And here is the problem. If my custom ClassLoader intercepts a findClass -request that needs to load the class from a jar from a normal thread, this is no problem, but if the ClassLoader intercepts a findClass that needs loading a jar when inside the EventQueue -thread, this is becomming tricky!
    The catch is that an event posted on the EventQueue finally needs a class that needs to be loaded, but I cannot dispatch a thread to do this and end that particular event before the class itself is loaded.
    So how do I hold the current EventQueue -event needing a jar -load, Pop up a ProgressBar, then process events in the EventQueue to display the ProgressBar and update repaints in it? then return from the event that now have loaded needed class-files.
    I've tried a tip described earlier in the forums by trying to handle events with this code when loading the Jar:
        /** process any waiting events - use during long operations
         * to update UI */
        static public void doEvents() {
            // need to derive from EventQueue otherwise
            // don't have access to protected method dispatchEvent()
            class EvtQueue extends java.awt.EventQueue {
                public void doEvents() {
                    Toolkit toolKit = Toolkit.getDefaultToolkit();
                    EventQueue evtQueue = toolKit.getSystemEventQueue();
                    // loop whilst there are events to process
                    while (evtQueue.peekEvent() != null) {
                        try {
                            // if there are then get the event
                            AWTEvent evt = evtQueue.getNextEvent();
                            // and dispatch it
                            super.dispatchEvent(evt);
                        catch (java.lang.InterruptedException e) {
                            // if we get an exception in getNextEvent()
                            // do nothing
            // create an instance of our new class
            EvtQueue evtQueue = new EvtQueue();
            // and call the doEvents method to process the events.
            evtQueue.doEvents();       
        }Then, the loader checks
    java.awt.EventQueue.isDispatchThread()to see if its' inside the eventqueue, and runs doEvents after updating the ProgressMonitor with new setProgress and setNote values.
    More precise;
    The loader is loading the jar like this:
    (this is pseudo code, not really usable, but outlines the vital parts)
    public void load() {
      monitor = new ProgressMonitor(null, "Loading " + jarName, ""+jarSize + " bytes", 0, jarSize);
      monitor.setMillisToDecideToPopup(0);
      monitor.setMillisToPopup(0);
      // reading jar info code here ...
      JarEntry zip = input.getNextJarEntry();
      for (;zip != null;) {
         // misc file handling here... total = current bytes read
         monitor.setProgress(total);
         monitor.setNote(note);
         if (java.awt.EventQueue.isDispatchThread()) {
            doEvents();
         zip = input.getNextJarEntry();
      monitor.close();
    }When debugging doEvents(), there is never any events pending in peekEvents(), even if I tries to put a invokeLater() to run the setProgress on the monitor, why? If it had worked, the doEvents() code would have saved my day...
    So, this is where I'm totally stuck...

    Just want to describe how I did this using spin from http://spin.sourceforge.net
    This example is not pretty, but it can probably help others understanding spin. Cancelling the ProgressMonitor is not implemented, but can easily be done by checking on ProgressMonitor.isCanceled() in
    the implementation code.
    First, I create a bean for displaying and run a ProgressMonitor:
    Spin requires an Interface and an Implementation, but that's just nice programming practice :-)
    import java.util.*;
    public interface ProgressMonitorBean {
        public void start(); // start spinning
        public void cancel(); // cancel
        public int getProgress(); // get the current progress value 
        public void setProgress(int progress); // set progress value
        public void addObserver(Observer observer); // observer on the progressValue
    }Then, I created the implementation:
    import java.util.*;
    import javax.swing.ProgressMonitor;
    import java.awt.*;
    public class ProgressMonitorBeanImpl extends Observable implements ProgressMonitorBean {
        private ProgressMonitor monitor;
        private boolean cancelled;
        private int  progress = 0;
        private int  currentprogress = 0;
        public ProgressMonitorBeanImpl(Component parent, Object message, String note, int min, int max) {
            monitor = new ProgressMonitor(parent, message, note, min, max);
            monitor.setMillisToDecideToPopup(0);
            monitor.setMillisToPopup(0);       
        public void cancel() {
            monitor.close();
        public void start() {
            cancelled = false;
            progress = 0;
            currentprogress = 0;
            while (progress < m_cMonitor.getMaximum()) {
                try {
                    synchronized (this) {
                        wait(50); // Spinning with 50 ms delay
                    if (progress != currentprogress) { // change only when different from previous value
                        setChanged();
                        notifyObservers(new Integer(progress));
                        monitor.setProgress(progress);
                        currentprogress = progress;
                } catch (InterruptedException ex) {
                    // ignore
                if (cancelled) {
                    break;
        public int getProgress() {
            return progress;
        public void setProgress(int progress) {
            this.progress = progress;
    }in my class/jarloader code, something like this is done:
    public void load() {
      ProgressMonitorBean monitor = (ProgressMonitorBean)Spin.off(new ProgressMonitorBeanImpl(null, "Loading " + url,"", 0, jarSize));
      Thread t = new Thread() {
        public void run() {
          JarEntry zip = input.getNextJarEntry();
          for (;zip != null;) {
            // misc file handling here... progress = current bytes read
         monitor.setProgress(progress);
      t.start(); // fire off loadin into own thread to do time consuming work
      monitor.start(); // this will spin events on monitor and block until progress = max
      monitor.cancel(); // Just make sure ProgressMonitor is closed
    }The beautiful thing here is that Spin is taking care of weither the load() is inside the dispatch thread or not, making the code much simpler and cleaner to understand.
    The ProgressMonitorBeanImplementation could been made much nicer and more complete, but I was in a hurry to check if it worked out. And it did! This will be applied on a lot of gui -components that blocks the event-queue in our project, making it much more responsive.
    Hope this will help others in similiar situations! Thanks again svenmeier for pointing me to the spin -project.

  • Event Trace not showing anything?How to config?

    Hi Experts,
    We have two development clients 450, 460 .. usally develop in 450 and test the functionality in 460.
    Now most of the workflows are not displayed in Tcode 'SWEL'. I checked the event trace but it is swithced "ON".
    Regards,
    Roops

    Hi Roops,
    Try clearing the Buffer..:-)
    Then use, SWE4/SWELS - EVENT TRACE ON/OFF
    Then check the Event Trace: SWEL - DISPLAY EVENT TRACE
    If these all do not work then check, how are the WF Triggering and is there Triggering Event Binded Correctly to the WF. Is the Event Linkage Active there..?
    Check these links:-)
    http://****************/Tutorials/Workflow/Workflow.htm
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    /people/sapna.modi/blog/2007/02/19/workflows-for-dummies--introductionpart-i
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/572614f6ca11d1952e0000e82dec10/frameset.htm
    Regards,
    Kanika:-)

Maybe you are looking for

  • HTMLDB_ITEM.POPUP_FROM_QUERY Populating Previous Text Field

    I have manually created an updateable report from an SQL Query in which I manually index each editable field. I also include some hidden values which I also attempt to control the index values. The rows to be displayed on this page are the result of

  • Clarification on purchase invoice (F-43) via APP

    Dear All, Need clarification on clearing purchase invoice (F-43) via APP. I have post two purchase invoice (F-43) one is by updating payment terms and with out updating payment terms,while doing APP i was not able to view invoice which i have process

  • BOOK: Generate ALWAYS makes page count even

    Hi everyone, Using FM8.0.4 on Win XP Pro SP3. I create a set of documents. In each document, I set the pagination to "Delete Empty Pages". I put all the documents into a book. In the book file, I set the pagination property for each document to "Dele

  • Multiple sub-reports

    Hello All, I have a report with two sub-reports at the Page header sections At run time only one report is binding to main report. How do I deal with multiple sub-reports. Thanks

  • HT1918 I am trying to change my credit card number, due to loss of former card.

    I am trying to change my credit card number, due to loss of former card. itunes is declining my new card as invalid. do i need to create a new appID?