2008 Mar 31 9:19 AM
hi all,
i have a requirement like i have to print the data in the followin fashion
material stype sutype XXXX XXX XXXXXX
123 ku ok ***** *** ***********
ku ok ****** ** ********
i have all the data in final internal table the problem is like if the material no is same then the out put should be in the above fashion and im unable to compare the material in an internal table so can any one can solve this ill be much thankful
bye
anupama
hi all,
i have a requirement like i have to print the data in the followin fashion
material stype sutype XXXX XXX XXXXXX
123 ku ok ***** *** ***********
ku ok ****** ** ********
i have all the data in final internal table the problem is like if the material no is same then the out put should be in the above fashion and im unable to compare the material in an internal table so can any one can solve this ill be much thankful
bye
anupama
2008 Mar 31 9:22 AM
Hi,
Use AT NEW
AT NEW MATNR.
write : 'Test'.
endAT.
Regards
Sandipan
2008 Mar 31 3:44 PM
2008 Mar 31 9:26 AM
sort itab by matnr.
loop at itab.
at new matnr.
write:/1 itab-matnr.
endat.
write:15 itab-field1,20 itab-field2.
endloop.
2008 Mar 31 9:40 AM
Hi,
do these steps.
1. Sort ur internal table by MATNR
2. Then use this logic.
SORT Itab by matnr.
regards,
Venkat.O
Loop at itab.
at new matnr.
Write itab-matnr.
endat.
Write ..remaining field.
endloop.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |