When it comes to debugging, I believe we can make use of WE19...see if helpful http://www.sapnuts.com/tutorials/Using-WE19-to-reprocess-IDOC-or-Debugg-IDOC.html