Receiver interfaces condition

Hello All,
In PI 7.31, I am trying to insert 1 receiver interfaces condition to check if the source field is not empty, then do not execute the interface
I have given the condition as ns0:Material_MT/row/flag # (not equal) and right operand is blank and checked multiline checkbox
In my case, the source structure is 0..unbounded where I use a select statement to fetch mutiple records (row)
So the structure is like this below
<MT_Material>
<row> 0..unbounded
<matid>
<flag>
</row>
</MT_Material>
The condition is not working so I am assuming its wrong. And also since the source structure is 0..unbounded, how do I specify the condition ?
is the multline will take care of 0..many?
thx
mike

I think I haven't made my question clear
I have 2  receiver interfaces in the ICO for one outbound interface and I am maintaining maintain order at runtime checkbox for these 2
For the second interface, I have to execute only if it satisfies the condition given below
ns0:Material_MT/row/flag and ns0:Material_MT/Material ID not equal to space, then call the 2nd interface
how do I write the condition??
if the source structure ns0:Material_MT is 0.unbounded, how do I mention that in the condition editor? is it multiline check box?
pls help
thx
mike

Similar Messages

  • Receiver Interface Conditions

    Hi all,
    I am trying to put the following condition into Receiver Interface. But Its not working any alternatives??
    (count(/ListOfReferenceCoded/ReferenceCoded/ReferenceTypeCodedOther[../ReferenceTypeCodedOther = 'LIMIT_VALUE']) = 0)

    thake a look to this thread
    Reg:'XPATH' Expressions in Receiver Determination and
    blog /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    blog /people/abhishek.salvi/blog/2009/07/15/sap-pi71-receiver-determination-xpath-and-you
    Edited by: Rodrigo Alejandro Pertierra on Sep 29, 2010 2:25 PM

  • IDOC - BPM - IDOC  Error --no sender or receiver interface definition found

    I have an integration scenario, IDOC - BPM - IDOC. SAP will send ACC_GL_POSTING IDOC to XI, a BPM will start and then the BPM will send an IDOC to another SAP system.
    I have read instructions on weblogs:
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    The scenario has been successfully tested in the Test Configuration Tool. However, when I try send IDOC from the source, I received the message below in the trace.
      <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="3" type="T">Processing mode is</Trace>
      <Trace level="3" type="T">created BPE proxy for message B45CB0079DFA814BAD22CD1ED64CA6AB</Trace>
      <Trace level="1" type="B" name="interface activity determination">
      <Trace level="1" type="T">Version 000</Trace>
      <Trace level="1" type="T">Message status 000</Trace>
      <Trace level="1" type="T">Interface action INIT</Trace>
      <Trace level="1" type="T">(must be INIT for a new determination)</Trace>
      <Trace level="1" type="T">start CHECK_INTERFACE</Trace>
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface ACC_GL_POSTING.ACC_GL_POSTING01*</Trace>
      <Trace level="1" type="T">select interface namespace urn:sap-com:document:sap:idoc:messages</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface ACC_GL_POSTING_abs*</Trace>
      <Trace level="1" type="T">select interface namespace http://summaryFinancial.sap.dominofoods.com</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="1" type="T">end CHECK_INTERFACE</Trace>
      <Trace level="1" type="T">Set interface action DEL into MAST</Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_IDX_IDOC_RESOURCE-GETBLOBDATA" />
      <Trace level="3" type="T">inserted message into pipeline PE_ADAPTER</Trace>
      <Trace level="1" type="Timestamp">2007-04-30T18:32:30Z EST qRFC raised on XBQO$PE_WS91000003</Trace>
      </Trace>
    Thanks,
    Sergio

    Rajeev,
    The source system in the receiver determination is connected to R3. Other IDOCs are coming across the XI system.
    Below is some trace information in the Receiver Determination.
      <Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      <Trace level="2" type="T">Start without given receiver</Trace>
      <Trace level="2" type="T">Classic Receiver Determination via Rules.</Trace>
      <Trace level="2" type="T">Check conditions for rule line no. 1</Trace>
      <Trace level="2" type="T">...valid Receiver w/o Condition: - IP_GeneralLedger</Trace>
      <Trace level="2" type="T">No Receiver found behaviour: 0</Trace>
      <Trace level="2" type="T">Number of Receivers:1</Trace>
      <Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      <Trace level="2" type="T">Check conditions for (Inb: Party Srvc If) IP_GeneralLedger ACC_GL_POSTING_abs</Trace>
      <Trace level="2" type="T">...valid InbIf without Condition: ACC_GL_POSTING_abs</Trace>
      <Trace level="2" type="T">Number of receiving Interfaces:1</Trace>
    Thanks,
    Sergio

  • Choosing Receiver Interface (IDoc or RFC) without using BPM

    Hi,
    We have a scenario wherein the receiver interface (either IDoc or RFC) must be dynamically determined at runtime based on the source message. I've tried using Multi-Mapping but this did not work since IDoc and RFC interfaces are not on the same Adapter Engine.
    How do I configure this scenario without using BPM?
    Thanks,
    Francis

    Hi,
    >That was my first solution but it did not work since it seems that conditions only work for determining the Operation Mapping to use for the same Receiver interfaces.
    not true - not only Operation Mapping but also receiver agreement
    so the receiver's channel
    >I was misled into thinking that we could use it to dynamically determine the receiver interface.
    but you can do it over there
    intrface determination can be used for pseudo receiver determination too
    so you can have one interface that either goes to one
    channel or the other (within the same receiver)
    Regards,
    Michal Krawczyk

  • PI 7.1 Sender Interface and Receiver Interface  gets interchanged

    Hi All,
    I m facing a strange problem in PI 7.1
    For many of my scenarios, the Sender Interface, sender namespace and receiver Interface, receiver namespace  information gets interchanged and displayed incorrectly.
    But sometimes its working fine.
    When we analysed the Log messages, found that, after xml validation step, the sender and reciever interface gets interchanged.
    Any idea why this happens?
    How to rectify this error?

    Aarthi,
    Please check your message interfaces once again. Sender is outbound and Receiver is inbound.
    Also please check your receiver determination.
    Regards,
    ---Satish

  • Code to retrive the sender and receiver interface names using custome adapter module

    Hello Team,
    I want to develop an custom adapter module which could retrieve the names of the sender and receiver interfaces of the scenario and for that i am trying to use com.sap.aii.af.service.administration.api.monitoring.ProcessContextFactory.ParamSet but i don't know whether this API will support or not and also i don't know how to develop the code using this API so please suggest me some code for it so that i could retrieve the names.
    Thanks you all in advance.
    Regards,
    Avinash.   

    Hi,
    Just ASMA setting will do the needful. Are you planning to rename your target file name. If yes then only you will require UDF.
    Update: Since your directory name will be taken from source file name then you have to use mapping for this, else it will not be possible.
    I don't know if creating a new module for this will help you solve the issue, but in that case rather creating adapter module, mapping will be easier.
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Dec 7, 2009 3:04 PM

  • No sender or receiver interface definition found

    Hi,
    I have designed an JDBC to R3 scenario.
    In the XI system SXMB_MONI the message was processed successully on the outbound side.
    On the R3 side. in SXMB_MONI => Trace there is a message like
    no sender or receiver interface definition found
    What could be the problem. I have checked the IR and ID settings.
    Everything seems to be OK. Is there a problem with the Queues.
    Please suggest.
    Thanks
    Kumar

    Hi,
      We have encountered same error in one of our scenarios. When we restarted these messages they were successfully processed. This could be probably because of the cache update failure at that particular instance when the message was posted.
    Restarting the message through SXMB_MONI could probably solve the problem sometimes.
    Regards
    Sai

  • RFC to BPM - Error in receiver interface

    Hi everybody,
    I have created the scenario below.
    i imported the ZStart_Job rfc from R/3
    i created the MI_Start_Abs (abstract and async) - message type is same from ZStart_Job
    i created the BPM_Job where the send interface is MI_Start_Abs.
    i configured the sender and receiver agrameent, receiver and interface determination and others.
    i actived everything.
    When i execute the "call function ZStart_Job", the execution dosent return error in Message Monitoring, but appears one green flag with hit "Scheduled".
    In XML body show the error below
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
    Can anybody help me?

    Guys,
    I used the Configuration Wizard for create configuration again.
    But occurs the same error below
    <Trace level="1" type="T">--start receiver interface action determination</Trace>
    <Trace level="1" type="T">Loop 0000000001</Trace>
    <Trace level="1" type="T">select interface</Trace>
    <Trace level="1" type="T">select interface namespace</Trace>
    <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
    <Trace level="1" type="T">Hence set action to DEL</Trace>
    PLEASE, can anybody helpe me?

  • 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 interfaces problem...

    Hi all...
    I have 2 questions...
    1. Can we use multimaping in which both proxy and other adapter(say File or Mail) are in receiver side without any BPM?
       If yes lemme know how please...
    I could not do the above so i am going for 2 different mappings.....
    2. Can i use the same receiver interface in more than 1 flow for the same sender and receiver components but the sender interfaces are in different namespaces?
    I am trying to do above but i am getting the following error...
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
      <SAP:P1>Inbound interface found several times (for same sender and receiver) for the outbound interface urn:np.atl.warrants.stage2meterplus.WarrantsS2Meterplus_OB</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error when determining the inbound interface: Inbound interface found several times (for same sender and receiver) for the outbound interface urn:interface_OB Inbound interface found several times (for same sender and receiver) for the outbound interface urn:interface_OB</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can any1 please throw some light on this issue..
    Thanks in advance..

    > 1. Can we use multimaping in which both proxy and other adapter(say File or Mail) are in receiver side without any BPM?
    Yes, you can do it without BPM if it is 1:N mapping but if it is N:1 then you have to use BPM.
    I could't realize while answering. It is not possible, see the reason given below by Sanjeeve.
    > 2. Can i use the same receiver interface in more than 1 flow for the same sender and receiver components but the sender interfaces are in different namespaces?
    No, you cannot do like this. You can see it is clear from the error message it self that "Inbound interface found several times (for same sender and receiver)".
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Dec 14, 2009 8:54 PM

  • Picking wrong Receiver Interface

    Hi,
    I am working on IDoc to SOAP scenario using BPM. When we are triggering 100 idocs at a time, in that 2-3 are picking wrong receiver interface and other are working properly. Why this is happening and how to correct it?
    Thanks & Regards,
    Pragathi.

    Pragathi,
    This looks like some caching issue. Please ask the basis team to check. If the Idoc messages are big and as you mentioned, there are 100 IDocs triggered at the same time and you are using IP as well, these all could impact the overall system cache. A lot of resources will be used to complete this process, if my assumptions are right.
    Regards,
    Neetesh

  • Import from receiving interface

    Hi All,
    I have inserted data into rcv_headers_interface and rcv_transactions_interface.
    The data is in PENDING status and how can I trigger the importing operation??
    In sales order interface, I can run "order import" concurrent program, but what should i do for importing data from receiving interface??
    Thanks in advance.
    Best regards,
    Zhxiang.
    Message was edited by:
    zhxiangxie @ 2007-01-22

    I hope the other table RCV_TRANSACTIONS_INTERFACE
    if the item is standard and not lot/serial based insert data into RCV_HEADERS_INTERFACE & RCV_TRANSACTIONS_INTERFACE and run Receiving Transaction Processor.

  • Multiple Receiver Interface in integrated config(AAE)

    Hello Experts,
    We have a SOAP to RFC synchronous interface.There is a requirement where we have a Single Sender interface(Single Sender System) and based on the value in Payload we have to select either of two different Receiver RFC interface(Single receiver System). I am not sure whether we can select either of two different  RFC interface for the same Receiver system in an Integrated Configuration(AAE).
    Appreciate your help!!!
    Thanks.

    Hi,
    Alternatively, you can opt to use multi-mapping, with the occurrences of each message set to 0..1. The interface is triggered via conditions. In ID, you would be declaring an Enhanced Interface Determination.
    Hope this helps,

  • In Multimapping how can we configure the Receiver , Interface Deter for BPM

    Hi Friends ,
    I am trying the the BPM scenario using Integration Process
    BpmPatternCollectTime
    from SAP BASIS ® SAP BASIS 7.00 in the namespace http://sap.com/xi/XI/System/Patterns
    I have done the scenario like the above . I have followed all the Steps which are used in above scenario.
    I am using a File Sender Adapter and Receiver Adapter .
    It is Successfully picked up the File but nothing is happening after that .
    I am using two receiver Determination one from Ob to IP and other from IP to FIleReceiver ( IB) .
    But, I am Getting error as Block1 (No agent) Error in the PE graphical diagram
    I have checked in SWWL my Integration Process Return code is "0"
    The steps Which i have followed in BPM are
    1. Block with Deadlkine branch and Exception handler( as TimeOut Exception)
    Block Start and Block End as New Transaction
    2. Inside Block infinite Loop which contains Receive step ( Actives the Correlation ) and Multiline Container element which appends the Messages with CollectMessage
    3. Transformation Step
    It creates the New Transaction and Interface Maping from CollectMessage List to New Mesage
    4. Send Step
    It sends the New Message . It creates the New Transaction .
    Can you Please tell me how to configure the Receiver and Interface Determination for the above scenario ?
    Regards.,
    V.Rangarajan

    Hi Ranga
    have a look at these
    you can ref: this link to find example where a receiver determination step is used in BPM- http://help.sap.com/saphelp_nw04/helpdata/en/43/6211b11c895f6ce10000000a1553f6/content.htm
    More abt RD step in BPM - http://help.sap.com/saphelp_nw04/helpdata/en/14/d5283fd0ca8443e10000000a114084/content.htm
    if useful pls reward

  • How to use Native SQL statement in JDBC receiver interface

    Dear All,
    Can any one please help us in using Native SQL statement in a JDBC receiver channel. The reason why I need to use Native SQL statement instead of standard XML structure is that I need to execute a dynamic SQL query in third party database system lke:-
    Select Field1 Field2 from TABLE Where Field3 like "%Name'
    I expect the the response in the form of XML file which I can pick up using synchornous interface as mentioned on help.sap.com:-
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    The value for %Name can change dynamically according to the transaction and hence cannot be inluded as a KEY element in standard XLM structure,
    Hence I need to know:-
    1. What message mapping I should use in case if I have to use Native SQL statement.
    2.What operation mapping I should use in case if I have to use Native SQL statement.
    If guess correclty I may have to use Java mapping to do the above activities. Hence I want to know
    3 .How do to go about it to do the Java mapping.
    Thanks
    Ameet

    >
    Ameet Deshpande wrote:
    > Dear All,
    >
    > Can any one please help us in using Native SQL statement in a JDBC receiver channel. The reason why I need to use Native SQL statement instead of standard XML structure is that I need to execute a dynamic SQL query in third party database system lke:-
    >
    > "
    > Select Field1 Field2 from TABLE Where Field3 like "%Name'
    > "
    > I expect the the response in the form of XML file which I can pick up using synchornous interface as mentioned on help.sap.com:-
    >
    > http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    > http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    >
    > The value for %Name can change dynamically according to the transaction and hence cannot be inluded as a KEY element in standard XLM structure,
    >
    > Hence I need to know:-
    >
    > 1. What message mapping I should use in case if I have to use Native SQL statement.
    > 2.What operation mapping I should use in case if I have to use Native SQL statement.
    > If guess correclty I may have to use Java mapping to do the above activities. Hence I want to know
    > 3 .How do to go about it to do the Java mapping.
    >
    > Thanks
    > Ameet
    You can use a stored procedure, and call it from jdbc receiver adapter.
    I also solve this issue, with a DBLookup in message mapping. You can refer to my blog, and this usefull 3d:
    http://simonlesflex.wordpress.com/2010/12/07/pi-oracle-dblookup/
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

Maybe you are looking for

  • How to automate an oracle 8i database startup

    I have an Oracle 8i database with the SID = MUKREC and installed on C:\ Whenever the computer is restarted, the database doesnot startup automatically But has to be started manually. What could be the cause of this issue and how can I resolve it. So

  • Changing smart object file format

    I've got a great problem with the smart objects in my project: I imported some Images (no background) which had the file format 'png'. I just dragged and dropped the files into my current photoshop window. They got imported and then automtically conv

  • Externalizable and compatibility with existing serialized objects

    I have an object in a db in a serialized state as a result of writeExternal. I want to change the class's writeExternal and readExternal such that a String that should have been serialized is now serialized. What is the best practice for supporting e

  • How to upgrade Satellite M100 to Win8?

    I have downloaded W8 and tried to upgrade over Vista home premium. At the end of the installation there was an error message that Windows installation was not successful, and that the previous version of Windows was being restored. The machine is a S

  • Disable RSS in Safari 4?

    Still looking before I leap: I have RSS disabled in 3.2.3 with the following Terminal command: defaults write com.apple.Safari DebugSyndicationEnabled 0 Does anyone, perhaps, know if this command will work with Safari 4 (Tiger PPC)? I will probably r