Skip to Content
0
Former Member
May 12, 2008 at 02:55 PM

errors in flatfile

16 Views

hi,

i have an internal table(uploaded the records from flat file) comprising of 7 fields,

all the fields are of type c.

i need to find if there are any errors in those records.(don't need to correct them)

for example: if the field length do not match it is an error record.

to find if field length matches or not i used string operation STRLN(f)

f is one of the fields in the internal table of field length 10.

IF STRLN(f) <> 10.

WRITE : / 'ERROR RECORD'.

ELSE.

WRITE : / 'CORRECT RECORD'.

i should not use either call transaction or session method

incase if the record has anyother errors then how to identify those errors.