cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronous & Fault

Former Member
0 Kudos

Hi,

I have few questions here..

Synchronous

1.For which Adapters we use Synchronous communication mostly..

2.in Synchronous, how response will be posted to sender again?

3.How to track if there is a problem in Synchronous scenario

4.Where & When to use ExchangeFaultData, ExchangeLogData, any blog on this?

5.Where & When to use Fault Message Types,

and diff between Standard Data & Additional Data

6.What is Payload?

Thanks

Seshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Seshu,

Questions 1 and 2:

http://help.sap.com/saphelp_nw2004s/helpdata/en/4b/d26b3d32390968e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/18/da765daf5311d6b29f00508b6b8b11/frameset.htm

Also take a look at Sriram's blog for demo on a sync-aync bridge in a 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

Take a look at this too..

/people/r.eijpe/blog/2006/04/20/the-d-xie-soap-part-2-xi-design-decisions-for-synchronous-or-asynchronous-messaging

ExchangeFaultData and ExchangeLogData/Standard data and Additional data :

http://help.sap.com/saphelp_nw2004s/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm

Payload :

The payload is the actual contents (business data) of a message in the Exchange Infrastructure.

Look at these relating to payload..

http://help.sap.com/saphelp_nw2004s/helpdata/en/31/6c5c3c3806af06e10000000a11402f/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/31/6c5c3c3806af06e10000000a11402f/frameset.htm

Hope these answer ur question..

cheers,

Prashanth

P.S Please mark helpful answers

Answers (4)

Answers (4)

former_member431549
Contributor
0 Kudos

One more point on synchronous messages. Avoid them whenever possible, as they cannot be recovered should the system have a problem.

Former Member
0 Kudos

Hi,

Ans to Ur 2 and 3rd Questions: <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/content.htm">Sync/Async Communication</a>

go through the example...

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm">Fault Message Type</a>

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/5d/a45c3cff8ca92be10000000a114084/frameset.htm">Fault Messages</a>

<a href="http://help.sap.com/saphelp_erp2005/helpdata/en/f3/c26c3cbfac384fe10000000a114084/frameset.htm">Fault Messages 2</a>

<i>What is Payload?</i>

XI payload is actual business data to be exchanged it is in xml format. Ex:SOAP Header consitst of important information such as Name Space, Record Sets, Source/Target data...

From,

Yallabandi...

bhavesh_kantilal
Active Contributor
0 Kudos

Seshu,

<i>1.For which Adapters we use Synchronous communication mostly.. </i>

Adapters which support Best Effort ( BE ) Quality of service, allow Synchrnous communication. Take a look at this link , QOS in the table for the same,

http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm

<i>2.in Synchronous, how response will be posted to sender again?</i>

You will use a SYNCHRONOUS MESSAGE INTERFACE to send your REQUEST MESSAGE. SO, the RESPONSE will be sent back to this Message Interface itself.

<i>3.How to track if there is a problem in Synchronous scenario<i>

Configure Alerts, use Fault Message , Exception Handling in BPM etc to deal with the error scernarios. Multiple options available depending on how you want to deal with exceptions.

<i>6.What is Payload?</i>

The actual XML message on which mapping is performed is called the PAYLOAD.Look into SXMB_MONI .

Regards,

Bhavesh

Former Member
0 Kudos

Hi,

Thanks for reply, any more info can give me on Sync Scenarions..

Thanks

Seshu

bhavesh_kantilal
Active Contributor
0 Kudos

Seshu,

Mostly scenario that have a response are synchronous scenareios.

Take the example of HTTP -- XI -- RFC. In such cases, you will post a request message using the HTTP adapter to XI to be sent to make an RFC call. The FM wil get executed with the HTTP request mesage and will return the response which XI will send back to the HTTP.

Same holds true for SOAP /Webservice , JDBC adapter and other adapter which support Best Effort or Synchrnous Processing.

You can take a look at these blogs for the same,

RFC -- XI -- Webservice,

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

Http CLient Code,

/message/266750#266750 [original link is broken]

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

Regards,

Bhavesh

Former Member
0 Kudos

For synchronous communication with SAP normally, RFC adapter is used. With implementations with MySAP, proxy is used for syn communication.

Fault messages are used for error handling.

Regards,

Kavita