Conditional base routing to multiple receiver's for syncronous interface

Hi All,
I have a requirement of sysnchronous interface where i need to send the message to 2 diffrent systems based on the routing condition. Based on routing condition we will determine the receiver to send message and response shloud send back to sender.
Please let me know my requirement is possible using sysnchromous call i.e sending to multiple receiver's based on conditon. Thanks.
Regards,
KK
Message was edited by:
        kalpana k

Aamir,
I dont think BPM is required here,XI always use mesasgeID as the reference.
lets say you sent a request then XI generates message ID :11111 (for Ex)
and for the response XI again generate another message ID:22222(for Ex),but referencing to MessageID:11111,it cant be to some other request message ID.(always reference is maintained by XI for Sync calls)
so we dont need to maintain any relationship between request and respone ,explicitly.it is being taken care by XI itself for sync calls.
response1 for a request1 wont go to someothers  request2.
I dont know whether you get my point what I was trying to say.
and just using Xpaths in receiver determination would give the solution.but need to have two Receiver agreements.
I might be wrong !
thank you,
regards,
Babu Sri

Similar Messages

  • Multiple receiving points for BPEL

    Can we bind one BPEL to multiple Adapters, for e.g. File and JMS adapters calls the same BPEL as well as we should be able to send SOAP messages from a SOAP client to the same BPEL? (Multiple receiving points for one BPEL)
    here is what i need to do
    To create an adapter we create an partner link and bind that partner link with the "receive activity", as I understand we can bind only one partner link with "receive activity", but if I create a "file adapter" partner link and a "JMS adapter" partner link, how do I bind both of them with "receive activity"? so i dont need to write a seperate BPEL for each adapter.

    I have a similar problem but the tutorial does not solve my problem and I think it does not solve the jms and file process either.
    I want to have a process to receive a message, do things and then receive another message. The difference with the tutorial is that in the tutorial the Buyer is called, it calls to the seller and gets the response. In my case (and in the jms and file example), we wanto to get to receive the second time without invoking first to a process.
    (In my case the client is the same, but need to send two messages, in the first message ask for a operation and gets an Id. In the second message it sends the Id to confirm the operation. I could do that with two processes, but I prefer to do it with one process if possible. I am trying to use the Id to correlate the second receive).
    I am using correlations set and two roles for the process entry point (one for the first receive in the process and another for the second receive in the middle). But in the second role, when I see the generated WSDL from the console, the endpoint is something like http://set.by.caller, instead of a real endpoint.
    How can the second client call my process ? what endpoint should it be using ?
    Can a process expose two endpoints to be called ? How ?
    Thanks.

  • Dynamic receiver determination for synchron interface

    Hello everybody,
    I want to use dynamic receiver determination for a synchron scenario.
    The problem is, that the interface 'ReceiverDetermination' (http://sap.com/xi/XI/System SAP BASIS 7.00) is a asynchron interface.
    This leads to an error when activating the Interface-Mapping (synch source Interface -> asynch destination Interface ReceiverDetermination)
    Is there a way to use the dynamic receiver determination for synchron interface?
    Thanks a lot,
    Thomas

    Hi Thomas,
    I guess your scenario is not possible ASIS, since XI doesn't support 1:n for sync interfaces (and even if your mapping condition reduces it to 1:1, actually it is still 1:n, since your receiver list is unbounded).
    Theoretically, you could make it work with BPM, though.
    But I've never worked with a Receiver Determination Step reading from an enhanced receiver determination in ID (though there should be no problems).
    Use sync async bridge, then use receiver determination step to obtain the receiver from an enhanced Receiver Determination. Pay attention that this enhanced receiver determination is a dummy one, using a mapping from your async abstract interface to the ReceiverDetermination interface. Once your mapping has determined the receiver, the enhanced receiver determination will return that receiver to the Receiver Determination step in the BPM. Then use this receiver in the sync send step (in mode receiver from receiver list, not from context).
    The receiver determination of the actual sync send step may be a standard one, with the several receivers there (even if there are several there, at the moment of the sending, only one will be used).
    Maybe it will work, maybe not.
    Just try it.
    Regards,
    Henrique.

  • BPEL - multiple receive elements for same partner/operation

    Is it possible to have more Receive elements for same operation in one BP? I need to create a business process for approving requests in a number of steps. The process looks like this:
    RECEIVE (createRequest)= INVOKE (...)
    < REPLY (createRequest)
    RECEIVE (approveRequest)= INVOKE (...)
    < REPLY (approveRequest)
    RECEIVE (approveRequest)= INVOKE (...)
    < REPLY (approveRequest)
    (...)The creation and first recieve element for "approveRequest" is ok, but the others are never executed. I believe the correlation sets are set correctly. I also can't use a While element since every step could be a bit different. If I substitute the other recieves for different operations, the whole process executes correctly.
    Can someone please advice me on what i am doing wrong? If it's somehow not possible to have more then one Recieve for a particular message in one BP, what is the best way to do it differently?

    Thank you for your answer. I tried to change the Receive elements to Pick + OnMessage, but it's not working either. It goes past the first one but it never reaches the second one. That's what i had in the first place - two Pick elements after each other, each with an 'approve' and 'dispprove' branch, but it didn't work so I simplified it to an easier process with just receive elements.
    If it's working for you, do you do something special in the process? Which version of OpenESB are you using? Would it be possible for you to send the BPEL file? Here is a part of mine I've just made to test this solution.
    <bpws:pick name="Pick1">
        <bpws:onMessage partnerLink="Client" operation="approveOrderItem" portType="ns1:OrderManagementClientPortType" variable="ApproveOrderItemIn5">
            <bpws:correlations>
                <bpws:correlation set="orderItemId" initiate="no"/>
            </bpws:correlations>
            <bpws:sequence name="Sequence2">
                <bpws:assign name="Assign7">
                    <bpws:copy>
                        <bpws:from>true()</bpws:from>
                        <bpws:to part="return" variable="ApproveOrderItemOut4"/>
                    </bpws:copy>
                </bpws:assign>
                <bpws:reply name="Reply3" partnerLink="Client" operation="approveOrderItem" portType="ns1:OrderManagementClientPortType" variable="ApproveOrderItemOut4"/>
            </bpws:sequence>
        </bpws:onMessage>
    </bpws:pick>
    <bpws:pick name="Pick2">
        <bpws:onMessage partnerLink="Client" operation="approveOrderItem" portType="ns1:OrderManagementClientPortType" variable="ApproveOrderItemIn6">
            <bpws:correlations>
                <bpws:correlation set="orderItemId" initiate="no"/>
            </bpws:correlations>
            <bpws:sequence name="Sequence1">
                <bpws:assign name="Assign6">
                    <bpws:copy>
                        <bpws:from>true()</bpws:from>
                        <bpws:to part="return" variable="ApproveOrderItemOut3"/>
                    </bpws:copy>
                </bpws:assign>
                <bpws:reply name="Reply2" partnerLink="Client" operation="approveOrderItem" portType="ns1:OrderManagementClientPortType" variable="ApproveOrderItemOut3"/>
            </bpws:sequence>
        </bpws:onMessage>
    </bpws:pick>

  • Enhanced Receiver Determination for synchronous interface.

    Hello!
    Was anyone faced with the Enhanced Receiver Determination? When I try to create
    the definition of the Interface Mapping, I get the error:
    "Interface modi are different. Source interface Message Interface MI_My_sync_iface | urn:my is synchronous. Target interface Message Interface ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous"
    Thank you.

    Hi ,
    U can go through below limks  :
    Illustration of Enhanced Receiver Determination - SP16
    SAP NetWeaver Process Integration: Enhanced Receiver Determination for Synchronous Scenarios
    Enhanced Receiver Determination in SAP XI - Exchange Infrastructure - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/enhanced%2breceiver%2bdetermination%2bin%2bsap%2bxi
    Thanks

  • Multiple DHCP Subnets for different Interfaces

    Hi All,
    Lets Assume that I have a 1841 single WAN and 2 Fast Ethernet ports.
    I have 2 different Local LANs, one on each FastE.
    Fast 0/0 : LAN 1
    Fast 0/1 : LAN 2
    Lets say i want to assign IP Addresses from the router acting as a DHCP.
    I know how to set it up for single interface.
    Lets say I want for :
    Fast 0/0 - LAN 1 :192.168.1.0/24
    Fast 0/1 - LAN 2 :192.168.2.0/24
    How do i specify on the router what IP Range belongs to which interface ???, so that each interface will give out to its connected LAN the desired IP Addresses ???
    Thanks,
    George

    Hi,
    Its just that you have to configre two pools for DHCP.
    When a request is generated by the PC it will send a DHCP broadcast message with the source IP as 0.0.0.0. When this reaches the interface it will change the source IP address to its own IP address and will send a unicast dhcp request to the DHCP server. This way based on the interface's IP address the request will be matched with one of the defined pool and the client will be assigned the IP address from the respective pool.
    There is a good link which will explain this in detail-
    http://tcpmag.com/qanda/article.asp?EditorialsID=285
    Sushil

  • Multiple receiver Threads for a Queue

    We are currently running some performance tests on the Sun One Message Queue 3.5
    I have implemented two clients running in their own VM which each sporns n threads.
    client 1:
    sporns n threads which each create it's own QueueSession to place one message on a queue. Each thread then waits for a reply message from client 2 threads.
    client 2:
    sporns n threads which each create it's own QueueSession to take one message off the queue and create a reply message.
    The idea is to keep bouncing messages back and forth and to measure the performance of the producer-consumer cycle, whether it degrades over time etc.
    It works fine if there is only 1 thread, as soon as I increment the number to 10 or 20, the consumers time out, even though there are messages on the queue.
    I have made sure that each thread uses it's own Session, but is there something else that I've missed?
    Thanks.

    Did you get an exception ? Can you provide the
    stacktrace ? What does the broker's log show ?
    Please post the issue and necessary info to
    [email protected]

  • 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

  • TextField needs to be made editable on conditional basis

    Hello Experts ,
    We have a requrement to make a field editable on conditional basis.  We have some templates for rfx . For templates , the field needs to be editable but when we are creating any rfx using that Template , that field needs to be appeared as non-editable in that rfx.
    Example- System have a template for Rfx called ABC_RFX_Template . In that template the field should appaer as editable abut when user is creating any Rfx using ABC_RFX_Template , the field should appear as non-editable so that user can not edit that field .
    Can you please help me ?
    Regards
    Sudipta

    Thanks for reply..
    Accroding to your suggestion , I have createda a new text field which is by default editable. Now I need to keep it editable for Rfx Template and need to make non-editable  for rfx ( Created using that template ) .
    So for this , I tried to set the editable property as No . This is making the field non-editable for all the rfx templates as well as rfx created using that template.
    But I need to make the field as editable for tempaltes.
    How can I do it ?
    Regards
    Sudipta

  • Multiple receiver without condition

    hi,
      I hava a scenario of multiple receiver without the condition. I used 2 send step but i don't find any parameters in send step to specify the receiver channel in send step. Please let me know whether to specify it.
    regards,
    Dhil

    Hi Ahmed,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    in the above blog <status>tag is getting populated from the sender but in my case i need to calcualte in runtime and it was in BPM for eg. sum of particular field f1.  then need to send accordingly only based on this f1 value.
    please help me out how this will be possible. can we use the variable in Recevier determination which i declared in BPM.
    Regards,
    Dhil

  • Creation of a new Formula Routine for condition base value calculation

    hello people,
    i am stuck up in a situation where SAP has itself said that nothing can be done.
    but i know you all can guide me to some way or the other
    see, the scenario is like this
    1. i have to calculate the base value for a pricing condition.
    which will follow the formula
    net value + excise duty + freight
    2. in standard routines two things are normally bieng used
    xkwert for the value that has to be finally calculated(taking reference of routine 004)
    komp-netwr for the net value
    3. i have to calculate the excise duty by adding up all the base values of existing pricing conditions like JMOP, JEC1 etc that i have which i saw in internal table
    XKOMV on debugging
    4. now freight is to be calculated from all the values of condition types that are in KOMP which is a structure and no internal table is defined in standard main program
    now ppl
    can you guide me by looking at the standard program
    what is this xkwert field and where it is assigning the value.
    how to get field from other structure and table.
    please guide as to how to approach the problem.
    thanks and regards
    Nitin

    HI,
    the scenario u r talking abt is condition based value formuls of VOFM transaction.
    here the data is retrieved as 'X' structures and will hold normal tables with respective names. and in this case all the pricing data is in KOMV ie XKOMV
    Final amount including tax
    form frm_kond_basis_004.
      xkwert = komp-netwr + komp-mwsbp.
    endform.
    always calulation is done in xkwert field and final value is stoerd in xkomv.
    *.................. text ............................................. *
    Condition base value formula to get the assessable value of the     *
    saleable material from j_1iassval. If the value is not maintained   *
    then the selling price will be taken as the base                    *
    TABLES: J_1IASSVAL.
    DATA XXKOMV LIKE KOMV .
    XXKOMV = XKOMV.
    SELECT SINGLE * FROM J_1IASSVAL WHERE J_1IWERKS = KOMP-WERKS AND
                                         J_1IMATNR = KOMP-MATNR.
    IF SY-SUBRC EQ 0.
        IF J_1IASSVAL-J_1IVALNDP NE 0.
        XKWERT = J_1IASSVAL-J_1IVALNDP * KOMP-MGLME / 1000.
        ENDIF.
        IF J_1IASSVAL-J_1IVALASS NE 0.
        XKWERT = J_1IASSVAL-J_1IVALASS * KOMP-MGLME / 1000.
        ENDIF.
    ELSE.
       XKWERT = XXKOMV-KAWRT .
    ENDIF .
    XKOMV = XXKOMV .
    ENDFORM.
    and as far as ur  req select allthe condition type data and sum and take the average value and pass it.

  • Alternative formula for condition base value in cross-application

    Hi,
    I need inputs regarding an issue as:-
    In "TAXINJ" Tax pricing procedure, for a ZXXX  excise related condition type the alternate condition base value (Alternative formula for condition base value) must be of  YXXX condition type of MM Purchase pricing Procedure.
    How to acheive Alternative formula for condition base value in cross-application area as both condition type belongs to different Application area i.e.  ZXXX belongs to TX and YXXX belongs to M.
    One way or only way is thro' routine but I do not know How it works? 
    Thanking you.
    Prashant

    routine is only the best way for u in this case
    u will have to use subtot may be 6 or 4 in MM pricing procedure
    and write a routien in Tax procedure, i n that u will have to write a code where in ur sustem will featch this value in sub total and act a a base for ur cond type in Tax proc for ue condition type.
    what is your excat requirement
    there might be other work around that can help u around
    hope this works
    or write t routines one in MM and Other in Tax proc for ur issues

  • Used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    Dear
             what is the  used of 362 & 363 Alternative formula for condition base value in Define Procedures (Tcode obyz)

    362 is used for to pick base value to BASB condition type from MM pricing procedure
    363 is used for all sales tax {VAT (Inventory or set -off) & CST}.
    Tax Calculation on Freight - Different Scenarios
    Please  go through this  link  and  you will know  very well a bout  362 and  363  usage

  • I AM RECEIVING MULTIPLE EMAIL NOTIFICATIONS FOR FACEBOOK POSTS. HOW CAN I FIX THIS?

    I AM RECEIVING MULTIPLE EMAIL NOTIFICATIONS FOR FACEBOOK POSTS. HOW CAN I FIX THIS? I AM GETTING LIKE 6 DUPLICATE EMAILS FOR FACEBOOK NOTIFICATIONS. HOW CAN STOP THIS??

    Perhaps you should contact Facebook?

  • Alternative formula for condition base value -correct  routine

    Hi ,
    We need  correct standard routine number in "Alt. formula  for condition base value " in transaction V/08 pricing control .
    Requirement As follow :
    We have one header freight condition which is header condition and group condition in V/06 condition type setting . Lets Say " ZFRIG " the value in this condition should equally approtionate to all the items in SO .
    Ex: ZFRIG = $100 in SO header
    item 10 = ZFRIG should be  $20
    item 20 = ZFRIG should be  $20
    item 30 = ZFRIG should be  $20
    item 40 = ZFRIG should be  $20
    item 50 = ZFRIG should be  $20
    Suitable standard  routine solution  will be appreciated.
    Thanks in Advance
    Sunil

    Hi ,
    Without any Routine it adds $100 to all the line iteam , so total fright discount becomes $500.
    Thanks and regards.
    Sunil

Maybe you are looking for

  • Error apple mobile device failed to start

    ive posted this problem before its not showing on my pc or in i tunes plus i get an error message 14001,what do i need to do to install the right drivers to have my phone show up again.Im getting so frustrated i pay all this money for a phone that i

  • My wifi and bluetooth are no longer active

    my wifi and bluetooth are no longer active .Does anyone could help me? already gave reset and nothing.

  • IMovie Error (I/O error)

    Hello, I'm attempting to free up some space on my hardrive by copying iMovie events from the Event Library to an external hard drive which is also visible in my Event Library.  However, when it begins copying, I get the error code (I/O error).  What

  • Radio buttons determine which company logo is displayed

    In ES9 I created a form using the Action Builder feature where the first line is two radio buttons for the user to select which of our two companies they work for. Depending on their selection, the corresponding company logo is changed from invisible

  • Error occurs while transfering flat data to sap.

    hi friends , i am not able to update  the data to  the transaction 'XK01' from the text file. this is my code. Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And use code tags to