Reciver determination Condition Editor issue

Hi Gurus,
I have a situation where in the receiver determination i have to check for some node if it exists then i have to map to
one receiverA if that node doen't exist then i have to map to receiverB.
In the condition editor I can see EX function which checks for existence but how can I use the doesn't exist function .
I tried to use the XML count function in the condition editior and  tried various ways but failed . Please guide me.
Thankyou,

Hi,
You have to use "Not " operator.
I am not sure what is your source. In my case it was IDOC and i had specified below condition. It works.
(/DEBMDM06[not(IDOC/E1KNA1M/E1ADRMAS/E1BPAD1VL_International/NAME)] EX )
Try doing same. If still not working post source structure.
-Gouri

Similar Messages

  • Reciver determination-Condition error

    Hi Friends,
    in my idoc to file..
    I am gettinfg this error while clicking Condition editor in reciver determination.
    <b>Message interface does not exist in any software components installed on this business system</b>
    i came to know that this error is because of Business system is not assigned to the Product and Software Componet in SLD.
    i am working on XXXX software component and the Business System BS_ZZZ is assigned to another software Component .
    <b>please tell me that can I assign BS_ZZZ to software component XXXX in SLD .
    or i need to re-create the Business system again for BS_ZZZ</b>
    please guide me.
    Munna

    > yes its warning message ...and i press ENTER..in
    > expression editor i am unable to find the source IDOC
    Glad to hear that your porblem now stands resolved
    > please tell me ..can assign one Business system to
    > more software Components..
    Yes you can do this.
    > because i am using BS_ZZZ business system for SAP
    > and imported IDOC from that  system ...but i used
    >  software compoent which is not assigned to BS_ZZZ..
    > an assign this BS_ZZZ to the software component that
    > i used in my development.
    Yes you can. Business Systems can use any Interface in any SWCV. When searching for the interface in ID, you would just need to delete the search crieteria. You can also assign the Business System to the SWCV now and refresh the SLD to avoid this issue.
    Regards
    Bhavesh

  • Condition receiver determination: Condition Editor

    Hi,
    I have to ruote the message to multiple receivers based on source filed value. 
    1) If FIELD-A = 1 or 2 or 3, we have to send it to RECEIVER-1
    root/FIELD-A = 1 or root/FIELD-A = 2 or root/FIELD-A = 3 = RECEIVER-1
    2) If FILED-A # 1 or 2 or 3 (anything other than 1,2 and 3), we have to send it to RECEIVER-2
    3) No matter what the FIELD-A value (1,2,3,4, anything), we have to send it to RECEIVER-3
    I have configured it in condition receiver determination:
    Conditions 1 and 3 are workign fine, but how do I make condition-2 work?
    I have tried to give root/FIELD-A # 1 or root/FIELD-A # 2 or root/FIELD-A # 3 = RECEIVER-2, It didn't work, even if the value is 2, message is being send to RECEIVER-2.
    How define 2nd condition in condition editor?
    Thanks in advance,
    Riya Patil

    Hi Riya,
    Please give following condition and check.
    (/BOL[(Revision != '1'and Revision != '2' and Revision != '3')]) EX
    Also if you are not able to see Message type in XPATH, please check if that software component is present in corresponding technical system of source busniess system in SLD.
    Once you see messagetype in XPATH, just select corresponding Revision Field in XPATH Editor and give above condition. Operator should be exists.
    Let me know if you face any issue.
    -Gouri

  • Receiver Determination - condition editor

    Hi,
    I have a receiver determination which receives files and the filename determines where the file is sent/routed. I am using the condition editor for this functionality and need some help. The filename contains the following format 'xxxxxx010xxx20070101.out' where xxx represents different codes depending on the extraction. I used the following in the condition editor:
    ++++++010* I understood each + to represent a character. This is not working, any ideas?
    Thanks,
    Leanne

    you can utilize XPATH functions in your conditions to acheive the same.
    Try to take the help of the following weblog and maybe the string functions of xpath to achieve your results.
    ref:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    http://www.w3schools.com/xpath/xpath_functions.asp#string

  • Multiple Reciver and Reciver Determination Condition is not working

    Hi,
    My Message is look like this .
    <?xml version="1.0" encoding="UTF-8"?>
    <dataroot generated="">
        <ChartOfAccounts>
            <glAcctNo>300000</glAcctNo>
            <COA>CAUS</COA>
            <acct_grp>SAKO</acct_grp>
            <shortText>short text</shortText>
            <longText> long text</longText>
            <isPLAcct/>
            <isBalAcct>TRUE</isBalAcct>
            <coaForCompany>
                <co_code>3000</co_code>
                <authGroup>ZURK</authGroup>
                <acctCurrency>USD</acctCurrency>
            </coaForCompany>
         <strFSLineItem>INDIA123</strFSLineItem>
        </ChartOfAccounts>
        <ChartOfAccounts>
            <glAcctNo>300000</glAcctNo>
            <COA>CAUS</COA>
            <acct_grp>SAKO</acct_grp>
            <shortText>short text</shortText>
            <longText> long text</longText>
            <isPLAcct/>
            <isBalAcct>TRUE</isBalAcct>
            <coaForCompany>
                <co_code>aaa</co_code>
                <authGroup>ZURK</authGroup>
                <acctCurrency>USD</acctCurrency>
            </coaForCompany>
         <strFSLineItem>INDIA123</strFSLineItem>
        </ChartOfAccounts>
    </dataroot>
    See what I want is depening on  co_code values need to send it to diffrent reciver.
    The condition i put it in reciver determination if it 3000 one reciver if not diffrent reciver but it is not working.
    Nedd u r suggestions
    Madhu

    Hi,
    Are you comparing integer with string...can you maks sure both values having same type...
    Check out this thread...
    Re: XI Transports general question (SLD / CTS+)
    Also check with your input payload in message mapping in IR if it is generating correct co_comp code for receiver determination.
    Hope this will help.
    Nilesh
    Nilesh

  • Receiver Determination Condition Editor - How to base xpath on index

    Say source message is an IDOC which has the E1EDK14 segment repeated:
    example:
    E1EDK14-QUALF=006
    E1EDK14-ORGID=01
    E1EDK14-QUALF=007
    E1EDK14-ORGID=02
    I need to route this to System1 if ORGID=01 where corresponding QUALF=006 and System2 if ORGID=02 where corresponding QUALF=006.
    Regular condition as follows does not work because it does not take into account that the two fields should be on the same index. Following routes it to both because ORGID=02 exists as well when QUALF=006 though on different index.
    (/INVOIC02/IDOC/E1EDK14/QUALF = 006 AND /INVOIC02/IDOC/E1EDK14/ORGID = 01) - System1
    (/INVOIC02/IDOC/E1EDK14/QUALF = 006 AND /INVOIC02/IDOC/E1EDK14/ORGID = 02) - System2
    How to incorporate the index in the condition so that above logic goes to a particular system when the corresponding QUALF and ORGID on same index (or node occurence) only satisfies?

    Hi
    This has to work (this is the syntax)
    /INVOIC02/IDOC/E1EDK14<QUALF = 006>/ORGID = 01  (or any value)
    the < angular brackets > have to be considered as square bracktes [ ]
    the editor does not represent sqaure brackets correctly in the code above
    other additional info for trials
    you can try giving single quotes etc (like '006')
    first make it work for a direct condition, then try the above with similar syntax
    Regards
    Vishnu

  • Receiver determination wildcard in condition editor

    Hi experts,
    I have a question regarding the condition editor for receiver determinations on PI 7.1. I have an xpath expression on the left side and I need to have a condition on the right side that includes a certain pattern.
    One example:
    p1:myDocument/element = 1A2B*
    There I would want to read the xml element "element" and redirect to a certain communcation component if the value of 'element' starts with 1A2B.. regardless if its 1A2B3 or 1A2BC and so on.
    Is that possible? I tried like in the example to use * as a wildcard, but that didn't work.
    Any help would be appreciated.

    It should not be = operator ....it should be Contains Pattern Operator
    Refer: http://help.sap.com/saphelp_nwpi71/helpdata/EN/67/49767669963545a071a190b77a9a23/content.htm
    Regards,
    Abhishek.

  • Issue with condition editor in integration process

    Hi,
    Now there is the chance to use this feature for the first time.
    Seems to be very easy.... No, it isnt!
    Variable  RETURN (type string) referencing to a field of a message structure is used for this condition:
    RETURN!="I001"
    So, if the variable does not contain the string I001 the process should use the exception path.
    Ok, easy! This works!
    But now I have this case to solve with the condition editor.
    If the variable does not contain the string I001 OR E002 the process should use the exception path.
    So my condition looks like this now:
    RETURN!="I001"|RETURN!="E001"
    => If return is NOT I001 OR Return is NOT E001....
    Result: semantical check is OK but the process always chooses the exception path now.
    Oh, why this?
    An alternative RETURN!=("I001"|"E001") does not pass the semantic check.
    So I am missing ideas now how to write down the condition for my switch step
    as this issue seems to be not discussed in any thread here.
    Any help with this strange feature is really appreciated!
    Best regards
    Dirk

    Hi Dirk,
    => If return is NOT I001 OR Return is NOT E001....
    for me, your logic is wrong, what you need for your exception receiver is : 
    => If return is NOT I001 AND Return is NOT E001....
    NON (a OR b) <=> (NON a) AND (NON b).
    so for your receiver_ok, you have to use the opposite: so the solution providen by Ramesh, and so to ahve two receiver lines like that:
    (Result = "l001" OR Result ="E0011" )  ==> Receiver_ok
    <blank_condition (*)> ==> Receiver_Exception
    (*) all condition which does not respect the 1st ones: Result = "l001" OR Result ="E0011".
    regards.
    Mickael

  • Condition editor in receiver determination does not show payload fields

    Hi !
    We are trying to create some conditions for the receiver determination in a RFC->XI->File scenario, but when we open the condition editor, under the XPATH option we do not set any payload fields to create conditions!!
    Any clues?
    Thanks,
    Matias.

    Hi,
    Check in SLD if your software component is installed on your business system and then clear SLD cache in ID.
    You will see interfaces assigned to your business system and also the payload fields in condition editor
    Thanks,
    Beena

  • How to compare two fields in condition editor in receiver determination

    Hello,
    Is it possible to compare to fields frrom the source in the condition editor of Receiver Determination?
    Because on the right hand operand we can specify only constants right and not the source field.
    For eg: If field1 != field2 then Reciever =  Receiver1
    Thanks,
    Loveena

    In standard receiver determination while defining the condition, you can only specify an element from the message payload using expression editor to create an expression for the left operand and you must specify a fixed value in the right operand, against which the value of the element will be compared at runtime. You can use only these (=,, ,EX) operators. So the functionalities are limited.
    so you have to use Enhanced Receiver Determination, In this Instead of creating the receivers in the receiver determination manually, you assign an Interface mapping to the receiver determination and this returns a list of receivers at runtime.
    refer this wiki for more details
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=133562771

  • XPath Expression at Condition Editor in Receiver Determination

    Hi,
      I have a fixed length flat file coming in into which I have to look at the first line's 4th to 7th positions. Based on that if it is "1234" then I need to route it to the receiver else I will ignore in the receiver determination.
    Example input file -
    M 0123456789ABCDEFGHIJKL
    PR0123456789JIDFJDIFJD0244
    PA0123456789JFDJF9384384K
    We have module configuration where we are converting this to a line value pair something like this -
    <?xml version="1.0" encoding="utf-8"?>
    <ns:GMTLog xmlns:ns="http://sap.com/xi/GMStoreConnectivity">
        <Line>
            <Value>M 0123456789ABCDEFGHIJKL
            </Value>
         </Line>
          <Line>
            <Value>PR0123456789JIDFJDIFJD0244
            </Value>
          </Line>
           <Line>
            <Value>PA0123456789JFDJF9384384K
            </Value>
          </Line>
    </ns:GMTLog>
    When I tried to test my xpath in xpath tester it is working fine with the below xpath expressions -
    1. /ns:GMTLog/Line[Value][1] --> This returned the first record completely
    2. substring(/ns:GMTLog/Line[Value][1], 4, 4) --> This returned exactly what I am expecting "1234"
    But the above 2 are not working in condition editor.
    May I know the exact xpath expression to be used in this case to route the message to receiver when 4th to 7th position is "1234".
    Thanks a lot in advance.
    Regards,
    Sarat

    Good day. Can I please have some clarity on what I need to correct on my Receiver expression test.
    For the number of instances of the Summary segment, I am required to identify and test the Summary amount of SUMME if this is more than 5.00 (a currency amount). SUMME is a string so I thought I should convert this to a "number" value to test it.
    Also ensuring that SUMME is checked when the SUMID is equal to 011.
    Now I hope part of my solution below is correct, but the test of the field value is not being done.
    Please help.

  • Problem with condition editor in Interface determination

    Hi,
    I have 5 receivers for an interface. There are some conditions based on which the message should be processed.
    one of my condition is:
    If field A = CIT* and (field B != IDP or field C != IDP*) then message should be processed to a particular InterfaceMap(Messaeg Map).
    I am facing problems when giving the condition with != in the condition editor of InterfaceDetermiantion.
    When I send a message that is not satisfying the above condition, even then an output file with 0kb is getiitng created. But in this case, the condition should obstruct the message going to Message mapping.
    I thought this could be the problem with != operator in condition editor.
    Can any one suggest if there is any other way that i can proceed.
    Thanks in advance,
    Minisha.

    Hi Suraj,
    Thanks for the suggestion.
    But it didnt work for me.
    Even when i give empty-message handling to ignore, the empty file is getting generated.
    Not even the condition is working.
    I tried only giving (field A u2248 CIT* AND field B != IDP EX ), which should work in this case. As expected, the message is not processed beyond this as the condition is false. But problem is when i tested with other testfile with which the condition given is true, still the message is not being processed. it is now completely obstructing the message even if the condition is true.
    Thanks,
    Mnisha.
    Edited by: Minisha Uthaman on Sep 10, 2009 4:12 PM

  • Receiver Determination and Interface Determination Condition conflict in ICO

    Hi,
    I found a strange issue today while configuring two receivers using the Receiver and Interface Determination conditions.
    Sender - Proxy Service
    Receiver1 - ReceiverA
    Receiver2 - ReceiverB
    Receiver Determination Condition : When Field1 = 100, message should flow to ReceiverA and ReceiverB
    Interface Determination Condition (ReceiverA) : When Field1=100 and Field2=50 message should flow to a specific interface in ReceiverA
    There is no Interface Determination condition for ReceiverB, for all messages having Field1=100, it should go to ReceiverB.
    Test Scenarios:
    1) Field1=100, Field2=50 : Message flows successfully to ReceiverA and ReceiverB
    2) Field1=100, Field2=89 : Message fails to process from ECC itself throwing Interface Determination not found error. Ideally this is a positive scenario for ReceiverB and it should send the message to ReceiverB without any errors. But, this did not happen in this case
    I tried the same by configuring the conditions completely in Receiver Determination itself without using the Interface Determination, it worked perfectly fine. But, just wanted to understand that if this is an expected behavior.

    Hi Sherin,
    As there are two receivers Receiver A and Receiver B.You need to create two bussiness components and two communcication channels for two receivers and one Reciver Determination, two Interface Determination,two Receiver Agreement.In Receiver Determination you need to keep the below and condition.
    In the above screenshot the two receiver are Receiver B and Receiver C and Field 1 is Key_Value and Field2 is Emp_ID.
    If the Key_Value=100 and Emp_ID =22 then the message should go to both the receivers B & C by keeping the following AND condition
    If the Key_Value=100 and Emp_ID is not equal to 22 then the message should go only to Receiver B by keeping the following condition
    You need not keep any condition in Interface Determination just create 2 Interface determination for two receivers.
    Hope this helps you.
    Thanks,
    Durga.

  • While opening condition editor its not showing me the structure

    Hello Experts,
         Mine is a proxy to file scenerio.....with a condition in reciver detrmination and while giving conditon in condition editor,  due to an unknown reason,  its not populating the Message Structure.
    It is giving an error messege " Message interface does not exist in any software components installed on this business system "
    If there is some 1 with similar experience,
    pls revert back,
    Arnab .
    Edited by: Arnab Mondal on Sep 25, 2008 12:14 PM

    Hi,
    If you get the following msg while selecting the BS in Receiver Determination
    "Message interface does not exist in any software components installed on this business system"
    1) Open ID-----Double click on Business system that which u are using in the scenario
    2) Check whether you are able to see the SWC in the Othere attributes TAB
    3) If it is not there means goto SLD----Open the Technical System of R/3 by choosing Web as ABAp type
    4) Click on Installed Products TAB
    5) Click on Add New product and add your Product of the SWC whcih you are using for developement and Save it
    6) Then goto Business systems TAB in the same Technical systems window and click on the Business System appears in the window.
    7) Click on Installed products and Check the check box of your Product and then finally save that.
    Now you should be able to see the SWC in the Othere attributes TAB in ID
    Regards
    Seshagiri

  • IDoc Message Structure Missing from Condition Editor - SWCV Dependency

    Hi All,
    I have an issue whereby I am missing the Message Structure in the Condition Editor Dialog while doing Receiver determination. I have seen others posts with the issue but none of the solutions seem to apply to me. My config:
    I have a SWCV called MY_SAP_BASIS, which is defined in the SLD with SAP BASIS as prereq. I import this SWCV into IR and build some objects. I wish to use an IDoc, so I import it into SAP BASIS, and it appears under my SWCV (MY_SAP_BASIS) in the "Basis Objects" section, but not directly under "Imported Objects" - as I would expect because of the relationship created in the SLD.
    My issue comes when I try to create a Rec. Determination. I want to use the condition editor, for multiple receivers, but when I click on the button to bring that up, first I get the error "Message interface does not exist in any software components installed on this business system", then when I try to use the Structure of the IDoc for an XPath, the structure browser is empty.
    I can't see why this would be. If I look in the SLD, and look at the Business System in question, it lists MY_SAP_BASIS and SAP BASIS as being installed.
    Also, when I do a "Where used" in IR on that IDoc, using my own SWCV and SAP BASIS, I get the same list. I have also checked the GUID's between the SLD and IR, and they are identical (except fpr hyphens in the display, which I am assuming don't matter).
    Anyone have any ideas? I assume that if I import the IDocs directly in MY_SAP_ERP, I will be able to solve this. But I would rather the Software Dependency worked!
    Many thanks.

    Jai/Michal,
    Many thanks for your replies. But unfortunately I had already checked this and I don't think it is the issue. My first message probably wan't as clear as it should have been: I have a Product "MY_SAP_BASIS" - this has one SWCV under it, also called "MY_SAP_BASIS". This SWCV has a dependency on "SAP BASIS 4.6c". Now, on the Technical and Business systems involved, the Product "MY_SAP_BASIS" is installed. This, as you would expect from the dependency, brings across the "MY_SAP_BASIS" SWCV and the "SAP BASIS 4.6c" SWCV, so they are both installed on the technical system . So I don't know what else I should be adding? Unless my understanding of Software dependencies is incorrect, I think my config looks right in the SLD. The SWCV under which the IDoc imports are done is "SAP BASIS 4.6c", and this is installed on both the technical and business system. The only difference is that it gets there through a software dependency, and is not added "directly". In IR I can see the imported objects under the "MY_SAP_BASIS" SWCV - in the "Basis Objects" section.
    Is there anything else anyone can suggest?

Maybe you are looking for

  • Video transfer not working

    I have ipad mini and I do my update to ios8, then after updated  I cannot  transfer  video files to the ipad

  • No Thumbnails For NEF's from Mem Card or CD

    Hello, I have a problem that just started in Bridge(never happened before). When I try to preview NEF files in Bridge I get a Photoshop icon and no thumbnail preview. I can't open these images from Bridge either. If I copy the files to my harddrive I

  • In sales order does not not show sales bom component

    hi to all,             it is possible if i create one sales order and i connect one sales bom to order and do not display component of sales bom in sales order so pls tell me procedure.pls tell me how to set print layout of sales order without sales

  • How do I manage Video Ram size

    Hello, I would like to ask how do I adjust the size of video ram in OSX and windowsXP. I have read someone's post saying that it is not user changeable in OSX. if it is not changeable, when will it changeable to a larger size? How about in windowsXP?

  • Oracle 10.2.0.4 Update Patchs

    Dear All, I have Oracle 10g Release 2 Patch 4 (10.2.0.4) installed on Linux x86 and on Windows 2003 Enterprise Edition. Now i wna to update both of them in to 10.2.0.4.4 and 10.2.0.4.5 in Linux and in windows too. Can you help me which patch i should