1. I would like to know how to get the number of fields in an internal table by passing the table as input.
do 4 times.
move table-record index <..> to work_area-field1.
the four records in table are four fields in the work area. Using the do loop i must fill the work area with data from the table. The workarea field names are generated dynamically by the program. Can any one help me with some suggestions and sample codes.
Thanks in advance.