I managed the write the solution:
$array_specifications = '';
if( have_rows('specifications') ):
while( have_rows('specifications') ): the_row();
$row = get_row();
$array_specifications = $row;
endwhile;
endif;
echo '<table>';
foreach($array_specifications as $item) {
$field = get_field_object(key($array_specifications));
//echo '<pre>',print_r($field,1),'</pre>';
echo '<tr>';
echo '<td>'.$field['label'].'</td>';
echo '<td>'.$item.'</td>';
echo '</tr>';
next($array_specifications);
}
echo '</table>';