Venkat,
Once you done with your EDI mapping(that holds final (ST) IDataRecord) then,just follow these steps for submitting EDI document to TN:
1.ConvertToString (it will create actual EDI document string)
2.addGroupEnvelope (for generating GS Envelope)
3.addICEnvelope (for generating ISA Envelope) which gives outDocument
4.finally map the outDocument to edidata (TN variable)
5.Map the above created edidata to Node input of (wm.tn.doc.XML:routeXML).
Bottom line is TN will show the X12Group,X12Envelope,X12 4010 850 document.
HTH.
#Integration-Server-and-ESB#B2B-Integration#webMethods