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

Flat file to Idoc : Last line empty in payload

35 Views

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 :

http://world.com/file">

<record>

...

</record>

....

<record>

...

</record>

<record />

</ns:File>

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

Thanks a lot