Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Interface

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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