cancel
Showing results for 
Search instead for 
Did you mean: 

IDOCFlatToXmlConvertor for multiple idocs

0 Kudos


Hi Experts,

Per the SAP Help documentation for PI 7.31 , IDOCFlatToXmlConvertor can be used to convert a FlatFile to an XML even if the flatfile contained multiple IDOCS. Initially, the partner was sending Flatfiles that contained single idocs and the scenario was working fine. When they send a Flat File containing multiple IDOCS we are getting the error :

Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM

Has anyone encountered the same issue? The FlatFile looks to have a valid structure. We are using a sender FTP adapter to communicate with the sender system.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

javier_alcubilla
Contributor
0 Kudos

Hi Christian

Have you tried to change the idoc schema in mapping?

Regards

Javi

0 Kudos

Hi Javier,

Thanks for your response. We are not using any mapping in the scenario. We found out the the

IDOC number needs to be defined per record in case of multiple idocs in the flat file.

Answers (1)

Answers (1)

former_member184619
Active Contributor
0 Kudos

This message was moderated.