count number of rows
how to count the number of rows in a loop satisfying a specific condition
like there are 5 rows of kunnr = '10001'
I dnt want to increment counter because Im doing an inner loop for that condition
In a sense I want to compare the numbe rof records in the inner loop and outer loop where kunnr = '10001'
You can have a temporary table.
data : l_lines type i. gt_temp = gt_data. delete gt_temp where kunnr ne '10001'. describe gt_temp lines l_lines. l_lines will have the necessary values.