Skip to Content
0
Former Member
Dec 23, 2004 at 12:23 PM

Filling fields in work area and counting fields

801 Views

Hi,

1. I would like to know how to get the number of fields in an internal table by passing the table as input.

2. Then,

do 4 times.

move table-record index <..> to work_area-field1.

enddo.

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.

Regards,

Kathir