How to Stop the timer in the TimedTrigger UI element when an event occurs
Hi all
I have a webdynpro View where i have many UI elements(which supports an event) along with TimedTrigger UI element.
Now my requirement , i want to check at single line if any event happens in the View then i want to stop the timer in the TimedTrigger UI element.
can you please provide any peace of code related to this??
Thanks
Bindu
Hi Bindu,
From help.sap.com:
http://help.sap.com/saphelp_nw70/helpdata/EN/03/7c6b40dde0980ae10000000a155106/frameset.htm
To prevent events being triggered by UI element TimedTrigger, proceed as follows:
1. Disable the action that is bound to the UI elementu2019s onAction property.
Can be done as:
wdThis.wdGet<Your_TimedTrigger_action>Action().setEnabled(false);
2. Set the value of the delay to 0 seconds
As suggested in previous post to this thread.
3. Disable UI element TimedTrigger
Create a boolean type of context attribute and bind it to the "enabled" property of the Timed Trigger. Set its value to false to disable the timed trigger.
Regards,
Alka.
Similar Messages
-
How to stop the prodution order creating when the product is not valued?
Hi guyes:
How to stop the prodution order creating when the product is not valued using CO01?
I hope that when i create the production order,the system will check the product is valued or not,if not
the system will show an error or warning message!
How to config for this?
Thank you!Dear Zhao Gang,
Check with this user Exits mentioned in this link,
Prevent Production Order from "Release" if there is no Cost Estimate
Re: User Exit at Production Order Release
Check and revert back.
Regards
Mangalraj.S -
How to stop the executable from starting when opened
Hi Guys,
I am building an exe with the application builder. I am not able to find a way to stop the exe from running when opened. I dont need the exe to run. I know I m missing a very basic step here but I m not able to do that.
Could anyone explain me how to do this.
Regards,
NitinHello,
This is Dominic L. from Applications Engineering at National Instruments. This was reported to R&D (CAR#41DAPUQU) and was fixed in LabVIEW 8.2.1. Here is a link to the current evaluation software download for LabVIEW:
http://digital.ni.com/demo.nsf/websearch/14f9ce475127ade786256ac60070926c?opendocument
This particular bug actually renders all the build options for source file settings unusable. While the other options can be set manually in the source VI properties, the start-up VI will always run when an executable is opened.
Here are three different workarounds to this:
Option 1 - Upgrade to 8.2.1.
Option 2 - Check "Enable debugging" and "Wait for debugger on launch" in the Advanced page of the build specification. One side effect is this will include the block diagrams of the VIs and extra code for debug tool support. Note that if you don't protect the source code (block diagram), it kind of defeats the purpose of creating an executable.
Option 3 - Use a dummy startup VI to launch the desired startup VI.
For the third workaround, the attached "Dummy Startup VI.vi" uses VI server to open the desired startup VI's front panel and then closes. To use the Dummy Startup VI follow these steps:
Add the Dummy Startup VI to the project.
Open the Dummy Startup VI and change "Main VI.vi" to the VI you would like to open but not run in the project and save.
In the source files page of the build, select the Dummy Startup VI as a startup VI and the VI you would like to open but not run as a support VI.
Build and run.
I hope this helps.
Have a great evening!
Best Regards,
Dominic L.
Attachments:
Dummy Startup VI.vi 12 KB -
How to stop the posting of documents when there is an error in record
Hi,
I have one issue with respect to posting of documents.
In my Exl sheet there are 1900 records which would split into 950 records during run time.
For each 950 records a document to be created. Here the issue, during test run thers is no error where all the validations are done and records in xl sheet are correct.
However when posting, i am submitting to to standard program rfbibl01, where it is creating the session and output of the program is not showing any errors - report.
During execution of session, it is creating document for 1 set of 950 records and for 2 set it is finding some error and not creating any document.
Now my requirment is as follows: since there is an error in second set, i don't want to post any record starting from the begining. No document should be created.
In my program once i have submitted to standard document i don't have any control over the progam in stopping the creation of session or document creation.
Any solutions are most welcome.
Thanks in advance.
Regards
Harikrishna
Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:45 AM
Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:48 AM
Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:50 AMHi ,
Use the FirstVisibleRow property of the table , bind with some attribute containing the index of the selected row...
Regards
Yash -
How to stop the searching on dashboard when one opens the dashboard...
HI all,
once user enters the dashboard the reports should not run immediately...
is there any way to stop it?? the report should rather show some Default value....
Actuall the req we are having is to call a procedure thru a function via report & i am displaying the return value column on screen as it indicate the running on of the procedure in backend....& on its click we are showing the updated report..having updated results for DB.
Thanks..
Pankaj
Edited by: Pankaj Nakil on Feb 6, 2009 6:35 AMThanks lot friends,,,
As we have a requirement we need to call a backend procedure from the report...
what i have done is.. i have placed a return value column of the procedure on the dashboaard...
when the user gvies parameters & hits GO it starts searchign and only when the procedure finishes it stops & gives a link to see the result in new tab.
This way we ensure the lnk is seen only when the procedure is completed & the user sees updated results only...
Is there any way it should only start running when the user hits the go button till then it show the link as it is..
THanks a lot
Pankaj -
How to 'Stop the Clock' for SLA when in customer action?
Hi
Does anyone know if the functionality exists so that when a support message goes into 'customer action' or 'solution proposed' status the SLA stops counting down until the message is put back into 'in process'?
The SLA is out of your control when it is waiting for an action from the user so it should be possible for the clock to stop on the SLA automatically when this is the case and the SLA should re-start and re-calculate the new 'completion by' date.
I know that this is standard in many other types of Helpdesk software but can't find the way to do this with Service Desk. Can anyone help?
We are on SM7 SP22.
Thanks very much for your help.
Regards
AshleyHello Ashley,
Have you seen this document [Advanced Quick Guide for VARs Service Desk (Jan 2010)|https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000722612&_OBJECT=011000358700000122472008E] ?
You might want to reference section 5. Service Level Agreements.
Regards,
Paul -
How to stop the keyboard from showing when checkbox is selected
Whenever a user checks off a checkbox, the keyboard appears.
How do I turn off this feature?This is likely a web-site-specific issue. Can you share a link to the web page that behaves this way?
-
Hi, How to stop the open new view when i click button in OnClick event
Hi,
I have the popup window[window.showodelDialog] with one button called confirm.and table control values
Actual requirement: when i click confirm button it saves the tablecontrol value in the internal table. it is fine.It saves.
Currently working is : When i click the confirm button in the onClick event ,the new view is opening with empty tablecontrol popupin the new window.I don't want that one.
my requirement is: When i click the confirm button through onclick event ,i want to close the currently showing popupwindow and it should come to main page.How to do that?
view1.htm
=======
<htmlb:button id = "sub1"
onClick =""
text = "Confirm" />
Do_handle_data
============
LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
't_confirm' .
CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
EXPORTING
im_id = 't_confirm'
im_request = me->request
CHANGING
ch_table = me->r_asset_data->t_maintain ).
EXIT.
ENDLOOP.
t_maintain it stores the changed values.. It is fine..Hi raja,
1.I have a main page like req_asset_create.htm. In this page one button called maintain. If i click the maintain button the popup window is opening using window.showModelDialog.
2. In this popup i have a Editable tableview and one button called confirm. User can edit the values. After editing he is clicking the confirm button.
3.when he click the confirm button two things should happen a)Popup should vanish and it should go to main page ie req_asset_create.htm.The editrd values should store in to the internal table (t_maintain).it is in model class.
What heppenings for me using this code
=============================
<%----
confirm -
--%>
<htmlb:button id = "con"
onClientClick = "self.close();"
text = "confirm"
onClick = "confirm"/>
When i click the confirm button ->popup is closing ->thats 100% fine and again one new view is coming with popupdisplay values.This should not happen.
a)The server event is not happening.It should happen.
b) The edited values are not stored in the internal table..
Do_handle_data : for storing the edited tableview values
===========
confirm
LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
'con' .
CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
EXPORTING
im_id = 'tv1'
im_request = me->request
CHANGING
ch_table = me->r_asset_data->t_maintain ).
EXIT.
ENDLOOP.
What should i do to happen for the server event to update the edited records.
How can i achieve? ow to control the new opening view? -
How to Stop the preview from jumping when using .avi's??
Hi
Ive been having aproblem where the .avi file I have imported will just jump forward , making it impossible to edit.. I have try reconverting th.avi's to lower bitrate, and still it jumps ,, the avi files iam using having been converted from SUPER to .avi with h.264/AVC Video Codec, at 1280 * 720 and 29.97 Fps -> Bitrate 2208 kbs,, if anyone has any suggestions,,??DV won't handle John's frame size. He may be better off using Desktop mode with something like the Lagarith codec, though Premiere may not edit perfectly smooth with that one either.
-
How to Stop the method Action When an Exception Occur in other Method
Hi All ,
public void action( Event clientEvent) {
startAction();
JOptionPane.showMessageDialog(null, getDocumnetId());
how to Stop the method action ( "action" ) if an exception occur in the method ("startAction")
( if the exception occur we doesn't need to show the JOption Message )Hi,
try FacesContext.getCurrentInstance().renderResponse();
Frank -
Hello!
I'm trying to create a kind of a navigation tree for my application.
It should represent some elements of an XML structure and some other nodes for other options.
The binding with the context is not a problem, I can create the tree up to all the levels I want to.
The problem now is, that I don't know, how to get the "current tree element", when there is any action.
For example:
public void onActionSelect(...) {
String test = wdContext.currentTreeNodeElement().getText();
wdThis.wdGetContext().currentContextElement().setSelectedElement(test);
With this method I can get the text of the "first level nodes". If I want to get the "second level node", I can do
String test = wdContext.currentTreeNodeElement().currentChildElement.getText();
..and for the next levels so on.
Isn't there any general method to get the information of the selected element without knowing before, whether it is a nodeElement or a nodeElement.currentChildElement or a nodeElement.currentChildElement.currentChildElement, ...?
Greetings,
RamóHi,
if you following that pdf ,
i think your not implemented the below code in DomodifyView method
if (firstTime) {
IWDTreeNodeType treeNode = (IWDTreeNodeType) view.getElement("TheNode");
/* The following line is necessary to create parameter mapping from parameter "path" to parameter "selectedElement".
Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
that raised the onAction event. Parameter "selectedElement" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
that handles the onAction. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
be accessed within the event handler
treeNode.mappingOfOnAction().addSourceMapping("path", "selectedElement");
/* The following line is necessary to create parameter mapping from parameter "path" to parameter "element".
Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
that raised the onLoadChildren event. Parameter "element" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
that handles the onLoadChildren. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
be accessed within the event handler
treeNode.mappingOfOnLoadChildren().addSourceMapping("path", "element");
please cross check once.
Thanks,
Ramesh -
HOW TO STOP THE PROMPTING MESSAGE OF MASTER PASSWORD EACH TIME I OPEN MOZILLA FIREFOX?
HOW TO STOP THE PROMPTING MESSAGE OF MASTER PASSWORD EACH TIME I OPEN MOZILLA FIREFOX?
Firefox will ask for the Master Password on startup if it is needed on a page.<br />
This can be Sync or a web page that is (re)opened automatically and you have saved a name & password for this website.
You didn't confirm whether you are using Sync or not, so I don't know which of the two would apply. -
How to stop the new Photos.app opening every time I put in a new device?
How to stop the new Photos.app opening every time I put in a new device?
It's annoying as i use bridge to do all my photo organising.Insert or attach a device then let Photos load. Then uncheck the box indicated:
-
How to stop the waterflow?
Hi,
I need to make the water coming from the shower, when shower is clicked.
And the water should stop after 5 seconds.
The code is below.
The water is flowing nicely. But I do not manage to stop it.
I added a timer, which starts when the shower is clicked. And should stop the waterflow after 5 seconds have passed.
With the lines
if (stop = true)
break;
trace("break");
it looks like the for loop is breaking right from the start, from the first second. But not completely, somehow 1 or 2 drops are flowing.
Without these lines nothing is happening when the time is over (5 seconds from clicking the shower). Water is just flowing.
Can someone help? How to stop the water flowing after 5 seconds and clean of the array and stage from the waterdrops?
Many thanks in advance!
import flash.display.MovieClip;
import flash.events.Event;
import flash.utils.Timer;
import flash.events.TimerEvent;
var WatertropArray: Array = new Array();
var WaterArea01: MovieClip = new WaterArea();
var WaterBorder01: MovieClip = new WaterBorder();
var timer: Timer = new Timer(5000, 1);
var stopp: Boolean;
var i: uint;
Shower.addEventListener(MouseEvent.CLICK, waterFlowStart);
function waterFlowStart(event: MouseEvent): void
addChild(WaterArea01);
WaterArea01.x = WaterArea00.x;
WaterArea01.y = WaterArea00.y;
WaterArea01.alpha = 0;
addChild(WaterBorder01);
WaterBorder01.x = WaterBorder00.x;
WaterBorder01.y = WaterBorder00.y;
WaterBorder01.alpha = 0;
stopp = false;
timer.addEventListener(TimerEvent.TIMER, waterFlowEnd);
timer.start();
addWaterdrops();
Shower.removeEventListener(MouseEvent.CLICK, waterFlowStart);
function addWaterdrops(): void
for(var i: uint = 0; i < 100; i++)
var waterDrop: MovieClip = new Waterdrop();
addChild(waterDrop);
waterDrop.x = Math.round(Math.random() * stage.stageWidth / 1.5);
waterDrop.y = Math.round(Math.random() * stage.stageHeight / 3);
waterDrop.alpha = 0;
waterDrop.rotation = -12;
WatertropArray.push(waterDrop);
trace("waterdrops added");
moveWaterdrops();
function moveWaterdrops(): void
waterDrop00.addEventListener(Event.ENTER_FRAME, waterFlow);
function waterFlow(event: Event): void
for(var i: uint = 0; i < WatertropArray.length; i++)
WatertropArray[i].y += 8;
WatertropArray[i].x += 5;
//trace(i);
if(WatertropArray[i].hitTestObject(WaterArea01))
WatertropArray[i].alpha = Math.random();
WatertropArray[i].scaleX = Math.random();
WatertropArray[i].scaleY = WatertropArray[i].scaleX;
if(WatertropArray[i].hitTestObject(WaterBorder01) || WatertropArray[i].x > stage.stageWidth || WatertropArray[i].y > stage.stageHeight / 2)
WatertropArray[i].x = Math.round(Math.random() * stage.stageWidth / 1.5);
WatertropArray[i].y = Math.round(Math.random() * stage.stageHeight / 3);
WatertropArray[i].alpha = 0;
if(stopp = true)
break;
trace("break");
function waterFlowEnd(event: TimerEvent): void
trace("TIME OVER");
stopp = true;
stoppTrue();
function stoppTrue(): void
for(var i: uint = WatertropArray.length; i > WatertropArray.length; i--)
remove(i);
function remove(idx: int)
removeChild(WatertropArray[idx]);
WatertropArray.splice(idx, 1);
trace("REMOVED");
removeChild(waterDrop00);
trace(i);thanks again, kglad.
changed the for-loop and it is reaching now the last functions as well.
but there is still a but ... an error message.
function waterFlowEnd(event: TimerEvent): void
trace("TIME OVER");
stopp = true;
stoppTrue(); // line 106
function stoppTrue(): void
for(var i: uint = WatertropArray.length-1; i >= 0; i--)
trace("stoppTrue");
remove(i); // line 115
function remove(idx: int)
removeChild(WatertropArray[idx]); // line 123
WatertropArray.splice(idx, 1);
trace("REMOVED");
//removeChild(waterDrop00);
trace(i);
and the output panel gives the following (tested with 5 water drops, 5 items in array):
TIME OVER
stoppTrue
REMOVED
0
stoppTrue
REMOVED
0
stoppTrue
REMOVED
0
stoppTrue
REMOVED
0
stoppTrue
REMOVED
0
stoppTrue
TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/removeChild()
at TitavannisinglisekeelneAS3_fla::MainTimeline/remove()[TitavannisinglisekeelneAS3_fla.Main Timeline::frame1:123]
at TitavannisinglisekeelneAS3_fla::MainTimeline/stoppTrue()[TitavannisinglisekeelneAS3_fla.M ainTimeline::frame1:115]
at TitavannisinglisekeelneAS3_fla::MainTimeline/waterFlowEnd()[TitavannisinglisekeelneAS3_fl a.MainTimeline::frame1:106]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
What is that error message trying to tell me? -
How to stop the running infospoke
Hi Experts,
there is a infospoke is still running so long time, it's incorrect, i'll cancel it as kick off the dependenies, i have no idea to how to stop the running infospoke. Anybody could tell me how to do it. thanks in advance.hi denny,
Go to SM37 , find the job , stop the process
or
To stop the job find the job with the help of the request name ( TC - SM37 ),then in the job Details find the PID .
find the process in the process Overview (SM50 / SM51 ).
Set the restart to NO and Cancel the process without core
u can also see these threads that are already posted:
stopping v3 run job LIS-BW-VB_APPLICATION_02_010
how to cancel or change the background job which is scheduled
In SM37, for the job , click on Step button. Then from the menu Goto > variant. You can see the process chain name here.
sure it helps
Thanks
Varun CN
Maybe you are looking for
-
Did Apple Security Update 2007-004 break your iWeb? Can't post to .Mac
iWeb now will not publish to .Mac for me rather suddenly. The pages prepare, I can publish to a folder, but not to .Mac. The security update is the only thing I can think of that has changed. I have tried all other suggestions listed in this forum. T
-
Stunningly Incompetent Service and Business Operations
To anyone who cares, I have spent over 3 hours this morning (which I suppose speaks to my level of incompetence) trying to buy a TV from BestBuy. I've even taken the time to register for this forum, the first such forum I've ever joined. How did I
-
Flatfile conversion with output file has a NAMING CONVENTION
Dear SAP experts, I need some advise regarding my scenario. I am converting a message into flatfile. (customized .csv) But, the output .csv flatfile must have a naming convention. E.g. Globus_20071020 (Customer name_YearMonthDate) Can somebody g
-
I purchased the monthly download offer for Photoshop and Lightroom The first installment has been taken from my bank account, but no Lightroom has been downloaded. I managed to get a 'free 30 day trial' for the photoshop!. How do I contact Adobe a
-
AR XI (3D-PDF): Measuring lenght of curves, arcs, surfaces
Dear Adobe team Extended 3D measuring function should be also able to get lenght for curves, arcs and surfaces: What do you think when the solution could be available for our end users? Regards André Lietz