Hi Sanjay,
There is a sweet little app that does EDI validation against the EDI standards. If you go to http://liaison.com/products/integrate/edi-notepad, it's a free download and you can open up any EDI file and it'll identify any errors in your EDI.
There are some more tool that will validate EDI documents,