cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI ACK

Former Member
0 Kudos

Hi Guys;

Can anyone tell me how to handle Acknowledgements in SAP XI.

We want to send back acks to the provider of messgs.

ECC 5.0 ,Oravcle 10.2

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Yes Sandros was explained correctly, please see the following details also.

Acknowledgments enable you to confirm that an asynchronous message has been received. You must explicitly request acknowledgments in the application program and can specify what kind of confirmation you want to receive.

· Positive or negative acknowledgments

· System acknowledgments used by the runtime environment to confirm that an asynchronous message has reached the receiver.

· Application acknowledgments used to confirm that the asynchronous message has been successfully processed at the receiver.

In the application program you can query and evaluate the status of an acknowledgment.

Prerequisites

The following receivers support acknowledgments:

· ABAP and Java proxies (XI 3.0 SP1 for the latter)

· Integration processes

· IDocs (note that IDocs only return acknowledgments when they have been configured using the ALE audit)

· Receiver adapters support system acknowledgments but not application acknowledgments

See the below links also,

http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/frameset.htm

Regards

Chilla..

udo_martens
Active Contributor
0 Kudos

Hi Chilla,

you can have a newer version of the Library if you substitute "nw04" with "nw04s": http://help.sap.com/saphelp_nw04s/helpdata/en/29/345d3b7c32a527e10000000a114084/frameset.htm

Regards,

Udo

Former Member
0 Kudos

If you have ECC -> XI -> JDBC you can the document

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe">Handle IDoc Ack</a>.

But you will able to handle just transport Aknowledgement (System Aknowledgement)

You have acknowledgements just with Asyncronous message, with Syncronous message you don't have acknowledgements but just responses.

We can distinguish 4 kind of acknowledgements:

1) SystemAckRequested

2) SystemErrorAckRequested

3) ApplicationAckRequested

4) ApplicationErrorAckRequested

So we have Application Acknowledgement ( positive and negative) that contain information regarding the processing of the message in the receiving system and System Acknowledgement ( positive and negative) that contain only transport information.

The standard behaviour of an XI message in case of use if sender IDoc Adapter (XI receive an IDoc) is that

SystemAckRequested="false"

SystemErrorAckRequested="true"

ApplicationAckRequested="true"

ApplicationErrorAckRequested="true"

You can see this from the SXMB_MONI ->Select the message -> Inbound Message ->SOAP Header -> ReliableMessaging

This means that Application Ack are requested (positive and negative) BUT for the reason you send the message to a file adapter, the file adapter Will say ALWAYS that the he cannot manage Application Ack.

At the moment it look like there is no possiblity to customize the IDoc adapter in order to ask only for System Ack...it will be release with next Service Packs.

The behavior of XI on this can be considered good, because XI send anyway an ALEAUD Idoc to the sender system that change the status of the IDoc, and in this way you will know that the IDoc has been successfully transformed into a file.

Regards,

Sandro