Multiline for a synchronous interface

Friends,
Iam stuck with a webservice issue,
Scenario is File <->BPM <-> Webservice <-> BPM <-> Merge (File + WS) <-> Send
We have to make one sync call per order number (msg), right now the BPM is working for 1 call only. how can we mitigate this issue? iam not able to use multi mapping/ multiline container since its a synchronous call.
Thanks for all your help.
Regards,
Pavan

Check the use of ForEach block in the BPM: /people/milan.thaker/blog/2008/08/05/modes-in-block-step-of-bpm
After the Send step (in the ForEach block) have a Container Operation whose job will be to perform an Append action so that each message received will be appendedand you will get one single message when all the calls are completed to the WS.
If Sync call doesnt work then you will have to split the sync call into an Async Send and Async Receive calls....
Regards,
Abhishek.

Similar Messages

  • Archiving of Soap header part for a synchronous interfaces

    We have a requirement where we have to retain the soap header details for a longer period for tracking purpose. So is there any option of archiving only soap header part from the message for a synchronous interface.
    More Information about the requirement:
    1. We will be passing some parameters to the XI Soap header.
    2. In the WSDL we will add the header fields, so that the end system can populate them.This is done for tracking and searching the message, end to end.
    3.  Another thing to note, is that, for synchronous messages the payload will not be available (without enabling logging), Can we search the messages using the values in the header?
    4. The above process is done, keeping in mind that when the messages are archived, the XI soap header will be the only thing that will be archived and not the whole payload, and the messages that are archived can be searched or retrieved based on the values in the XI Soap header.
    Regards
    Nitya

    Hi,
    Glad to hear that you solve this issue, thanks for your sharing.
    Thanks,
    Linda Li
    Linda Li
    TechNet Community Support

  • Does BPM - for a synchronous interface have a performance bottleneck

    Hi All,
    Just have a small query.
    We have a scenario in which we need to receive PO details from a legacy system, create a sales order in ecc and send back a response table to the legacy system.
    Our understanding is that this can be acheived using synchronous ABAP Proxies and also involves BPM and Abstract mappings.
    I beleive that this should not pose any problems. My concern here is that we are confused as to whether BPM would have bottlenecks with performance. Do we have any SAP document or article which mentions that for synchronous interfaces BPM is the only way to go and this would not have a significant impact on the performance.
    Another approach to the problem would be to create an asynchronous inbound proxy, write ABAP code within it and call a seperate outbound asynchronous proxy within the inbound proxy method. This approach looks and sounds very clumsy.
    Kindly let me know your thoughts or any links which would be useful.
    Thanks & Regards,
    Mz

    Hi Aashish,
    Thanks for your quick reply. it was helpful, but i am not using RFC's. Correct me if i am wrong, but i have explained the scenarios in detail below.
    Scenario 1. Synchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) The abap proxy code executes a function module and sends the response as an internal table back to PI.
    5) PI receives the response and places it in a text/csv file and places it back to another folder.
    I assume that the above would be possible only using BPM. What i understand is that in order for an interface to receive and send data, abstract mappings are to be used, and for this BPM is required. We do not have any conversions etc. its just a simple matter of receiving an internal table from ECC and creating a file to place in the folder.
    I also understand that BPM could have bottlenecks due to queue and cache issues, messages might be pending, or lost etc.
    Scenario 2. Asynchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) ABAP Proxy code executes the same function module and calls a seperate outbound interface and passes the values to it. This would be used in sending the response back.
    5)  PI receives the response from the second interface and places it in a text/csv file and places it back to another folder.
    I would like to know which would be the better approach. Documentation/references to support your claims would be much appreciated.
    Cheers,
    Mz

  • Http adapter at sender side for synchronous interface

    Hi SapAll.
    here for one synchronous interface we using http adapter at sender side.
    i just want to know on how i can get the sender ip adress or url through which they sending the data.
    will be waiting for best asnwer.
    regards.
    Varma

    Http adapter at sender side for synchronous interface
    i cont see any messages in xi producction.
    Is LOGGING_SYNC enabled for your production box....also is the problem just about the visibility of the messages or is your scenario itself not getting executed?
    At least the sender application might have received some error response if posting message to XI was a failure....also if possible check the message monitoring in RWB if you feel an error has occured.
    Regards,
    Abhishek.

  • Multimapping for Synchronous interfaces.

    Hi,
    Is it possible to do multi mapping for synchronous interfaces.
    I have observed that when the cardinality of the target service  interface is changed to 0:unbounded , the response message mapping  tab disappears from operation mapping.
    Can anyone please suggest how it can be handled?
    I have a requirement to call a webservice and then write multiple files from the webservice response.

    Hi Soumya,
    i dont think so ...if you think theroitically. you are doing multimapping   where u  have a N:M relation... so it will be difficult match the respose directly.
    Since your scenario is syncrhronous, u have to rember the identity of source messgaes and then u need to reply back to those same identitiies. That means u have to use correlations  and that can be achived by BPM.

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

  • Enabling to see the Source payload for synchronous Interface

    Hi Experts,
    Am working on a SOAP <-> RFC synchronous interface and PI version is 7.4 dual stack. Am unable to see the source payload when a
    message is triggered from the Source Webservice. I can only see the receiver payload in RWB for request msg i.e the RFC payload.
    Even for Response, I can only see the receiver payload which is sent to webservice and not the source payload from ECC on the RFC.
    I have built the interface using ICO. I have made the changes in NWA, by setting the RemoveBody field to false.
    Please let me know if any other settings are required. I have checked all other threads related to this issue and could not find the solution
    to my issue where only the source payload in the synchronous interface is missing. In case of Asynchronous interface, the source payload
    is visible.
    Please assist me how can I enable this.
    Regards,
    Vish...

    Hi Vishwanath,
    Please check the below blog
    Message Staging and Logging Options in Advanced Adapter Engine of PI 7.3x
    regards,
    Harish

  • How to exclude synchronous interfaces from component based message alerting

    Hi Pi experts,
    We are configuiring Alerts in PI 7.3 single stack.If we have 'n'number of interfaces, and if we configured general alerts for all.How to exclude synchronous interfaces in that.Alerting is for asynchronous interfaces only.How to do that.
    Please advice on this.
    Regards
    Suneel

    Hello,
    >>What are your approaches regarding this requirement in the context of java-only?
    I would suggest you to schedule jobs like this:
    Customize Alerts Using Job in PI 7.31/PO
    >> alerts are consumed according to the given interval and not in "real time" when error occurs, today solution using BADI is "real time" - if possible I would prefer "real time" solution
    Check this:
    Michal's PI tips: How to trigger an alert for Component Based Message Alerts (CBMA) via "API" ?
    >>an separate service determine the actual alert count would be helpful to provide the correct value for maxAlerts, this have to be called beforehand
    I haven't tried it but i think u can do that, since these consumers are nothing but JMS queues only so i think there will be a method to read number of alert counts.
    >>In history I saw emails generated by the standard alert consumer which only contain details for the first alert, in my case I need details especially the message id for all errorneous messages
    If ur max alert parameter is greater than 1 then u should see multiple alert text  (along with message id and other details) in ur email message.
    Thanks
    Amit Srivastava

  • AS2: Synchronous MDN request but no synchronous interface possible?

    Hello,
    in our AS2 scenario with the Seeburger Adapter we request the MDN synchronously and we also would like to use a synchronous interface for this.
    But obvisouly this is not possible as you have to create a separate sender communication channel for reports and a sender agreement (where I have to use an outbound or abs interface).
    Is there really no way to use a synchronous interface for that scenario as we need to get the response back synchronously for handling in integration server.
    Thank you for your advice!

    So basically my idea was to use a synchronous send step in the integration process and then call a proxy when we have received the MDN.
    Even when you use sync MDN with report protocol, you can send message to Integration Engine and process further. You should be able to use this message in BPM also and then it could be sent to receiver proxy.
    the SAP sender wants to be notified in case there was a transmission problem and this can only be handled automatically with a synchronous interface.
    If you are already using BPM in your scenario, then use of sync scenario is no longer a limitation. You can try correlating the MDN with the AS2 request message.
    Regards,
    Prateek

  • Seeburger Adapter: Party for AS2 - Synchronous MDN

    Hello, I have to AS2 related questions:
    1. We send a message via sender proxy which then has to be sent to an AS2 receiver. According to the documentation that I have a Party has to be created for applying AS2 IDs.
    I have created a party for the external AS2 receiver, but should I also configure a Party for the internal SAP system, that sends the message via proxy? We already have a business system with communication channel configured for the proxy sender, so I am wondering whether I have to set up an additional party and use a business service for the SAP system? Any advice on that_
    2. In between I also use an integration process, because apart from MDN we get two more AS2 messages used as acknowledgment that have to be correlated to the original message.
    Now I am wondering how I can correlate a MDN in the integration process? I request the MDN synchronously however I doubt that I can use a synchronous interface as I have to set up a separate MDN sender even though the MDN is requested synchronously. Do you have any experience in dealing with such scenarios?
    Thank you very much.
    Regards,
    Florian

    Hi,
    >>1. We send a message via sender proxy which then has to be sent to an AS2 receiver. According to the documentation that I have a Party has to be created for applying AS2 IDs.
    I have created a party for the external AS2 receiver, but should I also configure a Party for the internal SAP system, that sends the message via proxy? We already have a business system with communication channel configured for the proxy sender, so I am wondering whether I have to set up an additional party and use a business service for the SAP system? Any advice on that_
    No you don't need sender Party. But while creating the receiver Agreement overwrite the Sender Party with you company Identifier (so that receiver can identify teh source of the message)
    >>In between I also use an integration process, because apart from MDN we get two more AS2 messages used as acknowledgment that have to be correlated to the original message.
    Now I am wondering how I can correlate a MDN in the integration process? I request the MDN synchronously however I doubt that I can use a synchronous interface as I have to set up a separate MDN sender even though the MDN is requested synchronously. Do you have any experience in dealing with such scenarios?
    Sorry never worked on this. But will MDN have any detail for you to correlate!!!!?
    Regards
    Suraj

  • Synchronous Interface to Multiple Receivers

    Hi all,
    I have the following scenario working  great SAP Proxy call out to a Soap Adapter receive the response and update SAP.
    So a single synchronous call to one receiver is working great.
    However I'd like the ability to also publish this information to another system (aynchronously).
    Question can a synchronous interface send to more than one receiver?
    I've read a number of blogs on the the issue the closest two are below but are a little old.
    I'm on PI 7.1 and wondering whether there's something new  I could potentially use message mappings, operation mappings or multiple service interfaces to serve the problem.
    Please note: I can do this in a BPM but I would prefer not to use a BPM.
    Regards,
    John
    Related Blogs
    Enhanced Receiver Determination in Synchronous Senarios - Posted on Dec. 11, 2007
    /people/jin.shin/blog/2007/12/11/sap-netweaver-process-integration-enhanced-receiver-determination-for-synchronous-scenarios
    Multimapping without BPM - Posted on Feb. 07, 2006
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

    Hi,
    I support stefan synchronous interface cannot be sent to multiple receivers...
    there are lot of questions if at all if need to be supported like how to trace back the hopId for response to the request made..
    lot of other things too..
    Rajesh

  • Communication error at synchronous interfaces.

    Hello experts.
    I have some synchronous interfaces and the scenario bellow can occur:
    When a Source system start a process, and the target(ECC) system execute the process whit sucess, but at the moment that they try to delivery the answer have a problem(connection problem for example). My question is, have some way to guarantee that the message will be delivered, even whether the problem be a infrastructure problem?
    Thanks

    >My question is, have some way to guarantee that the message will be delivered, even whether the problem be a infrastructure problem?
    Depends on the context and where the connectivity fails. If the synch message already reached target system and say your proxy is processing it and during that time ECC does not respond then it is a failure. User would get only system error mesg as response.  But ofcourse you can pretty much find the problem using log where it failed. Whereas if your scenario is not best effort then PI can retry the same mesg few times default. Hope that helps.  So mesg will not be delivered if there is a infrastructure problem for synchronous mostly.

  • Standard Asynchronous ES for Quality Management interface

    Hi,
    Synchronous standard ES is available for Quality Management interfaces under ES bundle. 
    Could you please suggest if there is any standard Asynchronous ES available for above QM interfaces like Inspection plan, Inspection results and Usage Decision.
    Br,
    Madan

    Dear Hummel
    This link required SAP ID and use less for those who do not have S User ID's.
    further more.... could you please differentiate Stand SAP QM process compare to QM process in  RDS?

  • Performance Synchronous Interface

    Hello everybody,
    I need an advice from you experts, I need to evaluate if is good to use a syncrhronous interface like this:
    R/3 ABAP Synchronous Proxy->XI->R/3 Synchronous RFC,
    the ABAP Proxy sends data in a table, then XI directs it to the R/3 via a Z RFC, and the Z RFC inserts that data in a Z tables, now the interfaces are synchronous beacuse I need to update Z Table in the Sender system for confirmation of succesful insertion in Z Tables in Receiver system, now tha real question is as follows, the data to transfer can be up to 10,000 records, is it correct to use a synchronous interface so the sender system is going to be waiting for confirmation of insertion in Z tables in receiver system? it's more a performance question, any suggestions would be really appreciated, thanks in advance.
    Resgards,
    Julio Cesar

    Hi Julio,
    If you are passing all 100,000 records at a time to ZRFC to insert into ztable...then it wont be a problem with sync interface...bcoz you are passing all records at a time and waiting for one single response...which is quite ok....
    But if you are inserting one record at a time and base on result of previous insert if you want to insert next record...it willl take huge time and would afftect performance as well. ( Rather than this can used proxy @ receiver end as well and then you can call zrfc inside procy..would be much faster).
    Hope this will help.
    Nilesh

  • Synchronous interface without Service Interface and Mapping

    Hi all,
    Short and simple question: Is it possible to set up a synchronous interface without using Service Interfaces and (Operation and Message) Mapping?
    In my case I would like to create an interface with a SOAP and File adapter.
    Cheers,
    Mac

    Hi Mac,
    >>Short and simple question: Is it possible to set up a synchronous interface without using Service Interfaces and (Operation and Message) Mapping?
    Yes possible provided you have both Sync adapter as sender and receiver. For eg: Soap sender --> PI --> HTTP adapter
    >>In my case I would like to create an interface with a SOAP and File adapter.
    Sync scenario using File adapter as receiver is not possible. Because File adapter works asynchronously.
    Regards
    Suraj

Maybe you are looking for