Multimapping synchronous webservice and async idoc
Experts,
I have a scenario where the sender is webservice (soap) and receiver is IDOC (async) + SOAP (sync)
When a webservice sends order to PI, i need to create an idoc in SAP as well as send back response message to webservice. (webservice is expecting to send data using the response payload)
We have to generate few values from the request and manipulate them (using message mapping) and send response back. (similar to sync webservice interface)
What is the best way to achieve this? can we integrate both async and sync interface in one interface without using BPM?
Map 1 -> SOAP <-> PI <-> IDOC
Map2 -> SOAP <-> PI <-> SOAP
Best Regards,
Pavan
However if i do make use of BPM then the idoc that will be returned from SAP to PI will be different since the same idoc
cannot send data back.
No problem if the sending and receiving IDOCs are different. The only thing that you need to take care is the IDOC_Request and IDOC_Response should have one field which contains the same value....for correlation in the BPM.
Is there a way we can setup some sort of correlation to make sure that the new idoc that is triggered after the sales order
creation is indeed related to the one that is sent from PI initially.
As mentioned above the IDOC that BPM sends and receives (from ECC) should have a field which has same value.
Regards,
Abhishek.
Similar Messages
-
Hi all,
I have a scenario like this
1.the sender is a synchronous webservice(wsdl provided by the client)
2.the reciever is an async Idoc
I need to send the soap request message to the idoc.i dont need any response back,but the problem is its a sync async communication.
please suggest
AbhishekHi,
>>My another concern is i need to send a sync data at a time to a sync BAPI for some acknowledgement,so please suggest me considering both thre case.
No Problem,
In the SOAPIdoc Async case just create the Outbound Message Interface with Outbound Async mode--Here we are not expecting any response message back to SOAP Application.
Just select the Request structure of wsdl file, we dont require response structure in this case
Select the QOS in the sender SOAP Channel as Exactly Once
============================================================
In the SOAPRFC Sync case just create the Outbound Message Interface with Outbound Sync modeHere we are expecting response message to SOAP application
Here we have to selct the Request and the response message structure to get the response back
Select the QOS in the sender SOAP Channel as Best Effort
Regards
Seshagiri -
Synchronous webservice-Acknowledgement
Hi Experts,
I have a scenario where I need to communicate between a synchronous webservice and an Idoc(async).
Webservice Interface:(Sync)
Sender Message: Webservice Response
Reciever Message: Acknowledgement
Reciever Interface:(Async)
IDOC: ACC_DOCUMENT
The Webservice response message will be mapped to the IDOC.
The acknowledgement message also needs to be sent to the webservice as a response and that ack depends on the value of the webservice response field value.
Please suggest any design to execute the same.
Regards,
AkhilU can design in two manners
1. The webservice execution could be done before message processing at XI, and directly webservice response is sent to XI to be mapped to the Idoc data. Here no ack handling would be required.
2. Use a SOAP client which sends data to XI. Make a sync call to webservice to fetch its data (Again 2 options exists, use BPM or use SOAP lookup). Now the response received can be mapped to Idoc structure.
Regards,
Prateek -
Hi all,
I need to have a synchronous webservice to communicate with a synchronous send step in BPM.the output message of the webservice is defined and its of more relevence but cant specify the input message of the webservice.whether i need to make a dummy message type or aquery string.please anyone help me.
Regards,
PaulHI,
If your sender or receiver is Synchronous Webservice and another side is Async then you have to go for Async to Sync or vice versa BPM bridge.
Please Refer
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
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
Thanks
Swarup -
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. -
Differnce between sync and async webservices
All,
What is the difference between sync and async web services?
Actually i am looking for a web service, which doesn't return a response. is this achievable?
ThanksSRAVZ wrote:
What is the difference between sync and async web services?from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
Actually i am looking for a web service, which doesn't return a response. is this achievable?it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.
Edited by: jtahlborn on Dec 2, 2012 9:22 AM -
Mapping between Sync sender and Async Receiver
Hi Experts,
How to do mapping between Sync sender and Async Receiver?
Flow: Sync SOAP Sender Client -> First Async webservice call -> Second Sync webservice call
1. I have to send some input/request details to first webservice call. It will just update the database.If I do mapping with SOAP Sender client and first Async webservice.. I am getting timeout, because it expects response mapping too.
2. Only Second webservice call return the response back to SOAP Sender client.Here mapping between SOAP Sender client and Second Sync webservice call. I don't have any problem here.
I have to pass the same request info to both webservice calls, Please tell me how to do the async mapping in BPM?
Regards
SaraHello Sara,
Hope these blogs are useful to you..
/people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
/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
Thanks,
Satya Kumar -
SAP PI 7.4 SOAP - ABAP Proxy Synchronous Webservice
Hi Everyone,
I am developing the following scenario:
3rd party makes a SOAP call to SAP (via PI) to determine whether a vendor exists or not in the SAP system. The link for the call is provided by us from the Integrated Configuration.
The request comes in, calls an ABAP Proxy to check if a vendor exists and sends a response back to the SOAP call with a 'Y' or an 'N'.
I've read a lot about various scenarios but I'm having trouble connecting the dots as I'm fairly new to PI. I'd appreciate any help.
I've made the following set-up based on assuming I need separate Service Interfaces for the SOAP Request & Proxy Response
ESR
1. Message Types
SOAP (MT_SOAP_REQ & MT_SOAP_RESP) - PROXY (MT_PRXY_REQ & MT_PRXY_REQ)
2. Message Mappings
MM_REQUEST which maps MT_SOAP_REQ to MT_PRXY_REQ)
MM_RESPONSE which maps MT_PRXY_RESP to MT_SOAP_RESP)
3. Service Interfaces (Synchronous)
(SOAP Request)
SI_IN (Inbound Interface) with Request = MT_SOAP_REQ and Response = MT_SOAP_RESP
(Proxy Response)
SI_OUT (Outbound Interface) with Request = MT_PRXY_REQ and Response = MT_PRXY_RESP
4. Operation Mapping
OM_LOOKUP which maps SI_IN to SI_OUT with Request (MT_SOAP_REQ to MT_PRXY_REQ)
and Response (MT_SOAP_RESP to MT_PRXY_RESP)
I create the ABAP Proxies for each Service Interface. SI_IN contains the required coded method to check if there is a vendor.
I create the webservice and binding for SI_IN in SOAMANAGER
At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation) to get the response.
ID
In the Integration Directory I've created a SOAP_SENDER communication channel for System A and SOAP_RECEIVER channel for SAP. For the SOAP Receiver I need to specify a URL - what should this be ? Is it meant to point to the web service for SI_IN in SICF or just to the generic http://host:8000/sap/xi/engine?type=entry
Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
I created an Integrated Configuration for the SI_IN Service Interface with comm channel SOAP_SENDER from System A and SOAP_RECEIVER for SAP backend. I then got the WSDL for this to provide to the 3rd Party to test (via SOAP UI) . Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
I appreciate you taking the time to go through this . Any help is greatly appreciated.
Thanks very much
GaryI create the webservice and binding for SI_IN in SOAMANAGER
At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation) to get the response.
>>>>No need to do anything in SOAMANAGER
Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
>>> No. Soap adapter is fine. Configure your receiver channel as explianed in the below blog (section 4.3)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
>>>>Your receiver determination and interface determination takes care of this.(receiver interface & outbound processing tabs in ICo) -
Error in the workflow which executes background synchronous webservice task
Hi,
I am very new to SAP Workflows. I created a workflow with one activity step in it. The activity step actually executes a task TS77000300 (synchronous calculation - its an SAP task). When I test it. I get an error "Error when starting the service" with exception 8987, area SWF_HTTP and message 125 - Object WEBSERVICE method PROCESSBATCH cannot be executed.
I checked in WF_EXTSRV tcode, there is an entry for the background synchronous webservice task.
I checked in SWLWPTSSID table, there is an mapping between task-id and service id from WF_EXT SRV.
I am not sure where its going wrong. Any help resolving this issue is appreciated. Thanks a lot.
Regards,
RajaGurprit/All
Thanks Gurprit for the direction.
Even if I execute the the workflow( WS77000647 from SAP). The first step invokes Process Dialog which asks for three numbers and two operands. When I input all the input params and click calculate button, the second step which is actually the background synchronous task, results in the same error in the workflow log and in the Process Dialog page browser it says "Entries sent for calculation" with the same input screen.
Am I missing anything here to run background synchronous task? Any help regarding this is appreciated.
Thanks & Regards,
Raja -
Webservice and BPM; connection AFW failed
I have created the following integration process:
1. Asynchronous receive step of a xml file;
2. Synchronous send step to invoke webservice;
3. Asynchronous send step of the response file.
In this process XI will read a xml file from a directory on the server, convert this file to a SOAP request, call the webservice and convert the SOAP response to a xml file. This file is then sent to the same server directory.
When I look in SXMB_MONI the whole process is set to ok. The response of the webservice is in the payload of the XI response message. (This is the message from my integration process to the inbound message interface.).
But the response file never reached its destination.
When I look at the file adapter monitor it reports: "Up and running - no message processing until now".
And when I look at the message monitoring, there are the following messages:
2005-07-29 11:30:55 Success The message was successfully received by the messaging system.
Profile: XI URL: http://nthvsnw4:50000/MessagingSystem/receive/AFW/XI
2005-07-29 11:30:55 Success Using connection AFW. Trying to put the message into the receive queue.
2005-07-29 11:30:55 Success Message successfully put into the queue.
2005-07-29 11:30:55 Success The message was successfully retrieved from the receive queue.
2005-07-29 11:30:55 Success The message status set to DLNG.
2005-07-29 11:30:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
2005-07-29 11:30:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:35:55 CEST 2005.
2005-07-29 11:30:55 Success The message status set to WAIT.
2005-07-29 11:35:55 Success The message was successfully retrieved from the receive queue.
2005-07-29 11:35:55 Success The message status set to DLNG.
2005-07-29 11:35:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
2005-07-29 11:35:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:40:55 CEST 2005.
2005-07-29 11:35:55 Success The message status set to WAIT.
2005-07-29 11:40:55 Success The message was successfully retrieved from the receive queue.
2005-07-29 11:40:55 Success The message status set to DLNG.
2005-07-29 11:40:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
2005-07-29 11:40:55 Success The asynchronous message was successfully scheduled to be delivered at Fri Jul 29 11:45:55 CEST 2005.
2005-07-29 11:40:55 Success The message status set to WAIT.
2005-07-29 11:45:55 Success The message was successfully retrieved from the receive queue.
2005-07-29 11:45:55 Success The message status set to DLNG.
2005-07-29 11:45:55 Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException.
2005-07-29 11:45:55 Error The message status set to NDLV.
I looked at several postings with the subject "Error Delivery of the message to the application using connection AFW failed, due to: RecoverableException", but I could not find any which seems to meet my problem.
I would highly appreciate any help on this.Sorry for my late response, but I did not look at this after it was solved and I did not receive any mail. So please let me know if you still need some support.
I could send you a document with some screen shots. If so send me an email ([email protected]) -
Doubt about Sync and Async process
hi experts i have one small doubt
if we r having the scenario like file to rfc
iam passing the input parameter like material number through file adapter
and then i want to get the material details response from rfc sap r/3 to file system
this is the scenario.
now here which is the synchronous processs
and which is the asynchronous process
please let me know
clear my doubt with explanation please......
thanks
giriHi Sesha,
For information on sync/async please refer:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm</a>
Regards,
Subhasha ranjan
Message was edited by:
Subhasha Ranjan -
Differences between rfc and ale/idoc.
hi ..
will u please send the differences between rfc and ale/idoc's.Hi,
Please reward with points if helpful................
ALE is SAP proprietary technology that enables data communications between two or more SAP R/3 systems and/or R/3 and external systems. There are three layers in ALE system: application services, distribution services, and communication services.
For communication services, ALE performs a Remote Function Call (RFC) using the port definition and RFC destination specified by the customer model. RFC is used to communicate between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
Means of creating and operating distributed applications.
The purpose of Application Line Enabling is to guarantee a distributed, but integrated, R/3 installation. This involves business-controlled message exchange with consistent data across loosely linked SAP applications.
Application integration is achieved not via a central database, but via synchronous and asynchronous communication.
Application Link Enabling comprises the following three layers:
application services
distribution services
communication services
Two Development Models
Distribution using BAPIs
Distribution using Message type
The programming model "Distribution using message types" contains the definitions of message types and IDoc types and the ABAP code for processing inbound and outbound IDocs.
Defining message types and IDoc types:
If you want to create message type enhancements for master data distribution, you also have to create a new message type for each enhancement.
The ALE interface does not allow you to create different segment data for different IDoc types for the same message type.
Writing ABAP code:
Outbound Processing
Inbound Processing
You can find information on other ALE functions under:
Master Data Distribution
Communicating with Non-R/3 Systems
1. The Remote Function Call facility allows you to call an R/3 Function module on a remote machine.
2. To communicate between two R/3 Systems and also with an External System. External Application program also can call these function module for integration.
3. RFC or sRFC - Synchronous RFC
aRFC - Asynchronous RFC
tRFC - Transactional RFC
qRFC - Queued RFC (I.e. Serialization of tRFC)
Types of RFC Call
Synchronous
CALL FUNCTION Func Destination Dest
CALL FUNCTION func DESTINATION 'NONE' ...
CALL FUNCTION func DESTINATION BACK' ...
Asynchronous
CALL FUNCTION func STARTING NEW TASK taskname
PERFORMING form ON END OF TASK
RECEIVE RESULTS FROM FUNCTION func
Thanks
sivaparvathi -
Can processes be both sync and async
Hi,
When creating a BPEL process in JDeveloper, there are two pre-defined templates for synchronous or asynchronous processes. As such, I've been viewing a process as being either synchronous or asynchronous.
However, after a bit of experimentation, I've come to the conclusion that a process can contain both synchronous and asynchronous operations.
Does this sound correct? Should I not be viewing a process as being one or the other, and it is fact the operation that is sync or async?
Cheers,
TobySome thoughts on that:
-You can view sync as a special form of async, so each sync process is also an aysnc process. (I'm ignoring the tech diff like two ports, two partnerlinks here)
-You can call sync and async (BPEL-) processes in one process.
-If a process P contains only sync processes, that will make P sync.
-If a process P contains (among others) at least one async processes, that will make P async.
-If you have a async process, you can wrap its invocation with a timeout, making it a sync process.
Roman -
Naming sync and async operation
Hi there,
Does somebody know what is the rule for naming the synchronous version of an asynchronous operation (or vice verse)? Also, is the implementation pattern for the Create/Update/Delete/Sync EBO based EBS operations always supposed to be asynchronous request-response (while synchronous for Query/QueryList)?
I know that Process() can be designed as both synchronous and asynchronous, but can the aforementioned have their synchronous version as well (asynchronous for Query/QueryList)?
Regards,
/Miko839396 wrote:
Dear Friends,
In 11g databgurad ,
I planned to used 2 physical standy once in the same LAN and another in the DR site
I need to have SYNC between primary and Standby 1 which is in same LAN
I need to have ASYNC between primary an standy 2 which is in DR site
Is it possible , if so how do i achieve this?
Because i believe SYNC and ASYNC will be decided by oracle internally based on the Protection mode we choose so in that case
we can't have mix up (SYNC and ASYNC) for standby databases?
Regards,
DBI think John already mentioned how to do, let me derive more .
SQL> alter system set log_archive_dest_2='SERVICE=same_lan SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
SQL> alter system set log_archive_dest_3='SERVICE=DR ASYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
>
839396
Newbie
Handle: 839396
Status Level: Newbie
Registered: Feb 23, 2011
Total Posts: 14
Total Questions: 8 (8 unresolved)
>
why all the questions are unanswered? Please close the threads and keep the forum clean. https://forums.oracle.com/forums/ann.jspa?annID=718 -
Regaring Synchronous communication and ASynchronous Commu
Hi,
Can any please describe me for the above Synchronous communication and ASynchronous Commu. Please don't send any weblogs.. Or Documentations please type the answers in simple language just to understand excatly.
1. when to use these.
2. where to use..
3. How its UsefullHi,
When you make a synchronous call i.e the message is sent, the receiving system is active and can accept the call and further process it if necessary.
It is advantageous in a scenario which requires immediate return of data to the sender system.
One example would be where, you create a purchase order with account assignment in the sender system, and you want to perform a budget check in central accounting before you save the purchase order.
A disadvantage would be that both systems are required to be active.
In Asynchronous communication the receiving system does not necessarily have to be available at the time a function call is dispatched from the sender system. The receiving system can receive and process the call at a later time. If the receiving system is not available, the function call remains in the outbound queue of the sending system, from where the call is repeated at regular intervals until it can be processed by the receiving system.
An example would be, you are sending a purchase order to a vendor system. The sending system cannot influence the availability of the receiving system. If the receiving system is not available, the purchase order can be sent repeatedly until the vendor system is available again.
The obvious advantage of async communication is that the receiving system does not have to be available at the time the function call is made and the disadvantage is that processes that require an immediate response to the sender system cannot be executed using this method.
Hope this gives a clear idea of sync n async communication.
Regards,
Chandra
Maybe you are looking for
-
[solved] Long boot time because of NetworkManager.service
Hello. It seems that my ASUS N56V latptop takes a long time to boot. systemd-analyze reports this: Startup finished in 742ms (kernel) + 3.094s (initrd) + 23.838s (userspace) = 27.675s └──[4]──╼ systemd-analyze blame 12.083s NetworkManager.service 11.
-
How do I reset an iPod for a different user
How do I reset an iPod for a different user
-
10.8.3 is said to fix the problems with SpectraView 2 !
A post from a NEC maven alerted me to the fact that 10.8.3 is out and that it fixes the long-standing inability of SpectraView 2 to comminicate with monitors. I am downloading the upgrade now. This is great news for those of us who depend on SpectraV
-
Hoe top create summary and detail report using ABAP QUERY
Hi , Can any one suggest me how to create summary and detailed report using ABAP Quey. Regards, Raghu.
-
Interactive Forms objects in workflow
Hi everbody, I'm currently trying to configure a workflow scenario with Interactive Forms by Adobe. My problem is to initiate a workflow object with interactive forms. From my understanding the object type "dynp_form" in workflow builder doesn't have