Async to sych Bridge
Hi all,
as i know it is possible to couple Synch to Async via Sync-Async Bridge. But what about the other way around,
e.g. couple async to sync via ccBPM?
What we want to try is to send a async message via a jms-Adapter. This message will request an RFC-Call which
return an answer. The answer should trigger a new JMS-
asysnchrone message as an responser for the requester.
If it is possible where to get further information?
thanks,
Ly-Na Phu
Hi Ly-Na (is that your first name?),
you need a second process (async-sync-bridge) if you have a correlation. The reason is that a process instance cannot receive messages (for the current correlation) while sending messages synchron (in my opinion a bug). So your integration scenario would be:
1. jms->process1 (with correlation)
2. process1->bridge (sending correlation data)
3. bridge<->RFC (synchron)
4. bridge->process1 (giving correlation data back)
5. process1->jms
If there is no correlation necessary you don't need a bridge because every message creates a new process instance.
Regards Udo
Similar Messages
-
Hi all,
I am extracting information from SAP and Database and merging in XI using BPMcollectpattern and sent to webservice.
async to async is working fine, but i need to see the response from Webservice in sxmb_moni for what went wrong in webservice.
1) for this should i include async to sync bridge????
can anyone suggest me better way to do for this.
Kind Regards,
KiranHello,
there exists only a sync-to-async bridge.
In case of async-to-sync you don't need a bridge.
If your problem is only that you can't see your message in sxmb_moni because it's a sync-message -> look here:
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
Regards
Patrick -
JMS(WebSphere-MQseries) async to sync bridge Problem
Hi All,
Please find the scenario.
IDOC1 -
> PI -
>JMS(WebSphere-MQseries)receiver request
IDOC2 <-- PI <--
JMS(WebSphere-MQseries)Sender response
I need to pass the response to JMS sender so that I will get it and will send back to other IDOC.
here I need the details for making this async to sync bridge for JMS receiver to JMS sender.
Please let me know the which adapter module I should use handle this situation.
Thanks,
BhupeshWhat exactly is unclear for you regarding the online help?
http://help.sap.com/saphelp_nw04/helpdata/en/45/20d2b4c20a0732e10000000a155369/frameset.htm -
Hi Experts,
I am doing async JDBC to sync webservice scenario.
I did create async interface for JDBC and sync interface for webservice.
my scenario is i just want to see the response from webservice in XI for trouble shoot, i dont need to send the response message to database.
can anyone tell me how can we do it without using BPM (async to sync bridge).
Kind Regards,
kiranHi
Please go through below steps now
I have added the comments with same in bold font
Data Types: JDBC_DT,File_DT
Message Types: JDBC_MT,File_MT
Message Interfaces:
JDBC_OUT_MI(outbound,async),This should be Sync given MT_File as respo
File_MI(inbound,async), Dont use this
WS_IN_MI(inbound,sync,input=WS_req,output=WS_resp)
WS_resp_MI(outbound,async,WS_resp), -----No need of this
Message Mappings:
JDBC_WS_req_MM
(JDBC_OUT(JDBC_MT)------->WS_IN_MI(WS_req) ).
*Here WS_IN_MM msg. mapping should be used insted of*
*WS_IN_MI i.e message interface*
*WS_File_Res_MM*
(WS_Res(Source -- Ws_res) ---> File_MT)
Interface Mapping: JDBC_WS_req_IM(source=JDBC_OUT_MI,target=WS_IN_MI)
In IM you need to use the above one only
Here you have two tabs as Request & Response, Request will be normal as
it is JDBC_MT to WS_Req with proper mapping
*In Response use File_MT <--- Ws_RES with appropriate mapping *
For ID configuration refer below sample scenario,
It is File1 to RFC to File2- Just in your scenario it is JDBC>WS--->File2
So refer and do necessary changes
From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.
Steps:
Integration Repository
The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
Integration Directory
This is where a few differences lie, so let me take some time.
1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
4. We need to add a few modules in the Sender File Adapter.
Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
Number - ModuleName - Type - ModuleKey
code1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3[/code]
Parameters
ModuleKey - ParameterName - ParameterValue
code1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System[/code]
With this configuration, you can now handle the requirement without a BPM
This feature been already blogged for JMS Adapters in these blogs ,
Sync/Async communication in JMS adapter without BPM (SP19)
/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
Async/Sync Communication using JMS adapter without BPM (SP 19)
/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - "How To Realize a sync-async and async-sync
bridge within the Adapter Framework" available on the Service Market Place.
For info on the Modules used here, look into these links,
Request Response Bean
http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/content.htm
Response Oneway Bean
http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm
Hope this info helps,
Thanks
Swarup -
Need to create sale order from the flat file & mail has to be sent
Hi Experts,
I have a requirement to create a sale order from a flat file and once the oder is created, mail has to be sent to customer as well as to internal user with the order details. I want to know how this process can be implemented and what adapters are needed to execute this.
it would be very helpful, if i get an step-by-step procedure.
Points assured for any helpful answers.
Thanks in Advance
JaiHI Jai,
You need to create two interfaces as file will be sending the Sales oreder details that you need to capture in IDOC or RFC and then have to trigger to create the sales order. For this Standard BAPIs are also available.
These RFC or BAPIs will response with Sales order details that you need to divert to Mail adapter with the use of BPM and also have to go for Async to Sync bridge.
File -
>XI (BPM) ---> BAPI/RFC (Request)
MailAdapter <- XI (BPM) <--- BAPI/RFC (Response)
For this refer below links for step by step
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
If you will use IDOC then In IDOC inbound processing you need to trigger for Sales order creation and then have to send the Sales Order generated IDOC as an Outbound to Mail Adapter
Flat file -
> XI ---> IDOC
IDOC -
> XI ---> Mail
This will be bit easy scenario to develope as compare to using BAPI with BPM
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
configuring IDOC-XI-Mail scenario using following web-log:
/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
/people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
Thanks
Swarup -
Suppress response in PI 7.0 adapter
Sigi
Hi Forum,
we have following situation:
IDOC -> SAP PI <-> WebService
The WebService responses back technical status u201Dtrueu201D or u201Cfalseu201D. Because of we have an IDOC initially we resolved that issue with an Async u2013 Sync bridge.
When the response is u201Cfalseu201D we set the adapter on an erroneous state, that forces it to resend the message as long as it get u201Cfalseu201D.
Unfortunately we have to pass the response of the WebService through the PI.
Now the question:
Is there a way to process the response message in the adapter only and suppressing it then that it is not passed through PI?
Thanks and best regards,
SigiHi,
Please go through blow below blog you have an idea to use adapter module,
http://www.****************/Tutorials/XI/Adapter/Index.htm
with out adapter module you can do,
File-RFC-File scenario.
we have three approaches,
1. using BPM
Refer this blog
http://sap-xi.com/sap-xi-scenario-file-rfc-bpm.html
2.using RFC look up you can acheive this
3. by using of Mpdule Beans you can achevie this scenario.
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without+BPM)
regards,
ganesh. -
Hi
I have a synchronous request response scenario using a ABAP proxy from a SRM system.The data gets written to a file system (Async) and we simulate a HTTP async response back to BPM from the File adapter, if file is written successfully.We close S/A bridge by passing on the response data(success/failure) back to ABAP proxy
Players in the scenario are
Abap Proxy - >S/A Bridge(Sync Receive)-> File Write(Send step Async)->Receive Async(HTTP response Async)-> S/A Bridge Close(Response to ABAP Proxy)
Initially the bridge was getting closed properly as we had unique correlation values sent from proxy.Currently we can see the queue has stopped(in qRFC monitor with SYSFAIL message).
When we clicked on the SYSFAIL message, we get a pop up saying, "CLIENT_RECEIVE_FAILED".
My ccBPM Technical monitor shows that the final SYNC Send is "IN PROCESS"..
Could this be a problem with the ABAP proxy?? How do i debug..??
Regards
Sriram V.Hi Sriram,
Pls go thru the Note 813029.
Regards,
Satish -
Cannot see sync messages in backend SXI_MONITOR
Hi
We have a problem with some sync message ScenarioX -> PI -> Backend sometimes taking 2-3 minutes executing. I have cheked performance of PI pipeline steps, and it is the CALL_ADAPTER which is timeconsuming. I have run and debugged the proxy code in backend system and that is performing well.
Question now is how the backend performs.
I have added LOGGING_SYNC to the IE ocnfig, but the messages are not showing in SXI_MONITOR on the backend system.
Any good ideas to what is the problem/solution?
Thanks
regards OleHI Ole,
explain you scenario, as you mentioned it is CALLADAPTER which time-consuming , so likewise explain which adapter you are using on receiver and sender side and what is the scenario .. is it synchronous or Asynchronous or Async to Sync Bridge and all information it will help to give you better solution for performance.. as many things depends on adapter you are using on Sender and receiver side as well as data size which is flowing thru interface..
Thanks,
Bhupesh -
How to do mapping based on value.
Dear Experts,
I am working on a file-bapi -r/3 synchronous scenario.
From SAP R/3, if error response is coming then we are supposed to write in a file and keep on to some location.
If response is successful then need not write to the files, only for error responses we have to write on the files and give it to the client. How do we filter the response messages as it will contain both the successful and un successful messages and we are only interested to get the error responses.
Please help me with the mapping as how to check the type 'E' and map accordingly? Do I have to go fr context change as well?
I will appreciate each n every answer.
Thanks
VeeruHi Viru,
As per your requirement,I feel definitely it can be handled at mapping level.Just try the same suggested above to create the response structure if TYpe=E else donot.
Something like this TYPE==Constant(E)>Create>Response_Node.
One more thing how are you making the File-RFC-File synchronous scenario. It's Async to Sync bridge, so either you have to handle the RFC response to file by BPM or by request response one way bean.
I believe the below link will be very helpful for you.Kindly check this out.
https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)
Thanks
Nutan -
Idoc to Webservice to Idoc scenario- is this possible without BPM?
Hi guys
We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
Questions:
1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
2. Is there a Async to Sync bridge in BPM?
3. How do I use this bridge in my scenario and customize it?
Appreciate your quick response
Regards
SatyaHi Satya,
>>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
You need BPM
2. Is there a Async to Sync bridge in BPM?
You dont need a "bridge", just take a synchronous send step
3. How do I use this bridge in my scenario and customize it?
Map the IDoc to request container and the response container to the second IDoc.
Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
Regards,
Udo -
IDoc to webservice and get the response back into another IDoc.
Hi guys
We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
Questions:
1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
2. Is there a Async to Sync bridge in BPM?
3. How do I use this bridge in my scenario and customize it?
4. If not possible, provide me the related docs using BPM for the same scenario.
Appreciate your quick response
Regards
NaiduHi,
this link may help u............,
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
Regards,
Azeez khan. -
How to Manipulate XML message in BPM
Hi,
We are running an Async to Sync bridge for our SAP ORDERS ORDERS05 IDoc to CXML order request interface. When we post the CXML order and get a response, we are trying to send a STATUS SYSTAT01 IDoc to SAP. We need to pass in the IDoc number for the orginal ORDERS IDoc in the STATUS IDoc.
In BPM, we are able to extract the DOCNUM for the ORDERS IDoc using the Container operation. However, we are not able to place this DOCNUM in the STATUS IDoc.
However, we cannot use a Container operation to put back the value. Any ideas on how to do this? We want to manipulate the STATUS IDoc.
Thanks,
Jay Malla
Genentech SAP XI TeamHi Jay,
Let me summarize:
1. you have the value somewhere in the "incomming message"
2. you want to place it in "STATUS IDoc"
3. both of these messages are in one integration process
right?
so why don't you do a simple transformation:
Incoming message + Response status message -> STATUS IDoc ?
Further reference:
http://help.sap.com/saphelp_nw04/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/content.htm
I believe there's no need to use REQUEST_DOCNUM
If I misuderstood your problem please tell me:)
Regards,
Michal -
Hi
I am using the BPM for the IDOC to Webservice Synchronous Scenarion...
When i trigger the IDOC from SAP it stuck in the Queue ...when i checked in the SXMB_MONI and when i clicked in PE it taking me to the INbound Queue ..
When i opened the Queue its showing the SYSFAIL ..and when i double click on that its shoes me Permanent ERRor in BPE Inbound Processing..
In BPM i used the Receive and Send Synchronous and Send Asynch steps ..
Did i miss Any thing
SVHI,
I think for IDOC to Webservice you are going for Async to Sync bridge with BPM and have the similar steps as mentioned in below link.
Asyn - Synch BPM - Async/Sync Communication using JMS adapter without BPM (SP 19)
If there is some other flow plz let me know. Also let me know the exact error that you are facing with it.
Thanks
Swarup -
Under IOS 12.1(13)E, one can view the detailed interface counter using the command, for example :
show counter interface gigabitEthernet 10/7
It comes up with detailed counters in hexadecimal format. I need to know, if there is way, to clear these counters.
Thanks,
Nadeemzeus#clear counters ?
Async Async interface
BVI Bridge-Group Virtual Interface
CTunnel CTunnel interface
Dialer Dialer interface
FastEthernet FastEthernet IEEE 802.3
Group-Async Async Group interface
Line Terminal line
Loopback Loopback interface
Multilink Multilink-group interface
Null Null interface
Tunnel Tunnel interface
Vif PGM Multicast Host interface
Virtual-Template Virtual Template interface
Virtual-TokenRing Virtual TokenRing
Lex Lex interface -
Regarding Error Message in RunTime Workbench
Hi All,
Could you please tell me how to resolve the following error.
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error Application/UNKNOWN/APPLICATION_ERROR - application fault
While doing testing in the Integration engine. This is JDBC to SOAP scenario.
Regards,
SaiHi Sai,
I think as per the error message, the WebService is sending back the response.
Probably you have to use JDBC adapter as Synchronous to capture the respons eof WebService.
But generally JDBC sender is used to be Async,and I think you have used it the similar way.
You need to build the Async to Sync Bridge for JDBC to SOAP communication.
Please refer below links for more details
http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/45/20d251c20a0732e10000000a155369/content.htm
The above links are focused for JMS adapter but you could be able to use these Adapter modules for other types of adapters also.
AF_Modules/RequestResponseBean &
AF_Modules/ResponseOnewayBean
I think the abouve modules need minumum SP 16 onwards
Either way it can be achivable with BPM also
Thanks
Swarup
Maybe you are looking for
-
Changing content type of xml file to pdf
Hello, I have an xml file (extension is *.xdp) which can locally be opened with Adobe Reader and displays as a regular pdf file. Adobe has a technology that allows xml to be merged with a pdf shell, and thus populating the pdf file with the values re
-
Best efficient general practice for serial communication
hello, when talking to a serial instrument, do you have to insert millisecond waits in the while loop or will the reading and writing from the instrument generally control the loop speed of the loop? On the basic read write example they feed in the
-
How do i paste a resume onto a job application ?
''duplicate - locking - https://support.mozilla.com/en-US/questions/867271'' i am trying to paste a text resume onto a job application. i have not been able to transfer to application
-
Hello, I want to set up the following - a CLI view that will restrict different users when they login using telent or ssh. Now for this i have enable AAA, and also create two views one for Guest and one for ADMIN. I then have set up secret passwords
-
Ho to create fileupload ui element dynimically?
Hi, Experts, I want to create fileupload ui element dynamically in web dynpro for abap and how to pass parameters. please suggest me on that. Thanks in advance. Shabeer ahmed.