Specifying condition  in XPATH  and   MessageMapping

Hi
   i have  one requirement that is    based on  one condition  i want to  push the data into my receiver..
for example.. if the  Material No is tarting with <b>M</b> letter (M1001)  then only that Material information is loaded into receiver side..
for this  we can  specify the condition in graphical mapping.. based on header node  .. i had taken one constant  and substring  it was working fine..
as well as.. we can specify the condition  in ID side ( in XPATH)  then what is the difference between  specifying the condition in IR side (MESSAGE MAPPING )  and ID side(XPATH)
thanks
babu

If u are passing condition duing receiver determination, then based on that your receiver will be called..if the condition is not true then it will not called that..
In the mapping your are mapping the value to the target message..(in your case it is <b>M</b>)if target message is doing some process based on that field then it is ok..but here you have to route the message to the receiver when codition comes true else not...
Meand send my message to Sytems A when my name is Farooq else dont send from XI>
Thanks
Farooq.

Similar Messages

  • WLPI, Event Condition XPath and floating pt values

    The documentation (Ch 6 specifically) for both WLPI 1.1 and 1.2 refers
    to a function ToDouble to be used as the workflow condition:
    ToDouble(XPath("/customer/balance_due/text()")) >
    ToDouble(XPath("customer/_credit_limit_amount/text()")) * .75
    This function does not appear to implemented and is not available in the
    Workflow Studio. I am able to route documents to specific workflows
    based on integer and string values, but cannot get routing on
    non-integer values to work.
    (ToInteger(.....) > 100.00 does not work either)
    Has anybody gotten this to work ?

    I believe that you are correct... I would contact Technical Support and file this
    (i.e., the ToXXX(XPath("...")) stuff) as a bug.
    Brian Hall wrote:
    I don't think you can you use workflow variables within for the Condition on a
    Start action, can you ? I don't think that the variables are evaluated until
    the workflow has begun, but the workflow doesn't begin unless the Condition is
    met. (catch 22)
    Robert Patrick wrote:
    One of the problems that I have seen in the past was that these ToXXX()
    functions did not work properly if the argument was an XPath expression. I
    could get them to work if I split them into two expressions and used a
    workflow variable to store the intermediate result, i.e.,
    Assign result of XPath("/customer/balance_due/text()") to a workflow
    variable of type string, say foo.
    Then, use ToXXX(foo) to assign the value to a workflow variable of type
    XXX. I thought this was fixed in WLPI 1.2 but it may not have been...
    Hope this helps,
    Robert
    Brian Hall wrote:
    The documentation (Ch 6 specifically) for both WLPI 1.1 and 1.2 refers
    to a function ToDouble to be used as the workflow condition:
    ToDouble(XPath("/customer/balance_due/text()")) >
    ToDouble(XPath("customer/_credit_limit_amount/text()")) * .75
    This function does not appear to implemented and is not available in the
    Workflow Studio. I am able to route documents to specific workflows
    based on integer and string values, but cannot get routing on
    non-integer values to work.
    (ToInteger(.....) > 100.00 does not work either)
    Has anybody gotten this to work ?

  • Conditions using xpath in Receiver determination

    How to write conditions using xpath in receiver determaination. Please provide few examples.
    Regards,
    Suresh.

    hi
    Defining Conditions
    You also have the option of specifying the conditions to be applied when forwarding a message to the receiver(s) in a receiver determination.
    Generally, a condition relates to the contents of a message; if a specified condition is fulfilled for a particular payload element (the corresponding element has a certain value, for example), then the message is forwarded to the specified receiver(s).
    &#9679;     If you want to specify a new condition for forwarding the message to a receiver, in the table in the Display/Edit Receiver Determination editor in the Configured Receivers frame, choose Insert New Condition () and call the condition editor by using the input help ().
    &#9679;     If you want to specify a new condition for forwarding the message to multiple receivers, in the table in the Display/Edit Receiver Determination editor in the Configured Receivers frame, choose Insert Line After Selection ( ) and call the condition editor  by using the input help (). 
    In the condition editor, you can select an element from the message payload and specify a value with which the value of this element is to be compared at runtime.
    check the link below
    http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • ADF -- Dynamic InlineStyle on cells of table based on specified conditions.

    Hi there!!
    I am trying to figure out Dynamic Inline Style on cells in ADF:
    Need to color a few columns for a particular row (don't wanna color the entire column--just want to color those cells in columns that matches the specified condition for that particular row, in MY CASE:- row: having Col-A ="BBB" column: having value>250 ).
    Col-A Col-B Col-C Col-D
    AAA 100 255 300
    BBB *255* *300* 100
    I want to color the cells in BOLD....
    My basic condition:- Col-A = 'BBB' and other col values >250
    Can anyone help me out with this???

    Hi,
    try as following
    <af:inputText contentStyle=#{row.bindings.Col-A.inputValue eq 'BBB' and (row.bindings.Col-B.inputValue gt 250 or row.bindings.Col-C.inputValue gt 250 or row.bindings.Col-D.inputValue gt 250) ? 'font-weight:bold;':''}"/>
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Condition type EDI1 and EDI2

    Dear all,
    we have to a requisition that we will receive confirmations of order (ORDRSP) from our suppliers in the future.
    In OSS note 456127 (FAQ EDI MM) question 14 it says that prices will only overtaken in the purchase order,
    if the condition types EDI1 and EDI2 are part of the calculation schema.
    In our calculation schema we do not use EDI1 and EDI2 so far.
    I can not find a manual that says what to do.
    RM0000 does not contain these two condition types either.
    In which way do we have to add EDI1 and EDI2 to our calculation schema?
    Thank you for your help in advance!

    Check these Schemas
    RM2000 - STO scenarios
    RMMP00 - Market Price Scenarios
    Define Calculation Schema
    In this step, you define the calculation schemas.
    In the MM area, a calculation schema - a framework of steps used to calculate or determine something - is used among other things to calculate costs, prices, period-end rebates, and taxes.
    Note
    This concept is referred to in the Sales and Distribution (SD) area as a pricing procedure.
    In the calculation schema (pricing procedure), you specify which condition types are to be taken into account in which sequence.
    In the price (or cost) determination process, the SAP System automatically determines which calculation schema is valid for a business transaction and takes into account, one after another, the condition types it contains.
    Standard settings
    The following calculation schemas are predefined in the standard system. You should not change these schemas.
    RM0000 and RM1000
    Control the price determination process in POs, quotations, and scheduling agreements.
    Both calculation schemas require 2 condition types for the gross price: one for automatic price determination (standard: PB00) and one for manual maintenance (standard: PBXX).
    RM0001 and RM1001
    Determine which condition types you can enter in purchasing document headers with time-dependent conditions (e.g. contracts).
    RM0002, RM1002
    Determine which additional condition types you can enter in purchasing document items with time-dependent conditions or in the purchasing info record.
    RMMP00
    Defines the condition type for determining the market price which can be entered for each material.
    RM2000
    Controls the delivery cost determination process in stock transport orders and stock transport scheduling agreements.
    Note
    In the calculation schemas RM0000, RM1000, RM0001, and RM1001, the field "Subtotal" must contain the following values in the following lines:
    Gross value:     9
    Effective value: S
    If the interim total 'S' is not set, the PO values cannot be updated in the Purchasing Information System (PURCHIS).
    Actions
    1. Check to what extent you can use the calculation schemas provided in the standard SAP System.
    2. Create new calculation schemas by copying similar existing ones and changing them.
    Enter a key (length max. six characters) for the schema you wish to create, and a descriptive text.
    For each schema, specify the condition types in the order of their usage, and maintain the relevant data.

  • XPATH and Receiver Determination

    In Reference to forum thread : Conditions in  Xpath (Receiver determination)
    Suppose I have MT as
    MT_Pickfile
       |_Header
       |_Body
       |_Trailer
    And i need to check;
    (field3 = "100" or field3 = "200" or field3 = "300" ) and(field5 = "AA" or field5 = "BB" or field5 = "CC")
    field3 is in Header and field5 is in Body
    I tried giving
    /p1:MT_Pickfile/Header[(field3 = "100" or field3 = "200" or field3 = "300" )] and /p1:MT_Pickfile/Body[(field5 = "AA" or field5 = "BB" or field5 = "CC")] EX
    It doesnt work. But then if both field3 and field5 are in Header then it works (as had been the case in the above mentioned thread which Stefan Grube replied to) i.e. to say
    /p1:MT_Pickfile/Header[(field3 = "100" or field3 = "200" or field3 = "300" )] and [(field5 = "AA" or field5 = "BB" or field5 = "CC")] EX
    Can anybody put in their suggestions ?
    Thanx in Advance,
    ShaBZ

    Hi Shabarish,
    It is not possible to have <i>and</i> or <i>or</i> outside the brackets <i>[]</i>.
    Try following:
    /p1:MT_Pickfile[(Header/field3 = "100" or Header/field3 = "200" or Header/field3 = "300" ) and Body/field5 = "AA" or Body/field5 = "BB" or Body/field5 = "CC")]
    Another idea:
    Write two lines in receiver determination (use insert expression):
    1. line:
    /p1:MT_Pickfile/Header[(field3 = "100" or field3 = "200" or field3 = "300" )]
    2. line
    /p1:MT_Pickfile/Body[(field5 = "AA" or field5 = "BB" or field5 = "CC")]
    Hope that helps
    Stefan

  • BAM Alerts - When a data field in a report meets specified conditions

    Hi ,
        Please find the below mentioned issue , which I am facing at the time of creating BAM alerts.
      I have created a data object, when i am creating the bam alert  [ create new alert --> create rule --> when i select an even " When a data field in a report meets specified conditions" and "When a data field in a data object meets specified conditions" then below in rule expression I am unable to edit the expression of  "this data fields has a specified condition of x".]
                          Appreciate your quick response.
    VAMSI.P

    Hi,
    I am having the same issue, and I am on IE9.  When I was on IE8 I had no problems.  Are you also on IE9
    Thanks
    Judy

  • Conditions using xpath in interface determaination

    how to write conditions using xpath in interface determaination. Please provide few examples.
    Regards,
    Suresh.

    hi
    Specifying Conditions (for Multiple Inbound Interfaces)
    If you have assigned more than one inbound interface, you can specify the conditions for forwarding the message.
    To do so, in the Condition column, call the condition editor  ( icon).
    This column is only available when you are assigning multiple inbound interfaces
    check the link below on condition editor:
    http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • Xpath and Get XML Document Data

    Good Morning,
    I have just recently gotten involved in a project that requires communicating with some web services (axis2). We have existing scripts that handle this already, but they were built when we weren't on axis2 so now the XML output from the web service call is slightly different and i am no longer able to use the same xpath statement in the Get XML Document Data step.
    I am receiving either null values or a prefix namespace error. I am new to xpath and have been reading as best i can from http://www.w3schools.com/xpath/ to try and understand how to write my statements to pull out the data i want correctly.
    I have read that sometimes the editor has problems if the XML contains namespace declarations, etc.
    Below is an example XML output where I'd like to be able to read the value in the ax211:success. My xpath gets prefix namespace errors as it doesn't recognize ax211.
    Xpath: /descendant::ns:validateCertificationResponse/child::ns:return/child::ax211:success
    Perhaps my xpath statement is just incorrect and wouldn't retrieve what i expect it to....
    Any advice is appreciated.
    Thanks,
    Kevin

    Hi,
    well, it appears that text() is automatically appended to the XPath query for some reason in UCCX, this is why you actually see the text node within the ax211:success element. This //*[local-name()="success"] select the whole node, not its first child (which is actually the first element, which also happens to be a text).
    Anyway,
    // - anywhere
    * - any node
    And within this "everything" you actually search with the condition within the angular brackets.
    G.

  • Join condition between PO_REQUISITION_HEADERS_ALL and WF_NOTIFICATIONS

    Hi,
    Could anyone tell me what is the join condition between PO_REQUISITION_HEADERS_ALL and WF_NOTIFICATIONS?
    I joined these two tables by WF_NOTIFICATIONS.ITEM_KEY = PO_REQUISITION_HEADERS_ALL .WF_ITEM_KEY.But I cannot found some approved requisitions item key in WF_NOTIFICATIONS table.
    Please help.
    I paste my query below:
    SELECT PRH.ORG_ID ORG_ID,
    WF.ITEM_KEY,
    WF.FROM_ROLE,
    PRH.WF_ITEM_KEY,
    WF.RECIPIENT_ROLE APPROVERS_NAME,
    TRUNC(NVL(PRH.APPROVED_DATE, '')) DATE_APPROVED,
    WF.SUBJECT SUBJECT,
    PRH.DESCRIPTION REQ_DESC,
    PRH.SEGMENT1,
    (SUM(NVL(PRL.AMOUNT, 0)) +
    SUM(NVL(PRL.UNIT_PRICE, 0) * NVL(PRL.QUANTITY, 0))) REQ_AMT,
    GL.SEGMENT1 || '.' || GL.SEGMENT2 || '.' || GL.SEGMENT3 || '.' ||
    GL.SEGMENT4 || '.' || GL.SEGMENT5 || '.' || GL.SEGMENT6 || '.' ||
    GL.SEGMENT7 || '.' || GL.SEGMENT8 CHARGE_ACCT
    FROM APPS.WF_NOTIFICATIONS WF,
    APPS.PO_REQUISITION_HEADERS_ALL PRH,
    APPS.PO_REQUISITION_LINES_ALL PRL,
    APPS.PO_REQ_DISTRIBUTIONS_ALL PRD,
    APPS.GL_CODE_COMBINATIONS GL
    WHERE WF.FROM_ROLE IN ('GHAWKINS', 'GHALVERSON', 'NCERNOTTA', 'DCOLLOPY', 'RHAY')
    AND BEGIN_DATE > SYSDATE - 60
    AND WF.MESSAGE_TYPE = 'REQAPPRV'
    AND WF.ITEM_KEY = PRH.WF_ITEM_KEY --added
    AND PRH.AUTHORIZATION_STATUS = 'APPROVED'
    AND PRL.REQUISITION_HEADER_ID = PRH.REQUISITION_HEADER_ID
    AND PRD.REQUISITION_LINE_ID = PRL.REQUISITION_LINE_ID
    AND PRD.CODE_COMBINATION_ID = GL.CODE_COMBINATION_ID
    GROUP BY PRH.ORG_ID,
    WF.ITEM_KEY,
    WF.FROM_ROLE,
    PRH.WF_ITEM_KEY,
    WF.BEGIN_DATE,
    WF.SUBJECT,
    WF.RECIPIENT_ROLE,
    PRH.APPROVED_DATE,
    PRH.DESCRIPTION,
    PRH.SEGMENT1,
    PRL.REQUISITION_HEADER_ID,
    GL.SEGMENT1 || '.' || GL.SEGMENT2 || '.' || GL.SEGMENT3 || '.' ||
    GL.SEGMENT4 || '.' || GL.SEGMENT5 || '.' || GL.SEGMENT6 || '.' ||
    GL.SEGMENT7 || '.' || GL.SEGMENT8

    Pl see if these MOS Docs can help -
    603232.1 - How to Diagnose Purchasing Document Approval Routing
    579522.1 - Forward Document Form FAQ
    431767.1 - How To View Requisition From The Email Notifications For Which Workflow Data Is Purged
    HTH
    Srini

  • Tax Conditions for Sales and Distribution using Jurisdiction Code in Canada

    Hello everyone,
    I would like to share with you a doubt relating taxes for Sales and Distribution in Canada.
    The Tax conditions for Sales and Distribution in Canada are the CTX1 (GST - Canada), CTX2 (PST - Canada) and CTX3 (Base + GST). These are the Tax Conditions which appear when creating a Material or a Client for the Canada Region, and are also the ones included in the Canada Standandard Pricing Procedure.
    I tried to apply the standard method of creating a Master Record for these conditions, but an error relating the Jurisdiction Code came out while releasing to accounting.
    Does anyone one how to procceed? Which are the important issues with Finance Accounting to take in to account?
    I would really appreciate any comment relating this issue.
    Thank you very much in advanced.
    Víctor

    Dear Mr. Lakshmipathi,
    In first place, thank you very much for your quick response.
    I have tried many different procedures to get the aim, and among others, a new access sequence was created to allow the introduction of the Jurisdiction Code (UTXJ is not available for Sales Conditions) but once the Condition is created, it is not recognized when creating the Order ("pricing error: Mandatory condition CTX is missing"). Maybe it has something to do with the fact that these conditions are not included in the Finance Accounting Tax Procedure, where the conditions, which represent the same taxes but with different condition names, are defined for a certain Tax Code and Jurisdiction code.
    Among the different SAP notes for the error relating the Jurisdiction code, there was one proposing to change the Condition Category from "D" (Taxes) to a value between "1 and 4". By doing this a new error appears while creating the order, saying that there are conditions in the Tax procedure (JRC1, JRC2)which are not included in the Sales Pricing procedure. By including this conditions in the Pricing procedure, the Tax Conditions existing in the Finance Accounting Tax Procedure are brought to the Order Conditions, in addition to the Sales Tax Conditions. And there is something more, each Tax Condition from the Finance Accounting Procedure appears twice, one with the application V (Sales) with value zero, and one with application TX (Taxes) with the value existing in the Finance Accounting Taxes Procedure. This is how at the end, the corresponding %value of the taxes is brought to the Invoice with the correct Tax Code, and the proper Jurisdiction Code, which is different for each condition.
    Thank you very much for your time.
    Víctor Liedo

  • Condition type SKTO and SKTV

    Hi all,
    I wanna ask how the system determine whether use condition type SKTV or SKTO. I know the value is based on term of payment, the case is i do the same think with term of payment in 2 different client, but the result is different, one using condition type SKTV and SKTO for the other one. how is it work? can anybody help me
    Thanks
    Regard,
    Hendry

    Hi,
    SKTV calculates cash discount before tax
    SKTO calculates cash discount after tax
    the formulae and configuration are the same.
    difference is the requirement in pricing procedure. SKTV is picked before tax, while SKTO is after tax.
    you can pay attention to the requirement in both pricing procedures in different clients...
    Thanks!

  • File Error: The Specified file is open and in use by this or another app...

    I have imported a string of pictures and dragged them into the FCP timeline. I render them and it renders a certain percentage then it stops and says "File Error: The Specified file is open and in use by this or another application."
    After reading this, I quit out of FCP, restarted my computer, opened FCP, nothing other program, tried to render again and same thing happened. It renders part of it then the error message pops up, then I can render again and it will do another percent then it will pop again and so on.
    Suggestions, or does anyone know why this happened? Thank you very much for your time.
    A

    okay - don't know where you've got your scratch disc set but hopefully it's to another drive other than your boot.
    The same drive where your render files should be located, ie some drive other than your boot drive.
    Can you copy the jpegs over to that drive into a folder.
    Delete them from your tl, delete them from your proj. Save your project. Close fcp.
    If they're on your boot drive - delete them.
    Reopen fcp and Reimport them from the new location.
    Sorry for all the steps - but we have no idea how you have configured fcp or your level of experience. Trying to cover all the bases ...

  • FILE ERROR: The Specified file is open and in use...

    FILE ERROR: The Specified file is open and in use by this or another application.
    I get this error when I import a .MOV created by Live Type. All applications, except FCP, are closed. I can reboot the computer and get the same thing. It happens when I try and "render all". Thanks.

    It's probably either spotlight looking at the files, or some anti-virus program thinking your render is a virus.

  • Condition type PB00 and PBXX, coming in the same PO Item

    Hi,
    In the PO (created with reference to Outline Agreement),  condition types PB00 and PBXX are coming in the same line item.
    In the PO output, the PB00 value is also showing up and PBXX value is also showing up. User entered PBXX value as 350000 dollars which is right, however system is picking 1.2 million dollar of PB00 from outline agreement which is not intended here. As a result of that the output going to Vendor is exceeding more than 1.2 million dollar instead of 350,000 dollars. I cannot change or delete any othe condition types.THis is a production problem.
    Has anyone faced this problem. I appreciate your reply in advance.
    Thanks,

    Well, thanks Saurav and Prabhakaran, however the problem still stays.
    The contract is created for services (1 lot), so the dollar amount can vary depending upon the service rendered by the consultant.
    That mean user will only enter the service amount.
    Saurav, system should not copy down PB00, it should come by itself when user enters the specific amount. And it comes from contract. PBXX should only appear if there is no PB00 maintained in the contract. This is not the case. The service amount is maintained in the contract. Also, I don't think that PBXX and PB00 should come in one line item together as normal system behaviour &  as a normal business process too. Moreover, it is not happeniing in the other two line items - line item 20 and line item 30 are fine. The pricing analysis shows both the conditions as found - PB00 and PBXX, so I could not take any clue from analysis too.
    Prabhakaran, system is only behaving incorrectly for line item 10. It is behaving as expected (good ) for other line items and other PO's. So, we cannot touch the pricing procedure as that will affect other line items.
    Regards

Maybe you are looking for

  • Database connection encryption and integrity with ColdFusion and Oracle thin client

    As ColdFusion datasource we are using the Oracle thin client to  connect with the database. So, basically we are using a JDBC URL such as  jdbc:oracle:thin:@... and as Driver Class oracle.jdbc.OracleDriver. This works successfully however we would li

  • How to change the JCO reference to an existing model

    Hi We had created a few models with the 2 - default (WD_model..) JCO references, now is it possible to change the references to a different custom /name without re-importing the models again ? The issue for us is very critical because, we need to mai

  • HT4910 Getting contacts to sync between iPhone and iPad

    I can't get my IPad to sync contacts with my IPhone Both are ios7.02 and synced with the same iTunes account on the same computer On the iPad in Settings under the Mail,contacts,calendars tab under the section labelled Contacts There are only 4sub-he

  • Cascading LOV behavior

    Hi, I have created a Cascading LOV for Employee-> Dept No and unchecked Hierarchical View in u201CCreate Cascading List of Valuesu201D option. Then I created a Webi report and applied u201CDept Nou201D as Prompt with LOV option enabled. When I refres

  • WLC 4402 assign multiple VLANs to one SSID

    Is it possible to have one broadcasting SSID but clients seperated by, lets say say 7 different vlans in the WLC?  For example- each floor would be seperated by its own vlan and dchp pool, but they all connect to one SSID in the controller.  From wha