You are on page 1of 2

Implementing Configurations for Acknowledging Outbound IDocs

Procedure :
1. Modify the inbound partner profile for the sending partner on the outbound IDoc with the
message type of ALEAUD and process of AUD1.
2. Maintain accordingly as required configuration maintained in SAP transactions WE47 -
Process IDoc Status Values and WELI - Process Status Groups.

ALEAUD is a standard message type through which we can achieve this functionality. Now, we need to update the
settings for ALEAUD message type in both sender and receiver systems.

ALE Configuration for Idoc Acknowledgement:

ALEAUD is a standard message type for Idoc Acknowledgemnt.

Update the settings for ALEAUD message type in both sender and receiver systems as shown below:

1. Add ALEAUD message type in the outbound parameters for the partner of sender system. This particular Ack
Idoc would behave as an outbound Idoc from the receiver system.
2. after adding the ALEAUD Idoc in the outbound parameters add receiver port that we have created in the
receiver system.

3. Select the Output mode as Transfer Idoc immediately. Save the screen.
4. Now, make similar settings in the sender system. As, Receiver is the partner for the Sender system,
Acknowledgement Idoc would be received as inbound in the Sender system.
- Add the ALEAUD message type in the Inbound parameters of the Receiver partner.
5. Since ALEAUD is standard message type, function module is not required to process these Acknowledge
Idocs. Standard Process code “AUD1” should be used. Save the screen.
6. To generate partner profiles, go to the menu Environment and click on Generate Partner Profiles and execute.
7. After partner profiles are created, items marked in green color are the ones which are created automatically.
A standard message type SYNCH always gets generated and you can check the same in the partner profiles.

8. Create Distribution model in the receiver system for these ALEAUD Idocs. Receiver system will send
ALEAUD idocs to the Sender system with distribution model.
Now distribute the distribution model with the partner system by clicking on the menu Edit -> Model View ->
Distribute Click on Ok and the distribution model is shared with the partner system.

TESTING:

Testing Idoc Acknowledgement:

1. Go to the Sender system, execute the Application Program (ABAP Program) and enter the selection screen
the details and execute. Idoc number is generated.
2. Now, Go to WE05 transaction and see the above Idoc.

The final status of the Idoc is 03. It means that, the Idoc has gone to the destination system.

But, we do not know whether the Idoc has been processed there or not. Now, go to the target system and
check whether this particular Idoc has been converted in to an Inbound Idoc to get posted in the target database.

3. Execute WE05 transaction in the target system and see the Idoc. Based on the time, the last Idoc that has
been processed should be the Idoc that has been created.
4. Let us open the Idoc and see whether the contents of the Outbound Idoc of Sender are same as the contents
of the Inbound Idoc in the target system. You can see that content of the Idoc is same and as the status of the
Idoc is in 53, we can confirm that the Idoc has been posted in the target database.
Verify that by opening the database table /transaction in the target system.
5. This ends the Idoc posting.
6. But, in the view of Sender as the Outbound Idoc is in 03 status, Sender would never know what happened to
the Idoc in the target system.
So, in production environment generally a job is set to run periodically which has the program RBDSTATE with
the variant SAP_AUDIT_SEND to send the audit data back to the Sender from the target system.
7. In our case, let us run the job manually to send the Audit data back to the sender system
8. The job has finished and the spool shows that there is an Idoc with the message type ALEAUD that has been
generated as shown below.
9. Now, go to the Sender system and check the status of the Idoc it should have been changed to 41(Final
Status of any Outbound Idoc) as the Idoc has been posted successfully here in the target system.Go to
sender system and open WE05 transaction.

You might also like