Data Change Condition Dependency

I would like to create a data change notification dependency for a product specification.
Can someone please provide an example of a xquery expression in the "Data Change Condition Expression" field?
I would like to create a condition so as to enable the transition for a specific line item only when an orderlineitem property contains a specific value , but i am not sure how I can access this info (orderlineitem property) from within the condition expression.

I think you just put the fixed value in the xquery field, such as
'this value means the next function can start'
When the field is then updated and with value 'this value means the next function can start' the function will start.
I ave tested this and it appeared to work fine.
Viktor

Similar Messages

  • Data Change Condition Expression

    I need to create a product specification that includes dependencies between order components based on a data change notification wait condition
    How do I define the XQuery expression in the "Data Change Condition Expression" field?
    Specifically, I have 4 order components in the product specification that are independent of each other but each order component can only start when a specific data element has a certain value. The data element is at the order level and is not available as an order line item property.
    I would appreciate if someone from Oracle can provide a more detailed explanation of the fields in the "Product Specification Editor Dependencies Subtab" ->"Wait Condition subtab"
    Relative Path
    Data Change Condition Expression
    Thanks,
    ~nagu.
    Edited by: nagu on Dec 2, 2011 5:50 PM

    Provide two pieces of information:
    1. Order Item Property
    2. Boolean XQuery expression returning fn:true() to fire the dependency.
    For example:
    Assume you need to ensure all Provisioining items (From) must have reached the "PRODUCT STARTED" milestone , before the Billing Component Items (To) can start.
    Note From Component is also known as "blocking" while the To Component is known as "Waiter"
    1. Data Change Notification property: milestone
    2. Data Change Condition Expression Xquery:
    declare variable $blockingIndexes as xs:integer* external; (: list of From component items - index :)
    let $expectedMilestoneCode := "PROVISION STARTED"
    (: extract milestones values from all provisioning function items matching the expected milestone value , only for the given From component :)
    let $milestoneValues := /GetOrder.Response/_root/ControlData/Functions/ProvisioningFunction/orderItem/orderItemRef[fn:index-of($blockingIndexes, xs:integer(@referencedIndex)) != 0]/milestone[text() eq $expectedMilestoneCode]
    (: Return true only if ALL the milestones in the From component (ProvisioningFunction/orderItem/orderItemRef) are PROVISION STARTED :)
    return fn:count($milestoneValues) eq fn:count($blockingIndexes)
    Carlos

  • PO - Change Condition pricing date

    Can we change Condition pricing date in PO.If Yes , then How??
    Thanx,
    Viru

    Dear Viru,
    You can change the price date at the condition control tab. However, you still need to press
    the update button from the condition tab to update the condition price follow the price date
    that you had changed.
    Best Regards,
    Ian Wong

  • BAPI_CUSTOMERQUOTATION_CHANGE Contract date change

    Hi,
    Has anybody ever been able to change the contract start date & end date date of a quotation using BAPI_CUSTOMERQUOTATION_CHANGE ?
    I understand I need to pass in the new dates in quotation_header_in with 'U' and 'X' indicators in quotation_header_inx. But I am receiving an error saying field is not editable!!
    Has anybody tried or faced this before. I can use SD_VEDA_UPDATE to get the date change, but I want my condition records and contract dates to change simultaneously using BAPI instead of doing them seprately .
    Thanks,
    Regards,P

    Hi Karin,
    One solution may be to enter the statistical date forcebily thru user exits or BADIS.
    Sreedhar

  • Auto update of PO price after del. date change

    We use price date category=2 , "Delivery date" for our materials.  In ME22N, the delivery date is changed.  Message 06 484 appears at the bottom of the screen,
    "Delivery date changed (new price determination process may be necessary)".
    We want to have the new price determination automatically carried out when the delivery date changes in the PO. If you change other fields like purchasing org. or plant, the price is automatically redetermined.

    It depends on the costing method of the org and the distribution details of the PO.
    Typically, for avg. costing, it is not possible because that will alter the way the transaction was costed.
    But for a std. costing org, it may be possible.
    You will have to setup the test cases for your org and see.
    Sandeep Gandhi

  • Custom renderer in datagrid, needs to know if data changed

    Hi,
    I am hoping someone can help me out please.
    I have a datagrid that uses a custom renderer that is
    subclassed from a TextInput. When the user changes the data in a
    cell, I need to color the cell. This is so that on a potentially
    big grid, the user can easily see which cells he has made changes
    to.
    It is easy enough to set the color of the itemrenderer by
    using setStyle() inside the overridden set data() method of the
    custom renderer, but that is only a fraction of the solution. Since
    Flex instantiates and destroys custom renderers at will depending
    on if it is scrolled into view by the datagrid, keeping the state
    of whether a value has changed inside the custom rendererer is not
    an option.
    So the only choice I have is to call back from the custom
    renderer into the container that hosts the datagrid. As the
    itemEditEnd event is handled in that container, a list of cells
    that have had their data changed can be stored. The custom renderer
    then needs to call back into the container with its cell
    coordinates and ask if the data has changed, and if it has, set its
    color.
    How can a custom renderer know its cell position as x,y
    coordinates? I see that TextInput implements IListItemRenderer
    interface and has properties x and y, but putting a trace on these
    gives me nonsensical numbers that seem to have no relation to the
    cell coordinates.
    The other thing I need to do is have the custom renderer call
    back into the container that hosts the datagrid to know whether
    data has changed. Is outerDocument the reference? Or is there a
    proper way of doing this?
    Thanks for the help you can give.

    Here is a simplified version of how we track the cell by cell
    changes in a datagrid. It does require you to identify the fields
    that will be editable and maintaining the original data for each
    column in the data source.
    Our production version is much more complex than this but it
    will give you the idea.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="initApp()"
    viewSourceURL="srcview/index.html">
    <mx:Script>
    <![CDATA[
    import mx.binding.utils.BindingUtils;
    import mx.collections.ArrayCollection;
    import mx.core.Application;
    import flash.events.*;
    import mx.events.DataGridEvent;
    import mx.controls.TextInput;
    [Bindable] public var editAC : ArrayCollection = new
    ArrayCollection();
    [Bindable]
    public var somedata:XML = <datum><item>
    <col0>0</col0>
    <col1></col1>
    <col2></col2>
    <col3>2</col3>
    <col4></col4>
    <col5></col5>
    <col6></col6>
    <col0Orig>0</col0Orig>
    <col1Orig></col1Orig>
    <col2Orig></col2Orig>
    <col3Orig>2</col3Orig>
    <col4Orig></col4Orig>
    <col5Orig></col5Orig>
    <col6Orig></col6Orig>
    </item>
    <item>
    <col0></col0>
    <col1></col1>
    <col2></col2>
    <col3></col3>
    <col4></col4>
    <col5></col5>
    <col6></col6>
    <col0Orig></col0Orig>
    <col1Orig></col1Orig>
    <col2Orig></col2Orig>
    <col3Orig></col3Orig>
    <col4Orig></col4Orig>
    <col5Orig></col5Orig>
    <col6Orig></col6Orig>
    </item>
    <item>
    <col0></col0>
    <col1></col1>
    <col2></col2>
    <col3></col3>
    <col4></col4>
    <col5></col5>
    <col6></col6>
    <col0Orig></col0Orig>
    <col1Orig></col1Orig>
    <col2Orig></col2Orig>
    <col3Orig></col3Orig>
    <col4Orig></col4Orig>
    <col5Orig></col5Orig>
    <col6Orig></col6Orig>
    </item>
    <item>
    <col0></col0>
    <col1></col1>
    <col2></col2>
    <col3></col3>
    <col4></col4>
    <col5></col5>
    <col6></col6>
    <col0Orig></col0Orig>
    <col1Orig></col1Orig>
    <col2Orig></col2Orig>
    <col3Orig></col3Orig>
    <col4Orig></col4Orig>
    <col5Orig></col5Orig>
    <col6Orig></col6Orig>
    </item>
    <item>
    <col0></col0>
    <col1></col1>
    <col2></col2>
    <col3></col3>
    <col4></col4>
    <col5></col5>
    <col6></col6>
    <col0Orig></col0Orig>
    <col1Orig></col1Orig>
    <col2Orig></col2Orig>
    <col3Orig></col3Orig>
    <col4Orig></col4Orig>
    <col5Orig></col5Orig>
    <col6Orig></col6Orig>
    </item>
    <item>
    <col0></col0>
    <col1></col1>
    <col2></col2>
    <col3></col3>
    <col4></col4>
    <col5></col5>
    <col6></col6>
    <col0Orig></col0Orig>
    <col1Orig></col1Orig>
    <col2Orig></col2Orig>
    <col3Orig></col3Orig>
    <col4Orig></col4Orig>
    <col5Orig></col5Orig>
    <col6Orig></col6Orig>
    </item>
    </datum>
    private function initApp():void {
    var dgcols:Array = grid1.columns;
    for (var i:int=1;i<12;i++) {
    var dgc:DataGridColumn = new DataGridColumn();
    if(i < 6) {
    dgc.width=60;
    dgc.editable=true;
    dgc.dataField="col" + i.toString() ;
    dgc.rendererIsEditor=true;
    var ir :DGItemRenderer = new DGItemRenderer();
    dgc.itemRenderer = ir;
    else {
    dgc.width=0;
    dgc.visible = false
    dgc.dataField="col" + i.toString() + "orig" ;
    dgcols.push(dgc);
    grid1.columns = dgcols;
    ]]>
    </mx:Script>
    <mx:DataGrid x="31" y="27" width="200" height="150"
    id="grid1" dataProvider="{somedata.children()}"
    horizontalScrollPolicy="on" rowHeight="25"
    editable="true">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 0"
    dataField="col0" width="30" editable="false"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TextInput xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()"
    implements="mx.controls.listClasses.IDropInListItemRenderer,
    mx.core.IFactory"
    >
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.controls.dataGridClasses.DataGridListData;
    public function newInstance():* {
    var ir : DGItemRenderer = new DGItemRenderer();
    return ir;
    override public function set data(value:Object):void
    super.data = value;
    if (value != null) {
    var colName : String= DataGridListData(listData).dataField;
    var valOrig : String = data[colName + "Orig"];
    var val : String = data[colName];
    if(valOrig != val)
    this.setStyle("backgroundColor",0xA7FF3F);
    else
    this.setStyle("backgroundColor", "#ffffff");
    ]]>
    </mx:Script>
    </mx:TextInput>

  • Report on Opportunity Close Date Changes

    I would like to create a report showing all deals that have had changes made to the Close Date. I am trying to create it from the Pipeline History section of the Analytics, but I am not sure which fields I can use, if any.
    Any suggestions?

    That is a very creative solution, Dale. I do have a couple of "what ifs" for you.
    What if the Close Date is 10/30/2007... I change this to 10/15/2007 - a change of -15 days. Then I realize that I meant to change it to 11/15/2007 and changed it again. Would this create a problem for the report since the change amount would now show a 30-day change when it is really a 15-day change?
    Another scenario has the date change twice in one week, between times that the report is run. The original date of 10/30/07 changes to 11/15/07 and then the next day changes to 12/15/07. How does this affect the report?
    When we get to the point that the audit trail becomes reportable, this problem is solved. Until then, it is quite the puzzle. I think your solution potentially solves part of the problem, but depending on how much that date field actually changes and how often you run your report and which fields are needed in that report, it could return misleading data as well.
    This is a very interesting problem. Dale has come closest to a solution so far. Any other suggestions for DavidG? I am drawing a blank on it so far.

  • Pricing date in condition type

    Hi All,
    I just wanted to know what is use of "pricing date" + '' quantity conversion" field in condition type.
    How and what is the functionality of this field.
    Thanks in advance.
    Cheers!

    > I am trying to find out what is the difference if I  am going to sellect Billing date (KOMK-FKDAT)....instead of Price date (KOMK-PRSDT).
    If you will give the date Billing date, then the value of condition type will be effective only on the billing date, and not on the Pricing date.
    For example :
    You made the sales order on date 20.06.2009  for the 10 Qtys at the rate of 10 Rs Per qty
    Did the PGI on 23.06.2009
    Invoice on 23.06.2009
    Now say for a specific condition type the record get changed on 23.06.2009 ( Like fresigh surcharge) then the new record will be effective if you have choosen the option billing date in Condition type. and if you have choosen the option of Price date than the date from the sales order pricing date will come into picture.
    Hope its clear.
    > QTY Conversion.
    >
    > Prasanth you mention ''condition bases'' ...................if you could what exactly you mean by that OR is there any other way to understand this more clearly.
    As you might be knowing in pricing procedure we give Alternative condition base value......... So if quantity conversion is ticked here then the conversion of quanity will takes place accordingly.
    Condition bases in nothing but Alternative condition base value in Pricing pricedure.
    Thanks,
    Raja

  • Issue with Condition dependent PO output

    Hi,
    We're implementing Extended classic version for SRM 5.0.
    As part of the output determination, we need to determine 2 print outputs for Purchase orders. We have 2 purchase organizations and both of them need to have 2 different smartforms for the print. So, we're designing 2 different smartforms. In order to assign the smartforms as per the purchasing org, I've used "Condition dependent output" in IMG settings. But whenever I try to print, it picks up the standard form from the IMG node "Define actions for Document Output" where the standard form is maintained. We did not maintain the custom form in this node because we have 2 forms for print.
    I would like the program to pick up the custom form maintained in " Condition dependent document output".
    I understand that we could use the BADI alternatively. But any help in resolving this problem through the configuration is highly appreciated.
    Regards,
    Lakshmi

    Hi,
    Pls implement the badi "BADI BBP_OUTPUT_CHANGE_SF".
    For sample code/pointers,see the foll links;
    Re: How to change default smartform triggered while printing for shopping cart
    Re: How to change default smartform triggered while printing for shopping cart
    Re: Smartform display
    Re: Add a Printer ?  -> LP01
    Re: Condition Dependent Document Output
    Re: Add a Printer ?  -> LP01
    sending Smart form to Printer  in SRM
    Re: SRM PO's to be printed out with the PO
    BR,
    Disha.

  • Information Broadcasting(Event Data change in Info provider)

    Hi All,
    Does anyone have experince on the functionality Information Broadcasting ,Can you please help me where we use Trigger event when change in the info provider in the process chains.I want to know when we use the (Trigger event in the Broadcaster) in the process chains,how will it take effect in the Information Broadcasting scheduler screen when we select the particular Info provider when there is any data change.Can you please elaborate on the topic if any one has used the event data change in the info provider.Actually I Executed and scheduled the pocess chains, when I go to the Process chain log ,It says that the Job is finished and the data change is occured for the Cube,but I dont get any error message and I dont get any mail to my Inbox.Can you please through some light  if anyone has worked on this,Answers are always appreciated and rewarded.
    Thanks.

    Hi,
    Usually we trigger an event in SM64 tcode..if u want to create an event u will go for SM62.
    In addition to time- and calendar-based job scheduling, the background processing system supports event-driven scheduling.
    Triggering an event notifies the background processing system that a particular condition has been met. The background processing system reacts by starting any jobs that were waiting for that event.
    Events are not saved. Once an event occurs and triggers any jobs that were waiting for that event, the event is discarded
    U can monitor process chain via Tcode 'CCMS'..
    Information broadcasting allows you to make objects with Business Intelligence content available to a wide spectrum of users, according to your own requirements.
    Go through this
    Information Broadcasting:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/content.htm
    Including an Event Data Change in a Process Chain :
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/0d0e405c538f5ce10000000a155106/content.htm
    Regards-
    Siddhu
    Message was edited by: sidhartha

  • Information Broadcasting - Event data changes

    Hi Gurus,
    I am trying to trigger a broadcast settings, What i am trying to acheive is as soon as any data changes in data target, trigger a report to portal folder.
    Report is published to portal only when there is no data in data target, i.e. contents of data target are empty and any data that is loaded as first request.
    Any data loads after first request, Am i missing some configuration steps.
    Any help greatly appreciated. Thanks.
    Best Regards,
    Reddy.

    Hi,
    Usually we trigger an event in SM64 tcode..if u want to create an event u will go for SM62.
    In addition to time- and calendar-based job scheduling, the background processing system supports event-driven scheduling.
    Triggering an event notifies the background processing system that a particular condition has been met. The background processing system reacts by starting any jobs that were waiting for that event.
    Events are not saved. Once an event occurs and triggers any jobs that were waiting for that event, the event is discarded
    U can monitor process chain via Tcode 'CCMS'..
    Information broadcasting allows you to make objects with Business Intelligence content available to a wide spectrum of users, according to your own requirements.
    Go through this
    Information Broadcasting:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/359840dfa5a160e10000000a1550b0/content.htm
    Including an Event Data Change in a Process Chain :
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/0d0e405c538f5ce10000000a155106/content.htm
    Regards-
    Siddhu
    Message was edited by: sidhartha

  • Grideview Bind Event - Place data in column depending on result

    Hi,
    I wonder if anyone can help?
    I need to bind a Gridview to an SQL query (easily done) but when I bind the data, I need the data to appear in a specific column depending on the date field.
    So essentially the Gridview will hold a financial report, and the value can be a past value received or a future value to be processed, this value is held in the same column in the SQL database and there is nothing to determine whether it is past or future
    value other than the date the report was generated on (I didn't design the database)
    So in case that doesn't make sense, when I run a report in July, I need all fields pre-July to appear in Column A but all fields for July to appear in Column B.
    Thanks in advance for any help
    G

    Hello GRJ28,
    GridView can stands for the following:
    1.ASP.NET GridView(System.Web.UI.WebControls.WebControl GridView)
    https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    2. WPF GridView(System.Windows.Controls.GridView GridView)
    https://msdn.microsoft.com/en-us/library/system.windows.controls.gridview(v=vs.110).aspx
    Can you specific your project?
    If it is ASP.NET project, you have to post on ASP.NET forum as "CoolDadTx " mentioned.
    If it is WPF project, here is
    WPF forum and please consider whether you need a button or something to refresh the data. The two-way binding in WPF seems will not trigger when in your scenario. What's more, since you want your GridView change when data changed, you may need to change
    your property of GridView with that button or any event.
    Best regards,
    Barry
    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.

  • Conitional formattimg on group data change access report

    I want to do apply a conditional format on an access report when data changes from one group to another.
    So on the on format property of the report, the ordinary conditional method would be something like:
    if [SomeField]=SomeValue then
     do action A
    elseif [SomeField]=SomeValue2 then
     do action B
    else
     do action C
    end if
    what I want to do is:
    If somefield changes data from one thing to another (ie the data in the field changes value at some point, without knowing what those values are)
    do action A
    end if
    Thanks

    Hi
    Please have a look at the wiki Troubleshooting Issues with VS .NET Datasets and Crystal Reports.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Condition Dependent PO output

    Hi Friends,
    I have maintained the PO output condition as 'Processing using Selection Report' in
    (IMG): SRM Server -> Cross-Application Basic Settings -> Set Output Actions and Output Format->Define Actions for Purchase Order Output.
    In (IMG): SRM Server -> Cross-Application Basic Settings -> Set Output Actions and Output Format->Condition-Dependent Purchase Order Output, I have maintained the
    Processing Time as 'Processing when saving the document' for e-mail output.
    But currently my system is not taking the Processing time ''Processing when saving the document' which I maintained in Condition Dependent PO output. It is taking the
    value 'Processing using Selection Report' which I maintained in Define Actions for Purchase Order Output.
    So when my PO is ordered the output status will be "Not Processed' at first and then I have to manually process it or run the selection report to process it.
    I want the Po output to be "Successfully Procssed" immediately after the PO is ordered with my current settings. Is that possible? Kindly help me with this issue.
    Thanks in Advance...
    Best Regards,
    Vidya

    Hi,
    Pls implement the badi "BADI BBP_OUTPUT_CHANGE_SF".
    For sample code/pointers,see the foll links;
    Re: How to change default smartform triggered while printing for shopping cart
    Re: How to change default smartform triggered while printing for shopping cart
    Re: Smartform display
    Re: Add a Printer ?  -> LP01
    Re: Condition Dependent Document Output
    Re: Add a Printer ?  -> LP01
    sending Smart form to Printer  in SRM
    Re: SRM PO's to be printed out with the PO
    BR,
    Disha.

  • Options for auditing data changes

    Hi Friends,
    I thought I will get some inputs on my following implementation. The requirement is to audit some data changes with in the system.( Oracle 10.2 on RHEL 4.7 )
    The audit is required in a sense that, the before images of data and information of who changed the data is required. I have looked at options like Oracle Auditing,FGA and so. But this cannot give me audit for the data changes,when and who changed.
    The first thing that comes into my mind are using triggers . Another option is using log miner. I have successfully tested it out with both of these approaches. The environment is like
    1 ) For some critical tables for which audit is required triggers were written ( ours is an OLTP application )
    2 ) For some non critical tables, log miner which was called by a stored procedure which runs at certain periods is used.
    3 ) audit data is stored in a different schema , with same table names as in base schema.
    I would like to know your thoughts on this.
    Thank You,
    SSN

    The delay with log miner is acceptable with some less critical audit tables and as you said, tirggers can be implemented for some critical tables.
    One bottleneck with using logminer is that it depends on the availability of archived redo logs, the backup mechanism if any implemented should make sure that, no archive logs are removed from the locations specified for the audit program. The backup mechanism should ensure that all archived logs are processed by periodically running audit program which uses log miner.
    Wondering if there is any other recommended approach for this.
    Thanks
    SSN

Maybe you are looking for

  • Not 1 but 2 activation charges

    I'm new to bt and ordered bt infin with free eve and weekend call plus line rental. Now I'm happy with what I'm paying and sort of happy to pay activation charge £35. But 2 days after my activation date I decided to add bt t v to my package and I've

  • How to use object defined in another schema

    I define an object in schema1 and try to use it in schema2. To use, I have to add the schema name to the object when I use it like something below: var1 schema1.clientobj; Is there any way to work around so I don't have to specify the schema name?

  • Creating a Trigger for Deleting the records from a parent Table

    I am new to creating Trigger We will need several small tables that will be used to store any records that are deleted by the owner of the table. These will likely need a trigger where we would Delete from the parent table and on that Delete populate

  • Subscription to Outlook thru webdav with some blank events

    I convinced a colleague to publish its Windows Outlook 2010 calendar to a webdav site. We are almost there. The events are there but some repetitive events are blank, let's say 1 over 12. I can see a colored square with the right hours but nothing in

  • Tomcat problem with FileMaker Server

    I'm not sure if this is an OS X issue or a FileMaker issue, but I'm kind of lost so I hope someone here can help. Something happened to the computer we're running FileMaker Server Advanced on and now I can't get the web part of it to work. I've tried