‎2011 Jan 04 8:56 PM
Hi Guys,
I am loading a flat file with 100 records, but when checked in the custom table i could c 101 reacords.
An additional blank record is getting created. Why is this happening?
I handled this blank record in the upload program. But why do we get this blank record?
Is it because the file has got a blank record? or SAP generates a blank record?
Regards
Anand
‎2011 Jan 04 9:19 PM
Well, we can't see your file, code or table so there's really no way to tell. My guess is that you've got an extra CRLF in the file and don't have the proper checking in your code to exclude it. SAP doesn't create blank records unless you tell it to...
‎2011 Jan 04 9:19 PM
Well, we can't see your file, code or table so there's really no way to tell. My guess is that you've got an extra CRLF in the file and don't have the proper checking in your code to exclude it. SAP doesn't create blank records unless you tell it to...
‎2011 Jan 05 3:27 PM
Hi ,
Well you are uploading the file , so please see the internal table or field symbol or work area used in the loop statement after the file data is transferred to internal table .
May be the work area Header line is inserted with blank data as first or last record .
so every time you have clear you work area when it is used.