Hi,
I have a requirement where I do not know the number of records in the input file. The first thing I want to do is to read the input file and store the records in array. Since the number of records may between 2000 - 2500 I can define an array with minimum size being 1 and maximum size being 3000 with occurs depending on clause. The counter variable on which the array will depend will be populated at the end when I will read the input file completely and will be the number of records in input file.
If I define a occurs depending on clause and then start reading each record of the input file and moving the element to the table when should the value of number of records shud be moved to the counter variable.
Can someone explain how to use occurs depending on such scenario?