Hi, We have an interface which is implemented using process model which receives flat file as a input. Each line in the flat file should be mapped to Idoc and inserted. To enable easy monitoring, this whole flow was designed into one process model where one step maps the flat file data to Idoc list, and other step basically loops over the Idoc list & inserts into SAP system.
One day our IS crashed (JVM crash), when the process instance was running at the step where the Idocs were getting posted to SAP system. Due to this crash, half of the Idocs from the list were posted to SAP and remaining were pending. When the IS was brought up, the process instance got resumed and started inserting the Idocs again from the beginning of the list which resulted in duplicates at SAP.
Do we have any way to control this duplicate issue? Re-designing the interface flow to have a separate thread for each line insertion into SAP will lead to more effort during daily monitoring, as the no. of lines in the flat file is high.
Is it possible to insert Idoc list into SAP like all or none?
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services