IDoc Incorrect order of segments !
I am trying to transfer the Customer Master from SAP to a Thrid Party sytem using IDocs, with the idoc type DEBMAS06 and the message type DEBMAS. But for some coustomers the IDoc ends up with the error 26 [ EDI: Syntax error in IDoc (segment cannot be identified) ] . The error in that being the order or hierarchy of the segments inside the IDoc.
For all the customer masters which end up with error the IDoc segments come in a sequential order and not in a Hierarchy as definfed by the Syntax of the basic type. Tried checking the outbound program which is the standard tcode BD12. There seems to be some problem with the ordering of segements. Any solution for the problem ?