Skip to Content
Former Member
Feb 28, 2012 at 12:55 PM

Flat file to Idoc : Last line empty in payload


Hello everyone,

I'm trying to import Flat File from an external partner, and insert it in our SAP System as Idoc.

It works fine, after a small change in the flat file.

In the normal version, I have a last record with value 'OK'.

I have add the close record.lastFielsOptional in the FCC.

But after checking the payload, I have seen that I have at the end the following thing :">








<record />


Can someone explain me how to avoid to have this last <record/>, or checking it in mapping ?

Thanks a lot