N- Step PO Approval only when Value Change

Hi ,
   I am in SRM 5.5, I have a requirement that PO N-step workflow should only trigger when the PO value changed not any other changes, is it possible ? Please give me some details about this if possible
John.

Hello John,
You also could use in the start conditions (SWB_COND):
EC Purchase Order.Total Value Incrsd   - here you could check, if the value increased
EC Purchase Order.Total Value Diff.    - here you check, if there is a difference to the original amount
Both of the above starting conditions you could use in the event of 'CREATED' (new PO) or 'CHANGED' (amended PO).
Give it a try.
Franz
Edited by: Franz Feichtenschlager on Sep 1, 2009 8:36 AM

Similar Messages

  • How to run TCP/IP Tx in cRIO vi only when value changes?

    My design uses NI's TPC-2006 as the user interface for a cRIO-based product.  I use TCP/IP to exchange data between the TPC-2006 and cRIO.  My code causes the TPC to lock up after a variable number of minutes, typically about 10.  The OS is completely locked and requires a power cycle to recover.
    Based on the theory that the TPC-2006 is not keeping up with the TCP/IP packets sent by cRIO, I want to try configuring cRIO to transmit only when it has something new to say.  The event structure that I use for the TPC-2006 won't work on cRIO.  Can anyone out there suggest another approach?
    Jeff
    Climbing the Labview learning curve!
    Sanarus Medical
    Pleasanton, CA

    Hi Jeff,
    The simplest way to reduce transmission overhead in this scenario would be to encase your existing TCP/IP routine in a case structure that only executes if the data element you're interested in is not equal to its last value (stored in a shift register).  This shouldn't add much in the way of computational overhead on the RT side, but should reduce the flood of data if the value doesn't change very often.  Keep in mind also that if you have LabVIEW 8, you can use Shared Variables to send the data over your tcp/ip connection only when a new value is written to the variable - this may meet your needs just as well.
    Cheers,
    Matt Pollock
    National Instruments

  • PanelBox Disclosure icon is calling only checkbox value change listener

    Hi
    I have a page fragment, where i have a switcher and showing different facets based on condition, in my second facet i have a panel box which has a panel group layout which has one selectbooleancheckbox and one outputtext.
    When i click on the check box, i need to make the outputtext invisible, this i am trying to achieve thru valuchangelistener. I am able to make it visible and invisible based on the value. The same way i have multiple panel boxes, the issue here is when i try to undisclose the panel box, or disclose the other panel boxes, the valuechangeevent is getting called.
    I am using pageFlowScope for the bean and it has so many other value change events for select one choices, but only for the first time the check box value change events are getting called. I can achieve the same using java script, but i am trying to avoid using js.
    I am using JDev 11.1.2.1.0 and the page fragment is in task flow, where i used the task flow as a region in a jspx page. Thanks.
    N.

    I think you're not dealing correctly with the default value of the selectOneMany. Do not let the submitted value be implicit but rather tells exactly what it should be. To manage that add a "noSelection" selectItem and return this value instead of null in from getImageType()
    Thus you might have:
    <h:selectOneMenu id="selectionid"
    value="#{tagGeneratorTagView.imageType}" valueChangeListener="#{imageHandler.changeImageType}"
    onchange="submit();">
      <f:selectItem itemValue="NOVALUE" itemLabel="No value selected"/>
      <f:selectItem .... your items ..
    </h:selectOneMenu>And in getImageType
    public String getImageType()
       //this is not a good example. the default value should be inject
      if(null==imageType)
        return "NOVALUE"
      return imageType
    }

  • How to write rfc when value change in the screen (browser) in webdynpro.

    Hi,
    I want to know how can i write an RFC when screen value change in webdynpro. I already designed a rfc where all the value can be seen in the webdypro screen. Now when user change the value how can i pick the changed value in R/3 so that i can save it into the respective database.  Please send some code for understanding it easily as i am new to this field.
    Regards
    Deep

    Hi Deepak,
    Though I dint understand your requirment properly but as it is raised in Web Dynpro forum I considering that you want to send the data filled by the user to your backend using RFC calls. For this purpose you can refer to this two documents available on SDN.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/creating%20a%20web%20dynpro%20application%20accessing%20abap%20functions.pdf">Tutorial 4</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c">Tutorial 5</a>
    Regards
    Sid

  • Workflow n-step dynamic approval error when saving SC

    Hi all,
    I have a process schema with 2 levels of approvals. The first one is a dynamic one (created based on a tutorial that I found here in SCN) and the second one is a simple approval step, I have a third step that's the automatic approval if none of the previous steps are required.
    When I go the SC creation page, I enter all the information and before saving it, I click on Display Agents, I could see that all the agents were obtained correctly.
    For example 4 approvers obtained,
    1-User1 (obtained from the first process level, dynamic one)
    2-User2 (obtained from the first process level, dynamic one)
    3-User3 (obtained from the first process level, dynamic one)
    4-User4 (obtained from the second process level).
    The problem comes after I save the order..I click on the Refresh button and go again to the "Display Agents" part and then I see that the first approver is not there, instead I see that it says "No agent was obtained with strategy Z...", so I have something like this:
    1-"No agent was obtained with strategy Z..."
    2-User2 (obtained from the first process level, dynamic one)
    3-User3 (obtained from the first process level, dynamic one)
    4-User4 (obtained from the second process level).
    If I check the WF, it ends in error as it says it could not find the approver.
    The same thing happens if the first process level (dynamic) returns 2 agents....the first one is removed after I save the SC.
    And If that first process level returns anly one agent, it's also removed when I save the SC.
    Could you please suggest where could I start looking into it?
    I debugged a lot and found out that when I click on SAVE and the on REFRESH and go to see again the approvers, the method
    /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID is not being executed for that first user, just for the rest.
    Why could this be happening?
    Thanks in advance!
    Matias

    Hi Matias,
    if could happen due to errors in your code.
    Could yprovide the logic for MAP_ITEM_TO_AREA method?
    Is it possible, that the first approver = requester in the shopping cart?
    Regards
    Konstantin

  • Logging data only when value of tag increases

    Hello,
    I want to data log only when my tag value is increases another it will not log data in database.
    So how do I do this.
    Thanks & Regard
    Nitin Jain

    A functional global, which will look at the current value, compare it to the previous, and if the new value is greater, signal that fact, and replace the previous value with the new value. You probably want the comparison to have a range, or a threshhold, so that it has to have increased by a certain amount before this all occurs, also are you only concerned in increasing? If you signal were a slow sinusoidal one you would register increases all the way up one side of the waveform, then once the peak was reached no more data would be saved, unless of course the amplitude increased. Do a search on functional globals, Action Engines, to see what I'm refering to as a storage mechanism.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • How to tackle the dataflow problem when Value Change event always triggers after another GUI event

    We know that Value change event always triggers after another GUI event. Eg, the user modifies string control, the user clicks on a boolean control. Then event boolean clicked is triggered before event string control value change.
    Now suppose somehow the GUI event that must happen to subsequently trigger the Value change event can potentially affect the data that Value change event is supposed to work on. How can we tackle this problem ?
    For example, in a mockup application that the grand purpose is to have user entered values in a textbox logged to a file (no missing information is accepted, and there is a boolean to determine how the information is logged).
    There are 2 controls, boolean A when clicked (mouse down) will load random number in text box B. Text box B is designed with event structure VALUE change which saves whatever values user enters into text box B to a log file.
    There are 3 problems when instead of clicking anywhere on the front panel after modifying text box B, the user ends up clicking on boolean control A.
    1. Event mouse down on Boolean control A will execute first, modifying text box B content before the user entered values in B get saved.
    2. The value of boolean A can potentially affect how textbox B is loggged.
    3. The value of boolean A affects how the file is logged and this is indeterminate. Somehow when running this VI with no Highlighting, the textbox B Value change event executes -before- boolean A value is updated (F to T). When running this VI with Highlighting, the boolean A value is updated (F to T) (because we click on it) -before- textbox B value change event occurs. Why is it like this ?
    Now the situation I made up seems non-sense, but I believe it resembles one way or another a problem that you might run into. How would you solve this problem elegantly ?
     

    You can set the string control to "update while typing".
    Are you sure appending the log to itself is reasonable? Wouldn't it grow without bounds if the users keeps entering strings or pressing the ingore button?
    Why isn't the "constant" a diagram constant instead of a control. Is the user allowed to change it?
    To reset just write empty strings or a false to local variables of the controls (renit to defaults" seems a bit heavy handed).
    All you probably need is a single event case for "ignore:value change" and "String" value changed", no need for the local variable..
    Also add a stop button and an event for it.
    You don't need the timeout event.
     

  • PO approval only when certain value in PO is changed from its referrence PR

    Hi All,
    Need your help on this one. I have a scenario, where it is mandatory to have an approved Purchase Requistion as a reference to create a PO. I have configured this part. Now, the requirement is, because this PO is getting created in reference to an approved PR, it doesn't require any approval. However, if the buyer changes any value in the PO, which is different from the PR, then it would trigger a Purchase Order approval.
    Please do let me know, if there is a standard way to map this scenarion in SAP ECC 6.0.
    Thanks and Regards,
    Anirban

    Hi Ravindran,
    Thanks a lot for your inputs. I have done the PO approval configuration, and the PO approval is working fine. My problem is that, when I am creating the PO with an approved PR, the PO approval is getting triggered. I do not want that. I want the PO approval to not get triggered, because, it is getting created with reference to an approved PR. However, if the buyer makes any changes in the PO, which changes the value of the PO as compared to the PR, then it should trigger the PO approval process.
    Any tips/comments on this particular scenario? Would be looking forward to your reply.
    Thanks and Regards,
    Anirban

  • Reject Pending Approval Tasks when Manager changes

    Folks,
    I have a requirement , when the user's manager change , i need to reject all the pending approval tasks for that particular user whose manager has changed , not others pending tasks .
    Please let me know if anyone has implemented such a requirement .
    I'm thinking of writing the logic in Change Manager task in xellearte user prov process , so when manager will change this task will trigger and in this task i will get all the pending approvals by using the 'getPendingApprovalTasksAssignedToUser' but i'm not sure how to identify the user who was the beneficiary of the task .
    Thnx
    Sid

    We are using 11.1.1.5 with BP03.
    Question - An OIM user can raise requests which can be routed to its manager for approval. The manager may manage more than one subordinate and will have approval tasks for requests raised by all his subordinates. If one of the subordinate's manager changes, tasks assigned to old manager for that subordinate should be rejected. All other tasks assigned to this manager by other subordniates should still be active. Can we fetch tasks assigned to a manager for a particular subordinate?
    APIs do give me all the tasks assigned to a user but can we filter them to fetch tasks related to only one beneficiary without fetching all and then iterating through all to get desired result?

  • L170 monitor faded, now flashes on only when settings change

    After bringing my monitor out of standby, I heard a slight pop and then the display faded almost to black, but enough to see the windows as I closed them one by one. The power is working, as the green light is on or blinking.  A Dell monitor worked with the computer so I know it's not the computer.    I hooked up the monitor to my laptop and set the graphics mode to multiple display, and the laptop desktop screen flashed briefly on the monitor, then went dark.  Each time I changed to another setting, I could get a brief image on the monitor.  I swapped out the signal cable from the working monitor and tried it with the L170, with the same results as above.  When the monitor is not attached to a computer, I get the IBM Thinkvision image, followed by the moving  "No connection, check signal cable" message.
    None of the monitor buttons, other than the power button, does anything.
    I saw reference on this site to a "cable select button" but have no idea where that might be.

    hey Nehemiah25,
    welcome to the forums and since you have swapped cables and the results are the same, i suggest getting in contact with our service team about this.
    besides, there was a audible pop which might suggest that something in the L170 fused. call them via
    http://bit.ly/LNVsuppNum
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    Have you checked out the Community Knowledgebase yet?!
    How to send a private message? --> Check out this article.

  • Correct values not flowing in MIRO when values are changed in J1IEX

    D/ Friends,
    In Purchase Scenario with mov typ 101, when we capture excise duty thru T.Code J1IEX, sometimes we need to change the Duty Rates as well as Excise base Value (i.e.***. Value). We change these 2 things & we also change the BED, ECess & SH Cess values manually. Thereafter we do GRN & then post the EI.
    Now the issue is that when we do MIRO, the duties Posted in EI in J1IEX, are not flowing in MIRO. Pls note that such scenario is occurring only when we change the above 2 things in J1IEX. Pls advice.
    Rgds.

    pl check excise defalt for your tax procedure  JCV1  condition assigned  or  not.
    regards
    karthik

  • Disable sort when values in grid change (on propertyChange)

    I don't want my grid reordering itself on every propertyChanged event that would cause the sort order to change, can I prevent this somehow?
    I understand this is default behavior but it's not an option for our customer, and it is really annoying when the 1000 row grid is re-ordered every time user changes any values, not to mention slow.
    I tried returning 0 from sortComparer with no luck, grid still seems to reorder itself according to original data provider and not the sorted view when sort() was set.
    Specifically using AdvancedDataGrid and I'm starting to run out of ideas. Do I reset the dataprovider every time I decide to change my sort? I'm already intercepting headerRelease and setting sort explicitly as well as calling sort from controls outside the grid. How would I get the currently sorted list from my ArrayCollection, does the baseclass CollectionView have a current sorted view? Is there really no way to take a snapshot or current view and set it to current? Is there a way to tell sort() to physically move the rows instead of maintaining a view?
    What I found online:
    http://www.actionscript.org/forums/showthread.php3?t=199554
    Not an option since grid is sortable, I just want to suppress the updates AFTER initial sort

    My fix is less than ideal. As far as I can tell, you have 2 options (reimplement ListCollectionView or monkey patch it). The place where all the magic happens is a private method so there is no clean way to extend class.
    Make your own ArrayCollection and ListCollectionView and modify them. You can just copy paste them and use as your own. This is a lot of work if you want to replace them correctly so might be easier to just monkey patch them (copy paste classes exactly into your own project and make folders like mx.collections.aaa) google flex monkey patch for more info.
    Here is what I did.
    I introduced a new variable to ListCollectionView.as
    * Prevents collection from reordering itself when values change, list is only re-ordered on refresh()
    public var enablePostSortReorder:Boolean = true; //this is what framwork does by default, set to false to do what you want but better do this in yoru ArrayColleciton class (see below)
    In private function handlePropertyChangeEvents(events:Array):void
    Change
    if (sort || filterFunction != null)
    to
    if (enablePostSortReorder && (sort || filterFunction != null))
    You will probably also want to extend ArrayCollection. i.e.
    public class CustomArrayCollection extends ArrayCollection
    public function CustomArrayCollection(source:Array = null)
            super();
            enablePostSortReorder = false;
            this.source = source;
    Hope this helps you, I've been using this solution for a while now in a very big ADG.

  • Detect JSlider value changes?

    I am trying to detect updates to the value of a JSlider component so that I can update other GUI components. I added a ChangeListener, but noticed during a debug that the stateChanged method was getting called more often than I anticipated. This was getting called everytime a call to setMinimum() or setMaximum() was made. I would like for this method to be called only when the current value is changed, such as in result of the user moving the knob, a call to setValue is made, or a call to setMinimum() or setMaximum() results in a new value being set. Short of adding a variables to my listeners to detect real value change events, which is not too appealing, I am not sure how this can be done. I noticed in the docs after reading the "How to Use Sliders" tutorial that you can use the ChangeEvent object to get the source slider and call getValueIsAdjusting(), but the method is actually not what it's name indicates:
    <<<<<<<<< java documentation
    public boolean getValueIsAdjusting()
    True if the slider knob is being dragged.
    <<<<<<<<<
    So this only returns true if this was a user generated event. The method should really be called getKnobIsDragged() or something. Programmatic value changes such as calls to setValue() yield a return of false for this method.
    Anyways, it would seem like getting notified only of value changes, either by the user or programmatically, would be a very common need by many applications. What is the recommended way to do this?

    Basically, the user needs to be able to select 2 different values. Each of these 2 values is represented by a JSlider control. However, the second value is restricted to be greater than or equal to the first value. So when the value of the first slider, the minimum value of the second slider must be changed to this new value. Similarly, value changes in the second slider must result in the maximum value of the first slider being adjusted.
    Normally, changing the min/max DOES NOT change the value if the value is within the range of the new min/max. In this case, I would not want to process the event because the current value stayed the same. However, if the new minimum is greater than the current value or the new maximum is less than the current value, the current value must be updated to reflect the new restrictions. In this case I WOULD want to process this event. So it is not simply a matter of not processing events that stemmed from calls to change the min/max.
    I guess there are 2 possibilities to get the behavior I require. First, I can make sure that the code does not break for some reason if a state change occurs that does not result in a new current value. This will result in more processing than is needed, and I will need to use flags to be sure that I do not create an endless cycle of state changes between the two sliders. Or secondly, I can store the last known current value in the listener and simply not process events if the current value is equal to this last known value.
    I think the second solution is better since it results in better performance. I still think that this functionality should be provided automatically in the Swing library in some way. Most applications are interested in value changes and not min/max changes.

  • [LV2013] Events ordering (mouse down vs. value changed) ?

    Hi,
    I've encountered a problem with my real-time behaving UI.
    The event distribution mechanism registers several events
    linked to various UI controls.
    Two of them are set this way :
    String control: value changed
    Tree control : mouse down
    The problem is that the String control is used both to display
    and modify values within the tree. Click an item, its name is
    displayed in the String control, modify the String control, the
    new value is reflected into the Tree control.
    The issue is when I edit a string inside the String control and
    click another item in the Tree Control, the first event fired is
    the Mouse down event on the Tree control. Then only the
    Value changed event is fired.
    What happens is that case is the value edited in the String
    control gets overwritten with the new clicked item's value,
    then it is saved inside the previous item's value.
    Is there a way to give a kind of priority on some events
    rather than others ?
    David Koch

    How is LabVIEW "nasty, nasty"?
    While it isn't doing what you want for your particular situation, it is doing exactly what it is supposed to do and is pretty logical.
    1.  You are in a control.
    2.  That control's value isn't update until you leave it.
    3.  Your method of leaving the control is by clicking on something else  (the mouse down).
    4.  The mouse down is what happens first, once LabVIEW detects the mouse down on another control, it then says, okay, now I need to take the focus from the first control and place it here.
    5.  It is the loss of focus from the first control that is what fires the value change event on the first control.
    So the precise order of events is:
    1.  Mouse Down event on control 2
    2.  Value change on control 1
    and that makes perfect sense.
    Your idea of reversing the order of events does not make sense to me.  I want LabVIEW to enqueue events as they happen, not rearrange them.  Supposed some other part of your VI is simultaneously issuing another value change event, or a user event.  Where should that event fall into the queue related to the other events you've had LabVIEW rearrange?
    From what I've seen from this message of yours and others in the past is you get quite upset when LabVIEW doesn't conform to your vision of the world and rather than figuring out how LabVIEW works and how to work with it, you try to fight how LabVIEW works and then take to the forums to complain.  If that is actually picture of you in your user icon, then that is exactly how I envision you while you are working on the computer.
     

  • Found out when user change something

    Hi - Regarding our UI pattern button "Save" initially is disabled - and is activated only when user changes something in form view (change something in InputField or TextEdit UI)
    Is it possible in WD to find out this event?
    In InputField there is event OnEnter - but this not enough - user may pass the fields with TAB sequence and event is not triggered.

    Well, I guess it's impossible. You need some action to force propagating data from client to server. And in your case there is nothing -- focus traverse events are not supported.
    The only way is to enable "Save" action and skip unecessary updates in action handler.
    VS

Maybe you are looking for

  • Mac mini start up problems

    good day! i have a problem with my mac mini and it wont start up i already follow the instructions at the manual but still problem occurs.. pls. help. tnx happy new year!

  • No Broadband, No Dial Tone!??

    My broadband went down on Friday. I rang the number that comes up on the browser, BT has done tests on the line and there is no dial tone either so I'm without phone as well! Their estimated date for fixing this is 23:59 on Wednesday!! Does anyone kn

  • How can i sale my 17" macbook pro?

    Can anyone help please??

  • Join to include NULLS

    Helllo Employee Key Name DeptID Class A1 Dave 45 XYZ A2 Peter 46 ABC A3 Joy DEF Department Key DepartmentID DeptName DeptLocationID D1 45 SDF 51 D2 45 SDF 52 D3 46 JKL 53 DepartmentLocation Key DeptLocationID Location DL1 51 PQR DL2 52 STU DL3 53 CGH

  • OnSubmit and struts?

    <html:form action="/SearchCustomer" method="post" onSubmit="return disableForm(this);">when i click submit nothing happens. The HTML version works fine. <form action="http://www.google.com" Method="get" onSubmit="return disableForm(this);"> <SCRIPT L