IDOC -XI-SOAP one sender different  receivers based on condition

Hi All,
I have an IDOC to SOAP scenario.
For each record based on the input flag XI has to send the  any one of the request ...like either create or update or delete request. All these message types are a part of single WSDL.
How can i do it?
Thanks in Advance
Jyothsna

hi There are two ways you can do this:
1. Without BPM - Since you have to create all the target messages adn you want either the 1st and second, or the first and third: create two multi-mapping with one and two, and one and three. In the receiver determination check the condtion based on which you decide the second or the third message has to be created and route it to the correct mapping accordingly.
2. with BPM, create all the target mapping. In the BPM check the condtion in the switch and do a send accordingly.
You can do this either on Receievr Determination or on Interface Determination.
Add multiple Receievrs/ Interfaces and then add the conditons on which the target should be choosen
to use Xpath for your receiver det. ref these blogs;
a combination of logics should help you in this case ...
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
pls reward points if solution found helpfull
regards
chandra.k

Similar Messages

  • DHCP to send different Gateways based on MAC-Addresses

    Hello,
    I would like to use the built-in DHCP server to send out different Gateways based on the clients' MAC-Addresses.
    I have already managed to assign "static" IP-Adresses using the DHCP server to specific MAC-Adresses.
    Is this possible or do I need additional software ?
    thanks for your help

    The basic IP networking construct here is the IP subnet (and the subnet mask); that's how you set up groups of related network hosts in an IP network. Hosts within a subnet tend to have the same DNS and gateway router and related pieces configured, and one DHCP server and such. (That's not strictly necessary, but...)
    Launch Server Admin, select the DHCP service, set up subnets via the DHCP service by subnet mask, and establish DNS and default router settings there for each of the subnets.
    Then set up static maps for the MAC address(es) associated with the hosts, and drop the static IP addresses into the particular subnet you want the host associated with.
    You will want to leave room in the subnet for both the DHCP allocations (if any) and for the static hosts mapped into the subnet via MAC address.
    There well may be a better way here, but this will get you where you want. (And the Network Services Administration manual - which you'll need to read - does seem a bit confusing around this particular sequence.)
    nb: I don't have a "scratch" Leopard Server configuration handy to test and confirm this sequence.
    nb: Xserve boxes require a little extra thought, given each Xserve box tends to have four MAC addresses.

  • One sender many receivers

    hi friends
    I am doing IDOC TO FILE SCENARIO. In XI the idoc will generate the xml file in the target system.
    Is it possible to create the xml file at the specified system based on the condition.
    suppose i have a field by name receiver in the idoc. and i have 5 receivers. if i put 2 in the receiver field then it will generate the xml file in the 2 receiver system and it will not generate in the other systems.  this option is available in xi? if available how can i do that one..
    can any one tell this..
    one more thing....
    in R/3 side i send the idoc to my xi. but in the tcode sm58 it shows the error message as
    no service for SAPSID, CLIENT 100 IN THE INTEGRATION DIRECTORY.
    how can i recitify that one. I created the Business system for R/3 as PRD. Instead of this if i create it with sapsid it will work?
    any suggestions regarding these 2 problms please
    Thanks in advance
    Vasu

    maybe XPATH can help you
    Ref:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Here based on a field in your source you can route the message to a receiver.
    Also ref: /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16 for enhanced recv. det.

  • Different receivers based on a condition

    Hello experts,
    I have a scenario File to IDOC . The file has the structure : Many transactions( codes starting from 111 to 999)and one Footer record. The footer record will have the total number of lines, and the total number of 111 codes .
    The file has to be read by XI and if the total number of lines or the total number of 111 trasactions does not match with that of the numbers in the footer record, then an email has to be sent to a distribution list (external partners) saying that the bumner of lines or the number of 111 trnsactions do not match with that of the numbers mentioned in the footer record.
    If the numbers match , then the file has to be mapped to idoc .
    This is kind of one file to multple receivers but not exactly multiple recievers, of the mail adapter s triggered, then the idoc adapter should not be triggered.
    I tried it with multimapping: 1 message for Mail and the other for IDOC, and tried giving the condition createif  for mail node but it is throws out error:
    Cannot produce target element /ns0:Messages/ns0:Message1/ns2:Mail.
    Can you please help me in acheiving this scenario.
    thank you.

    Hello all,
    thank you for your replies.
    I have tried the option of enhanced receiver determination.
    There is no need of multimapping. Here are the steps that i followed to achieve the required result:
    Used the Receviver determination as my message interface  and in the mapping of the Server,
    the Message type -->Receivers -->http://sap.com/xi/XI/System
    the Message Interface --> ReceiverDetermination -->http://sap.com/xi/XI/System of swcv SAP BASIS 7.00
    I have given the condition for the Receiver Services for the Field Service.
    and in the configuration part there is no change in the usual Sender agreements, Recevier agreemants and Interface determinations. But in the receiver determination , i have selected the Enhanced radio button and selected the interface mapping for the receiver determiantion .
    This works.
    Regards,
    Lakshmi.

  • One sender - two receivers - same Message-ID?

    Hi,
    I don´t know if it is possible to send a message (which is, as you know identified by its Message-ID) to two receivers where at least one receiver has to keep the Message-ID of the xi-incoming message. This is necessary because it has to be used as part of the receiver-filename.
    We work with triggerfiles, which identify in which sequence the Messages have to be processed at the receiver system. If you use more than one interface determination, for each receiver an new Message-ID is generated. This is what I want to prevent.
    Does anyone know if this is possible using a business process. (XI3.0 SP17)
    If yes, what is it to look like? I´m thinking about one receiver and two senders (in bp-design) :).
    Regards,
    Thomas

    Hi VJ,
    I think your doubts are reasonable, as this doesn´t fit the "Exactly once"-idea of messages. As soon as the bpe picks up the Message, you got no chance to save the original Message-ID. I just designed a little process to give it a try, but it didn´t work (i. e. the two new Message-IDs appeared for the BP-outgoing messages).
    Why I want to use it? This would be an addon for a more or less complex Szenario, which we cannot change without a redesign of the hole szenario ...
    I think we´ll have to let the application server generate the Message twice with different receiver agreements. Sounds ugly.
    Thank you for confirmation.
    Best regards
    Thomas
    Best regards
    Thomas

  • Mailing from XI to different groups based on Condition

    Hi Experts,
    I have a scenario where i have an incoming XML Invoice document which i need to map with Invoic02 idoc and to send to R/3.
    While sending it to R/3 i also need to put conditions on certain special links,when fails sends out mails to a
    respective mail group .
    When i get a wrong field/condition the map fails.Based on the condition which failed the map,XI should be mailing to
    the respective group .
    I will be having around 4-5 mailing groups in the single map .
    Please suggest me some helpful blogs and inputs for this scenario.
    Thanks,
    Sudhansu

    B'cos you are failgn the mapping at deisgn time (by various conditions), you can configure diff ALERTCategories & invoke them appropriately from your UDF.
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    For each of these AlertCategories, you will configure your respective recepients.
    Regards,
    siva Maranani

  • Reg: To get One employee multiple times based on condition

    Dear Friends,
    I need your help regarding this Requirement.
    Need to display the contractual years for every employee in the valueset.
    If the emp is hired on 29-Feb-2004, then his contractual years should be as follows:
    1) 29-feb-2004 to 28-feb-2005
    2) 1-mar-2005 to 28-feb-2006
    3) 1-mar-2006 to 28-feb-2007
    4) 1-mar-2007 to 29-feb-2008
    5) 29-feb-2008 to 28-feb-2009....... and so on up to current year ( *9* times)
    If hired on 1-Jan-1997, then *16* times
    I have developed the above logic in CASE <logic> END statement. The logic is depends on row number partitioned by Employee number. So now i need to incorporate it in SELECT statement since it will be used in Valueset. For this i need multiple rows for each employee as above number of times. So that i can create view accordingly.
    Please do needful...
    Thanks in advance..

    If the sound has to be played again but is still being played by another event, the setFramePosition() method resets the sound and the first playing instance is cut off.
    A workaround would be that each object that needs to play this sound would get its own copy, but that is not feasible due to heavy memory consumption.
    So here it goes: How can I play a single sound multiple times at the same time? Is that possible?Ummmm, if you're using a clip, you'll have to maintain one copy per object that needs to play the sound concurrently. You could keep one master copy, and then create copies of the clip as necessary to play them, and then just dump the copies to decrease memory consumption.
    A second idea would be to write your own Clip class. Esentially, all you would need to do is dump some sound data onto a TargetDataline to play it. It'll handle the buffering and playing at the correct speed itself. If that's all you did, you should be able to dump multiple times from the same instance and play it multiple times.
    Obviously, that's just a theory. In practice, it may not work that way...

  • Drop the files into different directories based on the filename

    Hi,
    I had a reqiuirement based on the file name, i should drop the files in to different directories.
    I can get the filename through variable substitution in receiver file communication channel, now i want to drop the file into different folders based on conditions.
    suppose, if the file name is DDDX234
    i should do substring of filename0+(4), if the value is L then i should drop in X directory
    suppose, if the file name is DDDY234
    i should do substring of filename0+(4), if the value is L then i should drop in Y directory.
    How can i drop the file into differnent directories based on filename.
    Thanks
    Srinivas

    Thanks Michal,
    I mapped the directory and filename to the target header in the mapping
    Filename --> UDF --> Header(target)
    and in the receiver channel checked the ASMA and given * in the filename and directory name.
    But in runtime iam getting the error as
    Attempt to process file failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header
    MY UDF is
    public String Directory(String a,Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key  = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "Directory");
    String FileName = conf.get(key);
    FileName = a;
    conf.put(key, FileName);
    %%%based on filename the directory should change
    String Directory = conf.get(key1);
    Directory = "/SAPInterface/XI/PPD/DHX/out";
    conf.put(key1, Directory);
    return "";
    Help me in correcting this error.
    Thanks
    Srinivas

  • Running Query Based on Condition

    Hi
    I want to run different query based on a condition. I am not able to execute the following query. is this the right way to run different query based on condition?
    SELECT * FROM (
    CASE WHEN (SELECT COUNT (*) from data1 where ID = 1 AND stype = 'A') > 0 THEN select * from data where ID = 1 AND stype = 'A'
    WHEN (SELECT COUNT (*) from data1 where ID = 1 AND stype = 'B') > 0 THEN select * from data where ID = 1 AND stype = 'B'
    WHEN (SELECT COUNT (*) from data1 where ID = 1 AND stype = 'C') > 0 THEN select * from data where ID = 1 AND stype = 'C'
    END
    ) as a;
    Edited by: user6016744 on 21 Apr, 2011 12:40 AM

    This works for us; hope it helps.
    CREATE OR REPLACE FUNCTION SCHEMA.GET_STEP_COST (loan_number_in in VARCHAR2, step_code_in in VARCHAR2 default null, ws_in in VARCHAR2 default null )
    RETURN VARCHAR2 IS retval  VARCHAR2 (50);
    /*passing in loan number and step code you need the cost for, will return the cost*/
    BEGIN
        CASE ws_in --depending on workstation in is the table select
        WHEN 'F' THEN
            EXECUTE IMMEDIATE 'SELECT '|| step_code_in ||' FROM CLAIMS_FCL_STEPS WHERE LOAN_NUMBER = '|| loan_number_in ||'' INTO retval;
        WHEN 'R' THEN
           EXECUTE IMMEDIATE 'SELECT '|| step_code_in ||' FROM CLAIMS_RS_STEPS  WHERE LOAN_NUMBER = '|| loan_number_in ||'' INTO retval;
        WHEN 'L' THEN
           EXECUTE IMMEDIATE 'SELECT '|| step_code_in ||' FROM CLAIMS_LM_STEPS  WHERE LOAN_NUMBER = '|| loan_number_in ||'' INTO retval;   
        ELSE
            retval := 0;
        END CASE;
      RETURN retval;
    END GET_STEP_COST;
    /

  • BPMOn: Is it possible to send email notification to different groups based on filter value for IDOC?

    Hi there,
                  I have setup the monitoring for idoc through interface monitoring and I am getting the alerts for the same. The alert is generated for different status values for the same idoc. Now my question is, is it possible to send email notification to two different groups based on the status values?? I mean for example , for a single idoc for some status values I want to send email notification to group1 only and for other status values I want to send notification to group2.Any help will be apperitiated.
    Thanks and regards,
    Rutvik Upadhyay

    We currently do not support that level of control for sending email notifications. If you think others are interested in this you should add an idea here: http://forums.adobe.com/community/formscentral?view=idea
    We use that to help us prioritize our work.
    Thanks,
    Randy

  • SOAP Receiver/Sender in IDOC- XI- SOAP receivers?

    hi,
    i have idoc-> xi-> soap receiver.
    1. How can i get a response back from soap receiver?
    2. in the above scenario is SOAP the receiver or agian the sender?
    3. not sure how i can get a response back from the soap receiver?
    any tips would be helpful.
    thanks,
    tirumal

    Hi,
    It should be
    <i>
    Under Target URL, enter the complete address (URL) of the Web service provider that you want to send the message to.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm
    What are you specifying?
    Can you give the entry in Target URL...
    Regards
    Suraj
    Message was edited by: S.R.Suraj

  • Party-based IDOC from external SAP sender

    Hello experts.
    I have PI 7.0
    I have a scenario where I receive an IDOC from an external SAP system - that has SID=PRD and client=400
    I also have an SAP system in my landscape with SID=PRD and client=400.
    when I tried to define a service and edit it's adapter specific identifiers - i received the following error:
    Check Result for Object EXT_SRV
    SAP system ID PRD and client 400 already exist in service | PRD400
    I understood that the PI will not be able to identify the sender if an it will receive an IDOC with SNDPRN=PRD400
    When trying to figure out a way to overcome this and be able to receive the IDOC I came across the term:
    party-based communication. I understood that I should define a party an in it a service for the external SAP system.
    can some one please show me a detailed step by step example of such scenario?
    All I found was this: [Java IDoc Adapter Partner Conversion |http://help.sap.com/saphelp_nw73/helpdata/en/7b/ebc8b9e34b434d9f3e80ef6776d77a/content.htm] and it is only valid for PI 7.3
    Thank you very much.

    Hi ,
             In idoc communication few fields play a vital role SNDPRN,SNDPRT,RCVPRN,RCVPRT,SNDPOR and  RCVPOR in EDI_DC40 segment. These fields actually identify the sender and receiver systems and ports.
    Now in your case as I understood that a new sender SAP system is sending the same  idoc to PI server along with an existing one. In this case you need to alter SNDPRN value to a new value, when you are sending the idoc. All other values will retain same values for same idoc (basic type and message type). In ID add a new party in object list with the new SNDPRN value.
    In the  ID scenario create a copy of each entry in interface determination,receiver determination,sender agreement and receiver agreement.  In each of the copy add the new sender/receiver party information SNDPRN value.
    This should take care of your problem. No need to do any changes in IR as IR will be common for both the senders, what differs will be the ID. PI server will run different instances of the scenario for different SNDPRN value.
    Finally one small request, please kindly if possible close down your threads, in case you got proper and correct solutions to your questions. I noted you closed only one of last five threads you have opened. If you close threads after a solution has worked, then forum users become sure that the solution has worked for your case and therefore is correct.
    Regards
    Anupam

  • Can we have one sender and mutliple receivers in XI processing

    Hello,
    I will explain a scenario where you will have one sender channel and mutliple receiver channels.
    There is a sender channel along with Sender Agreement where u mention the interface name and namespace.
    There are two receiver channels along with two Receiver Agreements one for each with different interface names and namespaces also.
    Now the processing is like this,
    Sender sends some data and depending upon the agreements the corresponding receiver receives the data.
    Will the process is correct or is there any other way to run the scenario?
    Thanks,
    Prakash

    Hi Prakash chitti,
        Of course the scenario that you were telling is possible.. Take the case of file-to-multiple file scenario, where single file sends the source xml and multiple receivers gets the file.. For that you need to have
    1: one sender channel
    2: two receiver channel
    3: one sender agreement
    4: two receiver agreement
    5: One interface determiniation
    6: One receiver determination
    at the receiver determination, goto the tab 'Configured Receivers', and specify the number of recievers; and ensure they are present at the 'Configuraton overview for Receiver Determination'..
    You can even set conditions for receiver determination from the source point..
    This will help you.
    Thanks
       Vinod V
    Help me with points

  • XML mapped to IDoc routed to two different receivers

    Hello gurus,
    I have an XML document coming into XI which needs to be mapped into an IDOC, then sent to two different systems (not to both of them) based on a value in the XML (the value is actually the SAP partner ID).
    Can this be done in BPM? Perhaps using Enhanced Receivers would be a viable solution for this?
    Thank you!

    have u looked into XPaths ?
    Ref:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Here based on a field in your message you can route the message to a receiver.
    Also ref: /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16 for enhanced recv. det.

  • Spltting a single msg and sending to different Receivers

    Hello All,
    I have a requirement where we need split a single message into 2  different messages and the we need to send them to two different receivers.
    SO we have created a single message mapping with 2 target messages and done the mapping. When running the end to end the first file is getting created correctly but the 2 nd receiver file is getting created but the content is not coming.
    Kindly provide your valueble suggestions.
    PS: sender and receiver all are File adapters.
    Thanks in Advance,
    Sudhasree

    Hi Sudhasree,
    What version of PI are you using?
    IF in MONI you are getting successful flag, then check the payload of the messages are they what you want in the file? OR any one of them is empty?
    Also have a look at this note too
    Note 1319404 - Split-Mapping in Configuration Overview
    Regards
    Suraj

Maybe you are looking for

  • Windows 7 Install is stuck at "Setup is Starting"

    Hi, I am attempting to install windows 7 x64 onto my pc and it hangs at the "Setup is Starting..." screen.  I waited for the screen to go away overnight but to no avail.  My system's specs are: Phenom II x3 720 be MSI 790GX-G65 Motherboard with integ

  • I dropped my iPhone 4S in the toilet. Now it won't shut off and the camera light stays on. What should I do?

    I dropped my iPhone 4S in the toilet. I dried it and shook out as much water as I could. I removed the SD card and put everything in a bowl of rice. It is still in there and everything appears to be working normally, but it won't shut off and the cam

  • Lookup Idea??

    We are using OWB repository 10.2.0.2.0 and OWB client 10.2.0.2.8. The Oracle version is 10 G (10.2.0.2.0). OWB is installed on Sun 64 bit server. As we use lookup in OWB mapping, We have a situation to create lookup from same table for different resu

  • Dwm slim themes (8-pack)

    In keeping with my dwm wallpaper thread, I've released an 8-pack of SLIM login themes for dwm fans: EDIT: The files can now be found here: http://cinderwick.ca/projects/dwm-artwork-themes/ Four styles are included, each with a light and dark scheme. 

  • Skype Not Recognizing User Name with New Password

    It is for my family account with my wife.  I had to reset my password because I forgot it, but once I followed the steps as provided by the skype website, skype didn't recognized my skype name.  For a minute, I thought I might have forgotten the name