IDOC to Webservice to Email - Async to Sync Scenario
Dear Experts,
I have a scenario: IDOC to Webservice (Async to Sync)
The response from the webservice needs to be sent via email. So I have a Email channel added to the Business service (ECC).
I tried this with BPM, but it does not work complaining about multiple receivers in a sync receiver interface.
Anyone has done similar to the above?
1. Using BPM?
2. Without BPM?
Thank you.
Thank you for the reply. This is what I have:
Repository:
1. Async ABS Interface for webservice request message
2. Sync ABS interface with webservice request message and response message
3. Async ABS interface for the reposnse message
5. Async IB interface for hte email message
4. Message mapping between IDOC and webservice request message
5. Message mapping between webservice response message and email message
6. 2 Interface mappings with the above mapping objects
7. Integration Process BPM with Receive step (Async w/s req), Sync send step (w/s req and respp) and Async send step (w/s response)
Directory:
1. Receiver agreement with BPM as sender and Webservice as receiver with SOAP receiver channel
2. Receiver agreement with BPM as sender and ECC as receiver with email receiver adapter
3. Interface determination for request mapping
4. Interface detrmination for response mapping
5. Receiver determination with ECC as sender and BPM as receiver
6. Receiver determaination with BPM as sender and Webservice as receiver
7. Receiver determination with Webservice as sender and ECC as receiver
is the above sufficient and right?
Thank you.
Similar Messages
-
ASYNC to SYNC scenario using BPM.
hi,
i have a async to sync scenario. i have a File sender->PI(BPM)->ECC and the response from ECC->PI->SOAP.
Here in PI, i am using BPM. The ECC side is a Synchronous BAPI. The response is sent to the SOAP receiver.
in BPM, can someone tell me how many transformation steps do i need i.e mappings. and how many abstract interfaces, synchronous interfaces, outbound interfaces, inbound interfaces?
also how many send,receive and transformation steps.
and in the configuration part,
how many receiver determinations, interface determinations do we need.
rgds,
mithunHi,
File sender->PI(BPM)->ECC and the response from ECC->PI->SOAP
Service interfaces
-> SI_OB for file (Request)
->SI_IB for Soap(ASy Response)
->SI_ABstract(ASy Request)
->SI_Abstract (Asy Response)
->Si_REq_RES_ABS(Syn)
->SI_ABS(ASY BAPI REQ)
->SI_ABS(ASY BAPI RES)
mappings
one for request mapping(file Req to BAPREQ) and one for response mapping(BAPI REs to RESponse mSg).
operation mappings-2, one for Req MApping ANd One for Res ponse mapping.
IP
reciv->transformation(REq)->Send(SYN/ASYN)->transformation(RES)->Send
ID:
3 reciver deteminations
one for file to IP
IP to ECC and IP to SOAP
3 interface determinations
1 sender agrement
2 reciver sgrements
one for IP to ECC
and IP to SOAPregards,
ganesh -
Can you explain steps in the Async and Sync scenarios JDBC to RFC.
Hi,
Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
Like,
The data is picked up from the database table through JDBC adapter.
It is passed on to SAP by calling the RFC. RFC gets executed
successfully. The status is returned by the RFC. The status needs to be
updated back into the SQL database table.
Is this a sync case or async case.
What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
Sooryahi check the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
JDBC Synchronous call using BPM
Data Types -
1) File Input
2) JDBC Req
3) JDBC Response
4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
Message Types
4 for each data type
Message Interfaces
1) Async, Outbound, Interface, to receieve the file
2) Async, Inbound , Interface to send the file from XI
3) Async, Absract , Interface of type File message type to recieve the message in the BPM
4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
Message Mapping:
1)Mapping between File Req to the JDBC req
2) JDBC Response to File Response
Interface mapping:
1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
Use corresponding mapping for Req and Resp..
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
Stuck in BPM Transformation process Async to Sync Scenario
Hi there im building up a R/3 ---> Idoc PI -
>Soap 3rd Party Async/Sync Scenario,
on the integration process window i drag a transformation box to change my input idoc to the structure the Webservice needs, but i cant import it, i tried to make a new one using the abstract interfaces im using but it tells me i cant transform an Async Interface ( Idoc ) to an Sync Interface ( Webservice ), any sugestions?, i can provide everything i have done up to date regarding interfaces mappings and stuff if needed, thx!!!,
Roberto.but it tells me i cant transform an Async Interface ( Idoc ) to an Sync Interface ( Webservice ), any sugestions
You cannot perform a mapping between an Async MI and a Sync MI....not only for a BPM but even in general
Your BPM should have below steps:
Receive(IDOC)-> Transformation(IDOC_to_SOAPReq...both Async)-> SyncSend(SOAPReq and SOAPResp Messages)
You need below Container elements in your BPM:
1 for receiving the IDOC
1 for the SOAPReq message
1 for the SOAPResp message
You cannot have a Container element for Sync Interface.....you include the ABS Sync MI directly in the SyncSend step and then will get Request and Response fields (automatically)....here specify the SOAPReq and SOAPResp Container elements.......
Your Interface Mapping will be between MI_IDOC_ABS and MI_SOAPReq_ABS......and then you can inlcude this in the Transformation step
Just a question to ask....what are you going to do once you receive the SOAPResp message?
Regards,
Abhishek. -
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 -
Hi ALL,
My Scenario is Sender Idoc and Receiver is SOAP (Webservices).my sender is Async but my receiver is Sync system ..My Receiver SOAP system is sending a Response acknowledgment..which i dont want to in my sender..
Every time i trigger message i am getting an acknowledgment ,, since i haven't handled that acknowledgment the scenario is going to Error ..
Suggest wht i can do in this case.
how can i handle this Ack do i need to use the Sync ,,,Aync bridge.. ?
Regards
ShakifHi,
You can define an async, inbound Message interface for the Receiver web service with only request message type since you dont want any response back.
Your sender IDOC system might be requesting acknowledgements. To stop this run IDX_NOALE report in XI system according to your requirement. You can check the following doc :
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb]
Thanks,
- Gujjeti. -
Hello together,
I don't find any useful posts for a IDoc to WebService szenario inclusive async-sync-bridge.
Is there no step-by-step blog for such a scenario?
Thx
manukuHi Manuku
You could have a look at the following blog: /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
It is RFC -> XI -> WebService scenario, but it should be fairly easy to change the RFC part with IDOC.
Best regards,
Chris -
IDOC to Webservice (Async/Sync scenario)
Hi Experts,
Can you please help me out need to design an SEnario
IDOc to webservices useing SOAP. to External WEbservice,
I need some step to design.and Need to validate VEndor Number in that. in External webservice.
Reg's
Rajhi raj,
u can use asynch/synch bridge in bpm for synch idoc-xi-soap.
for bpm refer:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
for soap adapter refer;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
for idoc refer:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
u can refer all these links and complete ur scenario.
[reward if helpful]
regards,
latika. -
Idoc (async) - soap (sync) - file (async)
Hi.
I have a flow from idoc (async) to webservice (soap sync) and I want the response from soap to be written in file (async).
I want to do this without BPM and I have read some posts about using modules RequestResponseBean and ResponseOnewayBean.
Can someone help me with this step by step.
I have in ESR a OM that is async because of the outbound Idoc. Do I need a sync OM for the soap call and another async OM for the response to the file.
Where do I need to put the modules? In the SOAP receiver?
I know there are some threads that cover some of this but I couldn't find any that cover the whole of my issue step by step.
Regards,
HjorturYes doing async to sync is possible without bpm. YOu already got the design solution.
>Where do I need to put the modules? In the SOAP receiver?
Sender Channel. In your case you might not need channel for idoc but for this configuration you might need to create one. That is my guess.
In the module section sequence as follows
1) AF_Modules/RequestResponseBean Type: Local Enterprise Bean Module key 1
2) CallSapAdapter Type Local Enterprise Bean Module Key 2
3) AF_Modules/ResponseOnewayBean Type Local Enterprise Bean Module Key 3
Plus follow the link given by shabarish as reference. -
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. -
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 -
Failed to determine receiver - Async to Sync communication
Hello,
I have a setup in which IDoc flows from R/3 to XI to destination through HTTP. Being Async to Sync a BPM is put in place. This flow runs fine.
We tried adding one more receiver to the existing setup. The sender is the same as in the above mentioned flow. The receiver determination is failing. A separate receiver determination was configured for the second flow. The error message is "NO_RECEIVER_CASE_BE". We checked the entire configuration settings. Everything appears fine. Why is the receiver determination failing ? None of the solutions existing provides an answer that works. Any clues ?
Early answers would be much appreciated.
Thanks in advance.
Warm Regards,
IS / SivaIn the same receiver determination, with no condition, just add an additional receiver. Create interface determination and receiver agreement for the corresponding receiver. Activate all objects and try again with your input.
Hope this works..
Regards,
Parvathy -
Async to Sync interfaces.
Hi all,
We have IDOC(Async) -> SOAP (Sync) -> Proxy(Aync) interface requirement.
Can anyone please suggest if it can be done without BPM?Hi AYURA,
Use request response bean and check the link for details.
http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter
Reagrds,
Arijit -
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
Maybe you are looking for
-
Add internal hard drive for FCP scratch disk
i previously had three LaCie big disk external drives on my G5 to work along with Final Cut Pro, one has quit workin and the others are ready to stop working also. This time around im gonna try to put another local drive inside the g5 via ATA bus. Is
-
ICONS are not appearing in oracle forms 10g
Dear All, Good Morning. I am using oracle 10g forms. I had my old application in forms6i. I migrated it into forms 10g. Application is running fine no function problem there is. But icons are appeared into button. Please tell me way, how can i config
-
I want to output a set of lines in the first page such that the lines are taken form a resource file called resource.properties. The properties files can be modified by any one wanting to change the message without having knowldge of JSF / JAVA. This
-
Hello everybody. Having trouble publishing a web site we built in Iweb 06. We changed to one of the new templates and added a couple of new pages. Have tried to approx 4 times and every time it results in crashing Iweb before it publishes. Any help w
-
What do I need to do if I want to reset my computer?
I have had this laptop for several years now. I want to reset it and put new software on it and get it back to operating like it did when I first got it. How can I do that?