‎2009 Feb 20 6:02 AM
hi,
In my report 5 GL accounts are there i have to find maximum of GL account.
for Example:
GL Amount
510000 10000
510000 20000
520000 5000
520000 8000
can you help me.
Regards ,
Karthikeyan.K
‎2009 Feb 20 6:04 AM
Sort itab by hkont ascending dmbtr descending.
delete adjacent duplicates from itab comparing hkont.
‎2009 Feb 20 6:04 AM
sort internal table and read ...
sort itab by GL_Amount descending.
read table itab index 1.
‎2009 Feb 20 6:04 AM
Sort itab by hkont ascending dmbtr descending.
delete adjacent duplicates from itab comparing hkont.
‎2009 Feb 20 6:07 AM
‎2009 Feb 20 6:07 AM
Hi,
Display report after click on sort. Now srol down last record is your requirement.
Regards
Md.MahaboobKhan
‎2009 Feb 20 6:10 AM
‎2009 Feb 20 6:16 AM
Hi ,
You can sort your internal table with your GL Amount field in descending order ,
i.e,
sort itab by gl amount field descending.
read table itab index 1.
By you can fetch the maximum value of gl amount field from itab internal table.
Hope it helps
Regrds
Mansi
‎2009 Feb 20 6:22 AM
Hi,
You can do as below :
sort itab by hkont dmbtr by ascending.
delete adjacent duplicates from itab comparing hkont dmbtr.
write :
Thanks,
Sriram Ponna.
‎2009 Feb 20 7:08 AM