Too rapid flow of events
Odroid-c1 (ARMv7). Ubuntu 14.04. FF 35. I have put too rapid flow of events (in particular, mousemove), which hangs the browser. In JS hang empty processing function for mousemove event. While leading the mouse - the browser hangs. Stop the mouse - does come alive. In chromium such a problem is not observed. Prompt where to start with this deal. For some reason it is necessary to have a FF.
Do you have this problem outside of Firefox?
'''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
While you are in safe mode;
Type '''about:preferences#advanced'''<Enter> in the address bar.
Under '''Advanced,''' Select '''General.'''
Look for and turn off '''Use Hardware Acceleration'''.
Poke around safe web sites. Are there any problems?
Similar Messages
-
Calendar too many all day events in weekly view
The headings for events disappear in the iCloud Calendar's "weekly" view when you add too many "all day" events onto 1 day. It's weird because the event headings show correctly in the monthly view and the day view but just not in the weekly view. You can tell the events are there in the weekly view but the event headings do not appear.
The events' headings appear fine when displayed in the "weekly" view in the Calendar.app back on my iMac (desktop). So, it's just a problem with the weekly view in the Calendar on the iCloud.com.
Anybody else noticing this?
Can Apple get it fixed?Same problem here; if I EVER find out the solution I will post it here.
-
ORA-25307: Enqueue rate too high, flow control enabled
I am stuck. I have my stream setup and they were previously working on two of my dev environments well. Now when I get the streams setup the CAPTURE process has a state of "CAPTURING CHANGES" for like 10 seconds and then changes to state "PAUSED FOR FLOW CONTROL". I believe this is happening because the PROPAGATION process is showing an error of "ORA-25307: Enqueue rate too high, flow control enabled".
I don't know what to tweak to get rid of this error message. The two environments are dev databases and there is minimal activity on them so i don't think it's a case of the APPLY process is lagging behind the PROPAGATION process. Has anyone run into this issue?? I've verified my db link works, my stream admin user has dba access. Any help or advise would be greatly appreciated.
thanks, daveAs rule of thumb, you don't need to set GLOBAL_NAME=TRUE as long as your are 100% GLOBAL_NAME compliant.
So, setting GLOBAL_NAME=TRUE will not have any effect if your dblink is not global_name compliant
and if your installation is global_name compliant, you don't need to set GLOBAL_NAME=TRUE.
The first thing when you diagnose is to get the exact facts.
Please run this queries both on source and target so that to see what are in the queues and where.
Run it multiple time to see if figures evolves.
- If they are fixed, then your Streams is stuck in its last stage. As a cheap and good starting point, just stop/start the capture, propagation and target apply process. Check also the alert.log on both site. when you have a propagation problem, they do contains information's. If you have re-bounced everything and no improvement then the real diagnose work must start here but then we know that the message is wrong and the problems is elsewhere.
- if they are not fixed then your apply really lag behind for what ever good reason, but this is usually easy to find.
set termout off
col version new_value version noprint
col queue_table format A26 head 'Queue Table'
col queue_name format A32 head 'Queue Name'
select substr(version,1,instr(version,'.',1)-1) version from v$instance;
col mysql new_value mysql noprint
col primary_instance format 9999 head 'Prim|inst'
col secondary_instance format 9999 head 'Sec|inst'
col owner_instance format 99 head 'Own|inst'
COLUMN MEM_MSG HEADING 'Messages|in Memory' FORMAT 99999999
COLUMN SPILL_MSGS HEADING 'Messages|Spilled' FORMAT 99999999
COLUMN NUM_MSGS HEADING 'Total Messages|in Buffered Queue' FORMAT 99999999
set linesize 150
select case
when &version=9 then ' distinct a.QID, a.owner||''.''||a.name nam, a.queue_table,
decode(a.queue_type,''NORMAL_QUEUE'',''NORMAL'', ''EXCEPTION_QUEUE'',''EXCEPTION'',a.queue_type) qt,
trim(a.enqueue_enabled) enq, trim(a.dequeue_enabled) deq, x.bufqm_nmsg msg, b.recipients
from dba_queues a , sys.v_$bufqm x, dba_queue_tables b
where
a.qid = x.bufqm_qid (+) and a.owner not like ''SYS%''
and a.queue_table = b.queue_table (+)
and a.name not like ''%_E'' '
when &version=10 then ' a.owner||''.''|| a.name nam, a.queue_table,
decode(a.queue_type,''NORMAL_QUEUE'',''NORMAL'', ''EXCEPTION_QUEUE'',''EXCEPTION'',a.queue_type) qt,
trim(a.enqueue_enabled) enq, trim(a.dequeue_enabled) deq, (NUM_MSGS - SPILL_MSGS) MEM_MSG, spill_msgs, x.num_msgs msg,
x.INST_ID owner_instance
from dba_queues a , sys.gv_$buffered_queues x
where
a.qid = x.queue_id (+) and a.owner not in ( ''SYS'',''SYSTEM'',''WMSYS'') order by a.owner ,qt desc'
end mysql
from dual
set termout on
select &mysql
/B. Polarski -
Running W2k Pro SP4, FF 12.0.
When trying to open a particular bookmarked web site, the system crashes. Same thing if try to open same web site. First a blue screen displays an error message for about one second which is too rapid to read, then system shuts down and reboots in normal mode.
This started on 10/10/2013. Previously had no problem with the bookmark or site.
Checked for a Crash Report in Troubleshooting Information Section but none appear.
Is there another file that has this information?
Is there a way to pause the screen display to be able to read the message? Clicking "P" button for pause has no effect.
Have no problem with IE6.Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
* On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
[[Image:FirefoxSafeMode|width=520]]
''Once you get the pop-up, just select "'Start in Safe Mode"''
[[Image:Safe Mode Fx 15 - Win]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
Rose Models, Class Diagrams, Flow of Events...
Hi, these are three things I have to do. I searched on google, AND yahoo search for the keyword: "Rose Models" and didn't find any hits telling me what it is, or how to make it. (basically all i found was something about "Mary Rose", and "Rose Models" as in hot girls. I have no clue what Rose Models are and I have to create them for my program to present to the customer (the government).
For Class Diagrams, I found lots of examples and i have the general idea i believe but i dont know where arrows belong, and diamonds, and lines.
finally, flow of events, i just figured thats where i just use powerpoint and show what happens when the user interacts with the GUI.
basically i wanted a tutorial or something describing these ideas but have not had any luck finding such a thing.UML has a specification for class diagrams and plenty of tutorials with it. I think "flow of events" is probably a flow chart. MS Visio can create both of these pretty easily, but I'm sure there are other programs out there that can do the same. Dia is a good one for UNIX/Linux.
-David -
Errors in implementing Text Layout Framework text flow- selection event not found
please help me i have implemented the same project givan at adobe open source code site.
This is my code
<?xml version="1.0" encoding="utf-8"?>
<!--
ADOBE SYSTEMS INCORPORATED
Copyright 2008 Adobe Systems Incorporated
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file
in accordance with the terms of the Adobe license agreement
accompanying it. If you have received this file from a source
other than Adobe, then your use, modification, or distribution
of it requires the prior written permission of Adobe.
-->
<!-- Demonstrate some example controls. This example does not attempt to create a control for every property in the TextLayoutFramework -->
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" label="Text Editor Example" initialize="init()" backgroundColor="#FFFFFF" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:Script>
<![CDATA[
import flashx.textLayout.container.ContainerController;
import flashx.textLayout.conversion.TextConverter;
import flashx.textLayout.edit.EditManager;
import flashx.textLayout.edit.IEditManager;
import flashx.textLayout.edit.ElementRange;
import flashx.textLayout.edit.SelectionState;
import flashx.textLayout.elements.Configuration;
import flashx.textLayout.elements.TextFlow;
import flashx.textLayout.events.StatusChangeEvent;
import flashx.textLayout.events.SelectionEvent;
import flashx.textLayout.formats.ITextLayoutFormat;
import flashx.textLayout.formats.TextLayoutFormat;
import flashx.textLayout.formats.TextAlign;
import flashx.textLayout.formats.VerticalAlign;
import flashx.textLayout.formats.BlockProgression;
import flashx.textLayout.formats.Direction;
import flashx.textLayout.tlf_internal;
import flashx.undo.UndoManager;
import flash.display.Sprite;
import flash.system.Capabilities;
// the textFlow being worked on
private var _textFlow:TextFlow = null;
// container to hold the text
private var _container:Sprite = null;
// data providers for enumerated list boxes
static private const textAlignData:Array = [
{ label:"Justify", data:TextAlign.JUSTIFY},
{ label:"Left", data:TextAlign.LEFT},
{ label:"Right", data:TextAlign.RIGHT},
{ label:"Center", data:TextAlign.CENTER},
{ label:"End", data:TextAlign.END},
{ label:"Start", data:TextAlign.START}
static private const verticalAlignData:Array = [
{ label:"Bottom", data:VerticalAlign.BOTTOM },
{ label:"Justify", data:VerticalAlign.JUSTIFY },
{ label:"Middle", data:VerticalAlign.MIDDLE },
{ label:"Top", data:VerticalAlign.TOP }
static private const blockProgressionData:Array = [
{ label:"TopToBottom", data:BlockProgression.TB },
{ label:"RightToleft", data:BlockProgression.RL }
static private const directionData:Array = [
{ label:"LeftToRight", data:Direction.LTR },
{ label:"RightToleft", data:Direction.RTL }
* initialization
private function init():void
// create a sprite to hold the TextLines
_container = new Sprite();
textArea.rawChildren.addChild(_container);
fontFamily.dataProvider = populateFontFamily();
versionInfo.text = "Vellum: " + flashx.textLayout.BuildInfo.kBuildNumber + (Configuration.tlf_internal::debugCodeEnabled ? " Debug" : " Release")
+ ", Flex: " + mx_internal::VERSION
+ ", Player: " + Capabilities.version;
* Create an array of available font families
static private function populateFontFamily():Array
// really this returns an array of fonts - would be nice to strip it down to just the families
var fonts:Array = Font.enumerateFonts(true);
var fontfamily:Array = new Array();
fonts.sortOn("fontName", Array.CASEINSENSITIVE);
for(var i:int = 0; i< fonts.length; i++)
// trace(fonts[i].fontName);
fontfamily.push({label: fonts[i].fontName, data: fonts[i].fontName});
return fontfamily;
/** called to set the size of this panel */
public function setSize(w:int,h:int):void
this.width = w;
this.height = h;
textArea.width = width;
textArea.height = height > bottomTabs.height ? this.height-bottomTabs.height : 0;
if (_textFlow)
_textFlow.flowComposer.getControllerAt(0).setCompositionSize(textArea.width,textArea.heigh t);
_textFlow.flowComposer.updateAllControllers();
/** called when the bottom tabs finally gets sized. */
private function bottomTabsResize():void
setSize(width,height);
/** The TextFlow to edit. */
public function get textFlow():TextFlow
{ return _textFlow; }
public function set textFlow(newFlow:TextFlow):void
// clear any old flow if present
if (_textFlow)
_textFlow.flowComposer = null;
_textFlow = null;
_textFlow = newFlow;
if (_textFlow)
_textFlow.flowComposer.addController(new ContainerController(_container,textArea.width,textArea.height));
// setup event listeners for selection changed and ILG loaded
_textFlow.addEventListener(SelectionEvent.SELECTION_CHANGE,selectionChangeListener,false,0 ,true);
_textFlow.addEventListener(StatusChangeEvent.INLINE_GRAPHIC_STATUS_CHANGE,graphicStatusCha ngeEvent,false,0,true);
// make _textFlow editable with undo
_textFlow.interactionManager = new EditManager(new UndoManager());
// initialize with a selection before the first character
_textFlow.interactionManager.selectRange(0,0);
// compose the new textFlow and give it focus
_textFlow.flowComposer.updateAllControllers();
_textFlow.interactionManager.setFocus();
/** Receives an event any time an ILG with a computed size finishes loading. */
private function graphicStatusChangeEvent(evt:StatusChangeEvent):void
// recompose if the evt is from an element in this textFlow
if (_textFlow && evt.element.getTextFlow() == _textFlow)
_textFlow.flowComposer.updateAllControllers();
/** Receives an event any time the selection is changed. Update the UI */
private function selectionChangeListener(e:SelectionEvent):void
var selectionState:SelectionState = e.selectionState;
var selectedElementRange:ElementRange = ElementRange.createElementRange(selectionState.textFlow, selectionState.absoluteStart, selectionState.absoluteEnd);
// set display according to the values at the beginning of the selection range. For point selection/characterFormat use getCommonCharacterFormat as that tracks pending attributes waiting for the next character
var characterFormat:ITextLayoutFormat = _textFlow.interactionManager.activePosition == _textFlow.interactionManager.anchorPosition ? _textFlow.interactionManager.getCommonCharacterFormat() : selectedElementRange.characterFormat;
var paragraphFormat:ITextLayoutFormat = selectedElementRange.paragraphFormat;
var containerFormat:ITextLayoutFormat = selectedElementRange.containerFormat;
updateComboBox(fontFamily,characterFormat.fontFamily);
fontSize.text = characterFormat.fontSize.toString();
lineHeight.text = characterFormat.lineHeight.toString();
updateComboBox(textAlign,paragraphFormat.textAlign);
textIndent.text = paragraphFormat.textIndent.toString();
columnCount.text = containerFormat.columnCount.toString();
columnGap.text = containerFormat.columnGap.toString();
updateComboBox(verticalAlign,containerFormat.verticalAlign);
updateComboBox(blockProgression,_textFlow.computedFormat.blockProgression);
updateComboBox(directionBox,_textFlow.computedFormat.direction);
/** Helper function to update a comboBox in the UI */
private function updateComboBox(box:ComboBox,val:String):void
for (var i:int = 0; i < box.dataProvider.length; i++)
if (box.dataProvider[i].data == val)
box.selectedIndex = i;
return;
box.text = val;
* These functions are helpers for the various widgets to actually perform the operations on the TextFlow
private function changeFontFamily(newFontFamily:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.fontFamily = newFontFamily;
IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeFontSize(newFontSize:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.fontSize = newFontSize;
IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeLeading(newLeading:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.lineHeight = newLeading;
IEditManager(_textFlow.interactionManager).applyLeafFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeTextAlign(newAlign:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var pf:TextLayoutFormat = new TextLayoutFormat();
pf.textAlign = newAlign;
IEditManager(_textFlow.interactionManager).applyParagraphFormat(pf);
_textFlow.interactionManager.setFocus();
private function changeTextIndent(newIndent:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var pf:TextLayoutFormat = new TextLayoutFormat();
pf.textIndent = newIndent;
IEditManager(_textFlow.interactionManager).applyParagraphFormat(pf);
_textFlow.interactionManager.setFocus();
private function changeColumnCount(newCount:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.columnCount = newCount;
IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeColumnGap(newGap:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.columnGap = newGap;
IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeVerticalAlign(newAlign:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.verticalAlign = newAlign;
IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
_textFlow.interactionManager.setFocus();
private function changeBlockProgression(newProgression:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var cf:TextLayoutFormat = new TextLayoutFormat();
cf.blockProgression = newProgression;
IEditManager(_textFlow.interactionManager).applyFormatToElement(_textFlow,cf);
_textFlow.interactionManager.setFocus();
/** Set direction on the rootElement. This effects both columnDirection and default reading order. */
private function changeDirection(newDirection:String):void
if (_textFlow && _textFlow.interactionManager is IEditManager)
var pf:TextLayoutFormat = new TextLayoutFormat();
pf.direction = newDirection;
IEditManager(_textFlow.interactionManager).applyFormatToElement(_textFlow,pf);
_textFlow.interactionManager.setFocus();
]]>
</mx:Script>
<!-- <mx:VBox horizontalScrollPolicy="off" verticalScrollPolicy="off" width="100%" height="100%"> -->
<mx:Canvas id="textArea" width="520" height="400"/>
<mx:TabNavigator id="bottomTabs" width="100%" creationPolicy="all" paddingLeft="4" paddingBottom="8" backgroundColor="#D9D9D9" color="#202020" horizontalScrollPolicy="off" verticalScrollPolicy="off" resize="bottomTabsResize()">
<mx:HBox label="Text" backgroundColor="#D9D9D9" width="496" horizontalScrollPolicy="off" verticalScrollPolicy="off" >
<mx:Label text="Font:"/>
<mx:ComboBox id="fontFamily" editable="true" enter="changeFontFamily(fontFamily.text)" close="changeFontFamily(fontFamily.text)" width="200"/>
<mx:Label text="Size:"/>
<mx:TextInput id="fontSize" enter="changeFontSize(fontSize.text)" width="40"/>
<mx:Label text="LineHeight:"/>
<mx:TextInput id="lineHeight" enter="changeLeading(lineHeight.text)" width="40"/>
</mx:HBox>
<mx:HBox label="Para" backgroundColor="#D9D9D9" width="496">
<mx:Label text="Alignment:"/>
<mx:ComboBox id="textAlign" close="changeTextAlign(textAlign.selectedItem.data)" dataProvider="{textAlignData}"/>
<mx:Label text="FirstLineIdent:"/>
<mx:TextInput id="textIndent" enter="changeTextIndent(textIndent.text)" width="40"/>
</mx:HBox>
<mx:HBox label="Container" backgroundColor="#D9D9D9" width="496">
<mx:Label text="Columns:"/>
<mx:TextInput id="columnCount" toolTip="auto or a number" enter="changeColumnCount(columnCount.text)" width="40"/>
<mx:Label text="Gap:"/>
<mx:TextInput id="columnGap" toolTip="a number" enter="changeColumnGap(columnGap.text)" width="40"/>
<mx:Label text="VerticalAlignment:"/>
<mx:ComboBox id="verticalAlign" close="changeVerticalAlign(verticalAlign.selectedItem.data)" dataProvider="{verticalAlignData}"/>
</mx:HBox>
<mx:HBox label="Flow" backgroundColor="#D9D9D9" width="496">
<mx:Label text="Progression:"/>
<mx:ComboBox id="blockProgression" close="changeBlockProgression(blockProgression.selectedItem.data)" dataProvider="{blockProgressionData}"/>
<mx:Label text="Direction:"/>
<mx:ComboBox id="directionBox" close="changeDirection(directionBox.selectedItem.data)" dataProvider="{directionData}"/>
</mx:HBox>
<mx:HBox label="Version" backgroundColor="#D9D9D9" width="496">
<mx:TextInput id="versionInfo" editable="false" width="100%"/>
</mx:HBox>
</mx:TabNavigator>
<!-- </mx:VBox> -->
</mx:VBox>Probably something is going wrong when the application is being built, and textLayout.SWC is not found. Are you using Flex or Flash Pro to build it? What version? Does this error come up when you build the project, or when you run it?
Thanks,
- robin -
UIX/XML BC4J - Controlling page flow in event handlers
We have an event handler that executes some data processing using bc4j tags, and need to redirect the flow to another page, based on the value of some parameters. For example, we have a checkbox Prepare for another insert, and we want to check for its state in the event handler to determine which page to display.
We tried the following code
UIX page event handler:
<event name="saveEvent" >
<bc4j:findRootAppModule name="TipoPunteggioViewAppModule" >
<bc4j:findViewObject name="TipoPunteggioView" >
<bc4j:findRow name="CreateTipoPunteggioView" >
<bc4j:setPageProperty name="keyTipoPunteggio" >
<bc4j:stringKey />
</bc4j:setPageProperty>
<bc4j:setAttribute name="FlgObsoleto" />
<bc4j:setAttribute name="Firma" />
<bc4j:setAttribute name="TitTipoPunteggio" />
<bc4j:insertRow/>
<bc4j:commit/>
<bc4j:executeQuery/>
<ctrl:method class="com.websiteitalia.valutazioni.handlers.Handlers"
method="anotherInsertEventHandler" />
</bc4j:findRow>
</bc4j:findViewObject>
</bc4j:findRootAppModule>
</event>
Java method event handler:
public static EventResult anotherInsertEventHandler(BajaContext bCtx,
Page page,
PageEvent event) {
// AnotherInsert is the name of the checkbox on the page
if ("on".equals(event.getParameter("AnotherInsert"))) {
return new EventResult(page);
} else {
return new EventResult(new Page("ListPage"));
When we return the same page, things work fine, but when we return another page we get an ArrayIndexOutOfBoundException. We have also noticed that if we return a simple page, without data scopes and bc4j tags, we get the correct result. We are probably wrong in the manner we do the redirect inside of a java event handler, because seems that the page we return is not completely processed.
Can anyone explain the available techniques to control the page flow, using UIX XML tags or Java APIs alone or both of these together? For example, how can be replicated the <ctrl:go> behavior using Java APIs?The UIX page works correctly if loaded directly, the error takes place only when we redirect in this manner from a page that has a different application module / view object scopes. In fact, when we redirect to a page that have the same scopes of the first (or when the second page has not scopes at all the simple page) the error doesnt occur. Thats why we suppose that some step of the page rendering process arent executed correctly, it seems that the new page still finds some of the old page (the scopes)..
To redirect to a page from a java event handler we have returned an event result with the next page (see above post for a code snippet), is this the correct way? Can we simulate the ctrl:go tag from the java code (with the redirect=true option)? There are any other? -
While pasting event description into iCal, accidently pasted too much text, causing "The server responded with an error" pop up. This pop us includes the event description, but because of the mass amount of text, the window shoots off the screen to the bottom, so if there was an exit red "x" available, it isn't visible or accessible. The iCal>preferences is greyed out and I have force quit and it pops up each time I use iCal. Is this even fixable?
I can see that this issue has been quite extensive, and frustrating, and I am so sorry for all that has happened societygirl! I would like to help you work this issue out. Please follow & send me a Direct Message, so I can get your account specifics and help finally bring this to a resolution.
Thank you,
MichelleH_VZW
Follow us on Twitter @VZWSupport -
Process Flow of Events in ABAP Report
Hi every one,
Could some body explain about each and every event how and when it trigerrs.
I am always confusing with these events.
Plz tell me abt all the Driver events, User Events, Program events how they are Trigerred .
Explain me with complete details.
And more over what is the first event trigerred if i have all the events in my report program.
If you have Good Links plz do send me .
Thanks & Regards,
Sudheer.Hi,
Chk this info.
CLASSICAL REPORT EVENTS :
INITIALIZATION : TO INITIALISE THE SELECTION SCREEN ELEMENTS
START- OF-SELECTION: NORMALLY WE WRITE THE REPORT LOGIC HERE
AT SELECTION-SCREEN : SELECTION SCREEN VALIDATIONS
WHETHER U ENTERED IS CORRECT OR NOT AT SELECTION SCREEN LEVEL
AT SELECTION-SCREEN ON FIELD : TO PROVIDE INPUT HELP[S FOR THE FILDS AT SELECTION SCREEN
FOR EX : MATNR IF U PREESS F4 AT SELECTION SCREEN.
TOP-OF-PAGE : TO PROVIDE LIST HEADING ( OUTPUT HEADINGS)
END-OF-PAGE : TO PROVIDE FOOTER I.E., PAGE NUMBERS
END-OF-SELECTION : TO FREE THE MEMORY , NO NEED OF USING THIS SPECIALLY
INTERACTIVE EVENTS :
AT LINE-SELECTION : IT IS USED TO HENDLE SECONDARY LISTS
AT USER-COMMAND : TO PROVIDE OUR OWN GUI ( PUSH BUTTONS ETC) AT OUTPUT
AT PF-STATUS : TO PROVIDE FUNCTIONS FOR OUR OWN PROVIDED GUI BUTTONS AT OUTPUT
LOAD-OF-PROGRAM.
Triggers the associated event in an internal session after loading a program of type 1, M, F, or S. Also runs the associated processing block once and once only for each program and internal session.
INITIALIZATION.
the associated event is executed before the selection screen is displayed.
START-OF-SELECTION.
In an executable program, the corresponding event is processed after the selection screen has been displayed and before data is read using a logical database
GET
Triggers the associated events when data is read in an executable (type 1) program using a logical database.
END-OF-SELECTION.
The END-OF-SELECTION event is triggered in type 1 programs once the logical database has finished reading all data and before the list processor is started.
END of page and top page
while displaying the list as the name suggest fired at the top and end of page
SM62 is the Transaction code for creating Events.
Here you can see
System event names
User event names
System event names are standard events .
User event names are customized event name, here click "Maintain" and double click it. it takes to another screen . From here you can create your customized Events.
Regards
Sandeep REddy -
Work Flow - Triggering Event through Webdynpro
Hi,
I am new to Workflow. I have generated the Workflow related to claim (Objects as ABAP Class). Now I have generated Webdynpro component and through this I need to execute the Workflow. I have used the FM SAP_WAPI_START_WORKFLOW & SAP_WAPI_CREATE_EVENT. To raise the event 'cl_swf_evt_event=>raise'. I have used. But this is not triggering event. So, Any one can help me on this issue.
In workflow using ABAP CLASS is essential or Business object.
In my case I have used only ABAP CLASS. In workflow I have generated the Triggering event as SAVE. In webdynpro I have generated the code in 'ONACTIONSAVE'. When ever the user clicks SAVE' button. Workflow shouild trigger and approver should receive the mail as notification and he/she will approve/reject the claim.
Thanks & Regards
KannappanAfter SAP_WAPI_START_WORKFLOW do you have COMMIT WORK?
Does the SAP_WAPI_START_WORKFLOW return some error message?
Are you sure that the event is not triggered? Check this with event monitor SWEL (turn monitor on in SWELS).
Also, ready Jocelyn Dart's blogs about ABAP OO. She have clear instructions about how to trigger ABAP OO events.
Regards,
Karri -
Hi,
I have a DC project with a lot of components in it. I do not have DEBUG option available.
I have a component which raises an event in its interface controller .(wdFireEvent)
I want to trace which component or...view.. handles this event..
Any tips on tracking it would be helpful..
Regards
Bharathwajhi,
chk this.
First event -
Initialization : triggered when the report is loaded in memory.
At selection-screen output : triggered when the selection screen is loaded in memory before being displayed.
At selection-screen : before leaving the selection screen.
start-of-selection : the first event for displaying the report.
This event keyword defines an event block whose event is triggered by the ABAP runtime environment
when calling the executable program selection screen processing of a selection screen.
In an executable program, all statements that are not declarations,
and are listed before the first explicit processing block, are assigned to this event block.
If the program does not contain an explicitly defined event block START-OF-SELECTION,
these statements form the complete event block START-OF-SELECTION.
If a program contains an explicitly defined event block START-OF-SELECTION,
these statements are added to the beginning of the event block.
If the program contains no explicitly defined event blocks,
these statements form the entire event block START-OF-SELECTION.
end-of-selection : after the start-of-selection is completed.
classiscal report events.
top-of-page : every time a new page is started in the list.
end-of-page : every time the list data reaches the footer region of the page.
interactive report events.
top of page during line selection : top of page event for secondary list.
at line-selection : evey time user dbl-clicks(F2) on the list data.
at pF<key> : function key from F5 to F12 to perform interactive action on the list.
at user-command
http://help.sap.com/saphelp_47x200/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
Regards
Anver -
Too many Serial Port events...?
I've written Java code to connect to a serial port and receive data, and it's all working fine. But why when I send a message such as "msg from nicks PC" do three events get fired instead of a single event? That means my application interprets it as three messages
1 -> msg from
2 -> nicks P
3 -> C
I've tried
mySerialPort.enableReceiveTimeout(500);
but it doesn't seem to change anything...
Anything else I can try?
Cheers
PaulIt would help to see some code and know what kind of events are getting fired.
-
Event linkage deactivated after executing the work flow
Hi Experts,
We are facing a problem in the production with Event linkage activation.After Event linkage was activated (ENABLED = u2018Xu2019 in the table SWFDEVENA) and if we execute the workflow then again this linkage is deactivated(Enabled value is cleared).if we activate the linkage and execute the work flow again after work flow exectution event linkage will be deactivated.Could you please give the solution if any one face this issue.
Thanks and Regards,
venkatHi Rickk baker,
Thanks for your answer.Now my issue was resoved .This is because of some mandatory work flow container parameter value is missed in the programme.This was traced throgh event trace(swel and swels)
Thanks and Regards,
Venkat Marisetti -
I'm not sure of the best way to program what I have in my head.
If I send a UI Message >10000 then the User Message event is going to fire for any and all of those messages. This isn't much of a problem if it is a single callback VI that has a case structure to handle the different event numbers. This is what some of the examples are showing in the Developer Zone. My problem is that I will have several different VIs that will be handling User Messages. If I want to keep the same Reg Event Callback structure is the only real way to do this with different VIs is to register multiple callback VIs to the same event and just have each VI only respond to the event number that it is interested in? It seems to be a bit of a waste of CPU cycles if I have 5 different callback VIs and and 4 of them will get pinged on every event but not actually do anything. I'm not going to be firing these messages too rapidly (~0.5-1s) but I can just envision one of my other programmers running a little wild with this concept and then we eventually find out that LabVIEW starts to get finnicky having 20 different VIs registered to the same event even if only 1 of them will do anything for any given firing of the User Message.Hi,
You might call the AEs about registering multiple VIs. I don't know if that is possible. I've never seen it.
What is the problem with a single callback VI that has a case structure to handle the different event numbers? Can't you paste your several different VIs into the case structure? Do you have to process your events in parallel, are they overlapping, or can you process them all serially? That's the only reason I can think of to not use the case structure.
You can use the single callback VI case structure to convert the TestStand User Events to LabVIEW Dynamic Events and pass them to the LabVIEW Event structure that the Exit Event is in. And then put your VIs in the Event structure. Basically what that does is make the single callback VI a router that forwards the event messages to another handler.
cc -
Hi Experts,
My scenario is I need to create an Process code based on Function module and when the process code triggers it will automatically fetch the work flow template.
So what are the import, export parameters are need to call the WF template using Process code[Function Module].
Thanks.for exampe, u can use this function:
CALL FUNCTION 'SWW_WI_START'
EXPORTING
CREATOR = sy-uname
PRIORITY = '5'
TASK = 'WS74508518'
IMPORTING
WI_ID = wi_id
TABLES
AGENTS = agents
WI_CONTAINER = wi_container
EXCEPTIONS
ID_NOT_CREATED = 1
READ_FAILED = 2
IMMEDIATE_START_NOT_POSSIBLE = 3
EXECUTION_FAILED = 4
INVALID_STATUS = 5
OTHERS = 6
where agents is internal table with agents like SWHACTOR (otype, objid)
and wi_container is workflow container with pairs (element, value).
U can fill it with macroses from include <CNTN01> (swc_set_element, SWC_SET_TABLE).
U can use function's SAP_WAPI_START_WORKFLOW , SWW_WI_START_SIMPLE too, or start the event wich start WF (function SWE_EVENT_CREATE)
Maybe you are looking for
-
Hello, I have to display into a data grid, in Flex 2, 2 columns: first column ( "Images") must contain a picture with an object and second column (" quantity") must contain the amount of that object that I want to buy. The problem is that I must take
-
Cancel Pick For Posting Change
Hi Guys, does anybody know if it´s possible to do a cancel pick for a posting change? We have implemented PP and a corresponding PSA. For bringing our goods to PSA we use DOCCAT SPC. Cancel Pick as known in PDO doesn´t work. We need the same function
-
Oracle Database for solaris x86
dear gurus i have a little question... The Oracle Database 9i is not available for Solaris Operating System (x86) ???? in that link only i can see... SPARC: http://www.oracle.com/technology/software/products/oracle9i/index.html Please would you confi
-
Please help: WebLogic + BI + Bi SQl Group Loader
Hi all, i have big problem with solution on my company project. I please somebody help me. This is my problem: I have bifoundation_domain : WebLogic Server Version: 10.3.5.0 EM 11g Oracle Business Intelligence 11.1.1.7.0 with this structure: bifounda
-
Index the output of a stacked sequence
Hi everyone, I'm writing some code in which I instantiate many objects when I first start my code and place the objects into an array that is used as a lookup table later on in operation. This takes up a lot of space on the block diagram and makes i