‎2007 Jun 23 6:59 AM
Hi experts
i have a problem, i want to display material with order wise so in the select options i gave the range. but in out put it is displaying only the first record.
for example i have the range of 1 to 10 order no. but it is displaying only the 1st record. how to print all the records.
Point will be sure.
Thanks
Gowri
‎2007 Jun 23 7:05 AM
Hi
It because of not using loop.
Ur selecting records from database table and put it into a internal table right.
While displaying this result in screen u should loop that internal table.
Ex;
Data: Begin of itab.
-
end of itab.
Start-of-selection.
Select matnr.......... from mara into table itab where...........
End-of-selection.
Loop at itab.
Write:/ Itab-matnr ........
Endloop.
I think this will solve ur problem. If not post ur code. i will solve it..
Need ur reward points if its useful
Regards
Ravi
‎2007 Jun 23 7:05 AM
Hi
It because of not using loop.
Ur selecting records from database table and put it into a internal table right.
While displaying this result in screen u should loop that internal table.
Ex;
Data: Begin of itab.
-
end of itab.
Start-of-selection.
Select matnr.......... from mara into table itab where...........
End-of-selection.
Loop at itab.
Write:/ Itab-matnr ........
Endloop.
I think this will solve ur problem. If not post ur code. i will solve it..
Need ur reward points if its useful
Regards
Ravi
‎2007 Jun 23 7:07 AM
‎2007 Jun 23 7:07 AM