XPATH & RECEIVER DTERMINATION

My scenario is Invoic02-file
I configured the 2 receivers in my receiver determination.
Both receivers belongs to same party.
I want to determine the receiver depending on my inbound payload.
Its working fine withought condition,in this case invoice is going to both the places.
But I want to send it one receiver depending on my inbound payload.
If I use the condition to determine the receiver ,I'm getting the following error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Receiver Identification
  -->
- <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="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
  <SAP:P1 />
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>No receiver could be determined</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
I tried using  both ways (XPATH & Context Objects ) to set the condition.I'm getting the same error.
can someone please provide good information to identify and resolve this issue ??
Thanks
sagar

I set the condition in this way..
Condition if(  A = 0    )
party   LEFTIN LEFTIN   
Service Serive1  Service2
if A = 0 then the receiver is Service1.
If A != 0  receiver is Service2.    
is this is a correct procedure??
Message was edited by:
        sagarkavi srungarakavi

Similar Messages

  • Multiple Receiver Dtermination from Same Business Sender Service to RecvStp

    Hi,
    I was trying to implement FORK STEP in ccBPM. Scenario I'm trying to implement is, using fork bundle PO with same items together.
    Can anybody help me to create multiple receiver dterminations for three receiver steps in three branches of fork step, where a common business sender service and same Integration process is used for receiving messages into SAP XI.
    Please advice soon,
    Thank You,

    Hi Murali,
    If it's always the same message, only one receiver determination is necessary. I'd also rather tend to do the capturing within a loop which is executed three times.
    Best regards
    Joachim

  • Receiver dtermination problem???

    Hi Xi Friends..
    outbound scenario..i.e..
    in my idoc to file scenario...
    receiver determination:
    sender service :SAP
    sender interface :wmmbid02 (idoc)
    configued receiver is :bs_1 ( business service )
    in another scenario..idoc to file..
    in receiver determination
    same sender and same  sender interface ..ie..idoc.. (as in above scenario)
    configured receiver is :bs_2
    i copied the receiver determination from first secarion and i assigned configuered receiver as bs_2 ..and acivated ..
    i observed that in first scenario...in receiver determination..configured receiver is changed to bs_1 to bs_2..
    but i want in first idoc to file..configured as bs_1..
    please help me..its urgent
    thanks and regars
    Ram

    hi sabarish...
    thank alot for your response..
    <i>/WMMBID02/IDOC/E1MBXYH/E1MBXYI/GRUND = and in the right operand dont specify anything (empty field) then bs_1
    </i>
    if that field..GRUND exists then it is going on bs_2
    if its not exixting then i am getting error in sxmb_moni like this....
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Receiver Identification --> <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="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>No receiver could be determined
    </SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>
    please guide me
    thanks and regards
    Ram

  • Receiver dtermination condition ...????

    Hi..friends...
    its IDoc - to -file..
    based on the idoc ,one of the segments filed value...i need to plave the file on related FTP server..
    earlier i discussed in thread...FILE to ABAP Proxy
    in the receiver determination..in condition ..
    i given like this ...
    HRMD_A05/IDOC/E1PLOGI/E1PITYP/E1P0002/NAMZU = 1 then Bs_ftp1
    HRMD_A05/IDOC/E1PLOGI/E1PITYP/E1P0002/NAMZU = 2 then BS_ftp2
    the segment  E1P0002 occurance.. 999999
    in one Idoc, segment  E1P0002  conatins similar values like  NAMZU=1 the the file is placing on Bs_ftp1
    in one IDoc,if  segment  E1P0002  conatins for  NAMZU=1 and another E1P0002 conatins NAMZU=2 then the file is placing on both Bs_Ftp1 and Bs_Ftp2 ..its not checking the condition in the condition editor....
    please help me..
    regards
    ram

    Hi friends...
    now its going to respected BS_ftps
    in my idoc i given three times of E1P0002
    first E1P0002 segment for NAMZU=1
    second E1P0002 segment for NAMZU =2
    third E1P0002 segment for NAMZU =1
    so my output xml should be on BS_ftp1 (if NAMZU =1 ) like this
    ( i given 2 two segments for NAMZU =1 ..here id is incremental value how many times the NAMZU =1 repeating)
    <Assignment Operator id =1 >
    < userid =.................................>
    </Assignment Operator>
    </Assignment Operator  id= 2>
    <userid=....................................>
    </Assignment Operator>
    for Bs_ftp2 the xml file should be..
    <Assignment Operator id =1 >
    < userid =.................................>
    </Assignment Operator>
    i created some UDF like this....
    Udf no input parameters and of type value..
    public String countId(Container container)
    int counter = 0;
    counter++;
    return(""+counter);
    and i assign this UDF to assignment Operator.
    and i am getting
    1 for id..
    each and every time i am getting 1 only..
    i created another UDF like this..
    public void countingId(String[] sNamzu,ResultList result,Container container){
    int counter =1;
    for (int i=0;i<sNamzu.length;i++)
    if(sNamzu<i>.equals("1"))
    result.addValue(counter+"");
    counter=counter+1;
    NAMZU>remove context>countingId>SplitByvalue(Each vlue)>id
    if i do like this ..display queue..is working fine..
    but in runtime...its
    i am getting o/p file this
    <assignment operator id =2>( i given 2 values for NAMZU =1)
    <user id=....................>
    </assignment operator>
    <assignment operator >( id is missing )
    <user id=...............>
    </assignment operator>
    please guide me..how to write UDF to get required output..
    regards
    Ram

  • Receiver Dtermination

    Hi,
    When Iam creating Receiver Determination its showing both BusinessService SEnder and Receiver which I have to select, in one document suggested to select sender.My question is why I have to select sender while receiving we have to select receiver business sytem PLz clarify my doubt.
    Thanks in advance

    Hi Prasad,
    You use a receiver determination to specify which receivers a message is to be sent to. You have the option of defining conditions for forwarding the message to the receivers.So,sender service has to be selected while you create the receiver determination and the receiver of an XML message is determined during inbound processing.This determines how processing will continue, depending on the number of receivers found.
    Please let me know if this cleared your doubt

  • 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

  • File2file Receiver Determination Problem

    Hi All,
             I am doing File2file my IR part is activated in ID part I creater 2 CC in Business Service sender with FCC and Receiver with Normal XMLfile after this step Iam trying to create my Receiver Determination Its showing that NO OBJECTS FOUND in interface and Namesapce column.
    Regards,
    Eswar.

    In case your doubt is still not cleared:
    When you create Receiver Determination (ID --> New --> receiver Dtermination), in the pop-up window you select the Sender Business Service and the corresponding Sender Message/ Service Interface .....now this message interrface should be first assigned to the Business Service.....now after we create the RD, we enter the corresponding Receiver Service/ System thereby creating the first relationship between the Sender and Receiver Service/ System in XI/ PI.
    The above selection holds true for any scenario developed in XI/ PI.
    Regards,
    Abhishek.

  • Reg enhanced Receiver determination

    Hi Guys,
                if i have to send data to 10 receivers  but how many Interface Determinations i have to create
                could anyone give me about enhanced Receiver determination
    Thanks

    Hi Khusee,
    You will have the following,
    1. 1 receiver dtermination where you cna keep on adding the 10 receivers but do not specify any condition
    2. create 10 different mappings - one for each receiver but the source structure in all of them would be the same only the target structure will keep on changing.
    e. g suppose source structure has 100 fields ....then consider mapping 1 which is for receiver 1 ...
       here you cann mapp say 10 fields to the target structure ...in mapping 2 for reeiver 2 you can map say only next 5 fields to the target strucure so on and so forth
    3. you will also have 10 interface mappings
    4. 10 interface determinations where you can specify the mappiings created above.....
    hope it helps

  • XI thread count per Receiver Determination rule

    Does XI create interface instances/threads per rule found within a Receiver Determination? Such that we should expect one thread per rule? How are threads related to each rule within the receiver determination? What is the ratio, 1 thread per rule, or one thread per receiver determination? What is the impact on system performance in relation to rule count?

    See an Adapter works in AE and Receiver Dtermination in IE......for receiver Determination to work the message should be first picked by your sender adapter.....only then it comes to determination (in IE).
    But note that messages picked up by one sender channel will be coming to the determination (even if it has n conditions)......we wont have multiple channels picking the message and delivering to same determination...
    The number of conditions satisfied by the determination will initiate that many receiver adapter threads.....and it is just because of the conditions being validated (as true) and not because of the number of conditions being maintained.

  • Message interface does not exist in any software components installed

    "Message interface does not exist in any software components installed on this business system"
    Essa é a mensagem de erro que estou tendo ao tentar configurar o XPath Receiver Determination do cenário SRVSC_WebAS_Outbound_ServiceStatusCheck.
    Já notei que a mensagem dá porque o meu BS da NFe não está com o SWCV SAP SLL-NFE 1.0. Mas isso só no ID porque no SLD ele aparece. Não sei mais o que fazer pra ele aparecer no ID. Já eliminei o BS, executei um refresh do cache do SLD, depois executei um refresh full e nada! Quando eu crio o BS novamente, ele vem sem o SWCV SAP SLL-NFE 1.0.
    Tive que configurar o XPath na mão para todas as SEFAZes!!!
    Já li vários threads a respeito desse erro e executei vários procedimentos sugeridos, mas nada.
    Alguém já possou por isso?!?

    para ser mais preciso, verifique no payload de envio e recebimento da mensagem de verificacao de status do servico se estao correspondentes ao que estao abaixo, essa mensagem é de verificacao do SEFAZ de SP (35) para o ambiente de homologacao
    (SENDER)
    <?xml version="1.0" encoding="utf-8"?><n0:nfeStatusServicoNF xmlns:n0="http://sap.com/xi/NFE/005a" xmlns:prx="urn:sap.com:proxy:PID:/1SAI/TASE95D30ADB76F1544C2D5:700:2009/02/10" xmlns:n1="http://www.portalfiscal.inf.br/nfe"><n0:cUF>35</n0:cUF><n0:tpEmis>1</n0:tpEmis><n0:tpAmb>2</n0:tpAmb><n0:nfeCabecMsg><n1:cabecMsg versao="1.02"><n1:versaoDados>1.07</n1:versaoDados></n1:cabecMsg></n0:nfeCabecMsg><n0:nfeDadosMsg><n1:consStatServ versao="1.07"><n1:tpAmb>2</n1:tpAmb><n1:cUF>35</n1:cUF><n1:xServ>STATUS</n1:xServ></n1:consStatServ></n0:nfeDadosMsg></n0:nfeStatusServicoNF>
    (RECEIVER)
    <?xml version="1.0" encoding="UTF-8"?>
    <nfeStatusServicoNFResponse xmlns="http://sap.com/xi/NFE/005a"><nfeStatusServicoNFResult><retConsStatServ xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.07"><tpAmb>2</tpAmb><verAplic>SP_NFE_PL_005e</verAplic><cStat>107</cStat><xMotivo>Serviço em Operação</xMotivo><cUF>35</cUF><dhRecbto>2010-05-26T09:37:22</dhRecbto><tMed>1</tMed></retConsStatServ></nfeStatusServicoNFResult></nfeStatusServicoNFResponse>

  • File to RFC synchronous scenario

    Hello Friends,
    I have a file to RFC scenario.
    Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
    I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
    Does anyone have such scenario example.
    Kindly share.
    Edited by: vishal kharat on Aug 5, 2011 2:47 PM

    Hi Mr.
    You can follow this example, regarding BPM implementation:
    http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
    For XPath Receiver Determination, follow this links:
    http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
    http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI

  • Empty payload for idoc adapter

    Hello,
    I have a file to idoc scenario with an xslt mapping. Normaly after the mapping the idoc looks like:
    <wpwuw>-
         <idoc>...</idoc>
         <idoc>...</idoc>
    </wpwuw>
    Because of the business requirements in some cases the mapping should not generate an idoc. That means I have to create an empty payload.
    The problem is that the idoc adapter creates an error for all kinds of empty messages.
    a) empty payload
    b) empty trading segment  ( <wpwuw></wpwuw> )
    c) empty idoc segment  ( <wpwuw>-<idoc/>-</wpwuw> )
    Any idea what I can do not to get an error from the idoc adapter ?
    Regards Bernd

    HI
    instead of creating empty paylaod. Use conditional(enhanced for mapping & standard for condition on Xpath) receiver determination for this and dont generate IDOC for the specified conditions.
    Thanks
    Gaurav

  • Error importing/activating Configuration tpz files

    Hi All,
    I am trying to import Configuration tpz files from one XI server to another. I have defined Transport Targets for all the Business Systems in the SLD also.
    In Configuration, all the objects for a particular scenario are imported correctly from the tpz file, without any error. All these inactivated objects are grouped under a single change list called "XI 3.0 Import".
    But while truing to activate this chage list, it gives error "Unable to activate <Receiver Determination> - Object <Receiver Communication Channel> does not exist".
    I am also unable to activate any of the objects individually.It gives message "Unable to move object. Change lists were not part of the same import",
    Any ideas on how to proceed?
    Regards,
    Puloma.

    Hi All,
    The problem is now solved.
    We deleted the offending Receiver Determination objects from the Change List, and the rest of the change list was activated without any further errors. We now just have to re-create the Receiver dtermination objects.
    Theo,
    The communication channels in the original configuration were assisgned to scenarios.Also, re-creation of new Communication Channels was useless, as the resp. Business Systems were inactived.
    However, the problem is now almost solved, as we don't have to replicate the entire Configuration manually, just the Receiver Determination.
    Regards,
    Puloma.

  • Condition with mulitple Expressions

    I have the following file structure of an ORDERS05 Idoc and I need to setup conditions in the Receiver Determination to find the correct Interface Determination and Receiver Agreement.
    sample File:
    - <E1EDK14 SEGMENT="1">
      <QUALF>006</QUALF>
      <ORGID>10</ORGID>
      </E1EDK14>
    - <E1EDK14 SEGMENT="1">
      <QUALF>007</QUALF>
      <ORGID>10</ORGID>
      </E1EDK14>
    - <E1EDK14 SEGMENT="1">
      <QUALF>008</QUALF>
      <ORGID>1000</ORGID>
      </E1EDK14>
    - <E1EDK14 SEGMENT="1">
      <QUALF>012</QUALF>
      <ORGID>ZPH1</ORGID>
      </E1EDK14>
    I need to set a condition to these criteria
    Option1:
    E1EDK14 QUALF ‘012’ ORGID ‘ZPH1’ or
    E1EDK14 QUALF ‘012’ ORGID ‘ZPH2’ or
    E1EDK14 QUALF ‘012’ ORGID ‘ZC2’   and
    if exsists E1EDK14 QUALF ‘019’ ORGID not equals ‘ZEDI’
    --> this is the example case above
    Option2 with a different map from Option1:
    E1EDK14 QUALF ‘012’ ORGID ‘CCR’ and
    E1EDK14 QUALF ‘019’ ORGID ‘ZEDI’
    Option3 do not process these:
    E1EDK14 QUALF ‘012’ ORGID ‘ZPH1’ or
    E1EDK14 QUALF ‘012’ ORGID ‘ZPH2’ or
    E1EDK14 QUALF ‘012’ ORGID ‘ZC2’   and
    E1EDK14 QUALF ‘019’ ORGID equals ‘ZEDI’
    Any idea if that can be setup in the Condition Editor ? I know a workaround would be to have a dummy map from ORDERS05 to ORDERS05 and write a single criteria in the Header, but that seems like too much overhead....
    Thanks for  any help.

    Hi Andrea,
       Ur conditions look a liitle complex. So u can determine ur rceiver at runtime by provicing the conditions in the mapping itself whr u can hv all combiations. This is called Extended Receiver determination. You can see the option in receiver dtermination itself.
    Plz check he following link
    <a href="/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16:///people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    But, there r options for checking existence of value in he simple receiver determination also. So u can check those and see if its possible with tht.
    Regards,
    Akshay
    Message was edited by:
            Akshay Salunke

  • Sending an Email from UDF if incoming file is empty

    Hi All,
    My scenario is :
    File -XI- File
    My requirement is if incoming file is empty then XI should send email to a recipients list with a custom message saying that "No Error Records".
    Where should be the logic to send this email?
    Should I create an UDF to send this email in the mapping(at the root node)?What should be the code in the UDF(to send email)?
    Can anybody please help me for this scenario?
    Thanks in advance!
    Shweta.

    Hi Shweta,
    Sending mail is not possible via UDF.
    But in case if the empty condition is failed then you could create the Mail communication channel and use it with conditional routing in Receiver determination.
    1. Create two Business services one for receiver File and one for receiver Mail.
    2. Now in Receiver dtermination..open the Conditional editor where check if the fields are empty...
    3. If its empty recevier mail adapter will be called and Notification mail will be passed with required information.
    4. If the values are avaialble in field then the File to File scenario will be executed.
    Thanks
    Swarup

Maybe you are looking for

  • Does anyone know how to download multiple attachments in icloud mail?

    Have tried looking for an answer for this for a long time, but it seems its not possible. Or am I wrong?

  • Object to upload the file in SAP

    Hi All I have a problem while uploading the .txt file, when i am trying to upload it just says upload failed, I added the objects S_GUI and S_DATASET objects,but still  no effect. Can any body provide any information or hint. I ran Su53 and this is s

  • JMF and the Darwin Streaming Server

    Has anyone been successful in getting the JMF JMStudio to work with the Darwin Streaming Server? I have set up Darwin on my computer and encoded a sample .mov file using a codec that is supposed to be compatible with JMF, the H.263. I was able to vie

  • Time  to serialize 10,000 simple objects to a disk file usi

    I heard the default serialization routine is slow. So how slow. Let's say I have 10,000 simple objects. How long does it take to serialize them to a disk file using standard Java serialization? Can anybody give some idea? Thanks a lot !

  • Asset calculate depreciation by unit of production method

    Hello Everyone,        since SAP go live , our SAP system use calcuation depreciation by straight line method in all asset class but now we would like to change  asset class "Machine" calculate depreciation by unit of production method . we want all