‎2010 Sep 30 4:24 AM
Hi,
I have 9 fields of file in application server as
f1(8),f2(60),f3(18),f4(11),f5(11),f6(11),f7(11),f8(8) i.e.(valid from), f9(8)( Valid to)
records. After reading all records in an Internal table then
For one F1 and f2 or f1 and f3, check that the validity
ranges of all records are adjacent(for DATBI of one record and DATAB of the
next record the equation DATBI + 1 = DATAB holds) and that the last interval
ends at 31.12.9999.
If that is not the case, generate a error file in application server.
proper records in another internal table.
How Can I Check the completeness regarding records and validity while reading from application server?
Pzl provide me some logic.
Thanks,
Farman
Edited by: farman_296 on Sep 30, 2010 5:24 AM
Edited by: farman_296 on Sep 30, 2010 5:50 AM
‎2010 Sep 30 4:52 AM
Hi Farman,
Within the loop on the internal table take some local variable for storing the data of DATBI, at the time of processing of the next record check ( local variable value + 1 ) with the next record's DATAB value. this shoul;d be the logic.
Regards,
Amitava
‎2010 Sep 30 4:52 AM
Hi Farman,
Within the loop on the internal table take some local variable for storing the data of DATBI, at the time of processing of the next record check ( local variable value + 1 ) with the next record's DATAB value. this shoul;d be the logic.
Regards,
Amitava