Assigning Values to Structure on Loop Iteration
My structure is having the fiedls
Employee Number|Employee Name | Email ID | Client 1 | Client 2| Client 3 | Clinet 4 | Client 5|
Since Employee Numebr, Employee Name and Email Id are the master data,it is easy to popuplate on the structure.
But while populating the data into the structures fields
client 1 ,....Client5, these are field which are derived from different records in the internal table, based on the query from the database.
Every employee will not be having all the time all the 5 clients . Employee may have record from 1 to 5.
But I want to fix with respect to the loop iteration that if the iteration is one , then clinet 1 filed has to be populated.
Could you please advice me.
Thanks in Advance,