Bubble Event and System Forms
Hi together,
I have a problem with using the BubbleEvent in combination with System-Form-Events:
Target:
If someone CLICK on the OK-Button in Systemform "134"
(Business-Partners-Form), I want to stop the Form being closed.
Concept:
using the Item-Event "et_ITEM_PRESSED" and set the BubbleEvent-Flag to false.
Sample-Code:
If (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _
(pVal.FormMode = SAPbouiCOM.BoFormMode.fm_OK_MODE) And _
(pVal.FormTypeEx.Equals("134") = True) And _
(pVal.ItemUID.Equals("1") = True) And _
(pVal.BeforeAction = True) Then
Try
BubbleEvent = False
Catch ex As Exception
'check Errors
End Try
End If
Problem and Test:
Nevertheless the form is being closed. The BubbleEvent-Flag has no effect. As I read in other topics, the 2005 Environment only accept the Bubble-Event in BeforeAction.
Three Events will be fired (Click on OK-Button):
et_Click | beforeAction = true
et_Click | beforeAction = false
et_Item_pressed | beforeAction = true
I have used the last Event (Item_pressed). Using the et_Click with beforeAction = true has also no effect.
The events will always be used individually at the test, not combined.
Maybe someone can resolve this problem...
Best regards
Jochen
Strange. I implemented a very simple add-on with B1DE
and added this listener:
public class Button__134__1 : B1Item {
public Button__134__1() {
FormType = "134";
ItemUID = "1";
[B1Listener(BoEventTypes.et_ITEM_PRESSED, true)]
public virtual bool OnBeforeItemPressed(ItemEvent pVal) {
Form form = B1Connections.theAppl.Forms.Item(pVal.FormUID);
Item item = form.Items.Item("1");
Button button = ((Button)(item.Specific));
// ADD YOUR ACTION CODE HERE ...
return false;
As you can read this listener set the bubble event to
false for the button 1 in Form 134. The form cannot be
closed, the event is handled correctly by the add-on. I am
using 2005 SP1 but I guess it should be working the same
for your release too.
Similar Messages
-
What are application events and system events? what is difference between ?
what are application events and system events? what is difference between ?
The Control Framework triggers the event irrespective of the screen flow logic, that is, without processing the PAI and PBO events. These events are called system events. This type of event processing is the default setting.
·The Control Framework processes the PAI module after an event. In this case, you must call method CL_GUI_CFW=>DISPATCHto initiate the event handling of ABAP Objects. These events are called application events.
Application Event : you must first register the events for the control instance and consequently on the frontend.
like..
DATA events TYPE cntl_simple_events.
DATA wa_events TYPE cntl_simple_event.
1. Using field
appl_event , define the event as an application event:
wa_events-appl_event = 'X'.
System events are passed on irrespective of the flow logic of the relevant screen.
1. Change the value of field
wa_events-appl_event in the PBO module:
wa_events-appl_event = SPACE.
Edited by: Devi Raju on Jul 1, 2008 1:48 PM -
Send Click Event to System Form
Hi, i want to open a system form and open a specific entry.
but how can i send the button the click event?
what i was doing was:
sDocEntry = oCompany.GetNewObjectKey();
SBO_Application.ActivateMenuItem("1540");
oForm = SBO_Application.Forms.ActiveForm;
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
((SAPbouiCOM.EditText)oForm.Items.Item("141").Specific).Value = sDocEntry;
((SAPbouiCOM.Button)oForm.Items.Item("1").Specific) ????
how can i do it??
regards
PhilippHI,
sDocEntry = oCompany.GetNewObjectKey();
SBO_Application.ActivateMenuItem("1540");
oForm = SBO_Application.Forms.ActiveForm;
oForm.Mode = SAPbouiCOM.BoFormMode.fm_FIND_MODE;
((SAPbouiCOM.EditText)oForm.Items.Item("141").Specific).Value = sDocEntry;
((SAPbouiCOM.Button)oForm.Items.Item("1").click()
Regards,
J.
Ps: vote and points. -
Storage cells: System Events and System Defined Thresholds
Hi, there,
I have an Exadata V1 (yes, I do) and I recently saw this flag up as an alert on one of my storage cells:
2 2013-02-19T17:15:50-05:00 critical "39:Temperature:Threshold based -- Upper Non-critical going high State: asserted"
3 2013-02-19T17:15:50-05:00 critical "255:System Event:System Event -- PEF action : 7 State: asserted"
4 2013-02-19T17:15:51-05:00 critical "39:Temperature:Threshold based -- Upper Non-critical going high State: deasserted"
Basically, for one second, it appears that the temperature threshold was exceeded. This doesn't surprise me as the V1 machine is: a) very tightly compressed into a small box, b) is old, c) is HP.
Because of a bug in our version of the ESS, we just use the system-defined thresholds on the storage cells. I have two questions:
1) How can I find out the system-defined thresholds - or at least the thresholds that the storage cell is using
2) How can I find out what the 'System Event - PEF action: 7' is?
Markhmmm... I had an issue with an Exadata X2 some time ago when a user-defined temperature threshold was not giving alerts (later documented in MOS note 1380758.1/bug 13387575 and fixed in 11.2.3.1.0 by the way). At the time I was told that there's no way to see build-in thresholds in cellcli.
As far as the specific error ID goes I don't know what it means, but I'd suggest checking HP iLO documentation in addition to regular Oracle channels.
Marc -
Capture system print event and system idle time
Hello,
We are creating a desktop widget using AIR. The widget will be docked to the system tray. What we want to achieve is:
1. When the user invokes Print function at the OS level, from any location/appolication, the AIR widget shall listen to it and show an alert.
2. The widget should be able to detect a predefined system idle time (wherein the user is not interacting with the system as a whole - neither mouse nor keyboard inputs - for a predefined interval), and perform an action based on that.
How shall it be possible to detect the above 2 scenarios in AIR?
Any help in this regards, will be highly appreciated.
Thanks in advance.
Warm Regards,
ParagSrini Chavali wrote:
Pl check the ROW WHO information in FND_PROFILE_OPTIONS table for this profile - most likely this is a custom profile created at your site.
http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=FND_PROFILE_OPTIONS&c_owner=APPLSYS&c_type=TABLE
HTH
SriniThis profile option exists in 11i and R12, it is a seeded one and not a custom one as you mentioned above.
It is even mentioned in (R12.0.6+ : Oracle Application Object Library Profile Options Data Collection Test [ID 471675.1]).
Thanks,
Hussen -
Problem with AddRow() in custom matrix on System Form
Hello all,
I'm trying to add 1 row to a custom matrix on a system form (Sales Quotation).
However I always get a RPC_E_SERVERFAULT exception when calling pMatrix.AddRow() and SBO crashes...
My code is simple:
[B1Listener(BoEventTypes.et_CLICK, false)]
public virtual void OnAfterClick(ItemEvent pVal)
Form pForm = B1Connections.theAppl.Forms.Item(pVal.FormUID);
// Add matrix line
Matrix pMatrix = (Matrix) pForm.Items.Item("MATRIX").Specific;
pMatrix.AddRow();
// Set matrix line data
The matrix shows ok in the system form, inside a new folder.
What is the problem with my code?
Is there any way to add rows to a custom matrix in a system form?
This code runs ok if executed in a custom form...
Thanks!
Manuel Diashi.
R u facing any problem ...
actually add row and del row both are same.
in normal customization form and system form matrx...
Any problem are u facing... -
Problem catching events after opening system form
Hi
In my addon i open a system form from a user form. after closing the system form , my user form does not cause any event to be handled by my addon. in other words pressing on the forms button items does not cause any event to accure. in order for the form to work i need to close the form and reopen it from the menu. question is how can i know what is causing the form to stop responding and how can i fix it?
appreciate the help
YoavHi Yoav,
It looks like when the system, form closes you remove a filter for your user form or your remove the listener for your user form.
Regards
Ad -
How can i update system form udf based on udt add event
hello experts,
i require small functionality on customized form add event,one of the system form udf value at row level should be update for particular row on based on the values on the customized form.
so it should go like this on add event of customized form system form's row level udf should be update
Regards,
BhavankHi
Are you opening your customised form with reference to any system form or it works alone?
If it works alone then on the add event of customized form you haveto use update query with reference to the system form
Regards -
I created new table in database and want to bind with system form
Hi All,
1) i created new table in database and want to bind with system form .
2) How i bind this field to system form sale order where i added new folder tab in that i added some fields that fields i want to bind with database. when i click on the next ,previous ,first and last button
bind value should change.
Awaiting soon reply
Rajkumar G.hi,
try this
Public Sub BindDataToForm()
Dim oItem As SAPbouiCOM.Item
Dim oEdit As SAPbouiCOM.EditText
Dim oComboBox As SAPbouiCOM.ComboBox
'// getting the matrix column by the UID
'oItem = oForm.Items.Item("docname")
'oComboBox = oItem.Specific
'oComboBox.DataBind.SetBound(True, "OSRI", "BaseType")
'oItem = oForm.Items.Item("docno")
'oEdit = oItem.Specific
'oEdit.DataBind.SetBound(True, "OSRI", "BaseEntry")
oColumn = oColumns.Item("Code")
'oColumn.DataBind.SetBound(True, "", "DSCardCode")
oColumn.DataBind.SetBound(True, "OSRI", "ItemCode")
oColumn = oColumns.Item("Serial")
oColumn.DataBind.SetBound(True, "OSRI", "IntrSerial")
Try
oColumn = oColumns.Item("Inspection")
oColumn.DataBind.SetBound(True, "OSRI", "U_Inspection")
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
oColumn = oColumns.Item("Quality")
oColumn.DataBind.SetBound(True, "OSRI", "U_Quality")
oColumn = oColumns.Item("Status")
oColumn.DataBind.SetBound(True, "OSRI", "U_Status")
oColumn = oColumns.Item("Finish")
oColumn.DataBind.SetBound(True, "OSRI", "U_Finish")
oColumn = oColumns.Item("Thickness")
oColumn.DataBind.SetBound(True, "OSRI", "U_Thickness")
oColumn = oColumns.Item("uom")
oColumn.DataBind.SetBound(True, "OSRI", "U_NetUOM")
oColumn = oColumns.Item("length")
oColumn.DataBind.SetBound(True, "OSRI", "U_Length")
oColumn = oColumns.Item("height")
oColumn.DataBind.SetBound(True, "OSRI", "U_Height")
oColumn = oColumns.Item("sqf")
oColumn.DataBind.SetBound(True, "OSRI", "U_sqf")
oColumn = oColumns.Item("sqm")
oColumn.DataBind.SetBound(True, "OSRI", "U_sqm")
End Sub -
My co-worker and I are not sure what the difference between Any queue limit set to zero and System queue reached its job limit are in the System Events.
Hi jlayton,
System queue limit is the sum of all queue limits you have defined. For example, if you have a system queue limit of, say, 100 -- queue A has 50 jobs active, and queue B also has 50 jobs active, then you will receive an alert System queue reached its job limit since it is set to 100.
Any queue limit set to zero. Note, this may also include the System queue. For example, if you want to gracefully stop Tidal, you may want to set system queue = 0 so that there are no active jobs. When you do this, you will receive an alert queue limit set to zero.
BR,
Derrick Au -
System Events and Coreservicesd takes up all CPU at startup
Every time I boot up my laptop System Events and coreservicesd take up to 85% of my CPU. It takes about 10 minutes for it to finally go away and it makes my fans blare. If I'm in a public place I force quit system events which makes them both go away. What in the world causes this and how can I fix it?
I'm having this same problem. It is related to Growl, and perhaps a recent update of Growl to 1.1.3. I'm trying to figure out a way to fix this without uninstalling Growl, since I find this app very useful.
-
How to obtain system form's type and count?
Hi all
i wish to open a system form by calling the GetForm method of the Forms collection.
My question is how do i know the form's type and count in order to get it?
appreciate the help
YoavTo open Activity form, you need to have the menuUID.
in order to get it , Click on View of the toolbar, and then System Information
(or CtrlShiftD)
Now I guess you know you have more information about items in forms and menu on the bottom left corner of Business One.
Then in the toolbar, click on Modules, Business Partnet, and put the mouse on the menu Activty.
You will see in the bottom left corner the value:Menu Uid = 2563
HTH
Sebastien -
Obtaining system form id and type
Hi all
i would like to know how can i obtain a system form's id and type? (for activity form forinstance).
appreciate the help
YoavHi Yoav,
Surely, you can get it.
oapplication.Forms.ActiveForm.Type
oapplication.Forms.ActiveForm.UniqueID
they will return the type and uid of active form.
Regards,
Hyunil Choi. -
How can I detect Form Open event and Import data event ?
We are using Adobe Designer 7 and Adobe Reader 7.0.5. When we open a Form, Initialize event is being called. Similarly when we Import any data, initialize event is being called. At the Initialize event, I want to know whether it is caused by Opening the Form (or) Importing the data. Please respond as we were completely stuck up with this issue.
My screenshot was only an example how you can approach the issue. I wasnt saying that you should try it with AI....
Just take a closer look into the DAQmx Events and you will discover something like this:
hope this helps,
NorbertMessage Edited by Norbert B on 10-05-2007 02:35 AM
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Attachments:
DAQmxEvent.PNG 11 KB -
ZLM Event Log and System Event Log
I just created my base ZLM server using version 7.3 and updated a test SLES 10 server to use the 7.3 agent. The SLES server was running sp1 and running the 64-bit OS. I was able to successfully upgrade the server to sp2 but I noticed I don't get any entries in the event or system event log areas. This is under the Devices > Servers > Server name I could tell if the bundles installed successfully or the device was refreshed. I don't get anything now. Any thoughts or suggestions on how to fix this?
Oops. Sorry. Here is the output from rug ping
ZMD 7.3.0, Copyright (C) 2009 Novell, Inc.
Started at 4/15/2009 2:13:14 PM (uptime: 1 days, 23 hours, 33 minutes)
RSS size: 141440
Network Connected: Yes
Running on Mono 1.2.6
OS Target: SUSE Linux Enterprise Server 10.2 (x86_64)
Module Name | Description
-------------------+-------------------------------------------------
Image Agent Module | Novell ZENWorks Imaging Agent
Policy Manager | Manages policy enforcement on the device
Settings | Handles Settings refresh events.
TessModule | Tess Module
Inventory | Software and Hardware inventory module for Linux
NetworkManager | NetworkManager support
Package Management | Package Management module for Linux
RMModule | Remote Management module
ZENworks Server | SOAP methods used by a ZENworks server
Scheduled Actions | Scheduled Actions module for ZMD
XML-RPC interface | Export ZMD public interfaces over XML-RPC
log level is set to info
log-level | info | Logging level (off, fatal, error, warn, info, debug)
Maybe you are looking for
-
How to add multi-line text in comments field of song tags in iTunes 12?
Recently upgraded to iTunes 12 and can no longer enter multi-line text in the comments field of a song tag. Used to use option+return (alt+enter) to go to a new line (carriage return). Can it still be done? Any help in this regard would be appreci
-
MDM attributes not showing in UWL
Hello Experts, I am using MDM5.5 SP06. I want to integrate MDM Workflow with UWL in portal. For that I followed this link https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/771f1a61-0e01-0010-daa9-93a52905da09 I did all steps in the
-
AirPort Express and AirPort Utility Problems
Hi all As I have posted before I was having some problems with a slow internet connection and pages loading verrrrrrry slooowly in Safari. Used sppedtest.net to test my connection speed and was finding my upload and download speeds to be fine, so I t
-
I need to vent, ask questions and make suggestions all in one post. Get ready
Ok, I'm driving my little cousin home to babysit him for an hour or so when he asks me "can I play that fruit slicing game on your phone?" Now normally I would just say no and leave it at that, but he looked so innocent sitting in the backseat so I o
-
Hi As some of you may of noticed, you can now see the users location under the username when posts are made. We would like it if you guys (those who have not already) could enter your location so that it would appear. This would hopefully help when t