Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
Active Contributor

In my previous article I've shown how to process IDOCs via the AIF flow -  Michal's PI tips: Application Interface Framework (AIF) - IDOC processing with AIF actions. One other option that becomes available when processing messages (IDOC, proxies) via AIF is that in case of an error you can change the content of the message's fields and reprocess them. In terms of IDOCs the standard process is that the IDOC with old data will go to green status (not reprocessable) and a new one will get created with the new/updated fields. The configuration is pretty simple and requires only to specify the fields that need to be changeable in the message. I will use the example of an AIF IDOC flow from my previous article - Michal's PI tips: Application Interface Framework (AIF) - IDOC processing with AIF actions.

How to configure and work with IDOC field changes on AIF ?

Step 1

If your AIF interface is already created you just need to add the field you need to change in transaction Transaction - /AIF/CUST_IF - Error Handling - Interface Specific Features - in this case this will be the program name field - REPIO from the main segment - E1STATS.

Step 2

Once the configuration is complete you can go to Error Handling and Monitoring transaction - /AIF/ERR and open the relevant segment and field as shown in the Figure below.

As soon as you change the field you need to save the changes.

Then you can reprocess the message in AIF - by selecting it and restarting from the menu.

The updated message will get processed and in WE02/WE05 you will see the old IDOC (green status) and the updated one with new field so AIF is working in the same way as the normal IDOC field update.


Updating IDOC fields is nothing new but this article shows that you can do the same with AIF and it works in the same way as it used to with IDOC transactions only.

Labels in this area