Regarding ON CHANGE OF Statement
Hi,
I have made changes in Z program, user ON CHANGE OF statement on work area, when i go for print preview, it is showing line item at first time but when i go back & again go for print preview, line items are not getting print. In my development 220 system it is working fine but on 400 Quality server it is not working. Control is not going inside the ON CHANGE OF statement.
I am putting my code for your reference<Removed by moderator> .I am taking PO print preview through ME9F for particular Output type.
CLEAR : ls_serv_final ,ls_ekpo.
LOOP AT lt_serv_final INTO ls_serv_final .
READ TABLE lt_ekpo INTO ls_ekpo WITH KEY
ebeln = ls_serv_final-ebeln
ebelp = ls_serv_final-ebelp .
ON CHANGE OF ls_serv_final-ebelp .
MOVE ls_ekpo-ebelp TO ls_serv_final-ebelp1 .
MOVE ls_ekpo-txz01 TO ls_serv_final-txz01 .
MOVE ls_ekpo-eindt TO ls_serv_final-eindt .
ENDON .
MOVE ls_ekpo-pstyp TO ls_serv_final-pstyp .
MODIFY lt_serv_final FROM ls_serv_final TRANSPORTING ebelp1 txz01 eindt pstyp .
ENDLOOP .
Thanks & Regards,
Subhanshu Shrivastava
ABAP Consultant
Edited by: Vinod Kumar on Sep 8, 2011 1:53 PM
Hi abhi,
Thanks for your suggestion but all work areas & Internal Table are already clear & refresh at the beginning resp.
hi oki,
Thanks for your suggestion, but the logic provided by you will not work in my case because i need to print like given below:
Item Material Quantity Item No TRN No. Delivery Date Components Quantity
00010 GA8-570001-7 32 0001 20110720 19.07.2011 GA8-531022-11 32
00020 GA8_SEAT 10 0001 55555555 29.08.2011 GA8_SEAT 10
0 0002 2564777 GA8-531022-11 3
0 0003 3100003 GA8-570001-7 1
if any one has other solution please provide you suggasion.
Thanks & Regards,
Subhanshu Shrivastava
Similar Messages
-
Changing the state of Iterator?
Hi!
I'm using ADF Faces, and I want to change the state of an Iterator from a backing_bean? Is it possible?
If it isn't: anybody knows how to manipulate manually the state of an iterator?
Thanks in advance,
Jaime.Hi Frank.
The iterator actually is in the state "Create". I want to show the data of one record. The state may be something as "Show".
Also, could you give me information about the avalaible states of an iterator?
Best regards,
Jaime -
Always re-launch Excel 2007 Smartview tab change the state to disabled...
Hi all,
I need some help about Smartview 11.1.2.5. I upgraded smartview users to version 11.1.2.5 but in one user i have an issue, that drive me crazy.
After install Smartview I opened a spread sheet and enabled Smartview add-in, user works normally and refresh and everything was ok. After he re-launch the excel the Smartview add-in change the state to disabled, I change to enabled and he works normally. The problem is, every time he open excel the smartview is disabled. How can i resolve this issue??
Best Regards,
João FerreiraHi,
Thank you for your question. I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience. Thank you for your understanding and support.
Thanks,
Linda Li
Linda Li
TechNet Community Support -
Can we change the state based upon another field value?
I want to change the state to Done when completed work is set to 0. I googled it and came to know about this:
Handle it from the server side, monitoring the WorkItemChanged event. The downside is that it doesn't reflect immediately in the end-user screen. After editing a work item, the user would have to hit Refresh to see the new state.
Will it be perfect in this way? Any other suggestions.
Please provide best links to learn about creating server plugins and depoying.Hi divya,
For your questions, you can refer to the link that Alexandr mentioned above to check the Pros and cons of custom controls for work item tracking.
And for server side plugin, it has the ability to capture all the occurred events without exception. You can get more information about how to implement it by refering links below:
https://socialtfs.codeplex.com/wikipage?title=How%20to%20create%20and%20debug%20a%20Team%20Foundation%20Server%20server-side%20plugin&referringTitle=Documentation
http://vgaltes.com/index.php/2013/04/14/create-a-team-foundation-server-event-handler/
http://geekswithblogs.net/jakob/archive/2010/10/27/devleoping-and-debugging-server-side-event-handlers-in-tfs-2010.aspx
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Black screen upon wake from sleep when I change power state while in sleep
Hi,
I'm having this problem where my MacbookPro won't always wake from sleep.
OSX is 10.6.3 and fully updated.
I've done a lot of troubleshooting, and I can now replicate the issue 100%:
1 - Put the MacbookPro to sleep by closing lid
2 - Change power source (from plugged-in to battery or vice versa)
3 - open lid - MacbookPro will wake, but stays at black screen and is unresponsive.
Only if I change power state while sleeping will this issue show. Anyone else experincing this issue, and anygot got a clue on what to do?
regards,
LasseI've seen the same issue after upgrading to 10.6.3. I have a one year old MacBook Pro. I would have the screen be black after coming back from sleep or hibernate (tried both).
The workaround I found is to close the lid -almost- all the way and then immediately open it back up again, like I am catching the Mac going back to sleep and then changing my mind. For whatever reason, this has been reliably solving my issue for the last couple weeks reliably.
Only other oddity I noticed is that immediately after upgrading OS X told me that my one year old battery needed to go in for servicing...
Anyway, now all looks right with the world assuming you don't mind a quick close/open cycle.. Lovely...
Tim -
Delay in changing the state of LEDs
Hi
I am using 6 LEDs in my application. I am changing the state of LED using SetCtrlVal() function.
But for 3 LED's the change happens after some delay(around 5sec delay). I don't know how to solve
this issue. Please any me on this.
Thanks and Regards
NB
Solved!
Go to Solution.Also - just FYI - this is a known issue that has been resolved in CVI 2010. Calling SetCtrlVal should immediately update and redraw the state of the LED.
NickB
National Instruments -
How can I change the state of a runtime menu item programati​cally?
Using LabView 6.1, I would like to change the state of the runtime menu item "Operate/Print at completion".
The goal here is to print the VI front panel according to the operator choice (OK ->print, Cancel ->don't print)
In a first release, I put a Stop function at the dialog output (activated by the cancel button) but this function stop the complete application and my idea where to stop only the VI in which the dialog is running.
In a second release, I've tried to use the "Application
control/Menu" but I receive every time an error:
Error 88 occured at Cannot modify application menu item in the printtest.vi.
Possible reasons: LabView, Runtime menu error...
Any suggestion is appreciated.
Re
gards,
phiduInstead of using the print at completion option, print the VI programatically if the user selects to print...open a reference to the VI you want to print and use an invoke node to print vi to printer.
Alternatively create another VI with a layout optimized for printout, set it to print at completion and run and load the data into that VI if and only if the user OKs the print...
Mads
MTO -
How can I change a State name in iphoto map?
A few months ago, changing a location of a group of photos, I really changed a state name.
The image shows the name State "Casa David i Mireia" where should say "Catalunya" that is the real name.
How can I change that name. I have opened a case in Apple Support, but the solution to reinstal the app have not worked for me.
Thank you for your help
JordiThanks for your help!
The problem is that I think that I changed the "default" name for the state where the photos were taken. I have 50 differents locations, that are all correct, and photo per photo, I can modify the original location, but only at "local" level.
How can I change the name displayed in State section as "Casa David i Mireia" for "Catalunya" that is the real name for the State where the photos where taken?
I don't if this post is comprehensive. I'm not sure.
Thanks for your time!
Jordi -
Is it possible to change application state from a component?
I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
Thanks!Hi,
you always have a static class Application.
Application.application will be the root component. After that you can change it state.
Application.application.currentState = "state2";
But it's not the best way to change states. It's better to dispatch events from components and change states in listeners. -
What is the best practice for changing view states?
I have a component with two Pie Charts that display
percentages at two specific dates (think start and end values).
But, I have three views: Start Value only, End Value only, or show
Both. I am using a ToggleButtonBar to control the display. What is
the best practice for changing this kind of view state? Right now
(since this code was inherited), the view states are changed in an
ActionScript function which sets the visible and includeInLayout
properties on each Pie Chart based on the selectedIndex of the
ToggleButtonBar, but, this just doesn't seem like the best way to
do this - not very dynamic. I'd like to be able to change the state
based on the name of the selectedItem, in case the order of the
ToggleButtons changes, and since I am storing the name of the
selectedItem for future reference.
Would using States be better? If so, what would be the best
way to implement this?
Thanks.I would stick with non-states, as I have always heard that
states are more for smaller components that need to change under
certain conditions, like a login screen that changes if the user
needs to register.
That said, if the UI of what you are dealing with is not
overly complex, and if it will not become overly complex, maybe
states is the way to go.
Looking at your code, I don't think you'll save much in terms
of lines of code. -
Change a state in main.mxml from a script in another mxml
Hi,
i'm having some trouble with my application, let's say i have the main application file called MAIN.MXML
in wich i have set different States, and have different forms.
now i have a form called loginForm which contains the textInput item for Login and Password, i also have a link Need to Register
which onClick will change the state to show in the same panel a different form registerForm (with the relevant textInput items)
now the MAIN.MXML includes a custom component called <comp: NetworkManager /> which includes all the logic scripts and MXML
tags to create and manage an HTTPService request to a PHP Server.
when the user click on the Login button, this will call a function included in the main.as script (imported in MAIN.MXML) which
will call a function in the script within NetworkManager.MXML passing all the form data.
in NetworkManager.MXML the script will create an XML message, will send to the PHP Server and wait the response... if this comes
true the user is authenticated, otherwise is not.
so far so good, i get the message sent, the correct response back. Now i want to hide the form in MAIN.MXML and put something like
Welcome firstName lastName!! instead. But i don't know how to do it. If i try to access the states in MAIN.MXML from the NetworkManager.MXML
i'll get all sort of errors which i don't have it here with me.
I know this sounds like a newbie question, and it really is ... any taker?
your help is much appreciated.
thanks
T.Hi,
i've tried RemoveChild but i get an error like:
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild()[C:\autobuild\3.2.0\frameworks\p rojects\framework\src\mx\core\UIComponent.as:5096]
at mx.core::Container/removeChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\ core\Container.as:2274]
at components::NetworkManager/sendUserAuthHandler()[C:\Documents and Settings\Tom\My Documents\flex_prj\Shoppy\src\components\NetworkManager.mxml:182]
at components::NetworkManager/serverHandler()[C:\Documents and Settings\Tom\My Documents\flex_prj\Shoppy\src\components\NetworkManager.mxml:98]
at components::NetworkManager/__serverRPC_result()[C:\Documents and Settings\Tom\My Documents\flex_prj\Shoppy\src\components\NetworkManager.mxml:290]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[C:\autobuild\3.2.0\framewor ks\projects\rpc\src\mx\rpc\http\mxml\HTTPService.as:290]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[C:\autobuild\3.2.0\frameworks\ projects\rpc\src\mx\rpc\AbstractInvoker.as:193]
at mx.rpc::Responder/result()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\Responde r.as:43]
at mx.rpc::AsyncRequest/acknowledge()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\ AsyncRequest.as:74]
at DirectHTTPMessageResponder/completeHandler()[C:\autobuild\3.2.0\frameworks\projects\rpc\s rc\mx\messaging\channels\DirectHTTPChannel.as:403]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
who is the caller of loginForm then? i've tried with Application.application.loginForm but i do get the same error though.
loginForm is contained in a Canvas item, is it the caller? or who else?
thanks
T. -
Code for capture digital data when change of state
Dear Sir,
I had written a program to capture the digital data when it change of state.
It work well when I check the check box "Lock file for faster access".
But error occur when it unchecked.
Because I need to open the tdm file at the vi running, thus I need to uncheck it.
Please kindly to advise any solution for it.
The program is attached.
Thank You.
Attachments:
datalogcos.vi 53 KBHi Jayme,
Sorry for late reply.
The screen capture of error message is attached.
Thanks for your helping.
Poly-Alex
Attachments:
error.jpg 24 KB -
How do I change the states of the "Submit" button in adobe muse?
How do I change the states of the "Submit" button in adobe muse? Currently I can only change the color, text and stroke of the button, but I cannot customize it as I have the other buttons in the tool.
I want to replace the button with an image, however it does not permit me to paste an image into the button, nor does it allow me to delete the box that is currently there. The best I can do is paste the image into the text box that is provided.
-
Can I change the state of an object by highlighting over text?
That question probably doesn't make sense, but I didn't know how to word it with just a few words.
I'm working on a site where I have a 'button' that has text in it. When someone hovers over the button, it changes colors (it's basically showing the user that the site is responding). When I put text inside the button, it causes the button to not change colors when I hover over it.
I know that it's happening because the text is covering up the area that is supposed to respond to the user's mouse.
So, I'm wondering if there is a way of either making the text and the 'button' all one object, or if it's possible to make the text 'invisible' to the mouse. What I mean by 'invisible' is that the computer wont acknowledge the text which will make the button responsive to the user's mouse.
I am able to do this through photoshop but I was just wondering if it's possible to do this in only muse.Hi
You can define states for the background layer such as rectangle and then insert text frame which will change the state on hover of mouse, but if the text frame covers the background then it wont active the state.
The purpose that you are trying to achieve such as invisible text to mouse is not possible with native menu features , but yes as you have mentioned you can use an image for this , write up the text and use the image.
The state button has same feature with rectangle in background and text within that.
Thanks,
Sanjit -
Dear all,
I want to write an application involve change of states of an indicator.
The indicator will by default will be green in colour and will only change to to either amber or red colour.
I need the program to output an message only when there are certain conditions arise. The conditions are:
i) green to amber
ii) green to red
iii) amber to red
iv) red to amber
The rest of the conditons there will be no message output.
What are the best ways to write this program? Is it more efficient to use state machine, event structure for this application?
Anyone can help out with this? Thanks so much!Joven wrote:
That is indeed an elegant solution. So Short and sweet. Thanks so much for your kind help.
The program stays about the same size, even with thousands of inputs. You simply use arrays instead of scalars for the data. Infinitely scalable!
Here is a quick draft for 10 inputs.
(Looking at your code, you still make unnecessary local variables. Why do you possibly need the "array" local and indicator????)
Message Edited by altenbach on 04-19-2010 07:34 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
state changeMOD_Array.vi 12 KB
StateChangeArray.png 10 KB
Maybe you are looking for
-
Business Objects 3.1 reports are not working with IE 10.
Hi, Recently I upgraded my internet explorer to IE10.. Since then business objects 3.1 reports are not opening in IE10.0 Getting error message "webpage can't be found". I am not sure whether BO 3.1 reports work with IE 10.0 or not. Please advise Than
-
Is there a list somewhere of HP Failure IDs and what they mean?
I'm getting the following Failure ID when I run system disgnostic test on the HDD in a HP Envy U0823F-6BA705-XD7X1F-60UE03 Anyone know what it means or where I can find out? The disk itself appears to be running ok. I ran a chkdsk \F on it in a separ
-
Hi All, I ported the HDMI out interface for ZC706 to ZC702 board. For some reason the HDMI display didn't get initialized. The following are the things I verified, 1. The ADV7511 used for HDMI display is configured as expected. 2.
-
Can i buy an unlocked iphone 4 from the us apple website and use it in ireland?
I want to buy a white iphone 4 but it is SO much cheaper to buy it off the apple US website than it is to buy it in Ireland. The difference is about $260 dollars(200 euro) I am just wondering if I buy it on the US website will I be able to use my iph
-
Same release of SpywareBlaster doesn't start (Error on unpacking) after upgrade to FF4. No other change made. It happens despite FF4 opened or not.