Here is a list of important TCodes related to IDoc development and processing.
Status 51(document not posted), 53(posted sucessfully),02(Failed to transfer data to port),03(Data transfer to port OK),41(Application document generated in the target system)
You can reprocess IDOC with the help of TCODE BD87 or WE19.