cancel
Showing results for 
Search instead for 
Did you mean: 

File to Idoc ACK

Former Member
0 Kudos

Hi

Is this possible for File to Idoc With ACK.. I want the ACK saying whether the Idoc is poster or not ...

How to do that

SV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yah it should be possible, here 2 types of ACKs are there, one is Transport ACK and second one is Application ACK.

Transport ACK : it tells the data reached the target or not.

In SXMB_MONI we can view this status by watching the

ACK status field.

Application ACK : it tells the data reached the target or not and after reached to the target it processed success or not in the target system.

By using some settings in XI and ABAP we can get the Application ACK. I don't have that idea.

0 Kudos

To receive Acnowledgemets for the IDOC from SAP, you need to configure ..

1. Configure the outbound ALEAUD idoc for the partner, which you are sending the idoc.

2. Maintain the same Message type ALEAUD for the same partner in the distribution model(Tcode BD64).

3. Execute the program RBDSTATE, after the IDOC is successfully posted in the R/3 system giving the respective partner and message type in the selection screen to trigger the ALEAUD idoc.

It is better to create the JOB for the program RBDSTATE in the R/3 system for every minutes.

You will receive the ACKNOWLEDGEMENT in the XI, once the program RBDSTATE executed. Immediately the acknowledgement will not come to XI. It depends on the frequency of the job you maintained.

Regards,

Krishnaraju.

Answers (3)

Answers (3)

former_member556603
Active Contributor
0 Kudos

Hello Sv,

Go through this Document..

Click the link and Down load that Document i.e: How to handle Ack for IDOC's

How to handle Ack for IDOC's

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b...

Steps: if u want IDOC Ack You have to set up the ALEAUD.

Acknowledgment IDocs are always converted to XI acknowledgments.

This function enables you to send acknowledgment IDocs (ALEAUD) as XI request messages for a sender port and client.

Procedure

...

1. In the ABAP Editor (transaction SE38), under Program, enter IDX_ALEREQUEST and choose Execute.

2. Enter a sender port and a client and choose Execute.

3. Enter the partner number, partner type, and partner role for the receiver and choose Insert.

The entry is added to the table.

4. To delete an entry in the table, select the entry and choose Remove Entry.

Result

In the XI request message, the original sender of the acknowledgment IDoc is no longer known.

The XI request message created is a new message. Monitoring is not able to determine which was the original message.

File Acknowldgements

/people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments

Sending Acknowledgment IDocs as XI Request Messages

Use

Acknowledgment IDocs are always converted to XI acknowledgments.

This function enables you to send acknowledgment IDocs (ALEAUD) as XI request messages for a sender port and client.

Procedure

...

1. In the ABAP Editor (transaction SE38), under Program, enter IDX_ALEREQUEST and choose Execute.

2. Enter a sender port and a client and choose Execute.

3. Enter the partner number, partner type, and partner role for the receiver and choose Insert.

The entry is added to the table.

4. To delete an entry in the table, select the entry and choose Remove Entry.

Result

In the XI request message, the original sender of the acknowledgment IDoc is no longer known.

The XI request message created is a new message. Monitoring is not able to determine which was the original message.

-


Processing Acknowledgment Messages

An acknowledgment message informs the sender of an asynchronous message about the result of the processing of the message within SAP Exchange Infrastructure. The reported result is referred to as an asynchronous acknowledgment.

Request Messages

Within the request message you must define whether an acknowledgment message is required, and if so, what kind of acknowledgment message. The acknowledgment message can refer to two events:

● The arrival of the request message at the final receiver

● The execution of the application in the receiver system

For this purpose, the request message contains an acknowledgment tag, which specifies the event for which an acknowledgment is expected. This tag must be specified by the sender (or a sender adapter that supports acknowledgment messages).

Message processing in SAP Exchange Infrastructure ensures that the acknowledgment message follows the same route from the receiver to the sender as the request message did from the sender to the receiver. For this purpose, the request message contains a hop list that logs the route of the request message. This information is provided by all Integration Engines and Integration Servers that are involved in the processing of the request message.

Acknowledgment Message

As soon as the request message processing encounters an event that requires an acknowledgment, a corresponding acknowledgment message is created and sent to the sender.

An acknowledgment message receives a new message ID, but also has a reference to the message ID of the request message as well as the value Response in the Directory tag of the message header. The request message hop list is copied to the acknowledgment message header, thus enabling backward routing of the acknowledgment message.

If a message is branched, a separate acknowledgment message is returned for each newly created request message. These acknowledgments enable the sender to recognize that its original message has been branched.

Acknowledgment messages are processed using backward pipelines. These pipelines are defined for each pipeline involved in the processing of a request message:

Pipelines and Corresponding Backward Pipelines:

Pipeline

Backward Pipeline

SENDER

SENDER_BACK

CENTRAL

CENTRAL_BACK

RECEIVER

RECEIVER_BACK

The backward pipelines have the following main tasks:

● Transport from the receiver system to the Integration Server

The receiver system sends an acknowledgment message back to the corresponding Integration Server (RECEIVER_BACK), as defined for the local Integration Engine.

If a receiver adapter is involved in message processing, it sends the acknowledgment message back to the Integration Server, provided that the respective adapter supports this procedure. Otherwise, a final acknowledgment message is returned with a comment that an acknowledgment is not possible.

● Transport from the Integration Server to the sender system

The Integration Server sends an acknowledgment message back to the sender (CENTRAL_BACK). It uses the name of the sender system for logical and technical backward routing.

If the sender is addressed using an ABAP proxy, you must define a corresponding receiver agreement for this sender.

If a sender adapter is involved in processing the message, the Integration Server sends an acknowledgment message to the sender adapter, which is then responsible for returning the acknowledgment to the sender.

To do this, some adapter types require a corresponding receiver agreement for the sender.

-


Hope This Information is useful to you,

Thanks,

Satya Kumar.

Reward points if it is useful..

Former Member
0 Kudos

hi,

You have an option to get a Ack in separate msg after Support Pack 8...

Check the link..

[http://help.sap.com/saphelp_nw04/helpdata/en/44/932e8896b610bbe10000000a422035/content.htm]

*Reward Points If Its Useful*

Regards,

Prakasu

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Go thru the following link

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements

Regards

Agasthur iDoss