cancel
Showing results for 
Search instead for 
Did you mean: 

IDOCFlatToXmlConvertor does not recognize Z segements in a Custom Idoc

Former Member
0 Kudos

Hi,

Does the module IDOCFlatToXmlConvertor work only with standard idocs. It is not identifying any of the Z segements in a custom idoc. It just gives out illegal idoc type exception for the first Z filed it encounters in the idoc flat file.

However the other module IDOCXmlToFlatConvertor does recognize the Z segments.

Is there any SAP note that says that the IDOCFlatToXmlConvertor does not work with Z segments in a custom idoc.

I have tried editing the control record and sent the valid data in the file to the sender adapter. Kindly let me know your inputs.

The following error is reported in the adapter audit log:

Error: com.sap.conn.idoc.IDocIllegalTypeException: (4) IDOC_ERROR_ILLEGAL_TYPE: Segment type "Z1XXXXX" is not a valid child segment type. DOCUMENT: type=CREMAS05, type extension=ZXXXX_CREMAS05, number=0000000000000000; SEGMENT: type=E1LFA1M, definition=E2LFA1M002

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member223322
Active Participant
0 Kudos

Please check if the IDOC flat file has the IDOC extension details in it. And also check if you have maintained the extension in WE82 tcode of your TargetDestination.

~Vaas

michael_teran
Participant
0 Kudos

Could  you solve this problem?