Skip to Content
0
Aug 10, 2009 at 03:52 AM

Receiver File adapter content conversion using StrictXml2PlainBean

98 Views

Hi All,

For receiver file adapter i am using the module StrictXml2PlainBean, and also i mentioned the module configuration like this

parameter name parameter value

recordTypes Header,TransactionHeader,TransactionDetail,TransactionTrailer,FileTrailer

FileTrailer.endSeparator |\n

FileTrailer.fieldSeparator |

Header.endSeparator |\n

Header.fieldSeparator |

TransactionDetail.endSeparator |\n

TransactionDetail.fieldSeparator |

TransactionHeader.endSeparator |\n

TransactionHeader.fieldSeparator |

TransactionTrailer.endSeparator |\n

TransactionTrailer.fieldSeparator |

But when i send the idoc, The receiver CC is throwing an error

Message processing failed. Cause: com.sap.aii.af.modules.conversion.xml2plain.ConversionException: Invalid structure name encountered during conversion: Transaction at XML element MT_DeliveryOrder,Transaction

My actual structure is

MT_DelvOrder

Header 0...1

Transaction 0....Unbounded

TransactionHeader 1..1

TransactionDetail 0...unbounded

TransactionTrailer 1...1

FileTrailer 0...1

The module is checking for the Transaction node,but i require the rest 3.

Same configuration i have done successfully with FCC without using the module....

So can any one suggest me where i am missing... why the module is pointint towards, the Transaction cant i ignore this node . and continue with the rest???

Regards,

Sridhar

Edited by: sridhar reddy kondam on Aug 10, 2009 12:35 AM